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
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="PlayerListView.cs" company="Exit Games GmbH"> // Part of: Pun Cockpit // </copyright> // <author>developer@exitgames.com</author> // --------------------------------------------...
31.423913
125
0.548599
[ "MIT" ]
sakuya0116/VCS
Unity Project/StudentEnd/Assets/Photon/PhotonUnityNetworking/Demos/PunCockpit/Scripts/Lists/PlayerListView.cs
5,784
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace WebApiExternalAuth.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate ...
42.760965
261
0.55331
[ "Apache-2.0" ]
dotnetcurry/webapi2-twitter-auth
WebApiExternalAuth/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs
19,499
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CheckPointPanel : MonoBehaviour { void Awake() { this.gameObject.SetActive(false); } public void Init() { this.gameObject.SetActive(true); } public void OnExit(...
17.409091
45
0.5953
[ "MIT" ]
HEE-SUK/Country_Road
Assets/GameResources/Scripts/UI/CheckPointPanel.cs
385
C#
#pragma checksum "C:\Users\richo\source\repos\IOTProject\WebIOT\WebIOT\Views\Master\BukuData_Table.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b57d5daee746d53cf3affb9b76854251e22b4d5e" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribut...
48.194767
370
0.645757
[ "MIT" ]
richobaltasar/IOTProject
WebIOT/WebIOT/obj/Debug/netcoreapp3.1/Razor/Views/Master/BukuData_Table.cshtml.g.cs
16,579
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; using Azure.Core.Serialization; using Azure.Core.TestFramework; using Azure.Search.Documents.Indexes; using Azure.Se...
37.362319
97
0.624515
[ "MIT" ]
AWESOME-S-MINDSET/azure-sdk-for-net
sdk/search/Azure.Search.Documents/tests/Samples/Sample04_FieldBuilderIgnore.cs
5,158
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HalmaShared { public struct Turn { public HexCoord From { get { return from; } set { from = value; TurnSequence = null; ...
29.071429
127
0.511057
[ "MIT" ]
Wumpf/chinesecheckers
HalmaShared/Turn.cs
2,849
C#
/*********************************************** EasyTouch V Copyright © 2014-2015 The Hedgehog Team http://www.thehedgehogteam.com/Forum/ The.Hedgehog.Team@gmail.com **********************************************/ using UnityEngine; using System.Collections; using UnityEngine.Events; using UnityEngi...
27.109091
119
0.691818
[ "MIT" ]
11one/PanzerWar
Assets/ExtraPlugins/EasyTouchBundle/EasyTouch/Plugins/Components/QuickLongTap.cs
2,985
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
26.390909
134
0.673097
[ "Apache-2.0" ]
chys0404/aliyun-openapi-net-sdk
aliyun-net-sdk-dcdn/Dcdn/Model/V20180115/DescribeDcdnHttpsDomainListRequest.cs
2,903
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ContainersTests { [TestClass] public class UnitTest2 { [TestMethod] public void TestMethod1() { } } }
15.2
51
0.618421
[ "MIT" ]
RasicN/ContainersDI
ContainersTests/RegistryTests.cs
230
C#
using System; namespace Norns.Urd { public static class AspectContextExtensions { public static Exception GetException(this AspectContext context) { return context.AdditionalData["Exception"] as Exception; } public static void SetException(this AspectContext contex...
25.411765
88
0.650463
[ "MIT" ]
fs7744/Norns.Urd
src/Norns.Urd/Interceptors/AspectContextExtensions.cs
434
C#
using System; using Nancy; using Newtonsoft.Json; using Nancy.Extensions; using BH.oM.RemoteCompute; using System.Linq; using BH.oM.RemoteCompute.RhinoCompute; using BH.Engine.RemoteCompute.RhinoCompute; namespace compute.geometry { public partial class ResthopperEndpointsModule : Nancy.NancyModule { ...
41.727273
156
0.627233
[ "MIT" ]
BuroHappoldEngineering/RhinoComputeServer
src/RhinoCompute/Endpoints/GrasshopperEndpoint.cs
4,592
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.SqlClient; namespace CreateCookies { public partial class Form1 : Form { ...
38.486979
205
0.580621
[ "MIT" ]
spikk/effective-adventure
CreateCookiesSolutionDatasetMVC/CreateCookies/Form1.cs
14,781
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
62.719298
383
0.786294
[ "Apache-2.0" ]
InsiteVR/aws-sdk-net
sdk/src/Services/CodeStar/Properties/AssemblyInfo.cs
3,575
C#
using Amazon.CDK; namespace ModernTacoShop.SubmitOrder.Cdk { sealed class Program { public static void Main(string[] args) { var app = new App(); new SubmitOrderStack(app, "ModernTacoShop-SubmitOrderStack", new StackProps { Env = new Amazon.C...
27
95
0.544283
[ "MIT-0" ]
aws-samples/aws-next-generation-microservices-dotnet-5-grpc
src/ModernTacoShop/SubmitOrder/cdk/Program.cs
623
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> //---...
47.814815
116
0.690937
[ "MIT" ]
jchristn/RegexMatcher
RegexMatcher/obj/Release/net462/RegexMatcher.AssemblyInfo.cs
1,291
C#
// This file constitutes a part of the SharpMedia project, (c) 2007 by the SharpMedia team // and is licensed for your use under the conditions of the NDA or other legally binding contract // that you or a legal entity you represent has signed with the SharpMedia team. // In an event that you have received or obtained ...
32.515152
97
0.595216
[ "Apache-2.0" ]
zigaosolin/SharpMedia
SharpMedia.Graphics.GUI/Styles/CommonStyleStates.cs
3,219
C#
//---------------------- // <auto-generated> // This file was automatically generated. Any changes to it will be lost if and when the file is regenerated. // </auto-generated> //---------------------- #pragma warning disable using System; using SQEX.Luminous.Core.Object; using System.Collections.Generic; using CodeDom...
87.514019
241
0.750427
[ "MIT" ]
Gurrimo/Luminaire
Assets/Editor/Generated/Black/Sequence/Action/Level/System/SequenceActionGetClearFlagEPG.generated.cs
9,364
C#
using System.Collections.Generic; namespace Quantumart.QP8.BLL.Models.NotificationSender { public class CdcEntityModel { public string EntityType { get; set; } public string InvariantName { get; set; } public IDictionary<string, object> Columns { get; set; } public IDictiona...
23.125
65
0.667568
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
QuantumArt/QP
bll/Models/NotificationSender/CdcEntityModel.cs
372
C#
using System; using System.Collections.Generic; using System.IO; namespace Microsoft.Office.WopiValidator.Core.IncrementalFileTransfer { public class FullFileChunkProcessor : IChunkProcessor { /// <summary> /// Take a file stream and shred it into a set of blobs. /// FullFile chunking processor will only prod...
32.446809
148
0.716066
[ "MIT" ]
Microsoft/wopi-validator-core
src/WopiValidator.Core/IncrementalFileTransfer/FullFileChunkProcessor.cs
1,527
C#
using SharpReact.Core.Properties; namespace SharpReact.Core { public readonly struct NewState { public static readonly NewState Empty = new NewState(null, null); public SharpProp Props { get; } public object State { get; } public NewState(SharpProp props, object state) ...
23.176471
73
0.593909
[ "MIT" ]
MihaMarkic/SharpReact
src/SharpReact.Core/NewState.cs
396
C#
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Sanakan.ShindenApi.Models; using Sanakan.ShindenApi.Models.Enums; using Shinden.API; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace...
33.25
136
0.538028
[ "MPL-2.0" ]
Jozpod/sanakan
ShindenApi.Fake/FakeShindenClient.cs
13,834
C#
namespace Geometric.Tests { using Geometric.Figures; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass()] public class GeometricCalculatorTests { [TestMethod()] public void GetPerimeter_PositiveNumber_Calculated() { var geo = new GeometricCalculator...
28.538462
60
0.556604
[ "MIT" ]
marcusjobb/NET20D
TDD/Inlämning1/Elias/GeometricTests/GeometricCalculatorTests.cs
744
C#
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated do...
38.954887
107
0.579811
[ "MIT" ]
AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet
src/Microsoft.IdentityModel.Tokens.Saml/Saml/SamlAttributeKeyComparer.cs
5,183
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
42.75
98
0.710526
[ "MIT" ]
uringeller/HelseID.Samples
HelseID.Clients.WPF.EmbeddedBrowser/Properties/AssemblyInfo.cs
2,397
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
37.651515
153
0.589135
[ "MIT" ]
andrueastman/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/ChannelMessagesCollectionRequestBuilder.cs
2,485
C#
using System.Net; using System.Security.Authentication; using System.Threading; using System.Threading.Tasks; using MailKit.Net.Smtp; using MailKit.Security; using Microsoft.Extensions.Options; using MimeKit; namespace VoVo.Email { public class EmailSender : IEmailSender { private readonly MailKitOpti...
33.212766
163
0.670083
[ "MIT" ]
MaybeEleven/dotnetcore-examples
Mail/VoVo.Email/VoVo.Email/EmailSender.cs
1,563
C#
using System; using System.Data; namespace Cerberix.DataAccess.Dapper { internal static class DbConnectionCommandTypeExtensions { public static CommandType ToCommandType(this DbConnectionCommandType commandType) { switch(commandType) { case DbConnectionC...
30.318182
109
0.610195
[ "MIT" ]
cerberix-net/util-nuget-data
src/Cerberix.DataAccess.Dapper/DbConnectionCommandTypeExtensions.cs
669
C#
using System; using System.Linq; using System.Threading.Tasks; using RestSharp.Portable.OAuth1; using RestSharp.Portable.OAuth2.Configuration; using RestSharp.Portable.OAuth2.Infrastructure; using RestSharp.Portable.OAuth2.Models; namespace RestSharp.Portable.OAuth2 { /// <summary> /// Base class for OAuth (...
39.464844
119
0.615065
[ "Apache-2.0", "BSD-2-Clause", "MIT" ]
FubarDevelopment/restsharp.portable
src/FubarCoder.RestSharp.Portable.OAuth2/OAuthClient.cs
10,105
C#
namespace DotNetInterceptTester.My_System.ComponentModel.SingleConverter { public class IsValid_System_ComponentModel_SingleConverter_System_ComponentModel_ITypeDescriptorContext_System_Object { public static bool _IsValid_System_ComponentModel_SingleConverter_System_ComponentModel_ITypeDescriptorContext_System_Obj...
26.102041
128
0.737295
[ "MIT" ]
SecurityInnovation/Holodeck
Test/Automation/DotNetInterceptTester/DotNetInterceptTester/System.ComponentModel.SingleConverter.IsValid(ITypeDescriptorContext, Object).cs
1,279
C#
using Octopus.Client.Extensibility.Attributes; namespace Octopus.Client.Model.Endpoints { public class ServiceFabricEndpointResource : AgentlessEndpointResource { public override CommunicationStyle CommunicationStyle => CommunicationStyle.AzureServiceFabricCluster; [Trim] [Writeable] ...
26.134615
110
0.627667
[ "Apache-2.0" ]
terotgut/OctopusClients
source/Octopus.Client/Model/Endpoints/ServiceFabricEndpointResource.cs
1,359
C#
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; namespace Just.Anarchy.Test.Integration { public class ThenAttribute : TestAttribute { } }
16.25
46
0.748718
[ "Apache-2.0" ]
ConfusionOfSdets/Just.Anarchy
Just.Anarchy.Test.Integration/ThenAttribute.cs
197
C#
using System; using System.Collections.Generic; using System.Text; using Platform.Runtime; using System.Data.Common; using System.Runtime.InteropServices; using System.ServiceModel; using System.Runtime.Serialization; using System.Web.Services; using System.Web.UI; /* * High performance automated object model * Crea...
38.607158
334
0.668292
[ "MIT" ]
phaetto/services-update
Services.Packages/DAL/Services.Packages.PurchaseLine.cs
91,692
C#
using Resonance.Examples.Common.Logging; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace Resonance.Examples.RPC.Client { /// <summary> /// Interaction logic for App.xaml /// </su...
22.916667
61
0.683636
[ "MIT" ]
royben/Resonance
source/Examples/RPC/Resonance.Examples.RPC.Client/App.xaml.cs
552
C#
using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace StoreDL.Migrations { public partial class four : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
42.716981
125
0.483363
[ "MIT" ]
210215-USF-NET/Douglas_Richardson-P1
StoreDL/Migrations/20210314031842_four.cs
6,794
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.IO; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnaly...
43.086505
161
0.572037
[ "Apache-2.0" ]
DustinCampbell/roslyn
src/VisualStudio/CSharp/Impl/ProjectSystemShim/CSharpProjectShim.OptionsProcessor.cs
12,454
C#
<<<<<<< HEAD using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace InventarioAPI.Models { public class CategoriaDTO { public int CodigoCategoria { get; set; } [Required] public string Desc...
21.882353
48
0.698925
[ "MIT" ]
rfranco14/InventarioAPI
InventarioAPI/Models/CategoriaDTO.cs
748
C#
using System; namespace Dissonance.Datastructures { internal class PacketLossCalculator : BaseWindowCalculator<bool> { private uint _lost; public float PacketLoss { get { if (Count <= 0) return 0; ret...
19.069767
70
0.447561
[ "MIT" ]
edowney29/Cops-and-Robert
Assets/Plugins/Dissonance/Core/Datastructures/PacketLossCalculator.cs
822
C#
using ControlePontos.Dominio.Model; using System.Collections.Generic; using System.IO; namespace ControlePontos.Dominio.Servico { public interface IAppInfoServico { IEnumerable<ChangelogInfo> CarregarChangelog(Stream streamChangelog); Versao ObterVersaoAtual(); string ObterNomeApp(); ...
25.076923
77
0.742331
[ "MIT" ]
cabralRodrigo/controle-pontos
ControlePontos.Dominio/Servico/IAppInfoServico.cs
328
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TRX_Merger.TrxModel; using TRX_Merger.Utilities; namespace TRX_Merger { public static class TestRunMerger { public static TestRun MergeTRXsAndSave(List<string> trxFiles, string ou...
39.19084
108
0.586872
[ "Apache-2.0" ]
raleighbuckner/trx-merger
TRX_Merger/TestRunMerger.cs
5,138
C#
namespace Binance.Spot.MiningExamples { using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Binance.Common; using Binance.Spot; using Binance.Spot.Models; using Microsoft.Extensions.Logging; public class HashrateResaleList_Example { ...
29.933333
90
0.642539
[ "MIT" ]
Hilaly/binance-connector-dotnet
Examples/CSharp/Mining/HashrateResaleList_Example.cs
898
C#
namespace WebPlex.Applications.CompactStore.Models { using System.ComponentModel.DataAnnotations; using WebPlex.Applications.CompactStore.Properties; public class CategoryModel : DbModelBase { [Display(Name = "Members_Category_DisplayOrder", ResourceType = typeof (Resources))] [Required(Er...
57.882353
129
0.726626
[ "MIT" ]
m-sadegh-sh/WebPlex.Applications.CompactStore
src/WebPlex.Applications.CompactStore/Models/Product/CategoryModel.cs
1,970
C#
using System; using log4net; using Newtonsoft.Json; namespace Dapper.SimpleSave.Impl { public class BasicSimpleSaveLogger : ISimpleSaveLogger { private static readonly ILog Logger = LogManager.GetLogger(typeof(BasicSimpleSaveLogger)); private object BuildInfoMessage(IScript script, ...
29.822917
112
0.496333
[ "MIT" ]
Paymentsense/Dapper.SimpleSave
src/Dapper.SimpleSave/Impl/BasicSimpleSaveLogger.cs
2,865
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using FluentAssertions; using Newtonsoft.Json.Linq; using NuGet.Test.Helpers; using Sleet; using Xunit; namespace SleetLib.Tests { public class SubFeedTests ...
42.278846
123
0.599955
[ "MIT" ]
LodewijkSioen/Sleet
test/SleetLib.Tests/SubFeedTests.cs
4,397
C#
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ using BootstrapBlazor.Components; namespace BootstrapBlazor.Shared.Sampl...
29.444444
111
0.669182
[ "Apache-2.0" ]
Ashhhhhh520/BootstrapBlazor
src/BootstrapBlazor.Shared/Samples/InputGroups.razor.cs
811
C#
namespace OnlineAtelier.Services.Contracts { using System.Collections.Generic; using OnlineAtelier.Models.Models; using Web.Models.BindingModels.Categories; public interface ICategoryService : IService { IEnumerable<string> GetAllCategories(); Category GetCategory(string name); ...
23.375
48
0.719251
[ "MIT" ]
IskraNikolova/OnlineAtelier
Source/Services/OnlineAtelier.Services/Contracts/ICategoryService.cs
376
C#
using System; namespace TerraSdk.Crypto.Chaos.Nacl.Internal.Ed25519Ref10 { public static class MontgomeryOperations { public static void scalarmult( byte[] q, int qoffset, byte[] n, int noffset, byte[] p, int poffset) { FieldElement p0; FieldElement q0; FieldOperations.fe_frombytes2(out p0, p,...
25.785366
58
0.537647
[ "MIT" ]
ridicoulous/terrasdk-dotnet
src/TerraSdk.Crypto/Chaos.Nacl/Internal/Ed25519Ref10/scalarmult.cs
5,288
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Windows.Forms; using Bloom.Book; using Gecko; using Timer = System.Windows.Forms.Timer; using Gecko.Events; using SIL.IO; namespace Bloom { /// <summary> /// This class is used to ensure that...
34.132143
154
0.706602
[ "MIT" ]
JohnThomson/BloomDesktop
src/BloomExe/NavigationIsolator.cs
9,559
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution....
39.372174
184
0.351959
[ "Apache-2.0" ]
nanshuiyu/pytools
Python/Product/Analysis/Parsing/LiteralParser.cs
22,639
C#
using System; using System.Text; using System.Linq; using System.Collections; using System.Collections.Generic; using BashSoft.Contracts; namespace BashSoft.DataStructures { public class SimpleSortedList<T> : ISimpleOrderedBag<T> where T : IComparable<T> { private const int DefaultSize = 16; ...
27.144385
105
0.495272
[ "MIT" ]
jackofdiamond5/Software-University
C# Fundamentals/BashSoft/BashSoft/DataStructures/SimpleSortedList.cs
5,078
C#
using System.Collections.Generic; namespace Robust.LoaderApi { /// <summary> /// Contains various thing that the loader needs to communicate to the engine. /// </summary> public interface IMainArgs { /// <summary> /// Command line arguments to pass to the engine. ///...
28.709677
118
0.564045
[ "MIT" ]
space-wizards/Robust.LoaderApi
Robust.LoaderApi/LoadMainArgs.cs
890
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; ...
26.849057
106
0.654252
[ "Apache-2.0" ]
Arrudxx/RestWithASP-NET5Udemy
01_RestWithASP-NET5Udemy_ScarffoldViaVisualStudio/RestWithASP-NET4Udemy/RestWithASP-NET4Udemy/Startup.cs
1,423
C#
using System.Web; using System.Web.Mvc; namespace TestTokenProject { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19.214286
80
0.66171
[ "MIT" ]
masoodmunshie/example_oAuth
TestTokenProject/App_Start/FilterConfig.cs
271
C#
using System; using System.Globalization; namespace Linguist.Resources.Naming { public abstract class ResourceNamingStrategy : IResourceNamingStrategy { public static readonly IResourceNamingStrategy Default = new SuffixedResourceNamingStrategy ( ); protected readonly StringComparison compari...
53.315789
136
0.548618
[ "MIT" ]
ins0mniaque/Linguist
src/Linguist/Resources/Naming/ResourceNamingStrategy.cs
8,106
C#
using FluentAssertions; using NUnit.Framework; namespace Acquaintance.Tests.ScatterGather { [TestFixture] public class ScatterGather_Proxy_Tests { private class TestResponse { public string Text { get; set; } } private class TestRequest { p...
29.264706
89
0.568844
[ "Apache-2.0" ]
Whiteknight/Acquaintance
Acquaintance.Tests/ScatterGather/ScatterGather.Proxy.Tests.cs
997
C#
using System; using System.Collections; using System.Linq; using NUnit.Framework; using Zilon.Core.Components; namespace Zilon.Core.LogicCalculations.Tests { public static class RuleCalculationsTestCaseSource { public static IEnumerable AllKnownLevels { get { ...
24.576923
92
0.564945
[ "MIT" ]
kreghek/Zilon_Roguelike
Zilon.Core/Zilon.Core.Tests/LogicCalculations/RuleCalculationsTestCaseSource.cs
641
C#
// Copyright 2018, Google Inc. 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 required by applicabl...
36.840909
98
0.648982
[ "Apache-2.0" ]
MajaGrubbe/googleads-dotnet-lib
examples/Dfp/CSharp/v201802/CustomFieldService/UpdateCustomFields.cs
3,242
C#
using NUnit.Framework; using UnityEngine; namespace Mirror.Tests.SyncVarAttributeTests { class MockPlayer : NetworkBehaviour { public struct Guild { public string name; } [SyncVar] public Guild guild; } class SyncVarGameObject : NetworkBehaviour ...
37.237647
151
0.61677
[ "MIT" ]
BenThrelfall/DungeonTool
Assets/Mirror/Tests/Editor/SyncVarAttributeTest.cs
15,826
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Avoid_DestroyableObstacle : MonoBehaviour { public GameObject objetToDestroy; public void DoDestroy() { if (objetToDestroy != null) Destroy(objetToDestroy); else Destroy(gameO...
19.764706
56
0.675595
[ "MIT" ]
Alineaire/Recreation
Assets/Scenes/2DAvoid/Scripts/Avoid_DestroyableObstacle.cs
338
C#
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // package main -- go2cs converted at 2020 October 09 05:01:04 UTC // Original source: C:\Go\src\runtime\testdata\testprogcgo\stack_windows.go using C = go.C_pa...
27.146341
111
0.51752
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/runtime/testdata/testprogcgo/stack_windows.cs
2,226
C#
using Signals.Aspects.BackgroundProcessing; using System; using System.Collections.Generic; using System.Text; namespace Signals.Tests.BackgroundProcessing.Tasks { public class MyFluentTask : ISyncTask { public static object LockObj = new object(); public static int TimesExecuted { get; set; }...
21.947368
53
0.647482
[ "MIT" ]
EmitKnowledge/Signals
src-extensibility/20 Tests/30 Background processing/Signals.Tests.BackgroundProcessing/Tasks/MyFluentTask.cs
419
C#
using InsuranceSample.Domain.Models; namespace InsuranceSample.Infrastructure.Repositories { public class ContractRepository : GenericRepository<Contract> { public ContractRepository(InsuranceContext context) : base(context) { } } }
20.923077
75
0.713235
[ "MIT" ]
jcossio/InsuranceSample
InsuranceSample.Infrastructure/Repositories/ContractRepository.cs
274
C#
namespace Optima.Base { public abstract class Solution { public virtual bool IsFeasible { get; set; } public virtual bool ValueWasCalculated { get; set; } public virtual bool PenaltyWasCalculated { get; set; } public virtual double CalculatedValue { get; set; } public v...
31.567568
63
0.613014
[ "Apache-2.0" ]
Anav0/Optima
Optima/Base/Solution.cs
1,170
C#
namespace _01.CreateStructure { using System; using System.Collections.Generic; public class Path { public Path() : this(new List<Point3D>()) { } public Path(List<Point3D> points) { this.Points = points; } public List<Po...
19.025641
49
0.483827
[ "MIT" ]
bstaykov/Telerik-OOP
Defining-Classes-Part-II/01.CreateStructure/Path.cs
744
C#
// Copyright 2022 Google LLC // // 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 law or agreed to in ...
36.688889
89
0.670503
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/BackendBucketsClient.GetRequestObjectSnippet.g.cs
1,651
C#
using AndroidSpecs; using System; namespace WindowsGameTest { #if WINDOWS || XBOX static class Program { /// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) ...
16.956522
53
0.484615
[ "MIT" ]
r4tch31/AndroidSpecs
AndroidSpecs/AndroidSpecs/Program.cs
390
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ApiUsabilityDemos.Facades.First { public class CartPageAssertions { private readonly CartPageElements _elements; public CartPageAssertions(CartPageElements elements) => _elements = elements; public void AssertCouponApplied...
27.636364
94
0.692434
[ "MIT" ]
PacktPublishing/Selenium-4-Design-Patterns-and-Best-Practices-Second-Edition
Chapter 7- API Usability/ApiUsabilityDemos/FacadeDesignPattern/v.0.1/CartPage/CartPageAssertions.cs
610
C#
namespace Service.IntrestManager.Domain.Models { public class IndexPriceEntity { public long Id { get; set; } public string Asset { get; set; } public decimal PriceInUsd { get; set; } } }
24.777778
47
0.623318
[ "MIT" ]
MyJetWallet/Service.IntrestManager
src/Service.IntrestManager.Domain.Models/IndexPriceEntity.cs
223
C#
using Android.App; using Microsoft.Maui; namespace Maui.Controls.Sample.SingleProject { [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true)] [IntentFilter( new[] { Microsoft.Maui.Essentials.Platform.Intent.ActionAppAction }, Categories = new[] { global::Android.Content.Intent.CategoryDefault })] ...
29
73
0.761273
[ "MIT" ]
DevronB/Comet
sample/Comet.SingleProject.Sample/Platforms/Android/MainActivity.cs
379
C#
namespace CWMII.lib.Enums { public enum Win32_PerfRawData_RemoteAccess_RASTotal { Caption, Description, Name, Frequency_Object, Frequency_PerfTime, Frequency_Sys100NS, Timestamp_Object, Timestamp_PerfTime, Timestamp_Sys100NS, AlignmentErrors, BufferOverrunErrors, BytesReceived, BytesReceivedP...
25.857143
204
0.81768
[ "MIT" ]
jcapellman/CWMII
CWMII.lib/Enums/Win32_PerfRawData_RemoteAccess_RASTotal.cs
905
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.383065
458
0.5733
[ "MIT" ]
yugangw-msft/AutoRest
src/generator/AutoRest.CSharp.Azure.Tests/Expected/AcceptanceTests/AzureParameterGrouping/ParameterGroupingOperations.cs
34,509
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.550083
198
0.624225
[ "Apache-2.0" ]
atpyatt/aws-sdk-net
sdk/src/Services/SageMaker/Generated/ServiceEnumerations.cs
293,907
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyChaseState : EnemyBaseState { public override void EnterState(EnemyStateManager enemy) { } public override void ExitState(EnemyStateManager enemy) { } public override void Up...
26.348837
111
0.64872
[ "MIT" ]
McYvar/BPWEindProject
Assets/Objects/Enemy/EnemyChaseState.cs
1,133
C#
// ----------------------------------------------------------------------- // <copyright company="Uhuru Software, Inc."> // Copyright (c) 2011 Uhuru Software, Inc., All Rights Reserved // </copyright> // Modified by Luke Bakken from the original. // ---------------------------------------------------------------------...
50.666667
203
0.68797
[ "Apache-2.0" ]
lukebakken/windows-processes
StartProcessLib/PInvoke/JobObjectMethods.cs
2,130
C#
using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore.Migrations; namespace MasteringEFCore.QueryObjectPattern.Final.Migrations { public partial class ModelsUpdated : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migration...
32.027027
71
0.46956
[ "MIT" ]
PacktPublishing/Mastering-Entity-Framework-Core
Chapter 8/Final/MasteringEFCore.QueryObjectPattern.Final/Migrations/20170625065856_ModelsUpdated.cs
8,297
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
35.225
170
0.576295
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-NET-Core
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Values/ShortTextValue.cs
1,412
C#
namespace GitHubUsersRepository.ViewModels { public class GitHubRepositoryViewModel { public string Name { get; set; } public string Url { get; set; } public string Description { get; set; } public int StargazersCount { get; set; } } }
28
48
0.635714
[ "MIT" ]
colebrusco/GitHubUsersRepositories
GitHubUsersRepository.Web/ViewModels/GitHubRepositoryViewModel.cs
282
C#
namespace TidalUSDK.Constants { public static class TidalHeaders { public static string Username = "username"; public static string Password = "password"; /// <summary> /// This token identifies the client archetype - e.g. the Android App, or the iOS app /// On T...
34.966667
101
0.585319
[ "MIT" ]
SacredSkull/dotnet-tidal-usdk
TidalUSDK/Constants/TidalHeaders.cs
1,049
C#
using BzKovSoft.ObjectSlicer; using BzKovSoft.ObjectSlicer.MeshGenerator; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityEngine.Profiling; namespace BzKovSoft.ObjectSlicer { class StaticComponentManager : IComponentManager { protected readonly G...
31.740385
132
0.726598
[ "MIT" ]
davtamay/DecisionIntervention
DecisionIntervention/Assets/BzKovSoft/ObjectSlicer/StaticComponentManager.cs
6,604
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...
46.25
200
0.641441
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Network/V20191101/PrivateLinkServicePrivateEndpointConnection.cs
7,215
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Numerics; using System.Reactive.Linq; using System.Runtime.InteropServices; using System.Text; using Veldrid; using Veldrid.SPIRV; namespace VeldridView { public class SampleApplication { private C...
38.49505
133
0.618313
[ "MIT" ]
mgrman/VeldridView
VeldridView/VeldridView/SampleApplication.cs
7,778
C#
using Synology.Attributes; using Synology.Classes; namespace Synology.SurveillanceStation { [Request("SurveillanceStation")] internal abstract class SurveillanceStationRequest : SynologyRequest { protected SurveillanceStationRequest(ISurveillanceStationApi parentApi) : base(parentApi) { } } }
24.384615
97
0.77918
[ "Apache-2.0" ]
DotNetDevs/Synology
Synology/SurveillanceStation/SurveillanceStationRequest.cs
319
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.Linq; using System.Text.RegularExpressions; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.Co...
34.901235
161
0.498762
[ "Apache-2.0" ]
20chan/roslyn
src/Workspaces/CSharp/Portable/Extensions/SyntaxNodeExtensions.SingleLineRewriter.cs
2,829
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. #nullable enable using System; using System.Collections.Concurrent; using System.Collections.Generic; using System...
34.673469
158
0.59947
[ "MIT" ]
06needhamt/roslyn
src/Compilers/Core/Portable/CodeGen/TokenMap.cs
3,400
C#
namespace Cake.Stylecop { using Cake.Core.IO; /// <summary> /// A utility class for configuring stylecop output. /// </summary> public class StyleCopReportSettings { /// <summary> /// Creates a new instance of the StyleCopReportSettings class. /// </summary> pub...
29.060606
106
0.581856
[ "MIT" ]
paytonbyrd-powwr/Cake.StyleCop
Cake.Stylecop/StyleCopReportSettings.cs
961
C#
namespace UnityEngine.Timeline { //used to tell Signal Handler inspector to use a special drawer for UnityEvent class CustomSignalEventDrawer : PropertyAttribute {} }
29.166667
82
0.782857
[ "MIT" ]
11xdev-coder/Snek
Library/PackageCache/com.unity.timeline@1.4.8/Runtime/Events/Signals/CustomSignalEventDrawer.cs
175
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201 { using static Microsoft.Azure.PowerShell.Cmdlets.MySql.Runtime.Extensions; /// <summary>The properties of a database.</summary> public partial class DatabaseProperties { /// <summary> /// <c>AfterFromJson</...
68.572816
269
0.680589
[ "MIT" ]
3quanfeng/azure-powershell
src/MySql/generated/api/Models/Api20171201/DatabaseProperties.json.cs
6,961
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.73913
131
0.597175
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/CopySnapshotRequest.cs
10,692
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace HospiEnCasa.App.FrontEnd.Pages { //[Authorize] public class IndexModel : PageModel { private readonly ILogger<IndexModel> _logger; public IndexModel(ILogger<I...
19.434783
53
0.639821
[ "CC0-1.0" ]
felipeescallon/mision_tic_2022
ciclo3_desarrollo_software/ucaldas/INTEGRACION/Hospi_azure/HospiEnCasa.App/HospiEnCasa.App.FrontEnd/Pages/Index.cshtml.cs
449
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ElementIoT.Silicon.DataProvider.CacheProvider.Test { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { } } }
17.714286
60
0.649194
[ "MIT" ]
ingpedro/elementiot.silicon
DataProvider/CacheProvider.Test/UnitTest1.cs
248
C#
#region License // // Copyright (c) 2018, Fluent Migrator Project // // 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 ...
37.803571
143
0.673359
[ "Apache-2.0" ]
Invinsiber/fluentmigrator
test/FluentMigrator.Tests/Unit/Generators/Postgres/PostgresColumnTests.cs
4,234
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-generate...
44.382353
216
0.598244
[ "MIT" ]
Tarvinder91/azure-powershell
src/HealthcareApis/HealthcareApis/Properties/Resources.Designer.cs
5,903
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...
37.410596
141
0.597805
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/MTurk/Generated/Model/Internal/MarshallTransformations/CreateHITTypeRequestMarshaller.cs
5,649
C#
// <copyright file="ParticipantsScheduler.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // </copyright> namespace VirtualMeetingExtensibility.Helper { using System; using System.Collections.Generic; using System.Net.Htt...
41.155556
143
0.527538
[ "MIT" ]
AhmadiRamin/teams-dev-samples
samples/app-virtual-events-meeting-extensibility/Source/VirtualMeetingExtensibility/Helper/ParticipantsScheduler.cs
5,558
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...
48.640884
235
0.57542
[ "MIT" ]
Agazoth/azure-powershell
src/Compute/Compute/VirtualMachine/Action/StopAzureVMCommand.cs
8,626
C#
using UnityEngine; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Runtime.Serialization; using UnityEngine.SceneManagement; using System.Collections; public class SaveSystem : MonoBehaviour { public GameObject loadingScreen; private static MoveButton player; public stat...
46.887218
131
0.657954
[ "MIT" ]
Vraidd/Addictus
Assets/Scripts/Data/SaveSystem.cs
6,238
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace Craftsman.Api { public static class Program { public static void Main(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => webBuilder.UseStartup<Sta...
26.066667
90
0.598465
[ "MIT" ]
BrunoBMelo/dotnet-craftsman
src/Craftsman.Api/Program.cs
391
C#
using System; // Динамические типы данных. namespace Dynamic { class MyClass { dynamic field; public MyClass(dynamic argument) { field = argument; } // Динамические свойства. public dynamic MyAutoProperty { get; set; } public dynamic Fie...
18.585714
51
0.456572
[ "MIT" ]
6e3veR6k/codewars-csharp
resources/csharp-essential-materials/017_Linq/003_Dynamic/Dynamic6/Program.cs
1,394
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Get a list of agent who selected the DNIS as the outgoing call. /// The respo...
32.195122
129
0.663636
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/GroupRoutePointGetDNISAgentListRequest.cs
1,320
C#
using System; using WslManager.Extensions; namespace WslManager.Screens { // Helpers partial class DistroFindForm { } }
13.454545
33
0.641892
[ "MIT" ]
RedstoneWizard08/WslManager
src/WslManager/Screens/DistroFindForm.Helpers.cs
150
C#
//css_dir ..\..\..\; //css_ref WixSharp.dll; //css_ref Wix_bin\SDK\Microsoft.Deployment.WindowsInstaller.dll; //css_ref System.Core.dll; using System; using System.Xml; using System.Xml.Linq; using System.Linq; using WixSharp; using WixSharp.CommonTasks; class Script { static public void Main(string[] args) { ...
38.518519
173
0.49375
[ "MIT" ]
Eun/TestRepo
src/WixSharp.Samples/Wix# Samples/IIS/ASP.NETApp/setup.cs
2,080
C#