content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using Blog.Dal.Infrastructure.Extensions; using Blog.Dal.Models.Category; using Blog.Dal.Models.Common; using Blog.Dal.Models.Common.Contracts; using Blog.Dal.Services.Categories.Contracts; using Blog.Data; using Blog.Models; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using Sy...
32.971223
118
0.580624
[ "MIT" ]
GMihalkow/Blog
Blog.Dal/Services/Categories/CategoryService.cs
4,585
C#
using System; using Xamarin.Forms; using FluentXamarinForms.FluentBase; namespace FluentXamarinForms { public class FluentBoxView : FluentBoxViewBase<FluentBoxView, BoxView> { public FluentBoxView () :base() { } public FluentBoxView (BoxView instance) :...
19.052632
74
0.60221
[ "MIT" ]
MarcelMalik/FluentXamarinForms
src/FluentXamarinForms/FluentBoxView.cs
364
C#
using System; using Sg4Mvc.Generator.CodeGen; using Xunit; namespace Sg4Mvc.Test.CodeGen; public class BodyBuilderTests { [Fact] public void BodyEmpty() { var result = new BodyBuilder() .Build(); Assert.Equal("{}", result.ToString()); } [Theory] [InlineData("resu...
31.09322
113
0.593077
[ "Apache-2.0" ]
MarkFl12/R4MVC
test/Sg4Mvc.Test/CodeGen/BodyBuilderTests.cs
3,671
C#
version https://git-lfs.github.com/spec/v1 oid sha256:07a91f0bb65c36b34dee43dab8bfd7f5af5b4e8f41bd7176fd7de8f9a5097c81 size 1413
32.25
75
0.883721
[ "MIT" ]
kenx00x/ahhhhhhhhhhhh
ahhhhhhhhhh/Library/PackageCache/com.unity.render-pipelines.high-definition@7.1.8/Runtime/Sky/GradientSky/GradientSky.cs
129
C#
using System.Collections.Generic; namespace MangMana { internal static class Global { public const string DataCatalog = "data"; public const string ThumbnailsCatalog = "data/thumbnails"; public const string MetadataPath = "data/metadata.json"; public static List<string> ImageE...
30.230769
106
0.656489
[ "MIT" ]
Qrcze/MangMana
MangMana/Global.cs
395
C#
using System; using System.Collections.Generic; using System.Web.Mvc; using Orchard.Users.Models; namespace Orchard.Users.ViewModels { public class UsersIndexViewModel { public IList<UserEntry> Users { get; set; } public UserIndexOptions Options { get; set; } public dynamic Pager { get; ...
24.018519
88
0.599075
[ "BSD-3-Clause" ]
OrchardCMS/orchard
src/Orchard.Web/Modules/Orchard.Users/ViewModels/UsersIndexViewModel.cs
1,299
C#
using Microsoft.JSInterop; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Tarjeta.Services { public class BrowserService { private readonly IJSRuntime _js; public BrowserService(IJSRuntime js) { _js = js; }...
19.83871
76
0.622764
[ "MIT" ]
hprez21/Blazor3dCard
Tarjeta/Services/BrowserService.cs
617
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
41.565217
204
0.645188
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleEmailV2/Generated/Model/Internal/MarshallTransformations/CreateEmailIdentityPolicyResponseUnmarshaller.cs
4,780
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Surging.Core.Swagger.SwaggerUI { public static class SwaggerUIOptionsExtensions { /// <summary> /// Injects additional CSS stylesheets into the index.html page /// </summary> /// <pa...
42.223077
129
0.610038
[ "MIT" ]
DotNetExample/Surging.Sample
src/Core/Surging.Core.Swagger/SwaggerUI/SwaggerUIOptionsExtensions.cs.cs
10,980
C#
using Microsoft.TeamFoundation.DistributedTask.WebApi; using Microsoft.VisualStudio.Services.Agent.Util; using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Microsoft.VisualStudio.Servic...
44.5
223
0.526345
[ "MIT" ]
SpillChek2/Spill-Chek-vsts-agent
src/Microsoft.VisualStudio.Services.Agent/JobServerQueue.cs
28,658
C#
namespace Chartreuse.Today.Exchange.Ews.Schema { public static class EwsPropertySet { public const string PropertySetTask = "00062003-0000-0000-C000-000000000046"; public const string PropertySetCommon = "00062008-0000-0000-C000-000000000046"; } }
34.625
87
0.729242
[ "MIT" ]
2DayApp/2day
src/2Day.Exchange.Shared/Ews/Schema/EwsPropertySet.cs
277
C#
using System; using System.Windows.Data; using System.Windows.Media; using WpfConverters.Converters.Base; namespace WpfConverters.Converters { [ValueConversion(typeof(Object), typeof(Brush))] public class NullToBrushConverter : NullConverter<Brush> { public NullToBrushConverter() : this(Brushes.Red...
24.555556
90
0.726244
[ "MIT" ]
MikeLimaSierra/Examples
Blog/2021-03-WpfConverters/WpfConverters/Converters/NullToBrushConverter.cs
444
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; namespace Roslynator { internal static class EnumerableExtensions { public static bool IsSort...
29.44186
160
0.445498
[ "Apache-2.0" ]
ADIX7/Roslynator
src/Core/Extensions/EnumerableExtensions.cs
2,534
C#
namespace Ancestry.Daisy.Language.AST.Trace { public class TraceNode : IDaisyAstNode { protected TraceNode(object scope,bool outcome) { Outcome = outcome; Scope = scope; } public bool Outcome { get; private set; } public object Scope...
22.125
55
0.550847
[ "MIT" ]
erikhejl/Daisy
Daisy/Language/AST/Trace/TraceNode.cs
341
C#
//using System.Collections.Generic; //using System.Linq; //using Mono.Cecil; //using Xels.ModuleValidation.Net; //using Xels.ModuleValidation.Net.Format; //namespace Xels.SmartContracts.CLR.Validation //{ // /// <summary> // /// Validates the Type definitions contained within a module definition // /// </sum...
37.195122
149
0.633443
[ "MIT" ]
xels-io/SideChain-SmartContract
src/Xels.SmartContracts.CLR.Validation/SmartContractTypeDefinitionValidator.cs
1,527
C#
/* * Copyright 2018 JDCLOUD.COM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:#www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
25.181818
76
0.661372
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Jdfusion/Apis/CreateDiskRequest.cs
1,439
C#
using System.Collections.Generic; using Stateless.Reflection; namespace Stateless.Graph { /// <summary> /// Used to keep track of transitions between states /// </summary> public class Transition { /// <summary> /// List of actions to be performed by the destination state (...
31.5625
114
0.585479
[ "Apache-2.0" ]
shoff/stateless
src/Stateless/Graph/Transition.cs
3,032
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Wi...
42.956522
145
0.723684
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/ShObjIdl_core/SVUIA_STATUS.cs
990
C#
namespace Server.Infrastructure.Mappings.Contracts { public interface IMapTo<T> { } }
16.333333
51
0.693878
[ "MIT" ]
Dreed657/QuizSystem
Server/Server/Infrastructure/Mappings/Contracts/IMapTo.cs
100
C#
using FileExplorer.UIEventHub.Defines; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace FileExplorer.UIEventHub { public enum DragState { Normal, Touched, Pressed, TouchDraggin...
35.765306
132
0.477033
[ "MIT" ]
chengming0916/FileExplorer
src/FileExplorer3/app/FileExplorer.UIEventHub/Implements/DragInputProcessor.cs
7,012
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Core...
67.298762
237
0.670891
[ "MIT" ]
KurnakovMaksim/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/NetworkVirtualAppliancesRestOperations.cs
43,475
C#
 using System; namespace TogglDesktop.Tutorial { public partial class BasicTutorialScreen4 { private IDisposable _timerStateObservable; public BasicTutorialScreen4() { this.InitializeComponent(); } protected override void initialise() ...
25.25
104
0.59802
[ "BSD-3-Clause" ]
CancerGary/toggldesktop
src/ui/windows/TogglDesktop/TogglDesktop/ui/Tutorial/BasicTutorialScreen4.xaml.cs
1,012
C#
using MetalCore.CQS.Common.Results; using MetalCore.CQS.Validation; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace MetalCore.CQS.Command { /// <summary> /// This class ensures the current user has permission to process this command. ///...
42.315789
123
0.660033
[ "MIT" ]
MetalKid/MetalCore.CQS
src/MetalCore.CQS/Command/Decorators/CommandHandlerPermissionDecorator.cs
2,414
C#
#pragma checksum "..\..\..\Views\CalculatorView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A33575606422293069DD1FF6410306BF2DEB0E47" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.4...
39.543641
142
0.599672
[ "MIT" ]
jcflow/WPFPlotterCalculator
Calculator/obj/Release/Views/CalculatorView.g.i.cs
15,859
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
28.491525
104
0.574063
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/StepFunctions/Generated/Model/TaskTimedOutEventDetails.cs
3,362
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using System.Net.Http; using System.Net.Http.Json; using TaskManager.Shared; namespace TaskManager.Client.Pages { public partial class Index { [Inject] public HttpCli...
28.191011
83
0.497409
[ "MIT" ]
PacktPublishing/Blazor-WebAssembly-Projects
Chapter08/TaskManager/Client/Pages/Index.razor.cs
2,511
C#
using System; using ObjCRuntime; using UIKit; namespace Microsoft.Maui.Platform { internal static class PlatformVersion { public static bool IsAtLeast(int version) { return OperatingSystem.IsIOSVersionAtLeast(version) || OperatingSystem.IsTvOSVersionAtLeast(version); } private static bool? SetNeedsUpdat...
26.627907
159
0.79214
[ "MIT" ]
AlexanderSemenyak/maui
src/Core/src/Platform/iOS/PlatformVersion.cs
1,145
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Sultanlar.DatabaseObject; using System.Collections; namespace Sultanlar.UI { public partial class frmAT2bolgeler : Form ...
36.476821
181
0.546841
[ "MIT" ]
dogukanalan/Sultanlar
Sultanlar/Sultanlar.UI/frmAT2bolgeler.cs
5,532
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System; using Microsoft.Practices.ObjectBuilder2; using Microsoft.Practices.Unity.Utility; namespace Microsoft.Practices.Unity.InterceptionExtension { /// <summary> /// A <see cref=...
38.059603
122
0.611449
[ "Apache-2.0", "MIT" ]
drcarver/unity
source/Unity.Interception/Src/ContainerIntegration/DefaultInterceptor.cs
5,749
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Globalization; using System.IO; using Microsoft.Extensions.CommandLineUtils; using NuGet.Common; using NuGet.Packaging.Core; ...
42.016807
127
0.5536
[ "Apache-2.0" ]
brywang-msft/NuGet.Client
src/NuGet.Core/NuGet.CommandLine.XPlat/Commands/PackageReferenceCommands/AddPackageReferenceCommand.cs
5,000
C#
public class Cargo { public Cargo(int weight, string type) { Weight = weight; Type = type; } public int Weight { get; set; } public string Type { get; set; } }
16.5
41
0.550505
[ "MIT" ]
ViktorAleksandrov/SoftUni--CSharp-Fundamentals
2. CSharp OOP Basics/01.2. Defining Classes - Exercise/P08.RawData/Cargo.cs
200
C#
using System.Threading.Tasks; using BookLovers.Auth.Integration.IntegrationEvents; using BookLovers.Base.Infrastructure.Commands; using BookLovers.Base.Infrastructure.Events.IntegrationEvents; using BookLovers.Ratings.Application.Commands.RatingGivers; namespace BookLovers.Ratings.Application.IntegrationEvents.Reader...
37.538462
90
0.764344
[ "MIT" ]
kamilk08/BookLoversApi
BookLovers.Ratings.Application/IntegrationEvents/Readers/SuperAdminCreatedHandler.cs
978
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; usin...
50.955801
242
0.623712
[ "MIT" ]
Ochirkhuyag/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/VpnConnectionCollection.cs
18,446
C#
//using System.Linq.Expressions; //namespace Z.EntityFramework.Plus //{ // /// <summary>A batch update visitor.</summary> // public class BatchUpdateVisitor : ExpressionVisitor // { // /// <summary>Gets or sets a value indicating whether the expression contains an OrderBy method.</summary> // /...
38.9
115
0.577549
[ "MIT" ]
Ahmed-Abdelhameed/EntityFramework-Plus
src/shared/Z.EF.Plus.BatchUpdate.Shared/BatchUpdateVisitor.cs
1,169
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
31.372093
135
0.629355
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-auth0
sdk/dotnet/Outputs/GuardianPhone.cs
1,349
C#
using System.ComponentModel; namespace RedditSaveTransfer.Threading { /// <summary> /// Basic class used for threading /// </summary> public class WorkerThread { public BackgroundWorker Thread { get; private set; } public WorkerThread() { Thread = new Backgroun...
24.02
110
0.597002
[ "MIT" ]
mavispuford/RedditSaveTransfer
Threading/WorkerThread.cs
1,203
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; using Comformation.IntrinsicFunctions; namespace Comformation.MediaLive.Channel { /// <summary> /// AWS::MediaLive::Channel VideoSelectorColorSpaceSettings /// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-propertie...
29.962963
140
0.684796
[ "MIT" ]
stanb/Comformation
src/Comformation/Generated/MediaLive/Channel/VideoSelectorColorSpaceSettings.cs
809
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/wingdi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
42.171429
145
0.75
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/Windows/um/wingdi/DISPLAYCONFIG_TARGET_PREFERRED_MODETests.cs
1,478
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.322581
151
0.579887
[ "MIT" ]
balbarak/Maten
src/Maten.App/Properties/Settings.Designer.cs
1,066
C#
using System; namespace CSharpGL { public class BlendFactorHelper { private int currentSource; private int currentDest; private static BlendSrcFactor[] sourceFactors; private static BlendDestFactor[] destFactors; static BlendFactorHelper() { { ...
29.403509
115
0.49642
[ "MIT" ]
AugusZhan/CSharpGL
Infrastructure/CSharpGL.TestHelpers/BlendFactorHelper.cs
1,678
C#
using System; using NUnit.Framework; using System.Linq; using System.Linq.Expressions; using System.Collections.Generic; namespace DynamicExpresso.UnitTest { [TestFixture] public class InvalidExpressionTest { [Test] [ExpectedException(typeof(UnknownIdentifierException))] public void Not_existing_variable() ...
21.767196
78
0.691541
[ "Unlicense" ]
andrewhoi/DynamicExpresso
test/DynamicExpresso.UnitTest/InvalidExpressionTest.cs
4,116
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
35.018182
153
0.579958
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/GroupPolicyObjectFileRequestBuilder.cs
1,926
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using osu.Framework.Platform; using Syste...
41.904398
385
0.557492
[ "MIT" ]
chrisny286/osu-framework
osu.Framework/Logging/Logger.cs
21,396
C#
using CG.Blazor.Plugins; using CG.Blazor.Plugins.Options; using CG.Runtime; using CG.Validations; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using Syste...
38.635556
108
0.473484
[ "MIT" ]
CodeGator/CG.Blazor.Plugins
src/CG.Blazor.Plugins/ApplicationBuilderExtensions.cs
17,388
C#
// <copyright file="IBlob.cs" company="nett"> // Copyright (c) 2015 All Right Reserved, http://q.nett.gr // Please see the License.txt file for more information. All other rights reserved. // </copyright> // <author>James Kavakopoulos</author> // <email>ofthetimelords@gmail.com</email> // <date>2015/02/06</d...
34.114865
216
0.639235
[ "MIT" ]
ofthetimelords/CloudTools
TheQ.Utilities.CloudTools/Models/ObjectModel/IBlob.cs
10,100
C#
using System; using System.Diagnostics; using System.Globalization; using System.IO; using System.Threading; namespace MatterHackers.MatterControl.Launcher { public class LauncherApp { public LauncherApp() { } [STAThread] public static void Main(string[] args) { // this sets the global culture for t...
25.454545
76
0.740179
[ "BSD-2-Clause" ]
Bhalddin/MatterControl
Launcher/Launcher.cs
1,122
C#
using System.Threading.Tasks; using PuppeteerSharp; namespace PuppeteerExtraSharp.Plugins.ExtraStealth.Evasions { public class LoadTimes : PuppeteerExtraPlugin { public LoadTimes() : base("stealth-loadTimes") { } public override Task OnPageCreated(Page page) { var script =...
25.294118
59
0.662791
[ "MIT" ]
Overmiind/PuppeteerExtraSharp
PuppeteerExtraSharp/Plugins/ExtraStealth/Evasions/LoadTimes.cs
432
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace Charlotte.Tools { /// <summary> /// thread safe /// </summary> public class ThreadCenter : IDisposable { public delegate void operation_d(); private object SYNCROOT = new object(); priva...
15.448276
76
0.594494
[ "MIT" ]
stackprobe/CSharp
Module/Module/Tools/ThreadCenter.cs
1,346
C#
using Jagerts.Arie.Standard.Controls; using Jagerts.Arie.Standard.Mvvm; using Jagerts.Arie.Windows.Classic.Test.Models; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.In...
25.969231
119
0.593602
[ "MIT" ]
Jagreaper/Project-Arie
Jagerts.Arie.Windows.Classic.Test/Viewmodels/MainViewModel.cs
1,690
C#
using Main; using System.Collections.Generic; using System.IO; using System.Linq; using Utilities; using Xunit; namespace Tests.AlgorithmsTests.Observers { public class VertexTimeStampObsTests { [Theory] [MemberData(nameof(GetInputFiles))] public void Test0(string inputFile) { ...
39.977778
149
0.558922
[ "MIT" ]
TXCodeDancer/OpenSource
Demos/QuikGraph/Tests/AlgorithmsTests/Observers/VertexTimeStampObsTests.cs
3,600
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
43.139073
150
0.618821
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/ServiceBus/DisasterRecoveryConfig.cs
6,514
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
29.647727
112
0.535646
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/RedshiftDataAPIService/Generated/Model/StatementData.cs
5,218
C#
namespace Orc.Controls.Automation { using System.Collections; using Orc.Automation; [ActiveAutomationModel] public class FilterBoxModel : FrameworkElementModel { public FilterBoxModel(AutomationElementAccessor accessor) : base(accessor) { } public stri...
25.181818
66
0.633574
[ "MIT" ]
Orcomp/Orc.Controls
src/Orc.Controls/Automation/Controls/FilterBox/Models/FilterBoxModel.cs
556
C#
using System.Xml.Linq; namespace Cassette.Stylesheets { class StylesheetBundleSerializerBase<T> : BundleSerializer<T> where T : StylesheetBundle { protected StylesheetBundleSerializerBase(XContainer container) : base(container) { } protected over...
26.478261
76
0.555008
[ "MIT" ]
BluewireTechnologies/cassette
src/Cassette/Stylesheets/StylesheetBundleSerializerBase.cs
609
C#
//------------------------------------------------------------------------------ // <auto-generated> // Generated by the MSBuild WriteCodeFragment class. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: Microsof...
52.894737
177
0.688557
[ "MIT" ]
wallysonlima/rpsgame
Backend/rpsgame/obj/Debug/netcoreapp3.0/rpsgame.RazorTargetAssemblyInfo.cs
1,005
C#
using Lucene.Net.QueryParsers.Flexible.Core.Nodes; using Lucene.Net.QueryParsers.Flexible.Core.Processors; using Lucene.Net.QueryParsers.Flexible.Standard.Nodes; using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Standard.Processors { /* * Licensed to the Apache Software Fou...
37.969231
90
0.632901
[ "Apache-2.0" ]
NikolayXHD/Lucene.Net.Contrib
Lucene.Net.QueryParser/Flexible/Standard/Processors/PhraseSlopQueryNodeProcessor.cs
2,470
C#
namespace MachineLearning.Data { /// <summary> /// Interfaccia per i provider di dati /// </summary> public interface IDataStorageProvider { #region Properties /// <summary> /// Storage di dati /// </summary> IDataStorage DataStorage { get; } #endregion } }
19.5625
41
0.587859
[ "MIT" ]
darth-vader-lg/MachineLearning
src/MachineLearning/Data/IDataStorageProvider.cs
315
C#
#region Copyright // Copyright 2014 Myrcon Pty. Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
41.1875
111
0.704097
[ "Apache-2.0" ]
phogue/Potato
src/Potato.Fuzzy/Tokens/Primitive/Temporal/Variable/Months/MarchMonthsVariableTemporalPrimitiveToken.cs
1,320
C#
// Copyright 2016 Esri. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. // You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software ...
41.739583
264
0.664088
[ "Apache-2.0" ]
praveensri1265/public
src/iOS/Xamarin.iOS/Samples/Data/ServiceFeatureTableCache/ServiceFeatureTableCache.cs
4,007
C#
using System.ServiceModel; namespace BleSock.Windows { [ServiceContract] internal interface IWcfPeripheralCallback { [OperationContract(IsOneWay = true)] void OnBluetoothRequire(); [OperationContract(IsOneWay = true)] void OnReady(); [OperationContract(IsOneWay = ...
24.833333
63
0.648322
[ "MIT" ]
KzoNag/blesock-unity-plugin
WinBle/WinBleHost/IWcfPeripheralCallback.cs
747
C#
/* * Decorations - Images, text or other things that can be rendered onto an ObjectListView * * Author: Phillip Piper * Date: 19/08/2009 10:56 PM * * Change log: * v2.4 * 2010-04-15 JPP - Tweaked LightBoxDecoration a little * v2.3 * 2009-09-23 JPP - Added LeftColumn and RightColumn to RowBorderDecorati...
31.856959
105
0.541766
[ "MIT" ]
dbgate/datadmin
ObjectListView/Decorations.cs
24,723
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.074074
134
0.614218
[ "BSD-3-Clause" ]
DbKeeperNet/DbKeeperNet
DbKeeperNet.Extensions.MsSqlMembershipAndRolesSetup/XmlClasses.cs
1,057
C#
/* * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; usin...
32.888112
159
0.572826
[ "Apache-2.0" ]
ccozzolino/openapi-generator
samples/client/petstore/csharp-refactor/OpenAPIClient/src/Org.OpenAPITools/Model/Category.cs
4,703
C#
using System; using Expanse.Utilities; using UnityEngine; namespace Expanse.Extensions { /// <summary> /// A collection of Transform related extension methods. /// </summary> public static class TransformExt { /// <summary> /// Destroys all game objects parented to a transform. ...
38.364472
127
0.582548
[ "MIT" ]
AikenParker/Expanse
Extensions/TransformExt.cs
25,054
C#
using System; using System.IO; using System.Net; using NBitcoin; using NBitcoin.Protocol; using Stratis.Bitcoin.Configuration; using Stratis.Bitcoin.Configuration.Logging; using Stratis.Bitcoin.Configuration.Settings; using Stratis.Bitcoin.Connection; using Stratis.Bitcoin.P2P; using Stratis.Bitcoin.P2P.Peer; using St...
51.328302
250
0.709528
[ "MIT" ]
danielgerlag/StratisBitcoinFullNode
src/Stratis.Bitcoin.Tests/P2P/PeerConnectorTests.cs
13,604
C#
using SharpAudio.FFMPEG; using System; using System.IO; using System.Threading; using CommandLine; using System.Collections.Generic; using SharpAudio.FFMPEG; using System.Linq; namespace SharpAudio.Sample { class Program { public class Options { [Option('i', "input", Required = tru...
31.633333
271
0.566386
[ "MIT" ]
maxkatz6/SharpAudio
src/SharpAudio.Sample/Program.cs
1,900
C#
using System; using UnityEngine; namespace EditorExtensions { public class SettingsWindow : MonoBehaviour { //public static SettingsWindow Instance { get; private set; } //public bool Visible { get; set; } public delegate void WindowDisabledEventHandler(); public event WindowDisabledEventHandler WindowDisa...
27.505051
118
0.658343
[ "MIT" ]
Gerry1135/EditorExtensions
EditorExtensions/SettingsWindow.cs
8,171
C#
namespace L2dotNET.Network.serverpackets { class PetInfo : GameserverPacket { public PetInfo() { } public override void Write() { WriteByte(0xb1); } } }
15.666667
41
0.485106
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Elfocrash/L2dotNET
src/L2dotNET/Network/serverpackets/PetInfo.cs
237
C#
// <copyright file="PostIconManager.cs" company="Drastic Actions"> // Copyright (c) Drastic Actions. All rights reserved. // </copyright> using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Threading; using System.Threading.Tasks; using Awful.Exceptions; using A...
39.391304
152
0.665195
[ "MIT" ]
drasticactions/Awful.Core
Awful/Managers/PostIconManager.cs
2,720
C#
using System; public class Program { public static void Main(string[] args) { DateTime dt = new DateTime(1999, 7, 7); dt.AddDays(1); Console.WriteLine(dt.ToShortDateString()); } }
18.166667
50
0.600917
[ "MIT" ]
autumn009/TanoCSharpSamples
Chap5/C5Q14/C5Q14/Program.cs
220
C#
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
34.677419
84
0.743256
[ "MIT" ]
alexandrecz/Xamarin
XamarinWeb/XamarinWeb/Properties/AssemblyInfo.cs
1,078
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace SimplCommerce.WebHost { public class Program ...
26.592593
85
0.674095
[ "Apache-2.0" ]
danielfn/example-dotnet-simplcommerce
src/SimplCommerce.WebHost/Program.cs
720
C#
using System; using ChartDirector; namespace CSharpChartExplorer { public class dualhbar : DemoModule { //Name of demo module public string getName() { return "Dual Horizontal Bar Charts"; } //Number of charts produced in this demo module public int getNoOfCharts() { return 1; ...
42.608974
100
0.537385
[ "Apache-2.0" ]
jojogreen/Orbital-Mechanix-Suite
NetWinCharts/CSharpWinCharts/dualhbar.cs
6,647
C#
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using GeometricAlgebraFulcrumLib.Processors.LinearAlgebra; using GeometricAlgebraFulcrumLib.Processors.ScalarAlgebra; using GeometricAlgebraFulcrumLib.Storage.LinearAlgebra.Matrices; using GeometricAlgebraFu...
33.986842
132
0.681765
[ "MIT" ]
ga-explorer/GeometricAlgebraFulcrumLib
GeometricAlgebraFulcrumLib/GeometricAlgebraFulcrumLib/Algebra/LinearAlgebra/LinearMaps/LinUnilinearMap.cs
2,585
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections.ObjectModel; using System.ComponentModel; using AppAlmacenPF.Entities; using AppAlmacenPF.ModelView; using System.Windows.Input; using System.Windows; namespace AppAlmacenPF.Mod...
29.70297
92
0.5155
[ "MIT" ]
johnsvill/proyecto-final-backend-app
ModelView/TelefonoProveedorModelView.cs
6,002
C#
using System; using EventStore.ClientAPI.SystemData; using NUnit.Framework; namespace EventStore.Core.Tests.ClientAPI.UserManagement { [TestFixture] public class updating_a_user : TestWithNode { [Test] public void updating_a_user_with_null_username_throws() { Assert.Thr...
41.20339
176
0.588235
[ "Apache-2.0" ]
EventStore/ClientAPI.NetCore
test/EventStore.ClientAPI.NetCore.Tests/UserManagement/updating_a_user.cs
2,433
C#
using SharedTrip.Models; using SharedTrip.ViewModels.Trips; using System.Linq; namespace SharedTrip.Services { public interface ITripsService { IQueryable<AllTripsViewModel> GetAllTrips(); void Create(string startPoint, string endPoint, string departureTime, string imagePath, int seats, strin...
25.333333
127
0.739035
[ "MIT" ]
TihomirIvanovIvanov/SoftUni
C#WebDevelopment/C#-Web-Basics/MyExamSharedTrip/src/SharedTrip/Services/ITripsService.cs
458
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; #pragma warning disable 1591 namespace Silk.NET.OpenGL.Legacy { public enum CopyBufferSubDataTarget { ArrayBuffer = 0x8892, E...
25.258065
57
0.661558
[ "MIT" ]
AzyIsCool/Silk.NET
src/OpenGL/Silk.NET.OpenGL.Legacy/Enums/CopyBufferSubDataTarget.gen.cs
783
C#
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
51.051948
135
0.704147
[ "MIT" ]
DamirAinullin/AlphaFS
src/AlphaFS/Filesystem/File Class/File.ReadAllTextTransacted.cs
3,931
C#
using System; using System.Collections.Generic; using System.Text; namespace COSXML.Model.Object { /// <summary> /// 删除对象返回的结果 /// <see cref="https://cloud.tencent.com/document/product/436/7743"/> /// </summary> public sealed class DeleteObjectResult : CosResult { } }
18.6875
73
0.658863
[ "MIT" ]
Noname-Studio/ET
Unity/Assets/ThirdParty/CloudServices/Tencent/COS/Model/Object/DeleteObjectResult.cs
317
C#
using System; using System.Collections.Generic; namespace EasyTree.Iterators { internal class LevelOrderIterator : IteratorBase, IEnumerable<Node> { public LevelOrderIterator(Node node, bool includeRoot = true) : base(node) { LevelOrder(_node, includeRoot); } publi...
28.438596
108
0.494756
[ "MIT" ]
kvonkoni/EasyTree
EasyTree/Iterators/LevelOrderIterator.cs
1,623
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace FunctionMonkey.Tests.Integration.Common.Commands.Model { public class SimpleResponse { public int Value { get; set; } public string Message { get; set; } public static Task<SimpleResponse> Success() { ...
25.268293
83
0.490347
[ "MIT" ]
AKomyshan/FunctionMonkey
Tests/FunctionMonkey.Tests.Integration.Common/Commands/Model/SimpleResponse.cs
1,038
C#
// Copyright 2017 the original author or authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
35.884298
159
0.506449
[ "Apache-2.0" ]
Karql/steeltoe
src/Stream/src/Base/Util/GenericsUtils.cs
4,344
C#
// <copyright file="TrivialQuest.cs" company="Google Inc."> // Copyright (C) 2015 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LIC...
34
94
0.55304
[ "Apache-2.0" ]
Acidburn0zzz/play-games-plugin-for-unity
samples/TrivialQuest/Source/Assets/TrivialQuest/TrivialQuest.cs
6,054
C#
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using ClearCanvas.Common; using ClearCanvas.Desk...
27
97
0.753411
[ "Apache-2.0" ]
SNBnani/Xian
Desktop/View/WinForms/Configuration/ToolbarConfigurationComponentView.cs
1,026
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric.Data.S...
44.206897
110
0.628315
[ "MIT" ]
AndreyTretyak/service-fabric
src/prod/src/managed/Api/src/System/Fabric/btree/services/IStateProviderBroker.cs
2,564
C#
namespace NoodleExtensions.HarmonyPatches { using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Reflection.Emit; using HarmonyLib; using UnityEngine; using static NoodleExtensions.NoodleObjectDataManager; internal static class FakeNoteHelper {...
36.024691
207
0.598698
[ "MIT" ]
Aeroluna/NoodleExtensions
NoodleExtensions/HarmonyPatches/FakeNotes/FakeNoteHelper.cs
2,920
C#
// // UriQueryBuilderTests.cs // // Authors: // Olivier Dufour <olivier.duff@gmail.com> // Alan McGovern <alan.mcgovern@gmail.com> // // Copyright (C) 2009 Olivier Dufour // Alan McGovern // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and a...
36.88172
115
0.61137
[ "MIT" ]
OneFingerCodingWarrior/monotorrent
src/MonoTorrent.Tests/Common/UriQueryBuilderTests.cs
3,432
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Mi...
40.210526
84
0.755236
[ "MIT" ]
optician-tool/Optician-Tool
Optician-Standalone/comparisons/prose/Extraction.Text/Properties/AssemblyInfo.cs
1,531
C#
using System; using System.Linq.Expressions; using JetBrains.Annotations; using Sitko.ModelSelector.Base; namespace Sitko.ModelSelector.Predicates { public class GreaterThanPredicate<TModel, TProperty> : SinglePredicate<TModel, TProperty> { public GreaterThanPredicate(Expression<Func<TModel, TProperty...
28.62963
101
0.668823
[ "MIT" ]
sitkoru/ModelSelector
Predicates/GreaterThanPredicate.cs
775
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Petzak { public class CameraController : MonoBehaviour { //public static CameraController main = new CameraController(); //public Camera[] cameras; public static int currentCameraIndex; ...
21.842105
72
0.528916
[ "MIT" ]
apetzak/255-LD
Assets/Petzak/Scripts/CameraController.cs
832
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace WebApplication6.Content { public class PrivacyModel : PageModel { public void OnGet() { } } }
19.5625
42
0.709265
[ "Apache-2.0" ]
tangdf/RazorPagesMultipleRootDirectory
RazorPagesMultipleRootDirectory/Content/Privacy.cshtml.cs
315
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("3.F...
37.621622
84
0.746408
[ "MIT" ]
BorisLechev/Programming-Basics
Documents/Github/Programming-Fundamentals/11. Programming Fundamentals Extended/Exams/Extended Exam - 15.04.2018/3.FirstAlbum/Properties/AssemblyInfo.cs
1,395
C#
using Quasar.Client.Extensions; using Quasar.Client.Helper; using Quasar.Client.Registry; using Quasar.Common.Messages; using Quasar.Common.Models; using Quasar.Common.Networking; using System; namespace Quasar.Client.Messages { public class RegistryHandler : IMessageProcessor { public bool CanExecute...
36.761317
154
0.543602
[ "MIT" ]
wbflike/QuasarRAT
Quasar.Client/Messages/RegistryHandler.cs
8,935
C#
/*Amicable Numbers https://projecteuler.net/problem=21 Problem Description: Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). If d(a) = b and d(b) = a, where a ≠ b, then a and b are an amicable pair and each of a and b are called amicable numbers. For example, the...
30.423729
180
0.567688
[ "MIT" ]
Christian-Pickett/Euler_Project
20_through_29/prob21.cs
1,797
C#
namespace Cordy.AST { public sealed class Event : FunctionalMember { public Event(EventDef def, BasicNode body) : base(def, body) {} } }
16.916667
51
0.497537
[ "MIT" ]
The-White-Dragon/Cordy-Sharp
Cordy/AST/TypeMembers/Declarations/Event.cs
205
C#
using CharlieBackend.Business.Services.FileServices.Importers; using CharlieBackend.Business.Services.FileServices.ImportFileServices.Importers; using CharlieBackend.Business.Services.FileServices.ImportFileServices.ImportReaders; using CharlieBackend.Business.Services.Interfaces; using CharlieBackend.Core.DTO.Export;...
36.495652
85
0.631403
[ "MIT" ]
ViktorMarhitich/WhatBackend
CharlieBackend.Business/Services/FileServices/ImportFileServices/ServiceImport.cs
4,199
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
33.298701
128
0.663807
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Comprehend/Generated/Model/ListDocumentClassifiersResponse.cs
2,564
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using Projeto_WSTower.Domains; namespace Projeto_WSTower.Contexts { public partial class Projeto_WSTowerContext : DbContext { public Projeto_WSTowerContext() { } public Projeto_WST...
35.520548
213
0.531431
[ "MIT" ]
AnaLauraFeltrim/Projeto2Semestre
Projeto WSTower/Projeto WSTower/Contexts/Projeto_WSTowerContext.cs
5,188
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes...
31.236568
364
0.610996
[ "Apache-2.0" ]
svick/roslyn-not-a-fork
src/EditorFeatures/CSharpTest/Diagnostics/AddUsing/AddUsingTests.cs
77,904
C#