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; using Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace DataAccessLayer.Builders { public class ApplicationUserBuilder : IEntityTypeConfiguration<ApplicationUser> { public void Configure(EntityTypeBuilder<ApplicationUser> builder) ...
28.641026
80
0.698299
[ "MIT" ]
carpool-team/carpool
src/API/RestService/DataAccessLayer/Builders/ApplicationUserBuilder.cs
1,119
C#
using System.Collections.Generic; using NUnit.Framework; namespace Stott.Optimizely.Csp.Test.TestCases { public static class CommonTestCases { public static IEnumerable<TestCaseData> EmptyNullOrWhitespaceStrings { get { yield return new TestCaseData((st...
23.85
76
0.597484
[ "Apache-2.0" ]
GeekInTheNorth/Stott.Optimizely.Csp
src/Stott.Optimizely.Csp.Test/TestCases/CommonTestCases.cs
479
C#
namespace PRGReaderLibrary { using System; public class ScheduleCode : BaseCode, IBinaryObject { public ScheduleCode(byte[] code = null, FileVersion version = FileVersion.Current) : base(144, version) { Code = code; } #region Binary data pu...
26.116667
90
0.507339
[ "MIT" ]
Fance/T3000_CrossPlatform
PRGReaderLibrary/Types/ScheduleCode.cs
1,569
C#
namespace FlatFile.FixedLength { public enum Padding { Left, Right } }
12.25
30
0.55102
[ "MIT" ]
Peter-LaComb/FlatFile
FlatFile.FixedLength/Padding.cs
98
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ using System; using System.Web.Http; using OpsLogix.WAP.RunPowerShell.ApiClient.DataContracts; namespace OpsLogix.WAP.RunPowerShe...
27.418605
131
0.527566
[ "MIT" ]
opslogix/Tenant-Automation-Azure-Pack-Rp
OpsLogix.WAP.RunPowerShell.Api/Controllers/AdminSettingsController.cs
1,181
C#
using NUnit.Framework; using Elements = SharpReact.Core.MockUI.Test.Elements; using Props = SharpReact.Core.MockUI.Test.Props; using Components = SharpReact.Core.MockUI.Test.Components; using System; using SharpReact.Core.Properties; using SharpReact.Core.MockUI.Test; using System.Collections.Generic; using SharpReact...
42.257794
155
0.497886
[ "MIT" ]
MihaMarkic/SharpReact
src/Test/SharpReact.Core.Test/SharpRendererTest.cs
35,245
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 documentat...
41.671141
134
0.593332
[ "MIT" ]
stefangossner/microsoft-authentication-library-for-dotnet
src/Microsoft.Identity.Client/Platforms/uap/WebUI.cs
6,211
C#
using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using Orchard.ContentManagement; using Orchard.Logging; using Orchard.Rules.Models; using Orchard.Rules.Services; using Orchard.Tasks.Scheduling; namespace Orchard.Rules.Handlers { [UsedImplicitly] public class ScheduledActionTa...
35.638889
145
0.645362
[ "BSD-3-Clause" ]
ArsenShnurkov/OrchardCMS-1.7.3-for-mono
src/Orchard.Web/Modules/Orchard.Rules/Handlers/ScheduledActionTaskHandler.cs
1,285
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerOneMoving : MonoBehaviour { public float rotation = 100f; public float playerOneSpeed = 10f; public KeyCode LFT; public KeyCode RHT; public Rigidbody2D structureRb; Rigidbody2D rb; // Start is...
23.361111
58
0.599287
[ "Unlicense" ]
HarricChen/HarryCodeLabFinal
FortressBattle/Assets/Script/PlayerOneMoving.cs
843
C#
using System.Linq; using AElf.Sdk.CSharp; using AElf.Types; using Google.Protobuf; using Google.Protobuf.WellKnownTypes; namespace AElf.Contracts.Consensus.AEDPoS { // ReSharper disable once InconsistentNaming public partial class AEDPoSContract { private BytesValue GetConsensusBlockExtraData(Bytes...
45.636364
132
0.608656
[ "MIT" ]
booggzen/AElf
contract/AElf.Contracts.Consensus.AEDPoS/AEDPoSContract_GetConsensusBlockExtraData.cs
11,044
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.Data.Entity.Metadata; namespace Microsoft.Data.Entity.FunctionalTests { public abstract class OneToOneQueryFixture...
30.776119
111
0.504365
[ "Apache-2.0" ]
matteo-mosca-easydom/EntityFramework
test/EntityFramework.FunctionalTests/OneToOneQueryFixtureBase.cs
2,062
C#
using System; namespace GR.Core.Attributes.Documentation { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true)] public class AuthorAttribute : Attribute { /// <summary> /// Name /// </summary> private string _name; /// <summary> ...
24.8125
92
0.526448
[ "MIT" ]
indrivo/GEAR
src/GR.Extensions/GR.Core.Extension/GR.Core/Attributes/Documentation/AuthorAttribute.cs
796
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.Linq; using System.Text; using System.Text.RegularExpressions; using Microsoft.CodeAnalysis.Text...
42.056047
161
0.549274
[ "Apache-2.0" ]
Evangelink/roslyn-sdk
src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/TestFileMarkupParser.cs
14,259
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...
58.619632
231
0.627734
[ "MIT" ]
curtand/azure-powershell
src/ResourceManager/Resources/Commands.Resources/ActiveDirectory/Cmdlets/NewAzureADSpCredentialCommand.cs
9,395
C#
using System; using System.Configuration; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text.RegularExpressions; using MongoDB.Driver; using MongoDB.Driver.Builders; using NDesk.Options; namespace VBin.Uploader { public class UploadProgram { static int Main( stri...
34.90411
115
0.380691
[ "MIT" ]
andrevdm/vbin
Source/VBin.Uploader/UploadProgram.cs
5,098
C#
using System; namespace FrontDesk.Core.Exceptions { public class AppointmentTypeNotFoundException : Exception { public AppointmentTypeNotFoundException(string message) : base(message) { } public AppointmentTypeNotFoundException(int appointmentTypeId) : base($"No appointment type with id {appointm...
22.375
132
0.73743
[ "MIT" ]
KunalChoudhary521/pluralsight-ddd-fundamentals
FrontDesk/src/FrontDesk.Core/Exceptions/AppointmentTypeNotFoundException.cs
360
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace timw255.Sitefinity.RestClient.Model { public class WcfMembershipUser : WcfItemBase, IEquatable<WcfMembershipUser> { public bool AvatarImageS...
37
79
0.623243
[ "MIT" ]
timw255/timw255.Sitefinity.RestClient
timw255.Sitefinity.RestClient/Model/WcfMembershipUser.cs
1,852
C#
#region License // // Copyright (c) 2007-2018, Sean Chambers <schambers80@gmail.com> // Copyright (c) 2010, Nathan Brown // // 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...
38.90184
119
0.656521
[ "Apache-2.0" ]
crenan/fluentmigrator
src/FluentMigrator.Runner.SQLite/Generators/SQLite/SQLiteGenerator.cs
6,341
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; using System.Threading; using JSIL.Internal; using JSIL.Proxies; using Mono.Cecil; using TypeInfo = JSIL.Internal.TypeInfo; namespace JSIL { ...
37.329365
177
0.561001
[ "MIT" ]
RedpointGames/JSIL
JSIL/TypeInfoProvider.cs
28,223
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MikuMikuMethods.PMX.IO { /// <summary> /// PMX用エンコードを気にせず文字列を読み書きできるようにしたクラス /// </summary> internal class StringEncoder { private System.Text.Enco...
24.7
89
0.611336
[ "MIT" ]
Inwerwm/MikuMikuMethods
MikuMikuMethodsCore/PMX/IO/StringEncoder.cs
1,050
C#
using System; namespace Paint101.Api { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] public class ExtensionAttribute : PluginAttribute { public ExtensionAttribute(string displayName) : base(displayName) { } } }
22.307692
86
0.682759
[ "MIT" ]
kinpa200296/Paint101
Paint101/Paint101.Api/Attributes/ExtensionAttribute.cs
292
C#
using Microsoft.Xna.Framework.Graphics; using Terraria.ModLoader; using Microsoft.Xna.Framework; using System; using System.Linq; using Terraria; using Terraria.Utilities; using System.IO; using System.Collections.Generic; using Terraria.ModLoader.IO; using PathOfModifiers.Projectiles; using PathOfModifiers.Buffs; na...
38.632813
142
0.572295
[ "MIT" ]
Liburia/PathOfModifiers
Affixes/Items/Suffixes/WeaponPoison.cs
4,947
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("_1...
37.918919
84
0.744833
[ "MIT" ]
danisio/CSharp2-Homeworks
TextFiles/12.RemoveWords/Properties/AssemblyInfo.cs
1,406
C#
// <copyright file="MklFourierTransformProvider.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // https://numerics.mathdotnet.com // // Copyright (c) 2009-2018 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated docu...
38.488372
236
0.585566
[ "MIT" ]
NetPro69/mathnet-numerics
src/Providers.MKL/FourierTransform/MklFourierTransformProvider.cs
14,897
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
32.92
463
0.735115
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/PresentationCore/Sources/System.Windows.Media.Effects.cs
2,469
C#
using BlazorComponentUtilities; using BlazorStrap.Util; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Forms; using Microsoft.AspNetCore.Components.Rendering; using Microsoft.AspNetCore.Components.Web; using System; using System.Collections.Generic; using System.Globalization; using Syste...
38.338323
157
0.53729
[ "Unlicense" ]
MasterSkriptor/BlazorStrap
src/BlazorStrap/Components/Forms/BSBasicInput.cs
12,807
C#
/** * Copyright 2018 The Nakama 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
34.508772
292
0.592527
[ "Apache-2.0" ]
gamelynx/nakama-dotnet
src/Nakama/IChannelMessageAck.cs
3,934
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...
33.806584
111
0.515642
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
module/ASC.Files.Thirdparty/ProviderDao/ProviderSecutiryDao.cs
8,215
C#
namespace SkorubaIdentityServer4Admin.STS.Identity.Configuration { public class AdvancedConfiguration { public string IssuerUri { get; set; } } }
10.9375
65
0.68
[ "MIT" ]
861191244/IdentityServer4.Admin
templates/template-publish/content/src/SkorubaIdentityServer4Admin.STS.Identity/Configuration/AdvancedConfiguration.cs
177
C#
using UnityEngine; using System.Collections; using UnityEngine.EventSystems; #if MOBILE_INPUT using UnityStandardAssets.CrossPlatformInput; #endif using System.Reflection; namespace Invector { public class vInput : MonoBehaviour { public delegate void OnChangeInputType(InputDevice type); ...
33.172789
190
0.441842
[ "MIT" ]
FR98/ProyectoJuegosUVG
Assets/Invector-3rdPersonController/Basic Locomotion/Scripts/CharacterController/vInput.cs
24,384
C#
// <auto-generated> // 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 // re...
45.630662
368
0.583766
[ "MIT" ]
mcgallan/azure-sdk-for-net
sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated/ProtectedItemOperationResultsOperations.cs
13,096
C#
using Godot; using System; [Tool] public class Label3DScene : Spatial { [Export] public NodePath viewpath; private Viewport viewport = null; [Export] public NodePath labelpath; private Label2D label2D = null; [Export] public NodePath meshpath; private MeshInstance mesh = null; private SpatialMaterial mat =...
18.833333
66
0.697073
[ "MIT" ]
JoluMorsanDev/The-4-hidden-souls
addons/Label3D/3d/Label3DScene.cs
1,469
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace HangfireHealth.Website { public class Job { private static Random _random = new Random(); public void LongRunning() { var now = DateTime.Now; // I think th...
18.625
73
0.639262
[ "MIT" ]
stajs/HangfireHealth
src/HangfireHealth.Website/Job.cs
598
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 ...
37.702128
103
0.673251
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.GeneratedSnippets/ResourcePoliciesClient.GetRequestObjectAsyncSnippet.g.cs
1,772
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shared.Core.Dtos { public interface IDto { Guid Id { get; set; } } }
15.5
33
0.686636
[ "Apache-2.0" ]
MurielSoftware/MyArt
Shared.Core/Dtos/IDto.cs
219
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut gener...
41.037037
151
0.597473
[ "MIT" ]
erichstuder/Shuttle
Timetable_Manager/Properties/Settings.Designer.cs
1,112
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* MappedAccess64.cs -- * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Status: poor */ #if !FW35 &&...
25.884488
94
0.472268
[ "MIT" ]
amironov73/ManagedClient.45
Source/Classic/Libs/ManagedIrbis/Source/Direct/MappedAccess64.cs
7,868
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using ConvertApiDotNet.Constants; using ConvertApiDotNet.Model; namespace ConvertApiDotNet { public static class ConvertApiExtension { #region Convert method extensions /// <summ...
39.792208
189
0.658616
[ "MIT" ]
kostas-baltsoft/convertapi-dotnet
ConvertApi/ConvertApiExtension.cs
6,130
C#
using UnityEngine; public class MessageSender : MonoBehaviour { public SpacebrewEvents spacebrewClientEvents; public string pubNameMove; public string pubNameShoot; public void SendMove(string message) { spacebrewClientEvents.SendString(pubNameMove, message); } public void SendShoo...
21.789474
64
0.7343
[ "MIT" ]
2-REC/multi-unity
UnityMulti/Assets/SpaceBrew/Examples/Scripts/MessageSender.cs
416
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenTK; using OpenTK.Input; using System.Drawing; using OpenTK.Graphics.OpenGL; using System.Drawing.Imaging; using System.Threading; using System.Media; namespace OpenTKPlatformerE...
43.6625
177
0.492814
[ "MIT" ]
PKTINOS/SpongeGame
Code/Game.cs
17,467
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shapes { public class Triangle:Shape,IShape { public Triangle(double width, double height) : base(width, height) { } public override double CalculateSu...
18.130435
74
0.609113
[ "MIT" ]
lubangelova/C-OOP
Homework/OOP Principles - Part 2/Shapes/Triangle.cs
419
C#
using Arrowgene.Baf.Server.Core; using Arrowgene.Baf.Server.Logging; using Arrowgene.Baf.Server.Packet; using Arrowgene.Buffers; using Arrowgene.Logging; namespace Arrowgene.Baf.Server.PacketHandle { public class RoomChangeSettingHandle : PacketHandler { private static readonly BafLogger Logger = LogPr...
30.185185
114
0.688344
[ "MIT" ]
sebastian-heinz/Arrowgene.Baf
Arrowgene.Baf.Server/PacketHandle/RoomChangeSettingHandle.cs
815
C#
using System; using NUnit.Framework; using TagLib; using TagLib.IFD; using TagLib.IFD.Entries; using TagLib.Jpeg; using TagLib.Xmp; namespace TagLib.Tests.Images { [TestFixture] public class JpegSegmentSizeTest { private static string sample_file = "samples/sample.jpg"; private static string tmp_...
22.757009
84
0.689938
[ "MIT" ]
Hadryan/Qabuze
taglib-sharp/tests/fixtures/TagLib.Tests.Images/JpegSegmentSizeTest.cs
2,435
C#
using ControleDespesas.Domain.Empresas.Commands.Input; using ControleDespesas.Domain.Empresas.Entities; using ControleDespesas.Domain.Pagamentos.Commands.Input; using ControleDespesas.Domain.Pagamentos.Entities; using ControleDespesas.Domain.Pagamentos.Enums; using ControleDespesas.Domain.Pagamentos.Query.Parameters; ...
54.469903
208
0.663981
[ "MIT" ]
lsantoss/ControleDespesas
ControleDespesas_ApiNetCore21_Dapper/ControleDespesas.Test/AppConfigurations/Settings/SettingsTest.cs
28,054
C#
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; namespace EasyAbp.Abp.AspNetCore.Mvc.UI.Theme.LYear.Bundling { public class LYearThemeGlobalStyleContributor : BundleContributor { public override void ConfigureBundle(BundleConfigurationContext context) { context.Files.RemoveAll(x => x.Co...
39.470588
86
0.679583
[ "MIT" ]
EasyAbp/Abp.AspNetCore.Mvc.UI.Theme.LYear
src/Bundling/LYearThemeGlobalStyleContributor.cs
673
C#
namespace HareDu { public enum PolicyAppliedTo { All, Exchanges, Queues } }
12.333333
31
0.522523
[ "Apache-2.0" ]
ahives/HareDu1
src/HareDu/PolicyAppliedTo.cs
111
C#
using GMLParserPL.Configuration; using System.Collections.Generic; namespace GMLParserPL.Translators.BDOT { internal class BUZT_A : BuildingTranslator { public BUZT_A(string bdotClass, string filePath, Config config) : base(bdotClass, filePath, config) { } protected sealed ove...
31.64
107
0.638432
[ "MIT" ]
mcegla/GeodataLoaderPL-test
GMLParserPL/Translators/BDOT/BUZT_A.cs
793
C#
using System; using System.Collections.Generic; using System.Net.Mail; namespace Samples.DomainLayer.Persons { /// <summary> /// The person domain class. /// NOTE: The is an example for a fictitious domain. Do not use! /// </summary> public class Person { /// <summary> /// Gets...
26.744186
68
0.542609
[ "MIT" ]
Jan-Olof/samples
Samples.DomainLayer/Persons/Person.cs
1,152
C#
namespace Commandos.Model.Map { public class Abilities : NotParsed { public Abilities(object multipleRecords) : base(multipleRecords) { } } }
17.9
72
0.614525
[ "MIT" ]
fhnaseer/CommandosMissionEditor
Commandos.Model/Map/Abilities.cs
181
C#
//------------------------------------------------------------------------------ // <auto-generated> // 這段程式碼是由工具產生的。 // 執行階段版本:4.0.30319.42000 // // 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, // 變更將會遺失。 // </auto-generated> //------------------------------------------------------------------------------ // /...
30.792453
116
0.558211
[ "MIT" ]
uxb2bralph/IFS-EIVO03
Models/Schema/TurnKey/B0201.cs
1,752
C#
//------------------------------------------------------------------------------- // <copyright file="IExtension.cs" company="Appccelerate"> // Copyright (c) 2008-2019 Appccelerate // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
52.039568
147
0.625354
[ "Apache-2.0" ]
wtjerry/statemachine
source/Appccelerate.StateMachine/AsyncMachine/IExtension.cs
14,467
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 ...
50.142857
122
0.725356
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-cloudphoto/CloudPhoto/Transform/V20170711/ListPhotosResponseUnmarshaller.cs
3,510
C#
using System; using System.Linq; using System.Linq.Expressions; using Microsoft.VisualStudio.TestTools.UnitTesting; using TableDependency.SqlClient.Where.UnitTests.Models; using Expression = NCalc.Expression; namespace TableDependency.SqlClient.Where.UnitTests { [TestClass] public class UnitTestMoreConditi...
37.275
148
0.508384
[ "MIT" ]
GeorgeR/monitor-table-change-with-sqltabledependency
Tests/TableDependency.SqlClient.Where.UnitTests/UnitTestMoreCondition.cs
4,475
C#
namespace Autofac.TypedFactories.Test.TestDomain { public class ConcreteDependencyService { } }
18
49
0.740741
[ "MIT" ]
salfab/Autofac.TypedFactories
src/Autofac.TypedFactories.Test/TestDomain/ConcreteDependencyService.cs
110
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using GitTrendingApi.Models; using GitTrendingApi.Utils; using HtmlAgilityPack; using Microsoft.AspNetCore.Http; using Microsoft.As...
38.029851
174
0.541209
[ "MIT" ]
BaileysBlog/GitHubTrending
utils/GitTrendingApi/Controllers/RepoController.cs
5,098
C#
using System; namespace NetTelegramBotApi.Types { /// <summary> /// This object represents a venue. /// </summary> public class Venue { /// <summary> /// Venue location /// </summary> public Location Location { get; set; } /// <summary> /// Name of ...
21.870968
56
0.504425
[ "MIT" ]
DLMANSOFT/NetTelegramBotApi
NetTelegramBotApi/Types/Venue.cs
680
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(ExampleAPI.Startup))] namespace ExampleAPI { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth(app); }...
17.315789
51
0.671733
[ "MIT" ]
edgardolopez/RestDemo
REST/ExampleAPI/Startup.cs
331
C#
// ---------------------------------------------------------------------------- // This source code is provided only under the Creative Commons licensing terms stated below. // HVWC Multiplayer Platform alpha v1 by Institute for Digital Intermedia Arts at Ball State University \is licensed under a Creative Commons Att...
37.457143
205
0.615942
[ "MIT" ]
dh-199-the-shape-of-roman-history/Roman-Funeral-and-Family
Unity/UnityBuildFiles/AllFunerals/Assets/Scripts/IDIA/Player/AgentController.cs
2,624
C#
using System; using Gw2Sharp.Json.Converters; using Gw2Sharp.WebApi.V2.Models; using Xunit; namespace Gw2Sharp.Tests.Json.Converters { public class BottomUpRectangleConverterTests { [Fact] public void NoWriteTest() { var converter = new BottomUpRectangleConverter(); ...
25.44
104
0.632075
[ "MIT" ]
Archomeda/Gw2Sharp
Gw2Sharp.Tests/Json/Converters/BottomUpRectangleConverterTests.cs
636
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...
24.45
76
0.625085
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Cdn/Client/QueryWafRegionsExecutor.cs
1,543
C#
using PlayGen.ITAlert.Photon.Players.Extensions; using PlayGen.Photon.Players; namespace PlayGen.ITAlert.Photon.Players { // ReSharper disable once InconsistentNaming public class ITAlertPlayerManager : PlayerManager<ITAlertPlayer> { public override ITAlertPlayer Create(int photonId, int? externalId = null, stri...
20.685714
96
0.694751
[ "Apache-2.0" ]
playgen/it-alert
Server/PlayGen.ITAlert.Photon.Players/ITAlertPlayerManager.cs
726
C#
using Microsoft.EntityFrameworkCore.Design; using Microsoft.EntityFrameworkCore.Design.Internal; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Scaffolding; using Microsoft.Extensions.DependencyInjection; using RevEng.Shared; using System; using System.Collections.Generic; usin...
39.82716
213
0.569203
[ "MIT" ]
Habiba618/EFCorePowerTools
src/GUI/RevEng.Core/ReverseEngineerRunner.cs
12,906
C#
using Newtonsoft.Json; namespace Nest { [JsonObject] public class ShardIndexing { /// <summary> /// Returns the currently in-flight delete operations /// </summary> [JsonProperty("delete_current")] public long DeleteCurrent { get; internal set; } /// <summary> /// The total amount of time spend on e...
27.942029
84
0.688278
[ "Apache-2.0" ]
Henr1k80/elasticsearch-net
src/Nest/Indices/Monitoring/IndicesStats/ShardIndexing.cs
1,930
C#
//////////////////////////////////////////////////////////////////////////////// //EF Core Provider for LCPI OLE DB. // IBProvider and Contributors. 31.03.2021. using System; using System.Diagnostics; using System.Reflection; namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOle...
33.212766
130
0.573991
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Code/Provider/Source/Basement/EF/Dbms/Firebird/V03_0_0/Query/Local/D0/Expressions/Op2/Code/Subtract/Decimal/Op2_Code__Subtract___Decimal__NullableDouble.cs
1,563
C#
using System.Text.Json.Serialization; using PlatformRacing3.Server.Game.Communication.Messages.Incoming.Json; using PlatformRacing3.Server.Game.Lobby; namespace PlatformRacing3.Server.Game.Communication.Messages.Outgoing.Json { internal sealed class JsonForceMatchOutgoingMessage : JsonPacket { private...
32.757576
74
0.637373
[ "MIT" ]
CoralCOasa/PlatformRacing3
PlatformRacing3.Server/Game/Communication/Messages/Outgoing/Json/JsonForceMatchOutgoingMessage.cs
2,164
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.md file in the project root for more information. using Microsoft.VisualStudio.ProjectSystem; using Xunit; using Task = System.Threading.Tasks.Task; namespace Mi...
33.165217
201
0.545097
[ "MIT" ]
brunom/project-system
tests/Microsoft.VisualStudio.ProjectSystem.Managed.UnitTests/Threading/Tasks/TaskDelaySchedulerTests.cs
3,702
C#
using MvvmHelpers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using SQLite.Net.Attributes; namespace XPlat_MovieDB.Models { public class Movie : ObservableObject { private long _id; [PrimaryKey, Au...
25.469136
75
0.556471
[ "MIT" ]
t1agob/Xplatmoviedb
XPlat-MovieDB/XPlat_MovieDB/Models/Movie.cs
2,065
C#
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; namespace Aliyun.Log.Model.Data { /// <summary> /// QuriedLog used to present a log in query result. It contains log time, log source(ip/hostname,e.g), /// and multiple of key/value pairs to present the log cont...
29.622222
135
0.496249
[ "MIT" ]
b95678/Aliyun.Log
Aliyun.Log/Aliyun.Log/Model/Data/QueriedLog.cs
2,668
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能导致不正确的行为,如果 // 重新生成代码,则所做更改将丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace Test.Framework.Pages { public partial c...
25
81
0.402353
[ "Apache-2.0" ]
hoofa/IdentityServer4.XPO
Test.Framework/Pages/test.aspx.designer.cs
1,114
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class ReverseString { static void Main() { string text = Console.ReadLine(); string reversed = Reverse(text); Console.WriteLine(reversed); } static string Revers...
19.172414
62
0.598921
[ "MIT" ]
LPetrova/CSharpAdvance
StringsAndTextProcessingHomework/ReverseString/ReverseString.cs
558
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CWSTeam.Common { /// <summary> /// Common functionality and constants for webservices. /// </summary> public static class WebserviceCommon { /// <summary> /// JSON mime type s...
21.947368
59
0.640288
[ "MIT" ]
Favorablestream/Database-First-ASP.Net-Core
Test API/Common/WebserviceCommon.cs
419
C#
using Com.Moonlay.Models; using System; using System.ComponentModel.DataAnnotations; namespace Com.Danliris.Service.Packing.Inventory.Data.Models.Inventory { public class ProductSKUInventoryDocumentModel : StandardEntity { public ProductSKUInventoryDocumentModel() { } public ...
29.907407
70
0.582043
[ "MIT" ]
AndreaZain/com-danliris-service-packing-inventory
src/Com.Danliris.Service.Packing.Inventory.Data/Models/Inventory/ProductSKUInventoryDocumentModel.cs
1,617
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Snowlight.Game.Spaces; namespace Snowlight.Communication.Outgoing.Spaces { class SpaceUserAcceptInteract { public static ServerMessage Compose(SpaceActor Actor, SpaceActor TargetActor, uint ActionId) { ...
36.52
100
0.703176
[ "MIT" ]
DaLoE99/Servidores-DaLoE
3/BoomBang/Communication/Outgoing/Spaces/SpaceUserAcceptInteract.cs
915
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 System; using ClearCanvas.Common; using C...
33.49
160
0.566438
[ "Apache-2.0" ]
SNBnani/Xian
ImageViewer/Tools/ImageProcessing/Filter/SmoothingRecursiveGaussianFilterTool.cs
3,349
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Core.Mapping { using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity.Resources; using System.Data.Entity.Utilities; using Syst...
35.675
132
0.58164
[ "Apache-2.0" ]
Cireson/EntityFramework6
src/EntityFramework/Core/Mapping/ConditionPropertyMapping.cs
5,708
C#
using System; using System.Collections; using System.Diagnostics; namespace NS_Glyph { public class Flags { // members protected Type typeEnum; protected Hashtable vals; // indexer virtual public bool this [object flag] { get { ...
23.647887
74
0.432996
[ "MIT" ]
Bhaskers-Blu-Org2/Font-Validator
Glyph/Flags.cs
1,679
C#
using System; using Org.BouncyCastle.Math.EC.Endo; using Org.BouncyCastle.Math.EC.Multiplier; using Org.BouncyCastle.Math.Field; using Org.BouncyCastle.Math.Raw; namespace Org.BouncyCastle.Math.EC { public class ECAlgorithms { public static bool IsF2mCurve(ECCurve c) { return IsF2m...
34.690516
128
0.493693
[ "MIT" ]
Zaharkov/bc-csharp
crypto/src/math/ec/ECAlgorithms.cs
20,849
C#
using UnityEditor; using UnityEditor.UI; namespace XFramework.UI.Editor { [CustomEditor(typeof(LongOrDoubleBtn), true)] [CanEditMultipleObjects] public class LongPressBtnEditor : ButtonEditor { SerializedProperty m_maxTime; SerializedProperty m_isLongPressTrigger; SerializedPro...
29.96
87
0.606809
[ "Apache-2.0" ]
xdedzl/XFramework
XFramework/Assets/XFramework/Core/Editor/Modules/UI/LongOrDoubleBtnEditor.cs
1,500
C#
// MvxRecyclerViewHolder.cs // (c) Copyright Cirrious Ltd. http://www.cirrious.com // MvvmCross is licensed using Microsoft Public License (Ms-PL) // Contributions and inspirations noted in readme.md and license.txt // // Project Lead - Stuart Lodge, @slodge, me@slodge.com using System; using System.Windows.Input; us...
30.240741
139
0.597979
[ "MIT" ]
miki3003/food-by-me
lib/MvvmCross.Droid.Support.V7.RecyclerView/MvxRecyclerViewHolder.cs
3,266
C#
using System; using System.Data; using System.Data.OleDb; namespace OMeta.Sql { #if ENTERPRISE using System.Runtime.InteropServices; [ComVisible(true), ClassInterface(ClassInterfaceType.AutoDual), ComDefaultInterface(typeof(IDomains))] #endif public class SqlDomains : Domains { public SqlDomains() { } o...
19.6
103
0.697704
[ "MIT" ]
kiler398/OMeta
src/OpenMeta/Sql/Domains.cs
784
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 Y...
36.590389
137
0.492808
[ "Apache-2.0" ]
LiveFly/npoi
ooxml/XSSF/UserModel/XSSFCell.cs
47,970
C#
/* *************************************************************************** * This file is part of SharpNEAT - Evolution of Neural Networks. * * Copyright 2004-2016 Colin Green (sharpneat@gmail.com) * * SharpNEAT is free software; you can redistribute it and/or modify * it under the terms of The MIT Lic...
50.081581
260
0.582313
[ "MIT" ]
AlexLeung/TradingNEAT
src/SharpNeatLib/Genomes/Neat/NeatGenome.cs
78,578
C#
using Northwind.Entity.Base; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Northwind.Entity.Dto { public class DtoOrderDetail:DtoBase { public DtoOrderDetail() { } public int OrderId { get; set; } public in...
24.45
46
0.658487
[ "MIT" ]
142-Bupa-Acibadem-FullStack-Bootcamp/week-5-assignment-1-YTeyfik
Northwind.Entity/Dto/DtoOrderDetail.cs
491
C#
// <auto-generated> // 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 // re...
45.738854
306
0.562198
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/databoxedge/Microsoft.Azure.Management.DataBoxEdge/src/Generated/UsersOperations.cs
50,267
C#
/* * Written by James Leahy. (c) 2018 DeFunc Art. * https://github.com/defuncart/ */ #if UNITY_EDITOR using DeFuncArt.UI; using UnityEditor; using UnityEditor.UI; using UnityEngine; /// <summary>Included in the DeFuncArtEditor namespace.</summary> namespace DeFuncArtEditor { /// <summary>Custom Editor which subcl...
27.611111
83
0.720993
[ "MIT" ]
defuncart/game-in-a-week
SultansGems/Assets/Imported/DeFuncArt/Editor/CustomUI/Buttons/DAButtonSubclassEditor.cs
1,493
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.Runtime.InteropServices; using Xunit; namespace System.SpanTests { public static partial class Spa...
32.210526
112
0.473243
[ "MIT" ]
Acidburn0zzz/corefx
src/System.Memory/tests/Span/Fill.cs
4,896
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Bubbles : Projectile { public override void Shoot(GameObject shooter) { base.Shoot(shooter); } protected override void OnTriggerEnter(Collider other) { // If this hits a projectile, destroy...
22
62
0.634387
[ "MIT" ]
DaemonUmbra/NHTI-Capstone
Assets/Scripts/Bubbles.cs
508
C#
using System; using System.Windows.Forms; namespace FC_Killer { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderi...
19.5
59
0.653846
[ "MIT" ]
coenvdwel/fckiller
FC Killer/Program.cs
392
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
35.425287
153
0.586632
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WorkbookFunctionsChiSq_InvRequest.cs
3,082
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.Globalization; using Microsoft.ML.Runtime.CommandLine; using Microsoft.ML.Runtime.Data; u...
41.27013
166
0.564667
[ "MIT" ]
JeataekRyu/machinelearning
src/Microsoft.ML.StandardLearners/Standard/Online/OnlineLinear.cs
15,889
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ETModel { public static class SeatIndexTool { public static int GetLastSeatIndex(int currSeatIndexint, int maxSeatIndex) { if (currSeatIndexint > 0) ...
27.75
116
0.449449
[ "MIT" ]
594270461/fivestar
Unity/Assets/Model/GameGather/Tools/SeatIndexTool.cs
2,104
C#
using Com.Game.Data; using Com.Game.Manager; using Com.Game.Module; using System; using System.Collections.Generic; using UnityEngine; namespace MobaFrame.SkillAction { public class DamageDataManager : Singleton<DamageDataManager> { private Dictionary<int, DamageData> _dataVos = new Dictionary<int, Dama...
25.035714
98
0.666191
[ "MIT" ]
corefan/mobahero_src
MobaFrame.SkillAction/DamageDataManager.cs
1,402
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // Generated with CoreBot .NET Template version __vX.X.X__ using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Integration.AspNet.Core; using M...
34.944444
121
0.637122
[ "MIT" ]
AdsTable/BotBuilder-Samples
generators/dotnet-templates/Microsoft.BotFramework.CSharp.CoreBot/content/CoreBot/Startup.cs
2,516
C#
namespace KorneiDontsov.Sql.Migrations { using System; using System.Threading; using System.Threading.Tasks; class DbMigrationState: IDbMigrationState { public TaskCompletionSource<DbMigrationResult> whenCompleted { get; } = new TaskCompletionSource<DbMigrationResult>(TaskCreationOptions.RunContinuationsAsyn...
37.225806
101
0.771231
[ "MIT" ]
prachikatre005/KorneiDontsov.Sql
src/libs/KorneiDontsov.Sql/impl/migrations/DbMigrationState.cs
1,156
C#
 namespace CyPhyPET { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics.Contracts; using System.IO; using CyPhy = ISIS.GME.Dsml.CyPhyML.Interfaces; using CyPhyClasses = ISIS.GME.Dsml.CyPhyML.Classes; using C...
46.209529
191
0.495397
[ "MIT" ]
lefevre-fraser/openmeta-mms
src/CyPhyPET/PET.cs
80,499
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; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.ContractsLig...
38.492386
181
0.50389
[ "MIT" ]
MatisseHack/BuildXL
Public/Src/IDE/Debugger/BreakpointStore.cs
15,166
C#
namespace PddOpenSdk.Models.Response.Refund; public partial class GetRefundListIncrementResponse : PddResponseModel { /// <summary> /// 售后增量订单列表对象 /// </summary> [JsonPropertyName("refund_increment_get_response")] public RefundIncrementGetResponseResponse RefundIncrementGetResponse { get; set; } ...
30.84153
315
0.490787
[ "Apache-2.0" ]
niltor/open-pdd-net-sdk
PddOpenSdk/PddOpenSdk/Models/Response/Refund/GetRefundListIncrementResponse.cs
6,578
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.Generic; using System.Diagnostics; using Roslyn.Utilities;...
30.02445
111
0.446173
[ "MIT" ]
06needhamt/roslyn
src/Compilers/Core/Portable/Collections/BitVector.cs
12,282
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spinner : MonoBehaviour { [SerializeField] float xAngle = 0; [SerializeField] float yAngle = 1; [SerializeField] float zAngle = 0; // Start is called before the first frame update void Start() { ...
20.318182
52
0.653244
[ "MIT" ]
CallMeCody/obstacle-course
Obstacle Course/Assets/Scripts/Spinner.cs
447
C#
// Copyright © 2018 Wave Engine S.L. All rights reserved. Use is subject to license terms. #region Using Statements using System; using System.Runtime.Serialization; using WaveEngine.Common.Math; using WaveEngine.Framework; #endregion namespace WaveEngine.Networking.Components { /// <summary> /// Provides an...
33.45
118
0.681614
[ "MIT" ]
WaveEngine/Extensions
WaveEngine.Networking/Shared/Components/Synchronization/NetworkVector3PropertySync`1.cs
1,341
C#