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 System; namespace NPOI.Util { /// <summary> /// Adapts a plain byte array to <see cref="T:NPOI.Util.ILittleEndianInput" /> /// </summary> /// <remarks>@author Josh Micich</remarks> public class LittleEndianByteArrayInputStream : ILittleEndianInput { private byte[] _buf; private int _endIndex; priva...
20.92
153
0.617591
[ "MIT" ]
iNeverSleeeeep/NPOI-For-Unity
NPOI.Util/LittleEndianByteArrayInputStream.cs
2,615
C#
using MbDotNet.Models.Predicates; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MbDotNet.Tests.Models.Predicates { [TestClass] public class StartsWithPredicateTests : PredicateTestBase { [TestMethod] public void StartsWithPredicate_Constructor_SetsFieldObject() { ...
38.678571
120
0.683287
[ "MIT" ]
putnap/MbDotNet
MbDotNet.Tests/Models/Predicates/StartsWithPredicateTests.cs
2,168
C#
using GraphicsLayer; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using GraphsCore; namespace Graphs { public class GraphCanvas : GraphicsLayer.IPaintable { public event Action<Graph> GraphModified; public event Action<string> NameModif...
30.107955
168
0.410153
[ "MIT" ]
landon/WebGraphs
GraphsCore/GraphCanvas.cs
26,497
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("Tau...
37.621622
84
0.744971
[ "MIT" ]
JiiSPee/ohjelmoinnin-perusteet
Arrays_/Taulukko 3.1/Taulukko 3.1/Properties/AssemblyInfo.cs
1,395
C#
using System.Collections; using System.Collections.Generic; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.CollectionsGeneric; namespace NetOffice.VisioApi { /// <summary> /// DispatchInterface IVDataColumns /// SupportByVersion Visio, 12,14...
30.285714
168
0.685776
[ "MIT" ]
DominikPalo/NetOffice
Source/Visio/DispatchInterfaces/IVDataColumns.cs
8,270
C#
using System.Collections; using System.Collections.Generic; using System.Globalization; using UnityEngine; using UnityEngine.UI; using UnityEngine.XR.ARFoundation; using UnityEngine.SceneManagement; using LevelManagement.Data; public class UIManager: MonoBehaviour { public Text appleCountText; public...
25.845238
110
0.613082
[ "Apache-2.0" ]
creativehims/snake-arcore-codelab
Assets/Scripts/UIManager.cs
4,344
C#
namespace Venture.CaseOffice.Application { public static class CaseOfficeApplicationAssemblyTag { } }
20.8
58
0.826923
[ "MIT" ]
Eshva/Eshva.Poezd
samples/Venture/CaseOffice/Venture.CaseOffice.Application/CaseOfficeApplicationAssemblyTag.cs
104
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...
33.478873
111
0.635675
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20200501/Outputs/ContainerNetworkInterfaceConfigurationResponse.cs
2,377
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> //--...
42.594595
174
0.600888
[ "MIT" ]
GamesFaix/MineCalc
MineCalc/Properties/Resources.Designer.cs
3,154
C#
using UnityEngine; using System.Collections.Generic; using AppodealCM.Unity.Common; namespace AppodealCM.Unity.Platforms { public class Dummy : IConsentManager, IConsentForm, IVendor, IVendorBuilder, IConsentFormBuilder, IConsentManagerException, IConsent { #region Dummy private const ...
23.166667
104
0.540596
[ "Apache-2.0" ]
appodeal/appodeal-unity-plugin-upm
Runtime/Platforms/ConsentManager/Dummy/Dummy.cs
4,865
C#
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 namespace Moryx.Runtime.Modules { /// <summary> /// Interface for all modules offering an API Facade /// </summary> /// <typeparam name="TFacade">Type of facade offered by this module</typeparam> ...
32.809524
140
0.640058
[ "Apache-2.0" ]
1nf0rmagician/MORYX-Core
src/Moryx.Runtime/Modules/IFacadeContainer.cs
689
C#
using System.Concepts; using System.Concepts.Enumerable; using System.Concepts.Monoid; using System.Concepts.Prelude; namespace TinyLinq { /// <summary> /// Concept for summing over an enumerable. /// </summary> public concept CSum<TColl, [AssociatedType] TElem> { /// <summary> ///...
30.905405
179
0.56056
[ "Apache-2.0" ]
ElanHasson/roslyn
concepts/code/TinyLinq/TinyLinq.Core/Sum.cs
2,289
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.ComponentModel; using System.Diagnostics; namespace System.Windows.Forms { /// <summary> /// ...
36.79661
162
0.61953
[ "MIT" ]
AndreRRR/winforms
src/System.Windows.Forms/src/System/Windows/Forms/WinCategoryAttribute.cs
2,173
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Immutable; using System.Diagnostics; using Microsoft.CodeAnalysis.CSharp.Syntax; namespac...
43.805825
178
0.669548
[ "MIT" ]
333fred/roslyn
src/Compilers/CSharp/Portable/Symbols/Synthesized/Records/SynthesizedRecordPropertySymbol.cs
4,514
C#
using AngleSharp; using AngleSharp.Dom; using AngleSharp.Parser.Html; using Racing; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace RacingWebScraper { public partial class SLifeRacingScraper { ...
36.303309
148
0.509595
[ "MIT" ]
cjsheehan/race-analyser
RacingWebScraper/SportingLife/ScrapeLastRace.cs
19,751
C#
using Xamarin.Forms; using Xamarin.Forms.PlatformConfiguration; using Xamarin.Forms.PlatformConfiguration.iOSSpecific; using Xamarin.Forms.Xaml; namespace Sample.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class LottieViewsPage : ContentPage, IBindablePage { public Lot...
24.962963
69
0.64095
[ "MIT" ]
danielMd2805/Sharpnado.TaskLoaderView
Retronado/Sample/Views/LottieViewsPage.xaml.cs
676
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; using Elasticsearch.Net.Utf8Json; namespace Nest { /// <summary> /// An analyzer of type custom that allows to combine a Tokenizer with zero or more Token Filters, /// and zero or more Char Filters. /// <para> /// The custom anal...
35.689655
130
0.710145
[ "Apache-2.0" ]
adamralph/elasticsearch-net
src/Nest/Analysis/Analyzers/CustomAnalyzer.cs
4,144
C#
using System; using System.IO; using System.Collections.Generic; using System.Threading.Tasks; using Nancy; using SwaggerPlayground.Common; using FluentValidation; namespace PetStoreApp.PetStore { public partial class CreateUserRequest { public User Body {get; set; } public override bool Equals(o...
20.044444
85
0.611973
[ "Apache-2.0" ]
thomasraynal/SwaggerPlayground
PetStore/PetStore/_Generated/Request/CreateUserRequest.generated.cs
902
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.AspNetCore.Analyzer.Testing; namespace Microsoft.AspNetCore.Analyzers.RouteHandlers; public partial class DisallowMvcBindArgumentsOnPara...
34.573034
155
0.714982
[ "MIT" ]
3ejki/aspnetcore
src/Framework/AspNetCoreAnalyzers/test/RouteHandlers/DisallowMvcBindArgumentsOnParametersTest.cs
3,077
C#
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp9.MaintainabilityRules { using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnal...
33.903846
114
0.607865
[ "MIT" ]
AraHaan/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp9/MaintainabilityRules/SA1119CSharp9UnitTests.cs
5,291
C#
using System.Linq; using RaftCore.Models; using TinyFp.Extensions; using static RaftCore.Node.LogRequestChecks; using static RaftCore.Node.Checks; using static RaftCore.Utils; using static RaftCore.Constants.Logs; namespace RaftCore.Node { public partial class Agent { public Status AppendE...
48.053846
113
0.444213
[ "MIT" ]
FrancoMelandri/raft
src/core/Node/Agent/Agent.Core.cs
6,249
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...
38.039063
165
0.633806
[ "Apache-2.0" ]
JeffAshton/aws-sdk-net
sdk/src/Services/CloudFront/Generated/Model/Internal/MarshallTransformations/ListDistributionsByWebACLIdResponseUnmarshaller.cs
4,869
C#
using LiveClientDesktop.Enums; namespace LiveClientDesktop.Models { public class SwitchDemonstrationSceneContext { public SceneType Source { get; set; } public DemonstratioType SceneType { get; set; } public object UseDevice { get; set; } } }
21.692308
55
0.680851
[ "MIT" ]
schifflee/LiveClient
LiveClientDesktop/Models/SwitchDemonstrationSceneContext.cs
284
C#
using System; using System.IO; using System.Text; using Microsoft.TemplateEngine.Abstractions; using Microsoft.TemplateEngine.Core.Contracts; using Microsoft.TemplateEngine.TestHelper; using Microsoft.TemplateEngine.Utils; using Xunit; namespace Microsoft.TemplateEngine.Core.UnitTests { public abstract class Test...
36.901639
153
0.628165
[ "MIT" ]
ajeckmans/templating
test/Microsoft.TemplateEngine.Core.UnitTests/TestBase.cs
2,253
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace BoatTrackerBot.Tests { [TestClass] public class TestIntentCheckReservations { [ClassInitialize] public static void Initialize(TestContext context) ...
35.259259
132
0.531775
[ "MIT" ]
CrewNerd/BoatTracker
src/BoatTrackerBot.Tests/TestIntentCheckReservations.cs
3,810
C#
using System; namespace cloudscribe.Core.Models { public interface IUserToken { Guid SiteId { get; set; } Guid UserId { get; set; } string LoginProvider { get; set; } string Name { get; set; } string Value { get; set; } } }
19.857143
42
0.561151
[ "Apache-2.0" ]
4L4M1N/cloudscribe
src/cloudscribe.Core.Models/Identity/IUserToken.cs
280
C#
//----------------------------------------------------------------------- // <copyright file="CslaPrincipal.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: http://www.lhotka.net/cslanet/ // </copyright> // <summary>Base class from which custom principal</summary> //----...
32.404762
114
0.620132
[ "MIT" ]
angtianqiang/csla
Source/Csla.Shared/Security/CslaPrincipal.cs
2,722
C#
#region Copyright © 2020-2021 Vladimir Deryagin. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
29.34375
75
0.750799
[ "Apache-2.0" ]
jeydo6/MIS
MIS.Application/Queries/Date/ListItems/DateListItemsQuery.cs
942
C#
using System.Reflection; 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("AWSSDK.SimpleDB")] [assembly: AssemblyDesc...
47.5625
260
0.7523
[ "Apache-2.0" ]
ebattalio/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/SimpleDB/Properties/AssemblyInfo.cs
1,522
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("03...
37.918919
84
0.744833
[ "MIT" ]
TemplarRei/TelerikAcademy
CSharpOne/01.HomeWork.IntroToProgramming/03.PrintNumbers/Properties/AssemblyInfo.cs
1,406
C#
using CloudyMobile.Client; using DevHops.Maui.Services.Abstractions; using Microsoft.Maui.Controls; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace DevHops.Maui.ViewModels { ...
33.557692
135
0.616905
[ "MIT" ]
matt-goldman/2-gt4
src/MAUI/DevHops.Maui/DevHops.Maui/ViewModels/SearchRecipeViewModel.cs
3,492
C#
using Autofac; using Surging.Core.CPlatform.Support; using System.Linq; using Surging.Core.CPlatform.Routing; using Surging.Core.CPlatform.Address; using System.Threading.Tasks; using Surging.Core.ServiceHosting.Internal; using Surging.Core.CPlatform.Runtime.Server; using System.Net; using System.Net.NetworkInformatio...
44.145455
151
0.623353
[ "MIT" ]
herryhxl/surging
src/Surging.Core/Surging.Core.CPlatform/ServiceHostBuilderExtensions.cs
4,858
C#
using MonkeyFinder.Model; using System; using System.Diagnostics; using System.Threading.Tasks; using Xamarin.Essentials; using Xamarin.Forms; namespace MonkeyFinder.ViewModel { public class MonkeyDetailsViewModel : BaseViewModel { public Command OpenMapCommand { get; } public MonkeyDetailsVi...
24.396226
105
0.511214
[ "MIT" ]
AzureAdvocateBit/xamarin.forms-workshop-1
Finish/MonkeyFinder/MonkeyFinder/ViewModel/MonkeyDetailsViewModel.cs
1,295
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Bicep.Core.Json; using Bicep.RegistryModuleTool.Exceptions; using Bicep.RegistryModuleTool.ModuleFiles; using Bicep.RegistryModuleTool.Schemas; using Json.Schema; using Microsoft.Extensions.Logging; using System.Linq; using System.Text; u...
48.130841
158
0.61767
[ "MIT" ]
PedroC88/bicep
src/Bicep.RegistryModuleTool/ModuleFileValidators/JsonSchemaValidator.cs
5,150
C#
/* * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * If a copy of the MPL was not distributed with this file, You can obtain one at * http://mozilla.org/MPL/2.0/. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using FSO.Content.Fram...
29.142857
153
0.703431
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
francot514/FreeSims
SimsVille/ContentManager/AvatarMeshProvider.cs
818
C#
#region Copyright (c) 2013 Jens Thiel, http://thielj.github.io/MetroFramework /* MetroFramework - Windows Modern UI for .NET WinForms applications Copyright (c) 2013 Jens Thiel, http://thielj.github.io/MetroFramework Permission is hereby granted, free of charge, to any person obtaining a copy of this software and...
38.295918
161
0.672795
[ "MIT" ]
4ep/MetroFramework
MetroFramework/Controls/MetroRadioButton.cs
3,755
C#
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using io.nem1.sdk.Infrastructure.HttpRepositories; using io.nem1.sdk.Model.Accounts; using io.nem1.sdk.Model.Blockchain; using io.nem1.sdk.Model.Mosaics; using io.nem1.sdk.Model.Transactions; us...
44.25
164
0.696529
[ "Apache-2.0" ]
LykkeCity/nem1-sdk-csharp
src/integration-test/infrastructure/Transactions/SignatureTransactionTests.cs
2,480
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Mvc; namespace Marsman.UmbracoCodeFirst.ViewHelpers { /// <summary> /// A set of specialised helpers for use with the document and view models in code-first strongly-typed views...
28.236842
113
0.615098
[ "MIT" ]
DanMannMann/UmbracoCodeFirst
Felinesoft.UmbracoCodeFirst/ViewHelpers/ICodeFirstViewHelper.cs
1,075
C#
using System; using System.Diagnostics; #nullable enable namespace CSharpE.Syntax.Internals { readonly struct Union<T1, T2> where T1 : class where T2 : class { private readonly object value; public Union(T1 value) => this.value = value; public Union(T2 value) => this.value = value; ...
31.45614
145
0.576129
[ "MIT" ]
svick/CSharpE
src/Syntax/Internals/Union.cs
1,795
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.CodeAnalysis.CSharp { internal enum ErrorCode { Void = InternalErrorCode.Void, ...
45.380694
186
0.698932
[ "MIT" ]
Kuinox/roslyn
src/Compilers/CSharp/Portable/Errors/ErrorCode.cs
83,684
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
38.807018
152
0.550633
[ "Apache-2.0" ]
shze/pwizard-deb
pwiz_tools/Topograph/TopographApp/Properties/Settings.Designer.cs
6,638
C#
namespace ex36PastelariaMVC.Utils { public class MenuUtil { public static void MenuDeslogado(){ System.Console.WriteLine("-------------------------------------------"); System.Console.WriteLine("----------Restaurante PastelStore----------"); System.Console.WriteLine(...
55.972973
84
0.377113
[ "MIT" ]
CleAurora/C-
ex36PastelariaMVC/Utils/MenuUtil.cs
2,077
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...
36.326531
159
0.620225
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/GuardDuty/Generated/Model/Internal/MarshallTransformations/PortProbeActionUnmarshaller.cs
3,560
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace mx { namespace Grids { public class GridMover : MonoBehaviour { [SerializeField] private int m_speed = 1; [SerializeField] private string[] m_gridNames; private GridData m_gridData = null; priva...
30.961538
101
0.667081
[ "MIT" ]
madya121/Window
Window/Assets/Grids MX/Examples/2-IngameExample/Scripts/GridMover.cs
3,222
C#
using System; namespace Vs.Core.Web.OpenApi.v1.Dto.ProtocolErrors { /// <summary> /// Standard resource not found response (404). /// </summary> public class NotFound404Response { /// <summary> /// The endoint of the resource that could not be obtained. /// </summary> ...
22.736842
67
0.548611
[ "MIT" ]
sjefvanleeuwen/morstead
src/core/Vs.Core.Web.OpenApi/v1/Dto/ProtocolErrors/NotFound404Response.cs
434
C#
namespace Test.Fluentmigrator.Exceptions { public class TriggerNotFoundException : MigrationFailedException { public TriggerNotFoundException(string databaseName, string tableName, string triggerName, string triggerContent) : base($"The {triggerName} Trigger was not found in the {tableName} tab...
56.428571
149
0.751899
[ "MIT" ]
samukce/test.fluentmigrator
Test.Fluentmigrator/Exceptions/TriggerNotFoundException.cs
397
C#
using System; using Microsoft.AspNetCore.Components; namespace Blazored.Modal.Services { public interface IModalService { /// <summary> /// Invoked when the modal component closes. /// </summary> event Action<ModalResult> OnClose; /// <summary> ///...
44.589286
124
0.605927
[ "MIT" ]
ambiguousrocket/Modal
src/Blazored.Modal/Services/IModalService.cs
2,499
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("16....
38.054054
84
0.746449
[ "MIT" ]
GabrielRezendi/Programming-Fundamentals-2017
02.Extented Fundamentals/09.DATA TYPES - EXERCISES/16.00 Tricky Strings/Properties/AssemblyInfo.cs
1,411
C#
using System.Net.Http; using EasyAbp.Abp.Aliyun.Common; using EasyAbp.Abp.Aliyun.Common.Model; namespace EasyAbp.Abp.Aliyun.Sms.Model.Request { public class QuerySendDetailsRequest : CommonRequest { public QuerySendDetailsRequest() { RequestParameters["Action"] = "QuerySendDetails";...
31.962963
72
0.630359
[ "MIT" ]
zhaoqishan/Abp.Aliyun
src/EasyAbp.Abp.Aliyun.Sms/Model/Request/QuerySendDetailsRequest.cs
863
C#
using Live.Models; namespace Live.Data { public interface IUow { IRepository<Book> Books { get; } IRepository<Theme> Themes { get; } IRepository<Author> Authors { get; } void SaveChanges(); } }
18.384615
44
0.589958
[ "MIT" ]
QuinntyneBrown/live
Live/Data/IUow.cs
239
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V251.Segment; using NHapi.Model.V251.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V251.Group { ///<summary> ///Represents the SQR_S25_PATIENT Group. A Group is an ordered colle...
29.849057
153
0.666877
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V251/Group/SQR_S25_PATIENT.cs
3,164
C#
using UnityEngine; using UnityEngine.UI; using System.Linq; using System.Collections; public class TrainingMode : MonoBehaviour { public bool start = true; public bool update; public bool defaultState; public Sprite spriteOnItem; public Sprite spriteOnAction; public Sprite spriteItemDefault; ...
42.227778
136
0.529272
[ "MIT" ]
levabd/dolls
Assets/Resources/Scripts/Inventory/training_mode/TrainingMode.cs
7,603
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: AssemblyTit...
36.205882
85
0.735175
[ "BSD-2-Clause" ]
PNNL-Comp-Mass-Spec/DMS-EMail-Manager
Properties/AssemblyInfo.cs
1,234
C#
using UnityEngine; public class PanelTests : MonoBehaviour { private Panel _panel; private const string Show = "Show"; private const string Hide = "Hide"; private const string Center = "Center"; private void Start() { _panel = GetComponent<Panel>(); Panel.Position centerPos...
23.075
112
0.580715
[ "Apache-2.0" ]
Kassout/unityProject_RogueTactics
RogueTactics/Assets/Scripts/Tests/PanelTests.cs
923
C#
using System; using System.Collections.Generic; using System.Linq; using System.ComponentModel; using UnityEngine; namespace UnityEditor.VFX.Block { class OrientationModeProvider : VariantProvider { protected override sealed Dictionary<string, object[]> variants { get { ...
34.393586
223
0.494787
[ "Apache-2.0" ]
CrazyJohn16/JoaoArena
Library/PackageCache/com.unity.visualeffectgraph@7.3.1/Editor/Models/Blocks/Implementations/Orientation/Orient.cs
11,797
C#
//----------------------------------------------------------------------- // <copyright file="SQArray.cs" company="None"> // Copyright (c) IIHOSHI Yoshinori. // Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information. // </copyright> //----------------------------...
33.463415
114
0.560496
[ "BSD-2-Clause" ]
armadillo-winX/ThScoreFileConverter
ThScoreFileConverter/Squirrel/SQArray.cs
2,746
C#
using InvertedTomato.IO.Messages; using System; using System.Collections.Generic; using System.Threading; namespace InvertedTomato.Net.Zeta { class Program { static void Main(String[] args) { //netsh http add urlacl url=http://*:8000/ user=Everyone var revisions = new Dictionary<UI...
36.054545
88
0.530509
[ "Apache-2.0" ]
invertedtomato/zeta
WsDemo/Program.cs
1,985
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // Generation parameters: // - DataFilename: Patte...
64.557587
296
0.563419
[ "MIT" ]
AmmariJawher/Recognizers-Text
.NET/Microsoft.Recognizers.Definitions.Common/German/NumbersWithUnitDefinitions.cs
35,652
C#
#region License // Copyright (c) 2007 James Newton-King // // 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 the rights to use, // copy, ...
34.033898
196
0.530876
[ "MIT" ]
vboctor/azure-activedirectory-library-for-dotnet
msal/src/Microsoft.Identity.Client/json/JsonPosition.cs
6,024
C#
using _02.Card_Rank.Enums; using System; namespace _02.Card_Rank { public class Program { public static void Main() { string input = Console.ReadLine(); string[] cards = typeof(CardRanks).GetEnumNames(); Console.WriteLine("Card Ranks:"); forea...
23.416667
89
0.544484
[ "MIT" ]
HristoSpasov/C-Sharp-Advanced
08. Exercise Enums and Attributes/Exercises Enumerations and Attributes/02. Card Rank/Program.cs
564
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // ANTLR Version: 4.7.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------...
48.691429
103
0.397019
[ "MIT" ]
whoisfpc/SimpleExpressionInterpreter
SimpleExpressionInterpreter/Antlr/ExprLexer.cs
8,521
C#
/* * * (c) Copyright Ascensio System Limited 2010-2020 * * 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 la...
26.814035
141
0.549463
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
module/ASC.Mail.Autoreply/ASC.Mail.Core/Net/HTTP/Server/HTTP_Session.cs
7,642
C#
using UnityEngine; namespace Es.InkPainter.Sample { [RequireComponent(typeof(Collider), typeof(MeshRenderer))] public class CollisionPainter : MonoBehaviour { [SerializeField] private Brush brush = null; [SerializeField] private int wait = 3; private int waitCount; public void Awake()...
18.536585
62
0.642105
[ "MIT" ]
BryantSuen/THUAI4
interaction/InkPainter/CollisionPainter.cs
762
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: AssemblyTit...
38.810811
85
0.730501
[ "MIT" ]
Relfos/phantasma-poc
PhantasmaGateway/Properties/AssemblyInfo.cs
1,439
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> ...
35.451613
152
0.566879
[ "MIT" ]
LokiMidgard/wpfUndo
WpfTestApplication/Properties/Settings.Designer.cs
1,101
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from include/pulse/mainloop-api.h in PulseAudio 13.0 // Original source is Copyright © Holders. Licensed under the GNU Lesser Public License 2.1 (LGPL-2.1). See No...
38.916667
162
0.760171
[ "MIT" ]
tannergooding/terrafx.interop.pulseaudio
sources/Interop/PulseAudio/PulseAudio/pulse/mainloop-api/pa_time_event.cs
469
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Xunit; namespace ProxyFairy.IntegrationTests.Tests { public class CustomerControllerTests : IClassFixture<CustomWebApplicationFactory<Startup>> { private readonly HttpClient _c...
28.162162
102
0.647793
[ "MIT" ]
thelukkz/ProxyFairy
ProxyFairy.IntegrationTests/Tests/CustomerControllerTests.cs
1,044
C#
using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Editor; namespace Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion { /...
66.423077
201
0.71685
[ "MIT" ]
AmadeusW/vs-editor-api
src/Editor/Language/Def/Language/AsyncCompletion/IAsyncCompletionItemManager.cs
3,456
C#
using System; using System.Collections.Generic; using HotChocolate.Types; using HotChocolate.Types.Descriptors; namespace HotChocolate.Configuration { public static class SchemaTypeResolver { private static readonly Type _keyValuePair = typeof(KeyValuePair<,>); public static bool TryInferSchem...
35.118557
98
0.553501
[ "MIT" ]
GraemeF/hotchocolate
src/HotChocolate/Core/src/Types/Configuration/SchemaTypeResolver.cs
6,813
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AuthorizeNet.Api.Contracts.V1; using AuthorizeNet.Api.Controllers; using AuthorizeNet.Api.Controllers.Bases; namespace net.authorize.sample { public class GetCustomerProfile { pub...
37.901639
119
0.615484
[ "MIT" ]
arbogire/sample-code-csharp
CustomerProfiles/GetCustomerProfile.cs
2,314
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...
32.80292
101
0.609924
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/SimpleWorkflow/Generated/Model/ChildWorkflowExecutionCompletedEventAttributes.cs
4,494
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
51.176768
164
0.680647
[ "MIT" ]
AikoTsuruoka/azure-powershell
src/Sql/Sql/DataClassification/Services/DataClassificationEndpointsCommunicator.cs
9,938
C#
using Cosmetics.Cart; using Cosmetics.Products; using System; namespace Cosmetics.Core.Engine { public class CosmeticsFactory { public Category CreateCategory(string name) { return new Category(name); } public Product CreateProduct(string name, string brand, decima...
21.791667
93
0.608031
[ "MIT" ]
VeselinovStf/Telerik_Alpha_NET_Prep
CSharp/11_OOPWorshop01/Cosmetics-Skeleton/Cosmetics.Core/Engine/CosmeticsFactory.cs
525
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("We...
38.361111
84
0.753077
[ "MIT" ]
TelerikAcademy/SchoolAcademy
2015-02-ASP.NET-MVC/02. ASP.NET MVC Essentials/WebApplicationMvcGlimpse/Properties/AssemblyInfo.cs
1,384
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace Microsoft.eShopOnContainers.Services.Ordering.API.Controllers { ...
26
111
0.7
[ "MIT" ]
DavidsCavalcante/eShopOnAzure
src/Services/Ordering/Ordering.API/Controllers/HomeController.cs
522
C#
using System; using Android.App; using Android.Content; using Android.OS; using Android.Views; using Android.Widget; namespace XamSnap.Droid { [Activity(Label = "Messages")] public class MessagesActivity : BaseActivity<MessageViewModel> { ListView listView; EditText messageTex...
32.220588
103
0.493154
[ "MIT" ]
PacktPublishing/Xamarin4x-Cross-Platform-Application-Development-Third-Edition
Chapter06/XamSnap-06/XamSnap-master/Droid/Activities/MessagesActivity.cs
4,384
C#
using System; namespace ConsoleInteractive.InputValidation { /// <summary> /// Exception to throw when doing a validation, same as returning (false, "") /// </summary> public class ValidationException : Exception { public ValidationException(string message) : base(message) {} } }
26.083333
81
0.674121
[ "MIT" ]
Davidblkx/ConsoleInteractive
ConsoleInteractive/InputValidation/ValidationException.cs
313
C#
using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System.Net; namespace QuickJS.Utils { using Native; using Utils; public class DefaultAsyncManager : IAsyncManager { private class JSTaskComple...
31.992727
134
0.5391
[ "MIT" ]
iospectar/unity-jsb
Assets/jsb/Source/Utils/DefaultAsyncManager.cs
8,810
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using...
39.876623
164
0.572545
[ "MIT" ]
GitHubPang/machinelearning
src/Microsoft.ML.CodeGenerator/CodeGenerator/CSharp/AzureCodeGenerator/AzureAttachModelCodeGenerator.cs
6,143
C#
using System; using System.Diagnostics; namespace Wimt.CachingFramework.Logging { public class DebugCacheLogger : ICacheLogger { public void LogInfo(string message) { Debug.WriteLine(String.Format("INFO. {0}.", message)); } public void LogInfo(string cacheName, str...
35.078947
173
0.614404
[ "MIT" ]
oofpez/NgPakshare3
Logging/DebugCacheLogger.cs
1,335
C#
using System; using System.Numerics; using System.Reflection; using System.Runtime.InteropServices; using System.Security; using AltV.Net.Data; using AltV.Net.Native; using AltV.Net.Elements.Args; using AltV.Net.Elements.Entities; namespace AltV.Net.Native { public unsafe interface ILibrary { public de...
107.155513
204
0.717874
[ "MIT" ]
FabianTerhorst/coreclr-module
api/AltV.Net/Native/Library.cs
168,127
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using WebApplication1.Models; namespace WebApplication1 { public class Startup { public Startup(IConfig...
31.230769
106
0.666667
[ "MIT" ]
shimanov/CRUDApi
WebApplication1/Startup.cs
1,220
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
43.32716
164
0.591395
[ "MIT" ]
Philippe-Morin/azure-powershell
src/ResourceManager/Insights/Commands.Insights.Test/ScenarioTests/TestsController.cs
6,860
C#
using System.Linq; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; using Abp.Authorization; using Abp.Authorization.Roles; using Abp.Authorization.Users; using Abp.MultiTenancy; using Test.Authorization; using Test.Authorization.Roles; using Test.Authorizat...
36.122222
168
0.580437
[ "MIT" ]
Tenglingfeng/ABPMPACore.PhoneBook
aspnet-core/src/Test.EntityFrameworkCore/EntityFrameworkCore/Seed/Tenants/TenantRoleAndUserBuilder.cs
3,253
C#
using System.Collections.Generic; namespace DashReportViewer.Shared.ReportContent { public class TableContent : BaseReportContent { public IEnumerable<object> Content { get; set; } public List<string> Columns { get; set; } } }
25.6
56
0.695313
[ "MIT" ]
ZuechB/DashReportViewer
DashReportViewer.Shared/ReportContent/TableContent.cs
258
C#
using System.Reactive.Linq; using System.Threading.Tasks; using CoreGraphics; using Toggl.Daneel.Cells; using Toggl.Daneel.Presentation.Attributes; using Toggl.Daneel.ViewSources; using Toggl.Foundation.MvvmCross.ViewModels; using UIKit; namespace Toggl.Daneel.ViewControllers { [ModalDialogPresentation] publi...
36.028986
145
0.689059
[ "BSD-3-Clause" ]
AzureMentor/mobileapp
Toggl.Daneel/ViewControllers/SelectDefaultWorkspaceViewController.cs
2,488
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Text.Json.Serialization; using System.Text.Json.Serialization.Metadata; namespace System.Text.Json.SourceGeneration.Tests { publi...
50.201681
130
0.711751
[ "MIT" ]
Ali-YousefiTelori/runtime
src/libraries/System.Text.Json/tests/System.Text.Json.SourceGeneration.Tests/ContextClasses.cs
5,976
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...
40.587248
162
0.577594
[ "Apache-2.0" ]
atpyatt/aws-sdk-net
sdk/src/Services/ApplicationAutoScaling/Generated/Model/DescribeScalingActivitiesRequest.cs
12,095
C#
namespace Cik.MagazineWeb.WebApp.Controllers { using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Cik.MagazineWeb.WebApp.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Owin.Security; [Authorize] p...
35.561576
157
0.547029
[ "MIT" ]
saurabhagrawal1/magazine-website-mvc-5
Cik.MagazineWeb.WebApp/Controllers/AccountController.cs
14,440
C#
// // async.cs: Asynchronous functions // // Author: // Marek Safar (marek.safar@gmail.com) // // Dual licensed under the terms of the MIT X11 or GNU GPL // // Copyright 2011 Novell, Inc. // Copyright 2011 Xamarin Inc. // using System; using System.Collections.Generic; using System.Linq; using System.Collections; #...
26.61454
161
0.699206
[ "Apache-2.0" ]
iamwind/mono
mcs/mcs/async.cs
19,402
C#
using Commons.Enums; using System; using System.Collections.Generic; using System.Text; namespace CommonMessages.MqEvents { public class MoneyChangedMqEvent { public MoneyChangedMqEvent(long coinsChangeCount, long diamondsChangeCount, AddReason reason) { CoinsChangeCount = coinsCha...
29.836735
101
0.587551
[ "MIT" ]
swpuzhang/CleanGameArchitecture
Messages/CommonMessages/MqEvents/MoneyChangedMqEvent.cs
1,492
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...
36.058824
135
0.672512
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/GreengrassV2/Generated/Model/Internal/MarshallTransformations/ComponentDependencyRequirementMarshaller.cs
2,452
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("NM...
37.864865
84
0.744468
[ "MIT" ]
jholovacs/nmea0183
NMEA Simulator/Properties/AssemblyInfo.cs
1,404
C#
namespace Core.Services.Interfaces { interface IFoodService { void OnBoard(); void Spawn(); } }
13.888889
35
0.576
[ "MIT" ]
INIage/Snake
src/Core/Services/Interfaces/IFoodService.cs
127
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class BrightnessSettingsGameController : gameuiMenuGameController { [Ordinal(0)] [RED("SettingsElements")] public CArray<wCHandle<inkSettingsSelectorController...
49.954545
128
0.740673
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/BrightnessSettingsGameController.cs
1,078
C#
namespace CarrierLink.Controller.Yate { using System; using System.Collections.Generic; /// <summary> /// This class provides encoding/decoding of Yate messages /// </summary> public static class CharacterCoding { #region Properties /// <summary> /// C...
36.724638
107
0.430347
[ "MIT" ]
asymetrixs/CarrierLink
Yate/CharacterCoding.cs
5,070
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; #pragma warning disable SA1649 // File name must match first type name namespace BuildXL.Storage.ChangeTracking { /// <summary> /// Ty...
35.083333
164
0.599367
[ "MIT" ]
AzureMentor/BuildXL
Public/Src/Utilities/Storage/ChangeTracking/PathChanges.cs
2,526
C#
//------------------------------------------------------------------------------ // // System.Environment.cs // // Copyright (C) 2001 Moonlight Enterprises, All Rights Reserved // // Author: Jim Richardson, develop@wtfo-guru.com // Dan Lewis (dihlewis@yahoo.co.uk) // Created: Saturday,...
30.209328
168
0.688113
[ "Apache-2.0" ]
basarat/mono
mcs/class/corlib/System/Environment.cs
27,853
C#
using Bucket.Values; using System.Threading.Tasks; namespace Bucket.Listener.Abstractions { public interface IPublishCommand { /// <summary> /// 推送命令 /// </summary> /// <param name="applicationCode"></param> /// <param name="command"></param> /// <returns></retu...
24.529412
83
0.613909
[ "MIT" ]
q315523275/.net-core-
src/Listener/Bucket.Listener/Abstractions/IPublishCommand.cs
427
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
46.835821
325
0.615519
[ "MIT" ]
brywang-msft/autorest
src/generator/AutoRest.CSharp.Azure.Tests/Expected/AcceptanceTests/AzureSpecials/HeaderOperationsExtensions.cs
6,276
C#