Project Name File Name Usage Source Code Link
RazorEngine TemplateService.cs GetParallelQueryPlan() .CreateQuery(razorTemplates) .Select(t => CreateTemplate(t)) Link To Source File
RazorEngine TemplateService.cs GetParallelQueryPlan() .CreateQuery(razorTemplates) .Select(CreateTemplateType) Link To Source File
RazorEngine TemplateService.cs GetParallelQueryPlan() .CreateQuery(razorTemplates) .Select(t => CreateTemplateType(t, modelType)) Link To Source File
RazorEngine TemplateService.cs GetParallelQueryPlan() .CreateQuery(razorTemplates) .Select(t => Parse(t)) Link To Source File
RazorEngine TemplateService.cs GetParallelQueryPlan() .CreateQuery(models) .Select(m => Run(CreateTemplate(type, m))) Link To Source File
RazorEngine TemplateService.cs GetParallelQueryPlan() .CreateQuery(models) .Select(m => Run(CreateTemplate(type, m))) Link To Source File
iocwrapper IoCConcurrencyTest.cs tasks.AsParallel().Select(t => t.Result) Link To Source File
Algorithmic-Alley Splitter.cs s.AsEnumerable().AsParallel().AsOrdered().Select(c => ProcessChar(c)) Link To Source File
showveoservice MovieController.cs usermovies.Select(x => new { x.User, Movie = new { x.Movie.ID, x.Movie.Name, x.Movie.Description, Actors = x.Movie.Actors.Select(y => y.FirstName + " " + y.LastName), Genres = x.Movie.Genres.Select(y => new { y.ID, y.Name }), x.Movie.PosterLocation, x.Movie.Year.Year, DateAdded = x.Movie.DateAdded.ToString("u"), Director = x.Movie.Director == null ? "" : (x.Movie.Director.FirstName + " " + x.Movie.Director.LastName) }, x.IsFavorite, x.LastWatched }) Link To Source File
ProjectEuler Range.cs ParallelEnumerable.Range(0, length) .Select(x => x * _step) Link To Source File
ProjectEuler Range.cs sequence.Select(x => x + _start) Link To Source File
ProjectEuler Problem092.cs new Range(1, maximum) .AsParallel() .Select(n => GetChainRepeater(n)) Link To Source File
ProjectEuler Problem095.cs new Range(1, 1000000, true) .AsParallel() .Select(n => GetChain(n) .TakeWhile(v => v <= 1000000) .TakeWhileDistinct(true) .ToArray()) Link To Source File
MachineLearning.NET NMF.cs GetNumberedRows(rows).AsParallel() .Select(rowIdxSparseVector => ToDenseVector(rowIdxSparseVector.Value, cc) .Select(element => element.Value - GetMultiplicationElement(w, h, rowIdxSparseVector.Key, element.Key)) .Select(diff => diff * diff) .Sum()) Link To Source File
WhaleES StreamOfEventsFor.cs results.AsParallel().Select(GetEventFromS3) Link To Source File
HWsqlass.cs ListExtender.cs left.Select(l => new Tuple(getLeftKey(l), l, null)) Link To Source File
HWsqlass.cs ListExtender.cs right.Select(r => new Tuple(getRightKey(r), null, r)) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("MetaDataCollections") .Select() .Select ( row => new MetaDataCollectionClass { CollectionName = row["CollectionName"].ToString(), NumberOfRestrictions = row["NumberOfRestrictions"].ToInt32(), NumberOfIdentifierParts = row["NumberOfIdentifierParts"].ToInt32(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("DataSourceInformation") .Select() .Select ( row => new OneOfDataSourceInformationClass { CompositeIdentifierSeparatorPattern = row["CompositeIdentifierSeparatorPattern"].ToString(), DataSourceProductName = row["DataSourceProductName"].ToString(), DataSourceProductVersion = row["DataSourceProductVersion"].ToString(), DataSourceProductVersionNormalized = row["DataSourceProductVersionNormalized"].ToString(), GroupByBehavior = row["GroupByBehavior"].ToInt32(), IdentifierPattern = row["IdentifierPattern"].ToString(), IdentifierCase = row["IdentifierCase"].ToInt32(), OrderByColumnsInSelect = row["OrderByColumnsInSelect"].ToBoolean(), ParameterMarkerFormat = row["ParameterMarkerFormat"].ToString(), ParameterMarkerPattern = row["ParameterMarkerPattern"].ToString(), ParameterNameMaxLength = row["ParameterNameMaxLength"].ToInt32(), ParameterNamePattern = row["ParameterNamePattern"].ToString(), QuotedIdentifierPattern = row["QuotedIdentifierPattern"].ToString(), QuotedIdentifierCase = row["QuotedIdentifierCase"].ToInt32(), StatementSeparatorPattern = row["StatementSeparatorPattern"].ToString(), StringLiteralPattern = row["StringLiteralPattern"].ToString(), SupportedJoinOperators = row["SupportedJoinOperators"].ToInt32(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("DataTypes") .Select() .Select ( row => new DataTypeClass { TypeName = row["TypeName"].ToString(), ProviderDbType = row["ProviderDbType"].ToInt32(), ColumnSize = row["ColumnSize"].ToInt64(), CreateFormat = row["CreateFormat"].ToString(), CreateParameters = row["CreateParameters"].ToString(), DataType = row["DataType"].ToString(), IsAutoIncrementable = row["IsAutoIncrementable"].ToBoolean(), IsBestMatch = row["IsBestMatch"].ToBoolean(), IsCaseSensitive = row["IsCaseSensitive"].ToBoolean(), IsFixedLength = row["IsFixedLength"].ToBoolean(), IsFixedPrecisionScale = row["IsFixedPrecisionScale"].ToBoolean(), IsLong = row["IsLong"].ToBoolean(), IsNullable = row["IsNullable"].ToBoolean(), IsSearchable = row["IsSearchable"].ToBoolean(), IsSearchableWithLike = row["IsSearchableWithLike"].ToBoolean(), IsLiteralSupported = row["IsLiteralSupported"].ToBoolean(), LiteralPrefix = row["LiteralPrefix"].ToString(), LiteralSuffix = row["LiteralSuffix"].ToString(), IsUnsigned = row["IsUnsigned"].ToBoolean(), MaximumScale = row["MaximumScale"].ToInt16(), MinimumScale = row["MinimumScale"].ToInt16(), IsConcurrencyType = row["IsConcurrencyType"].ToBoolean(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("ReservedWords") .Select() .Select ( row => new ReservedWordClass { ReservedWord = row["ReservedWord"].ToString(), MaximumVersion = row["MaximumVersion"].ToString(), MinimumVersion = row["MinimumVersion"].ToString(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("Catalogs") .Select() .Select ( row => new CatalogClass { CATALOG_NAME = row["CATALOG_NAME"].ToString(), DESCRIPTION = row["DESCRIPTION"].ToString(), ID = row["ID"].ToInt64(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("Columns") .Select() .Select ( row => new ColumnClass { TABLE_CATALOG = row["TABLE_CATALOG"].ToString(), TABLE_SCHEMA = row["TABLE_SCHEMA"].ToString(), TABLE_NAME = row["TABLE_NAME"].ToString(), COLUMN_NAME = row["COLUMN_NAME"].ToString(), COLUMN_GUID = row["COLUMN_GUID"].ToGuid(), COLUMN_PROPID = row["COLUMN_PROPID"].ToInt64(), ORDINAL_POSITION = row["ORDINAL_POSITION"].ToInt32(), COLUMN_HASDEFAULT = row["COLUMN_HASDEFAULT"].ToBoolean(), COLUMN_DEFAULT = row["COLUMN_DEFAULT"].ToString(), COLUMN_FLAGS = row["COLUMN_FLAGS"].ToInt64(), IS_NULLABLE = row["IS_NULLABLE"].ToBoolean(), DATA_TYPE = row["DATA_TYPE"].ToString(), TYPE_GUID = row["TYPE_GUID"].ToGuid(), CHARACTER_MAXIMUM_LENGTH = row["CHARACTER_MAXIMUM_LENGTH"].ToInt32(), CHARACTER_OCTET_LENGTH = row["CHARACTER_OCTET_LENGTH"].ToInt32(), NUMERIC_PRECISION = row["NUMERIC_PRECISION"].ToInt32(), NUMERIC_SCALE = row["NUMERIC_SCALE"].ToInt32(), DATETIME_PRECISION = row["DATETIME_PRECISION"].ToInt64(), CHARACTER_SET_CATALOG = row["CHARACTER_SET_CATALOG"].ToString(), CHARACTER_SET_SCHEMA = row["CHARACTER_SET_SCHEMA"].ToString(), CHARACTER_SET_NAME = row["CHARACTER_SET_NAME"].ToString(), COLLATION_CATALOG = row["COLLATION_CATALOG"].ToString(), COLLATION_SCHEMA = row["COLLATION_SCHEMA"].ToString(), COLLATION_NAME = row["COLLATION_NAME"].ToString(), DOMAIN_CATALOG = row["DOMAIN_CATALOG"].ToString(), DOMAIN_NAME = row["DOMAIN_NAME"].ToString(), DESCRIPTION = row["DESCRIPTION"].ToString(), PRIMARY_KEY = row["PRIMARY_KEY"].ToBoolean(), EDM_TYPE = row["EDM_TYPE"].ToString(), AUTOINCREMENT = row["AUTOINCREMENT"].ToBoolean(), UNIQUE = row["UNIQUE"].ToBoolean(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("Indexes") .Select() .Select ( row => new IndexClass { TABLE_CATALOG = row["TABLE_CATALOG"].ToString(), TABLE_SCHEMA = row["TABLE_SCHEMA"].ToString(), TABLE_NAME = row["TABLE_NAME"].ToString(), INDEX_CATALOG = row["INDEX_CATALOG"].ToString(), INDEX_SCHEMA = row["INDEX_SCHEMA"].ToString(), INDEX_NAME = row["INDEX_NAME"].ToString(), PRIMARY_KEY = row["PRIMARY_KEY"].ToBoolean(), UNIQUE = row["UNIQUE"].ToBoolean(), CLUSTERED = row["CLUSTERED"].ToBoolean(), TYPE = row["TYPE"].ToInt32(), FILL_FACTOR = row["FILL_FACTOR"].ToInt32(), INITIAL_SIZE = row["INITIAL_SIZE"].ToInt32(), NULLS = row["NULLS"].ToInt32(), SORT_BOOKMARKS = row["SORT_BOOKMARKS"].ToBoolean(), AUTO_UPDATE = row["AUTO_UPDATE"].ToBoolean(), NULL_COLLATION = row["NULL_COLLATION"].ToInt32(), ORDINAL_POSITION = row["ORDINAL_POSITION"].ToInt32(), COLUMN_NAME = row["COLUMN_NAME"].ToString(), COLUMN_GUID = row["COLUMN_GUID"].ToGuid(), COLUMN_PROPID = row["COLUMN_PROPID"].ToInt64(), COLLATION = row["COLLATION"].ToInt16(), CARDINALITY = row["CARDINALITY"].ToDecimal(), PAGES = row["PAGES"].ToInt32(), FILTER_CONDITION = row["FILTER_CONDITION"].ToString(), INTEGRATED = row["INTEGRATED"].ToBoolean(), INDEX_DEFINITION = row["INDEX_DEFINITION"].ToString(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("IndexColumns") .Select() .Select ( row => new IndexColumnClass { CONSTRAINT_CATALOG = row["CONSTRAINT_CATALOG"].ToString(), CONSTRAINT_SCHEMA = row["CONSTRAINT_SCHEMA"].ToString(), CONSTRAINT_NAME = row["CONSTRAINT_NAME"].ToString(), TABLE_CATALOG = row["TABLE_CATALOG"].ToString(), TABLE_SCHEMA = row["TABLE_SCHEMA"].ToString(), TABLE_NAME = row["TABLE_NAME"].ToString(), COLUMN_NAME = row["COLUMN_NAME"].ToString(), ORDINAL_POSITION = row["ORDINAL_POSITION"].ToInt32(), INDEX_NAME = row["INDEX_NAME"].ToString(), COLLATION_NAME = row["COLLATION_NAME"].ToString(), SORT_MODE = row["SORT_MODE"].ToString(), CONFLICT_OPTION = row["CONFLICT_OPTION"].ToInt32(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("Tables") .Select() .Select ( row => new TableClass { TABLE_CATALOG = row["TABLE_CATALOG"].ToString(), TABLE_SCHEMA = row["TABLE_SCHEMA"].ToString(), TABLE_NAME = row["TABLE_NAME"].ToString(), TABLE_TYPE = row["TABLE_TYPE"].ToString(), TABLE_ID = row["TABLE_ID"].ToInt64(), TABLE_ROOTPAGE = row["TABLE_ROOTPAGE"].ToInt32(), TABLE_DEFINITION = row["TABLE_DEFINITION"].ToString(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("Views") .Select() .Select ( row => new ViewClass { TABLE_CATALOG = row["TABLE_CATALOG"].ToString(), TABLE_SCHEMA = row["TABLE_SCHEMA"].ToString(), TABLE_NAME = row["TABLE_NAME"].ToString(), VIEW_DEFINITION = row["VIEW_DEFINITION"].ToString(), CHECK_OPTION = row["CHECK_OPTION"].ToBoolean(), IS_UPDATABLE = row["IS_UPDATABLE"].ToBoolean(), DESCRIPTION = row["DESCRIPTION"].ToString(), DATE_CREATED = row["DATE_CREATED"].ToDateTime(), DATE_MODIFIED = row["DATE_MODIFIED"].ToDateTime(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("ViewColumns") .Select() .Select ( row => new ViewColumnClass { VIEW_CATALOG = row["VIEW_CATALOG"].ToString(), VIEW_SCHEMA = row["VIEW_SCHEMA"].ToString(), VIEW_NAME = row["VIEW_NAME"].ToString(), VIEW_COLUMN_NAME = row["VIEW_COLUMN_NAME"].ToString(), TABLE_CATALOG = row["TABLE_CATALOG"].ToString(), TABLE_SCHEMA = row["TABLE_SCHEMA"].ToString(), TABLE_NAME = row["TABLE_NAME"].ToString(), COLUMN_NAME = row["COLUMN_NAME"].ToString(), ORDINAL_POSITION = row["ORDINAL_POSITION"].ToInt32(), COLUMN_HASDEFAULT = row["COLUMN_HASDEFAULT"].ToBoolean(), COLUMN_DEFAULT = row["COLUMN_DEFAULT"].ToString(), COLUMN_FLAGS = row["COLUMN_FLAGS"].ToInt64(), IS_NULLABLE = row["IS_NULLABLE"].ToBoolean(), DATA_TYPE = row["DATA_TYPE"].ToString(), CHARACTER_MAXIMUM_LENGTH = row["CHARACTER_MAXIMUM_LENGTH"].ToInt32(), NUMERIC_PRECISION = row["NUMERIC_PRECISION"].ToInt32(), NUMERIC_SCALE = row["NUMERIC_SCALE"].ToInt32(), DATETIME_PRECISION = row["DATETIME_PRECISION"].ToInt64(), CHARACTER_SET_CATALOG = row["CHARACTER_SET_CATALOG"].ToString(), CHARACTER_SET_SCHEMA = row["CHARACTER_SET_SCHEMA"].ToString(), CHARACTER_SET_NAME = row["CHARACTER_SET_NAME"].ToString(), COLLATION_CATALOG = row["COLLATION_CATALOG"].ToString(), COLLATION_SCHEMA = row["COLLATION_SCHEMA"].ToString(), COLLATION_NAME = row["COLLATION_NAME"].ToString(), PRIMARY_KEY = row["PRIMARY_KEY"].ToBoolean(), EDM_TYPE = row["EDM_TYPE"].ToString(), AUTOINCREMENT = row["AUTOINCREMENT"].ToBoolean(), UNIQUE = row["UNIQUE"].ToBoolean(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("ForeignKeys") .Select() .Select ( row => new ForeignKeyClass { CONSTRAINT_CATALOG = row["CONSTRAINT_CATALOG"].ToString(), CONSTRAINT_SCHEMA = row["CONSTRAINT_SCHEMA"].ToString(), CONSTRAINT_NAME = row["CONSTRAINT_NAME"].ToString(), TABLE_CATALOG = row["TABLE_CATALOG"].ToString(), TABLE_SCHEMA = row["TABLE_SCHEMA"].ToString(), TABLE_NAME = row["TABLE_NAME"].ToString(), CONSTRAINT_TYPE = row["CONSTRAINT_TYPE"].ToString(), IS_DEFERRABLE = row["IS_DEFERRABLE"].ToBoolean(), INITIALLY_DEFERRED = row["INITIALLY_DEFERRED"].ToBoolean(), FKEY_FROM_COLUMN = row["FKEY_FROM_COLUMN"].ToString(), FKEY_FROM_ORDINAL_POSITION = row["FKEY_FROM_ORDINAL_POSITION"].ToInt32(), FKEY_TO_CATALOG = row["FKEY_TO_CATALOG"].ToString(), FKEY_TO_SCHEMA = row["FKEY_TO_SCHEMA"].ToString(), FKEY_TO_TABLE = row["FKEY_TO_TABLE"].ToString(), FKEY_TO_COLUMN = row["FKEY_TO_COLUMN"].ToString(), } ) Link To Source File
HWsqlass.cs Ado.cs context .Connection .GetSchema("Triggers") .Select() .Select ( row => new TriggerClass { TABLE_CATALOG = row["TABLE_CATALOG"].ToString(), TABLE_SCHEMA = row["TABLE_SCHEMA"].ToString(), TABLE_NAME = row["TABLE_NAME"].ToString(), TRIGGER_NAME = row["TRIGGER_NAME"].ToString(), TRIGGER_DEFINITION = row["TRIGGER_DEFINITION"].ToString(), } ) Link To Source File
HWsqlass.cs MetaData.cs ReferentialConstraintClass .Initialize(_context) .Select (pc => new { MainTable = TableName.Find(pc.CONSTRAINT_CATALOG, pc.CONSTRAINT_SCHEMA, pc.CONSTRAINT_TABLE_NAME), Reference = TableName.Find(pc.UNIQUE_CONSTRAINT_CATALOG, pc.UNIQUE_CONSTRAINT_SCHEMA, pc.UNIQUE_CONSTRAINT_TABLE_NAME), ColumnName = keys.Single (k => k.TABLE_CATALOG == pc.CONSTRAINT_CATALOG && k.TABLE_SCHEMA == pc.CONSTRAINT_SCHEMA && k.TABLE_NAME == pc.CONSTRAINT_TABLE_NAME && k.CONSTRAINT_NAME == pc.CONSTRAINT_NAME) .COLUMN_NAME } ) Link To Source File
HWsqlass.cs MetaData.cs ColumnClass .Initialize(_context) .Select (c => new TableColumn { Table = TableName.Find(c.TABLE_CATALOG, c.TABLE_SCHEMA, c.TABLE_NAME), Name = c.COLUMN_NAME, Type = ParseType(c), IsKey = primaryKeys.Any (k => k.COLUMN_NAME == c.COLUMN_NAME && k.TABLE_CATALOG == c.TABLE_CATALOG && k.TABLE_SCHEMA == c.TABLE_SCHEMA && k.TABLE_NAME == c.TABLE_NAME ), IsNullable = c.IS_NULLABLE == "YES" } ) Link To Source File
HWsqlass.cs MetaData.cs Ado.ColumnClass.Initialize(_context) .Select (c => new TableColumn { Table = TableName.Find(c.TABLE_CATALOG, c.TABLE_SCHEMA, c.TABLE_NAME), Name = c.COLUMN_NAME, Type = c.DATA_TYPE, IsKey = c.PRIMARY_KEY, IsNullable = c.IS_NULLABLE } ) Link To Source File
HWsqlass.cs MetaData.cs tableColumns .Select (c => new Column { Name = c.Name, SQLType = c.Type, IsKey = c.IsKey, IsNullable = c.IsNullable, ReferencedTable = c.Reference == null ? null : _tableCache[c.Reference] } ) Link To Source File
HWsqlass.cs Table.cs fieldInfos .Select ( fi => new Column { Name = fi.Name, Type = NativeColumnType(fi.FieldType), IsKey = IsKeyField(fi), ReferencedTable = ReferencedTable(fi.FieldType), IsNullable = IsNullableField(fi) } ) Link To Source File
Mystique TwitterHelper.cs status.RetweetedUsers.Select(d => d.TwitterUser.ScreenName) Link To Source File
Mystique TwitterHelper.cs status.RetweetedUsers.Select(d => d.TwitterUser.ScreenName) Link To Source File
Mystique TwitterHelper.cs status.FavoredUsers.Select(d => d.TwitterUser.ScreenName) Link To Source File
Mystique TwitterHelper.cs status.FavoredUsers.Select(d => d.TwitterUser.ScreenName) Link To Source File
Mystique TabProperty.cs value.Select(s => s.Split(new[] { "/" }, StringSplitOptions.None)) Link To Source File
Mystique FilterConversation.cs vm.InReplyFroms.Select(id => TweetStorage.Get(id)) Link To Source File
Mystique FilterList.cs ListStorage.GetListMembers(this.listUser, this.listName) .Select(u => u.TwitterUser.ScreenName) Link To Source File
Mystique GeneralConfigViewModel.cs FontFamilies.Select(ff => ff.FamilyNames.ContainsKey(jaJP) ? ff.FamilyNames[jaJP] : ff.FamilyNames.Select(xl => xl.Value).FirstOrDefault()) Link To Source File
Mystique TweetViewModel.cs this._retweeteds.Select(s => s.TwitterUser.ScreenName) Link To Source File
Mystique TweetViewModel.cs this._retweeteds.Select(s => s.TwitterUser.ScreenName) Link To Source File
Mystique TweetViewModel.cs this._favoreds.Select(s => s.TwitterUser.ScreenName) Link To Source File
Mystique TweetViewModel.cs this._favoreds.Select(s => s.TwitterUser.ScreenName) Link To Source File
Mystique TweetViewModel.cs inReplyFroms.Select(i => TweetStorage.Get(i)) Link To Source File
Inverse-Kinematics-ii AlgorithmTemplate.cs children.AsParallel().Select(c => Mutate(c, mutationChance, world, rand)).Select(c => Evaluate(c, world, evaluateId)) Link To Source File
Inverse-Kinematics-ii AlgorithmTemplate.cs children.AsParallel().Select(c => Mutate(c, mutationChance, world, rand)) Link To Source File
Inverse-Kinematics-ii AlgorithmTemplate.cs children.AsParallel().Select(c => Mutate2(c, mutationChance, world, rand, generation, adjustment)).Select(c => Evaluate(c, world, evaluateId)) Link To Source File
Inverse-Kinematics-ii AlgorithmTemplate.cs children.AsParallel().Select(c => Mutate2(c, mutationChance, world, rand, generation, adjustment)) Link To Source File
Inverse-Kinematics-ii AlgorithmTemplate.cs children.AsParallel().Select(c => Mutate3(c, mutationChance, world, rand)).Select(c => Evaluate(c, world, evaluateId)) Link To Source File
Inverse-Kinematics-ii AlgorithmTemplate.cs children.AsParallel().Select(c => Mutate3(c, mutationChance, world, rand)) Link To Source File
OrchardApp DefaultParallelCacheContext.cs tasks .AsParallel() // prepare for parallel execution .AsOrdered() // preserve initial enumeration order .Select(task => task.Execute()) // prepare tasks to run in parallel Link To Source File
lokad-cloud-storage BlobStorageTests.cs array .AsParallel() .Select(k => BlobStorage.UpsertBlobOrSkip(ContainerName, BlobName, () => 1, i => i + 1)) Link To Source File
lokad-cqrs WipeAzureAccount.cs configs .AsParallel() .Select(c => c.CreateBlobClient()) .SelectMany(c => c.ListContainers().Where(_ => name(_.Name))) .Select(c => Task.Factory.FromAsync(c.BeginDelete, EndDelete(c), null)) Link To Source File
lokad-cqrs WipeAzureAccount.cs configs .AsParallel() .Select(c => c.CreateBlobClient()) Link To Source File
lokad-cqrs WipeAzureAccount.cs configs .AsParallel() .Select(c => c.CreateQueueClient()) .SelectMany(c => c.ListQueues().Where(_ => name(_.Name))) .Select(c => Task.Factory.FromAsync(c.BeginDelete, EndDelete(c), null)) Link To Source File
lokad-cqrs WipeAzureAccount.cs configs .AsParallel() .Select(c => c.CreateQueueClient()) Link To Source File
Wheezy.Pivot PivotCollection.cs this.AsParallel().WithExecutionMode(ParallelExecutionMode.ForceParallelism).Select(item => { var collectionItem = new Item(-1, item); if (collectionItem.Image != null) { collectionItem.CreateFacets(facetCategories); collectionItem.DeepZoomImage = this.createDeepZoomImage(dzImageTargetDir, collectionItem); if (collectionItem.DeepZoomImage == null) { // TODO: Console.WriteLine("DeepZoomImage can not be created for " + collectionItem.Name); } Console.Write("."); } return collectionItem; }) Link To Source File
SwarmIntelligence DelegateExtensions.cs multicastDelegate.GetInvocationList() .AsParallel().AsOrdered() .Select(d => d.DynamicInvoke(args)) Link To Source File
SwarmIntelligence PlinqExtensions.cs source. Select(map). GroupBy(keySelector). Select(reduce) Link To Source File
SwarmIntelligence PlinqExtensions.cs source. Select(map) Link To Source File
SwarmIntelligence Runner.cs map .AsParallel() .Select(cell => cell.Value.Base()) Link To Source File
orchard DefaultParallelCacheContext.cs tasks .AsParallel() // prepare for parallel execution .AsOrdered() // preserve initial enumeration order .Select(task => task.Execute()) // prepare tasks to run in parallel Link To Source File
NecroNetToolkit SelectHelper.cs data.Select(item => new SelectListItem { Text = textSelector(item), Value = valueSelector(item).ToString() }) Link To Source File
Messageless AbstractInterceptor.cs msg.Arguments .Select((argument, index) => new {callback = argument as Delegate, index}) Link To Source File
silkmod FillupController.cs fillupEntries.Select(entry => new JsonFillupViewModel { FillupEntryId = entry.FillupEntryId, Date = String.Format("{0:d}", entry.Date), TotalUnits = UserDisplayPreferencesHelper.FormatQuantityFor(entry.TotalUnits, entry.UnitOfMeasure), Odometer = UserDisplayPreferencesHelper.FormatDistanceTextWithAbbreviationFor(entry.Odometer), TransactionFee = Math.Abs(entry.TransactionFee - 0.0) > 0.001 ? UserDisplayPreferencesHelper.FormatPriceFor(entry.TransactionFee) : null, PricePerUnit = UserDisplayPreferencesHelper.FormatPricePerUnitFor(entry.PricePerUnit, entry.UnitOfMeasure), Remarks = entry.Remarks, Vendor = entry.Vendor, TotalCost = UserDisplayPreferencesHelper.FormatPriceFor(entry.TotalCost) }) Link To Source File
silkmod VehicleController.cs source.Select(x => new {Value = x.ToString(), Text = x.ToString()}) Link To Source File
preprompt-parallel PLINQ.cs arr.AsParallel() .Select(Utils.IsPrime) Link To Source File
preprompt-parallel PLINQ.cs arr.AsParallel() .Select(Utils.IsPrime) Link To Source File
Rock-ChMS FieldTypeList.cs fieldTypeService. Queryable(). Select( f => new { f.Id, f.Name } ) Link To Source File
snippets XmlConstruction.cs root.Attributes().Select(att => new XElement(att.Name, (string) att)) Link To Source File
GPU.NET-Example-Projects SimpleTests.cs InputData.AsParallel().Select(x => Math.Abs(x)) Link To Source File
WowPacketParser Extensions.cs source .Select( item => { SetCulture(CultureInfo.InvariantCulture); return item; }) Link To Source File
WCell DelegateExtensions.cs multicastDelegate.GetInvocationList() .AsParallel().AsOrdered() .Select(d => d.DynamicInvoke(args)) Link To Source File
WCell ParallelLinqExtensions.cs source. Select(map). GroupBy(keySelector). Select(reduce) Link To Source File
WCell ParallelLinqExtensions.cs source. Select(map) Link To Source File
wa-accelerator-webroles SyncController.cs webSiteStatus .Where(s => s.IsOnline) .Select(s => new SyncStatusModel { RoleInstanceId = s.RoleInstanceId, Status = s.Status.ToString(), SyncTimestamp = s.SyncTimestamp }) Link To Source File
wa-accelerator-webroles WebSiteController.cs webSites.Select( s => new WebSiteModel { Id = s.Id, Name = s.Name, Description = s.Description, Url = this.GetDefaultBindingUrl(s), TestUrl = this.GetDefaultBindingTestUrl(s) }) Link To Source File
wa-accelerator-webroles WebSiteController.cs website.Bindings.Select(b => new BindingModel { Id = b.Id, CertificateThumbprint = b.CertificateThumbprint, HostName = b.HostName, IpAddress = b.IpAddress, Port = b.Port, Protocol = b.Protocol, WebSiteId = b.WebSiteId, Url = this.GetBindingUrl(b) }) Link To Source File
wa-accelerator-webroles WebSiteController.cs this.certificateRepository.RetrieveCertificates() .Select( c => new SelectListItem { Value = c.Thumbprint, Text = c.Thumbprint }) Link To Source File
movielens MovieModel.cs this.SimilarMoviesEuclidean.Select(x => x.MovieId) Link To Source File
movielens MovieModel.cs this.SimilarMoviesPearson.Select(x => x.MovieId) Link To Source File
movielens MovieModel.cs this.SimilarMoviesCosine.Select(x => x.MovieId) Link To Source File
movielens MovieModel.cs this.SimilarMoviesJaccard.Select(x => x.MovieId) Link To Source File
RosSharp ChainingAssertion.MSTest.cs nameMatched .Select(mi => { var genericArguments = mi.GetGenericArguments(); if (!typeArgs.Any() && !genericArguments.Any()) // non generic method { return new { MethodInfo = mi, TypeParameters = default(Dictionary) }; } else if (!typeArgs.Any()) { var parameterGenericTypes = mi.GetParameters() .Select(pi => pi.ParameterType) .Zip(parameterTypes, Tuple.Create) .GroupBy(a => a.Item1, a => a.Item2) .Where(g => g.Key.IsGenericParameter) .Select(g => new { g.Key, Type = g.Aggregate(AssignableBoundType) }) .Where(a => a.Type != null); var typeParams = genericArguments .GroupJoin(parameterGenericTypes, x => x, x => x.Key, (_, Args) => Args) .ToArray(); if (!typeParams.All(xs => xs.Any())) return null; // types short return new { MethodInfo = mi, TypeParameters = typeParams .Select(xs => xs.First()) .ToDictionary(a => a.Key, a => a.Type) }; } else { if (genericArguments.Length != typeArgs.Length) return null; return new { MethodInfo = mi, TypeParameters = genericArguments .Zip(typeArgs, Tuple.Create) .ToDictionary(t => t.Item1, t => t.Item2) }; } }) Link To Source File
RosSharp ChainingAssertion.MSTest.cs mi.GetParameters() .Select(pi => pi.ParameterType) .Zip(parameterTypes, Tuple.Create) .GroupBy(a => a.Item1, a => a.Item2) .Where(g => g.Key.IsGenericParameter) .Select(g => new { g.Key, Type = g.Aggregate(AssignableBoundType) }) Link To Source File
RtStorage ChainingAssertion.MSTest.cs nameMatched .Select(mi => { var genericArguments = mi.GetGenericArguments(); if (!typeArgs.Any() && !genericArguments.Any()) // non generic method { return new { MethodInfo = mi, TypeParameters = default(Dictionary) }; } else if (!typeArgs.Any()) { var parameterGenericTypes = mi.GetParameters() .Select(pi => pi.ParameterType) .Zip(parameterTypes, Tuple.Create) .GroupBy(a => a.Item1, a => a.Item2) .Where(g => g.Key.IsGenericParameter) .Select(g => new { g.Key, Type = g.Aggregate(AssignableBoundType) }) .Where(a => a.Type != null); var typeParams = genericArguments .GroupJoin(parameterGenericTypes, x => x, x => x.Key, (_, Args) => Args) .ToArray(); if (!typeParams.All(xs => xs.Any())) return null; // types short return new { MethodInfo = mi, TypeParameters = typeParams .Select(xs => xs.First()) .ToDictionary(a => a.Key, a => a.Type) }; } else { if (genericArguments.Length != typeArgs.Length) return null; return new { MethodInfo = mi, TypeParameters = genericArguments .Zip(typeArgs, Tuple.Create) .ToDictionary(t => t.Item1, t => t.Item2) }; } }) Link To Source File
RtStorage ChainingAssertion.MSTest.cs mi.GetParameters() .Select(pi => pi.ParameterType) .Zip(parameterTypes, Tuple.Create) .GroupBy(a => a.Item1, a => a.Item2) .Where(g => g.Key.IsGenericParameter) .Select(g => new { g.Key, Type = g.Aggregate(AssignableBoundType) }) Link To Source File
RxURG ChainingAssertion.MSTest.cs nameMatched .Select(mi => { var genericArguments = mi.GetGenericArguments(); if (!typeArgs.Any() && !genericArguments.Any()) // non generic method { return new { MethodInfo = mi, TypeParameters = default(Dictionary) }; } else if (!typeArgs.Any()) { var parameterGenericTypes = mi.GetParameters() .Select(pi => pi.ParameterType) .Zip(parameterTypes, Tuple.Create) .GroupBy(a => a.Item1, a => a.Item2) .Where(g => g.Key.IsGenericParameter) .Select(g => new { g.Key, Type = g.Aggregate(AssignableBoundType) }) .Where(a => a.Type != null); var typeParams = genericArguments .GroupJoin(parameterGenericTypes, x => x, x => x.Key, (_, Args) => Args) .ToArray(); if (!typeParams.All(xs => xs.Any())) return null; // types short return new { MethodInfo = mi, TypeParameters = typeParams .Select(xs => xs.First()) .ToDictionary(a => a.Key, a => a.Type) }; } else { if (genericArguments.Length != typeArgs.Length) return null; return new { MethodInfo = mi, TypeParameters = genericArguments .Zip(typeArgs, Tuple.Create) .ToDictionary(t => t.Item1, t => t.Item2) }; } }) Link To Source File
RxURG ChainingAssertion.MSTest.cs mi.GetParameters() .Select(pi => pi.ParameterType) .Zip(parameterTypes, Tuple.Create) .GroupBy(a => a.Item1, a => a.Item2) .Where(g => g.Key.IsGenericParameter) .Select(g => new { g.Key, Type = g.Aggregate(AssignableBoundType) }) Link To Source File