100+ results for 'using System.Linq;'
Not the results you expected?
CommandSettings.cs (https://gitlab.com/srbhgupta/vsts-agent) C# · 310 lines
SearchTest.cs (https://github.com/kuangmarkeleven/GiveCRM.git) C# · 246 lines
TimelineViewModel.cs (https://bitbucket.org/thedmi/reactrt.git) C# · 349 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Collections.ObjectModel;
6 using ReactRT.Observatory.Monitor.Domain;
7 using GalaSoft.MvvmLight;
8 using System.ComponentModel;
9 using GalaSoft.MvvmLight.Command;
10 using System.Windows.Input;
11 using System.Collections.Specialized;
12 using System.Windows.Media;
FlowEngine.cs (https://gitlab.com/justbediego/Isaap) C# · 248 lines
QueryPartDriver.cs (https://bitbucket.org/oleg_ator/orchard.test.git) C# · 201 lines
Conventions.cs (https://github.com/MikeEast/NServiceBus.git) C# · 272 lines
CustomSorting.cs (https://github.com/fitzchak/ravendb.git) C# · 272 lines
5 // -----------------------------------------------------------------------
6 using System;
7 using System.Collections.Generic;
8 using System.Linq;
9 using Jint.Parser;
10 using Raven.Abstractions.Data;
11 using Raven.Abstractions.Indexing;
12 using Raven.Client.Indexes;
13 using Raven.Json.Linq;
14 using Raven.Tests.Common;
76 {
77 using (var session = store.OpenSession())
78 {
SearchExpression.cs (https://gitlab.com/Tiger66639/neural_network_designer) C# · 248 lines
1 using JaStDev.HAB.Brain;
2 using JaStDev.HAB.Brain.Thread_syncing;
3 using System.Collections.Generic;
4 using System.Linq;
159 case (ulong)PredefinedNeurons.In:
160 using (LinksAccessor iLinksIn = iToSearch.LinksIn)
161 {
167 case (ulong)PredefinedNeurons.Out:
168 using (LinksAccessor iLinksOut = iToSearch.LinksOut)
169 iSearchData.ToSearch = iLinksOut.Items;
184 ///// <summary>
185 ///// Searches a list of neurons using the specified criteria.
186 ///// </summary>
Sound.cs (https://github.com/dzamkov/Bit-Orchestra.git) C# · 370 lines
MongoUrl.cs (https://github.com/afinnell/mongo-csharp-driver.git) C# · 346 lines
16 using System;
17 using System.Collections.Generic;
18 using System.Linq;
19 using System.Text;
20 using System.Text.RegularExpressions;
22 using MongoDB.Bson;
23 using MongoDB.Driver.Internal;
174 /// <summary>
175 /// Gets the address of the server (see also Servers if using more than one address).
176 /// </summary>
MakeCharacter.cs (https://gitlab.com/sheminusminus/filament) C# · 380 lines
SubclassInspectorMapsToSubclassMapping.cs (https://github.com/JasonTrue/fluent-nhibernate.git) C# · 398 lines
1 using System;
2 using System.Linq;
3 using System.Linq.Expressions;
4 using System.Reflection;
5 using FluentNHibernate.Automapping.TestFixtures;
6 using FluentNHibernate.Conventions;
7 using FluentNHibernate.Conventions.Inspections;
8 using FluentNHibernate.MappingModel;
9 using FluentNHibernate.MappingModel.ClassBased;
10 using FluentNHibernate.MappingModel.Collections;
11 using FluentNHibernate.Utils;
CachedDataAnnotationsModelMetadata.cs (https://bitbucket.org/mdavid/aspnetwebstack.git) C# · 267 lines
NestedSelectsTests.cs (https://github.com/RogerKratz/nhibernate-core.git) C# · 465 lines
MongoDatabase.cs (https://github.com/fusspawn/sobriety.git) C# · 314 lines
VMRoleOperationsTests.cs (https://gitlab.com/jslee1/azure-powershell) C# · 212 lines
15 using System;
16 using System.Collections.Generic;
17 using System.Linq;
18 using System.Net;
19 using System.Net.Http;
20 using Microsoft.WindowsAzure.Commands.ScenarioTest;
21 using Xunit;
22 using Microsoft.WindowsAzure.Commands.Test.WAPackIaaS.Mocks;
23 using Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS;
24 using Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS.DataContract;
HotelController.cs (https://bitbucket.org/JPomichael/miaow.git) C# · 298 lines
QuadTree.cs (https://github.com/origins/WCell.git) C# · 331 lines
NHSecurity.cs (https://gitlab.com/d.sreejith/MIS_wds) C# · 317 lines
HTTPVersion.cs (https://github.com/Vanaheimr/Hermod.git) C# · 378 lines
TestInheritanceWithConcreteBaseClass.cs (https://github.com/weiheng/mongodb-csharp.git) C# · 276 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using NUnit.Framework;
63 [Test]
64 public void Should_persist_discriminator_using_base_class_collection()
65 {
78 [Test]
79 public void Should_persist_discriminator_using_inherited_class_collection()
80 {
242 [Test]
243 public void Should_get_correct_count_with_base_class_collection_using_linq()
244 {
MsmqInteraction.cs (https://github.com/asgerhallas/Rebus.git) C# · 256 lines
1 using System;
2 using System.Collections.Generic;
3 using System.IO;
4 using System.Linq;
5 using System.Messaging;
6 using System.Text;
7 using System.Threading.Tasks;
8 using GalaSoft.MvvmLight.Messaging;
9 using Newtonsoft.Json;
10 using Rebus.Shared;
11 using Rebus.Snoop.Events;
12 using Rebus.Snoop.ViewModel.Models;
13 using Message = Rebus.Snoop.ViewModel.Models.Message;
HubProgressFacts.cs (https://gitlab.com/scgitlab/SignalR) C# · 204 lines
site-obj.cs (https://github.com/easymovet/ServerCyde.git) C# · 204 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Web;
5 using SharpFusion;
72 //select
73 using (DAL.Procs.usp_site_sel dal = new DAL.Procs.usp_site_sel())
74 {
112 List<Site> _Sites = new List<Site>();
113 using (DAL.Procs.usp_site_sel_by_user_id dal = new DAL.Procs.usp_site_sel_by_user_id())
114 {
156 using (DAL.Procs.usp_site_ups dal = new DAL.Procs.usp_site_ups())
157 {
UnityDependencyResolver_Specification.cs (https://github.com/jbogard/openrasta-stable.git) C# · 336 lines
1 using System.Collections;
2 using System.Linq;
3 using InternalDependencyResolver_Specification;
4 using Microsoft.Practices.Unity;
5 using NUnit.Framework;
6 using OpenRasta.DI;
7 using OpenRasta.DI.Unity;
8 using OpenRasta.DI.Unity.Extensions;
9 using OpenRasta.Testing;
169 public class when_using_a_parent_container_with_unity_dependency_resolver : dependency_resolver_context
170 {
IntervalTree`1.cs (https://gitlab.com/sharadag/TestProject2) C# · 302 lines
CachingLookupTests.cs (https://gitlab.com/sharadag/Roslyn) C# · 287 lines
OptionsMenu.cs (https://bitbucket.org/IVmost/portfolio.git) C# · 259 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
6 using Microsoft.Xna.Framework;
7 using Microsoft.Xna.Framework.Audio;
8 using Microsoft.Xna.Framework.Content;
9 using Microsoft.Xna.Framework.GamerServices;
10 using Microsoft.Xna.Framework.Graphics;
11 using Microsoft.Xna.Framework.Input;
12 using Microsoft.Xna.Framework.Media;
IFSIOServiceFileTests.cs (https://bitbucket.org/xact/cs.ff.xact.lib.git) C# · 351 lines
4 using System.IO;
5 using System.Linq;
6 using NUnit.Framework;
7 using XAct;
8 using XAct.IO;
9 using XAct.IO.Implementations;
10 using XAct.Tests;
282 //Should have got back IsolatedStorage service:
283 using (Stream stream = ioService.FileOpenWriteAsync("%userprofile%\\Test.txt").Result)
284 {
292 {
293 using (StreamReader streamWriter = stream.CreateStreamReader())
294 {
View.cs (https://github.com/paulcbetts/CaliburnMicro.git) C# · 263 lines
EditingElementsReferencedByOrReferences_Tests.cs (https://gitlab.com/Banul/la-project1) C# · 350 lines
AttributeMapperSpecs.cs (https://bitbucket.org/expand/expand.git) C# · 216 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using Machine.Specifications;
5 using Microsoft.SqlServer.Management.Smo;
6 using TypeMock.ArrangeActAssert;
7 using Xpand.ExpressApp.WorldCreator.SqlDBMapper;
8 using Xpand.Persistent.Base.PersistentMetaData;
9 using Xpand.Persistent.Base.PersistentMetaData.PersistentAttributeInfos;
10 using Xpand.Persistent.BaseImpl.PersistentMetaData.PersistentAttributeInfos;
SyntaxEditor.cs (https://gitlab.com/sharadag/Roslyn) C# · 266 lines
MongoCollectionExtensions.cs (https://github.com/RevCBH/NoRM.git) C# · 230 lines
FullScreenBehavior.cs (https://github.com/verbatium/KinectFish.git) C# · 338 lines
GenericStorageProvider.cs (https://gitlab.com/rekby-archive/onlyoffice-CommunityServer) C# · 305 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using AppLimit.CloudComputing.SharpBox.Common.IO;
5 using AppLimit.CloudComputing.SharpBox.Exceptions;
6 using AppLimit.CloudComputing.SharpBox.StorageProvider.API;
7 using AppLimit.CloudComputing.SharpBox.StorageProvider.BaseObjects;
TypeUtilities.cs (https://gitlab.com/kush/Avalonia) C# · 339 lines
4 using System;
5 using System.Globalization;
6 using System.Linq;
7 using System.Reflection;
204 /// <summary>
205 /// Try to convert a value to a type using the implicit conversions allowed by the C#
206 /// language.
282 /// <summary>
283 /// Convert a value to a type using the implicit conversions allowed by the C# language or
284 /// return the default for the type if the value could not be converted.
WorkflowTypeBag.cs (https://github.com/SparkDevNetwork/Rock.git) C# · 270 lines
UserExtensionService.cs (https://bitbucket.org/JPomichael/miaow.git) C# · 295 lines
XmlPropertyBag.cs (https://github.com/pruiz/mono.git) C# · 315 lines
AnyMutablePropertyModelGenerationTests.cs (https://github.com/kenegozi/fluent-nhibernate.git) C# · 282 lines
PartitionerQueryOperator.cs (https://github.com/pruiz/mono.git) C# · 276 lines
14 using System;
15 using System.Collections.Generic;
16 using System.Linq;
17 using System.Text;
18 using System.Collections.Concurrent;
19 using System.Linq.Parallel;
20 using System.Diagnostics.Contracts;
21 using System.Threading;
22 #if SILVERLIGHT
23 using System.Core; // for System.Core.SR
24 #endif
ConfigurationSectionHandler.cs (https://github.com/KimmoKer/SpecFlow.git) C# · 309 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Configuration;
4 using System.Globalization;
5 using System.IO;
6 using System.Linq;
7 using System.Xml;
8 using BoDi;
76 section.Reset(null);
77 using (var reader = new XmlTextReader(new StringReader(xmlContent.Trim())))
78 {
89 section.Reset(null);
90 using (var reader = new XmlNodeReader(xmlContent))
91 {
LZ4Decompressor.c (https://github.com/stangelandcl/LZ4Sharp.git) C · 273 lines
SerializationHelper.Surrogates.cs (https://github.com/RogerKratz/nhibernate-core.git) C# · 309 lines
GeneticEngine.cs (https://github.com/thepowersgang/cits3200.git) C# · 321 lines
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
4 using System.Linq;
5 using System.Text;
6 using GeneticAlgorithm.Plugin;
7 using GeneticAlgorithm.Plugin.Generic;
11 /// <summary>
12 /// Runs a genetic algorithm using the supplied plug-ins.
13 /// </summary>
156 /// <summary>
157 /// Reset the genetic engine by setting the generation count to 0 and using the populator plug-in
158 /// to generate a new initial population
EnumerableExtensions.cs (https://github.com/loresoft/LoreSoft.Shared.git) C# · 279 lines
Fixture.cs (https://github.com/oskarb/nhibernate-core.git) C# · 417 lines
Configuration.cs (https://gitlab.com/akkhil2012/swagger-codegen) C# · 283 lines
1 using System;
2 using System.Reflection;
3 using System.Collections.Generic;
4 using System.IO;
5 using System.Linq;
6 using System.Text;
40 {
41 setApiClientUsingDefault(apiClient);
65 {
66 setApiClientUsingDefault(apiClient);
67 }
102 /// <summary>
103 /// Set the ApiClient using Default or ApiClient instance.
104 /// </summary>
TwoLocations.cs (https://github.com/fitzchak/ravendb.git) C# · 274 lines
DynamicFields.cs (https://github.com/fitzchak/ravendb.git) C# · 292 lines
StorageStream.cs (https://github.com/fitzchak/ravendb.git) C# · 272 lines
ComboMenu.cs (https://github.com/directhex/monodevelop.git) C# · 431 lines
1 using MonoDevelop.Components.MainToolbar;
2 using System;
3 using System.Collections.Generic;
4 using System.Linq;
5 using System.Text;
6 using System.Threading.Tasks;
7 using System.Windows;
8 using System.Windows.Controls;
9 using System.Windows.Data;
10 using System.Windows.Media;
11 using System.Windows.Shapes;
Field.cs (https://github.com/OpenGamma/Fudge-CSharp.git) C# · 348 lines
BinaryPersistors.cs (https://github.com/enjoii/WCell.git) C# · 521 lines
StateMachineState.cs (https://github.com/MassTransit/Automatonymous.git) C# · 300 lines
Validation.cs (https://github.com/lefthandedgoat/Oak.git) C# · 408 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Diagnostics;
4 using System.Linq;
5 using Massive;
6 using System.Text.RegularExpressions;
266 {
267 public Uniqueness(string property, DynamicRepository usingRepository)
268 : base(property)
269 {
270 Repository = usingRepository;
271 }
ContainerConfiguration.cs (https://gitlab.com/0072016/0072016-corefx-) C# · 221 lines
5 using System.Collections.Generic;
6 using System.Composition.Convention;
7 using System.Composition.Debugging;
8 using System.Composition.Hosting.Core;
9 using System.Composition.TypedParts;
10 using System.Composition.TypedParts.Util;
11 using System.Diagnostics;
12 using System.Linq;
13 using System.Reflection;
58 /// <summary>
59 /// Add conventions defined using a <see cref="AttributedModelProvider"/> to the container.
60 /// These will be used as the default conventions; types and assemblies added with a
TestController.cs (https://github.com/Lesssnik/Labs.git) C# · 263 lines
ListProcessor.cs (https://bitbucket.org/unit6ru/templateengine.git) C# · 348 lines
ActionTranslator.cs (https://gitlab.com/swak/UltimaXNA) C# · 323 lines
OLP.Designer.cs (https://gitlab.com/daniel0422/timesheet) C# · 1203 lines
TagManager.cs (https://github.com/robperson/AssessTrack.git) C# · 311 lines
1 using System;
2 using System.Data;
3 using System.Configuration;
4 using System.Linq;
5 using System.Web;
6 using System.Web.Security;
7 using System.Web.UI;
8 using System.Web.UI.HtmlControls;
9 using System.Web.UI.WebControls;
10 using System.Web.UI.WebControls.WebParts;
11 using System.Xml.Linq;
12 using System.Web.Mvc;
ObjectDef_Compliance.cs (https://github.com/wbinford/fubumvc.git) C# · 323 lines
FixAllContext.DiagnosticProvider.cs (https://gitlab.com/sharadag/Roslyn) C# · 212 lines
3 using System;
4 using System.Collections.Concurrent;
5 using System.Collections.Generic;
6 using System.Collections.Immutable;
7 using System.Linq;
8 using System.Threading;
9 using System.Threading.Tasks;
10 using Microsoft.CodeAnalysis.GeneratedCodeRecognition;
11 using Microsoft.CodeAnalysis.Internal.Log;
12 using Microsoft.CodeAnalysis.Shared.Utilities;
TraktSettings.cs (https://github.com/Thorsten1982/Trakt-for-Mediaportal.git) C# · 265 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Reflection;
5 using System.Text;
6 using MediaPortal.Profile;
7 using TraktPlugin.TraktAPI;
8 using TraktPlugin.TraktAPI.DataStructures;
181 TraktLogger.Info("Loading Settings");
182 using (Settings xmlreader = new MPSettings())
183 {
225 TraktLogger.Info("Saving Settings");
226 using (Settings xmlwriter = new MPSettings())
227 {
MGraphic.cs (https://github.com/THROYAN/MagicLibrary.git) C# · 272 lines
Translator.cs (https://github.com/diadacs/TekSuite.git) C# · 274 lines
Mock.Openquant.API.cs (https://github.com/DrKoch/StingrayOQ.git) C# · 399 lines
AssociatedMetadataTypeTypeDescriptionProviderTest.cs (https://github.com/kvervo/HorizontalLoopingSelector.git) C# · 237 lines
NumericConvertBinder.cs (https://github.com/jiupai/clojure-clr.git) C# · 453 lines
5 * which can be found in the file epl-v10.html at the root of this distribution.
6 * By using this software in any fashion, you are agreeing to be bound by
7 * the terms of this license.
16 using System;
17 using System.Collections.Generic;
18 using System.Linq;
19 #if CLR2
20 using Microsoft.Scripting.Ast;
21 #else
22 using System.Linq.Expressions;
23 #endif
PagingTests.cs (https://github.com/RogerKratz/nhibernate-core.git) C# · 387 lines
MyText.cs (https://github.com/SchokoMousse/MVCExtensions.git) C# · 336 lines
Program.cs (https://github.com/ChrisEdwards/IntroducingMongoDB.git) C# · 314 lines
2 using System.Collections.Generic;
3 using System.Linq;
4 using Norm;
5 using Norm.Collections;
6 using Norm.Linq;
38 UpdateDocument( collection );
39 UpdateUsingAtomicIncrement(collection);
40 QueryFromCollection( collection );
44 QueryConditionalOperators( collection );
45 QueryConditionalOperatorsUsingLinq(orderQueryable);
94 private static void QueryConditionalOperatorsUsingLinq(MongoQuery<Order> orders)
95 {
RavenDB_9104.cs (https://github.com/fitzchak/ravendb.git) C# · 313 lines
1 using Raven.Client.Documents;
2 using Raven.Client.Documents.Indexes;
3 using System.Collections.Generic;
4 using System.Linq;
5 using System.Threading;
6 using System.Threading.Tasks;
7 using FastTests;
110 {
111 using (var store = GetDocumentStore())
112 {
144 {
145 using (var store = GetDocumentStore())
146 {
VisibleComponent.cs (https://github.com/trullock/MuonLab.Web.Xhtml.git) C# · 309 lines
RXfixture.cs (https://github.com/GunioRobot/InRetail.git) C# · 243 lines
TypeParserTests.cs (https://github.com/gluck/cecil.git) C# · 394 lines
OrdersAccess.cs (https://github.com/marvellouz/fmi_projects.git) C# · 285 lines
Commands.cs (https://github.com/stolksdorf/taggy.git) C# · 296 lines
SessionsManager.cs (https://bitbucket.org/suwatch/svcodecampweb.git) C# · 204 lines
TabControlTests.cs (https://gitlab.com/kush/Avalonia) C# · 332 lines
MemberService.Tests.cs (https://github.com/kuangmarkeleven/GiveCRM.git) C# · 220 lines
ExpenseTrackerRepository.cs (https://gitlab.com/arif2009/Building-and-Securing-a-RESTful-API-for-Multiple-Clients-in-ASP.NET) C# · 299 lines
1 using ExpenseTracker.Repository.Entities;
2 using System;
3 using System.Collections.Generic;
4 using System.Data.Entity;
5 using System.Data.Entity.Infrastructure;
6 using System.Linq;
7 using System.Text;
8 using System.Threading.Tasks;
29 //
30 // We don't want that, so we turn it off. We want to eagerly load them (using Include)
31 // manually.
OrganizeTypeDeclarationTests.cs (https://gitlab.com/sharadag/Roslyn) C# · 1129 lines
3 using System;
4 using System.Linq;
5 using System.Threading.Tasks;
6 using System.Xml.Linq;
7 using Microsoft.CodeAnalysis.Editor.Implementation.Interactive;
8 using Microsoft.CodeAnalysis.Editor.Implementation.Organizing;
9 using Microsoft.CodeAnalysis.Editor.UnitTests;
10 using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces;
11 using Microsoft.CodeAnalysis.Text;
12 using Microsoft.VisualStudio.Text.Operations;
13 using Roslyn.Test.Utilities;
FuzzyObject.cs (https://github.com/scottmccain/Fuzzy-Logic-Module.git) C# · 267 lines
JsonSchemaTests.cs (https://github.com/ayoung/Newtonsoft.Json.git) C# · 426 lines
EncogEGBFile.cs (https://github.com/encog/encog-silverlight-core.git) C# · 496 lines
DateParametersComparedTo.cs (https://github.com/RogerKratz/nhibernate-core.git) C# · 295 lines
12 using System.Globalization;
13 using System.Linq;
14 using NHibernate.Linq;
15 using NUnit.Framework;
18 {
19 using System.Threading.Tasks;
20 [TestFixture]
102 {
103 using (ISession session = OpenSession())
104 using (session.BeginTransaction())
184 {
185 using (ISession session = OpenSession())
186 using (session.BeginTransaction())
cd_asignar.aspx.cs (https://gitlab.com/fcupen/CLIENT-MANAGEMENT) C# · 252 lines
InFlightTransactionalState.cs (https://github.com/jalchr/ravendb.git) C# · 305 lines
6 using System;
7 using System.Collections.Concurrent;
8 using System.Collections.Generic;
9 using System.Threading;
10 using Raven.Abstractions;
11 using Raven.Abstractions.Data;
12 using Raven.Abstractions.Exceptions;
13 using Raven.Abstractions.Extensions;
14 using Raven.Database.Storage;
15 using Raven.Database.Util;
16 using Raven.Json.Linq;
17 using System.Linq;
Helpers.cs (https://github.com/DrKoch/StingrayOQ.git) C# · 317 lines
UserRepository.cs (https://gitlab.com/thanhhung95/managecourse) C# · 292 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Data;
4 using System.Data.SqlClient;
5 using System.Linq;
18 {
19 using (var conn = new SqlConnection(_connectionString))
20 {
62 using (var conn = new SqlConnection(_connectionString))
63 {
79 //using (var conn = new SqlConnection(_connectionString))
80 //{
ExpressionTest_Lambda.cs (https://github.com/iainlane/mono.git) C# · 285 lines
Count_Sum_Min_Max_Avg.cs (https://github.com/iainlane/mono.git) C# · 271 lines
EpisodeFileMovingService.cs (https://github.com/NzbDrone/NzbDrone.git) C# · 213 lines
1 using System;
2 using System.Collections.Generic;
3 using System.IO;
4 using System.Linq;
5 using NLog;
6 using NzbDrone.Common.Disk;
7 using NzbDrone.Common.EnsureThat;
8 using NzbDrone.Common.Extensions;
9 using NzbDrone.Core.Configuration;
10 using NzbDrone.Core.MediaFiles.Events;
11 using NzbDrone.Core.Messaging.Events;
12 using NzbDrone.Core.Organizer;
13 using NzbDrone.Core.Parser.Model;
QueryInstance.cs (https://quickmon.svn.codeplex.com/svn) C# · 281 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Data;
6 using System.Data.SqlClient;
126 {
127 using (SqlCommand cmnd = new SqlCommand(SummaryQuery, conn))
128 {
130 cmnd.CommandTimeout = cmndTimeOut;
131 using (SqlDataReader r = cmnd.ExecuteReader())
132 {
153 {
154 using (SqlCommand cmnd = new SqlCommand(SummaryQuery, conn))
155 {
Utility.cs (https://github.com/balaji/Cricketers.git) C# · 240 lines
Generated.cs (https://github.com/iSynaptic/iSynaptic.Core.git) C# · 375 lines
TwentyOne [backup].cs (https://bitbucket.org/critnal/csharp.git) C# · 407 lines
Stck.cs (https://github.com/louthy/language-ext.git) C# · 314 lines
ConversorValor.cs (https://brasilframework.svn.codeplex.com/svn) C# · 326 lines
NavigationToolbar.xaml.cs (https://silverlightbrowser.svn.codeplex.com/svn) C# · 336 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Net;
5 using System.Windows;
6 using System.Windows.Controls;
7 using System.Windows.Documents;
8 using System.Windows.Input;
9 using System.Windows.Media;
10 using System.Windows.Media.Animation;
11 using System.Windows.Shapes;
GenericSQLServerDAL.cs (https://quickmon.svn.codeplex.com/svn) C# · 325 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Data;
4 using System.Data.SqlClient;
5 using System.Diagnostics;
6 using System.Linq;
7 using System.Text;
188 conn.Open();
189 using (SqlCommand cmnd = new SqlCommand(sql, conn))
190 {
236 cmnd.Parameters.AddRange(parms);
237 using (SqlDataAdapter da = new SqlDataAdapter(cmnd))
238 {
Ctrl_Proyecto.cs (https://inventariohardsoft.svn.codeplex.com/svn) C# · 277 lines
RDoc_56.cs (https://github.com/fitzchak/ravendb.git) C# · 236 lines
7 using System.Collections.Generic;
8 using System.Linq;
9 using FastTests;
10 using Raven.Client.Documents;
11 using Raven.Client.Documents.Indexes;
12 using Raven.Client.Documents.Queries;
13 using Xunit;
161 {
162 using (var store = GetDocumentStore())
163 {
202 using (var session = store.OpenSession())
203 {
RouteCacher.cs (https://github.com/fitzchak/ravendb.git) C# · 216 lines
EnumBuilder.Methods.Tests.cs (https://github.com/dotnet/runtime.git) C# · 245 lines
JoinTests.cs (https://github.com/nhibernate/nhibernate-core.git) C# · 307 lines
VersionInspectorMapsToVersionMapping.cs (https://github.com/jcmoinet/fluent-nhibernate.git) C# · 379 lines
1 using System;
2 using System.Linq;
3 using System.Linq.Expressions;
4 using System.Reflection;
5 using FluentNHibernate.Conventions;
6 using FluentNHibernate.Conventions.Inspections;
7 using FluentNHibernate.Mapping;
8 using FluentNHibernate.MappingModel;
9 using FluentNHibernate.Utils.Reflection;
10 using NUnit.Framework;
CodeFixContext.cs (https://github.com/dotnet/roslyn.git) C# · 258 lines
EmailNotification.cs (https://github.com/tidusjar/Ombi.git) C# · 299 lines
1 using System;
2 using System.Linq;
3 using System.Threading.Tasks;
4 using MailKit.Net.Smtp;
5 using Microsoft.AspNetCore.Identity;
6 using Microsoft.EntityFrameworkCore;
7 using Microsoft.Extensions.Logging;
8 using MimeKit;
9 using Ombi.Core.Settings;
10 using Ombi.Helpers;
11 using Ombi.Notifications.Models;
12 using Ombi.Notifications.Templates;
BindableLayoutTests.cs (https://github.com/xamarin/Xamarin.Forms.git) C# · 429 lines
1 using NUnit.Framework;
2 using System;
3 using System.Collections;
4 using System.Collections.Generic;
5 using System.Collections.ObjectModel;
6 using System.Collections.Specialized;
7 using System.ComponentModel;
8 using System.Linq;
273 [Test]
274 public void ThrowsExceptionOnUsingDataTemplateSelectorForItemTemplate()
275 {
ConstraintServices.cs (https://github.com/iainlane/mono.git) C# · 214 lines
3 // -----------------------------------------------------------------------
4 using System;
5 using System.Collections.Generic;
6 using System.ComponentModel.Composition.Hosting;
7 using System.ComponentModel.Composition.Primitives;
8 using System.Linq;
9 using System.Linq.Expressions;
10 using System.Reflection;
11 using Microsoft.Internal;
ExcelFile.cs (https://bitbucket.org/kumarvvr/data-acquisition-systems.git) C# · 332 lines
NoteDetector.cs (https://gitlab.com/banana-beats/banana-beats) C# · 245 lines
NomadKernelEventRaising.cs (https://github.com/psla/Nomad.git) C# · 216 lines
1 using System;
2 using System.IO;
3 using System.Linq;
4 using Nomad.Core;
5 using Nomad.Exceptions;
6 using Nomad.KeysGenerator;
7 using Nomad.Messages;
8 using Nomad.Messages.Loading;
9 using Nomad.Modules;
10 using Nomad.Modules.Discovery;
11 using Nomad.Tests.FunctionalTests.Fixtures;
12 using Nomad.Tests.FunctionalTests.Modules;
HasManyConventionTests.cs (https://github.com/elfrostie/fluent-nhibernate.git) C# · 293 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Linq.Expressions;
5 using FluentNHibernate.Automapping.TestFixtures;
6 using FluentNHibernate.Conventions.Helpers.Builders;
7 using FluentNHibernate.Conventions.Instances;
8 using FluentNHibernate.Mapping;
9 using FluentNHibernate.MappingModel;
10 using FluentNHibernate.MappingModel.Collections;
11 using FluentNHibernate.Testing.FluentInterfaceTests;
12 using NUnit.Framework;
IndexMerging.cs (https://github.com/fitzchak/ravendb.git) C# · 340 lines
1 using System.Collections.Generic;
2 using System.Linq;
3 using FastTests;
4 using Raven.Client.Documents.Indexes;
5 using Raven.Client.Documents.Operations.Indexes;
6 using Raven.Server.Documents.Indexes.IndexMerging;
7 using Xunit;
148 {
149 using (var store = GetDocumentStore())
150 {
257 {
258 using (var store = GetDocumentStore())
259 {
MainForm.cs (http://libwp7n2012.googlecode.com/svn/trunk/) C# · 388 lines
BehaviorChain.cs (https://github.com/hartez/fubumvc.git) C# · 318 lines
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
4 using System.Diagnostics;
5 using System.Linq;
6 using System.Linq.Expressions;
7 using FubuCore;
8 using FubuMVC.Core.Behaviors;
9 using FubuMVC.Core.Diagnostics.Tracing;
10 using FubuMVC.Core.Registration.ObjectGraph;
11 using FubuMVC.Core.Registration.Routes;
12 using FubuMVC.Core.Security;
RavenDB_784.cs (https://github.com/fitzchak/ravendb.git) C# · 260 lines
1 using System.Threading;
2 using Raven.Abstractions.Data;
3 using Raven.Tests.Common;
7 using System.Collections.Generic;
8 using System.Linq;
9 using Database.Storage;
10 using Raven.Json.Linq;
11 using Xunit;
12 using Xunit.Extensions;
22 {
23 using (var storage = NewTransactionalStorage(requestedStorage: storageType))
24 {
EditableIDList.cs (https://github.com/woeishi/vvvv-sdk.git) C# · 436 lines
PermissionCheckerExtensions.cs (https://gitlab.com/chenzhuo/abpMirror) C# · 267 lines
1 using System;
2 using System.Linq;
3 using System.Threading.Tasks;
4 using Abp.Collections.Extensions;
5 using Abp.Dependency;
6 using Abp.Localization;
7 using Abp.Threading;
237 var iocManager = (permissionChecker as IIocManagerAccessor).IocManager;
238 using (var localizationManager = iocManager.ResolveAsDisposable<ILocalizationManager>())
239 {
251 var iocManager = (permissionChecker as IIocManagerAccessor).IocManager;
252 using (var localizationContext = iocManager.ResolveAsDisposable<ILocalizationContext>())
253 {
ItemsBySetIdIndexTests.cs (https://github.com/jalchr/ravendb.git) C# · 193 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Linq.Expressions;
5 using Raven.Abstractions.Indexing;
6 using Raven.Client.Indexes;
7 using Raven.Tests.Helpers;
8 using Xunit;
16 {
17 using (var store = NewDocumentStore())
18 {
19 new ItemsBySetIdIndex().Execute(store);
20 using (var session = store.OpenSession())
21 {
ICoreAmazonS3.cs (https://gitlab.com/github-cloud-corp/aws-sdk-unity) C# · 286 lines
PipelineModelBuilderTests.cs (https://github.com/MikeEast/NServiceBus.git) C# · 306 lines
ExpressionBridge.cs (https://github.com/ngbrown/AutoMapper.git) C# · 310 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Linq.Expressions;
4 using Should;
5 using Xunit;
6 using System.Linq;
11 {
12 using QueryableExtensions;
97 }
98 public class When_mapping_using_expressions : NonValidatingSpecBase
99 {
121 cfg.CreateMap<ProductType, ProductTypeDto>()
122 //.ConvertUsing(x => ProductTypeDto.GetProdType(x));
123 .ConvertUsing<ProductTypeConverter>();
PackageSourcesWidget.cs (https://github.com/directhex/monodevelop.git) C# · 292 lines
1 using System;
2 using System.Collections.Generic;
3 using System.Collections.Specialized;
4 using System.Linq;
6 using Gtk;
7 using MonoDevelop.PackageManagement;
8 using MonoDevelop.Core;
9 using MonoDevelop.Components;
10 using MonoDevelop.Components.AutoTest;
11 using System.ComponentModel;
229 viewModel.IsEditingSelectedPackageSource = false;
230 using (var dialog = new AddPackageSourceDialog (viewModel)) {
231 if (ShowDialogWithParent (dialog) == Xwt.Command.Ok) {
BoundingBox.cs (https://github.com/ray2006/WCell.git) C# · 433 lines
ExpressionOptimizer.cs (https://github.com/ccflo/mono.git) C# · 237 lines
RepositorySample.cs (https://github.com/dotnetcore/Util.git) C# · 315 lines
1 using System;
2 using System.Collections.Generic;
3 using System.ComponentModel;
4 using System.ComponentModel.DataAnnotations;
5 using System.Linq;
6 using System.Linq.Expressions;
7 using System.Threading;
8 using System.Threading.Tasks;
9 using AutoMapper;
10 using Util.Domains;
11 using Util.Domains.Repositories;