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
namespace A { class Program { static void Main() { Test test = new Test(1); } } class Test { private Test(int i) { /* inserted */ int _10 = 10; } } }
13.785714
30
0.476684
[ "Apache-2.0" ]
thufv/DeepFix-C-
data/Mutation/CS0122_4_mutation_10/[E]CS0122.cs
195
C#
/* * Copyright (c) 2014 Universal Technical Resource Services, Inc. * * 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....
31.368421
116
0.582215
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
UtrsSoftware/ATMLWorkBench
ATMLLibraries/ATMLCommonLibrary/controls/datum/DatumTypeDoubleControl.cs
2,982
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Migrations.Utilities { using System.Collections; using System.Data.Entity.Migrations.Design; using System.IO; using System.Linq; ...
42.518919
134
0.562293
[ "Apache-2.0" ]
TerraVenil/entityframework
test/EntityFramework/UnitTests/Migrations/Utilities/MigrationWriterTests.cs
7,868
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...
42.8375
253
0.644295
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/ISharedKeysOperations.cs
3,427
C#
/* * ORY Hydra * * Welcome to the ORY Hydra HTTP API documentation. You will find documentation for all HTTP APIs here. * * The version of the OpenAPI document: v1.10.6 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Collections.Gene...
39.272277
177
0.569142
[ "Apache-2.0" ]
ALTELMA/sdk
clients/hydra/dotnet/src/Ory.Hydra.Client/Model/HydraPluginEnv.cs
7,933
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Testing; using osu.Game.Beatmaps; using osu.Game.R...
34.336364
137
0.527138
[ "MIT" ]
EVAST9919/osu
osu.Game.Rulesets.Catch.Tests/TestSceneHyperDash.cs
3,670
C#
namespace HunterPie.Core { public class Member { private string _Name = ""; private int _Damage; private byte _Weapon = 255; public string Name { get => _Name; set { if (value == "" && "" == _Name && Damage > 0) ...
30.283688
113
0.413583
[ "MIT" ]
nicodiaz55/HunterPie
HunterPie/Core/Party/Member.cs
4,272
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("Pre...
38
84
0.750356
[ "MIT" ]
SoftBIM/PreviewControlRevitAPI
PreviewControlRevitAPI/Properties/AssemblyInfo.cs
1,409
C#
namespace SoccerStatistics.Api.Database.Entities { public enum InteractionType { Goal, Change, Foul, ShotOnGoal } }
14.636364
49
0.57764
[ "MIT" ]
JustD4nTe/SoccerStatistics.Api
src/SoccerStatistics.Api.Database/Entities/Enums/InteractionType.cs
163
C#
namespace Bitfinex.Client.Websocket.Client { internal static class BitfinexLogger { public static string L(string msg) { return $"[BFX WEBSOCKET CLIENT] {msg}"; } } }
21.5
51
0.586047
[ "Apache-2.0" ]
ColossusFX/bitfinex-client-websocket
src/Bitfinex.Client.Websocket/Client/BitfinexLogger.cs
217
C#
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Threading; using TrueCraft.API; using TrueCraft.API.World; using TrueCraft.API.Logic; using fNbt; namespace TrueCraft.Core.World { public class World : IDisposable, IWorld { public static readonly int Heigh...
38.528875
143
0.584096
[ "MIT" ]
jacobmarshall-etc/TrueCraft
TrueCraft.Core/World/World.cs
12,676
C#
using HW5.DataAccess.EntityFramework.Configurations; using HW5.Domain.Entities; using Microsoft.EntityFrameworkCore; namespace HW5.DataAccess.EntityFramework { public class AppDbContext : DbContext { public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { } // Database C...
31.35
87
0.695375
[ "MIT" ]
PatikaDev-Logo-Net-Bootcamp/Homeworks-Meleknur-Yazlamaz
Homework-5/HW5/HW5.DataAccess.EntityFramework/AppDbContext.cs
629
C#
using System.Collections.Generic; using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("UnitTests")] namespace Consart.Measures { /// <summary>Base Measure Units of equivalence classes</summary> internal static class MeasureBase { private readonly static Dictionary<string, MeasureU...
33.896552
109
0.651068
[ "MIT" ]
TadeuszGruzlewski/Price-Framework
Measure/Measures/MeasureUnit/MeasureBase.cs
985
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using System.Diagnostics; using CtfPlayback.Metadata.Interfaces; using CtfPlayback.Metadata.TypeInterfaces; using LTTngCds.CtfExtensions.Descriptors; namespace LTTngCds.CtfExtensions { internal class LTTng...
38.550725
126
0.714286
[ "MIT" ]
Armison/Microsoft-Performance-Tools-Linux-Android
LTTngCds/CtfExtensions/LTTngMetadata.cs
2,660
C#
namespace BinanceAPI.Authentication { /// <summary> /// Api addresses /// </summary> public class BinanceApiAddresses { /// <summary> /// The address used by the BinanceClient for the Spot API /// </summary> public string RestClientAddress { get; set; } = ""; ...
31.866667
72
0.557183
[ "MIT" ]
HypsyNZ/Binance-API
Binance-API/Binance-API/Authentication/BinanceApiAddresses.cs
1,436
C#
using System; namespace Weikio.ApiFramework.Abstractions { public class StatusMessage { public DateTime MessageTime { get; } public string Message { get; } public StatusMessage(DateTime messageTime, string message) { MessageTime = messageTime; Message =...
21.6875
66
0.608069
[ "Apache-2.0" ]
weikio/ApiFramework
src/Weikio.ApiFramework.Abstractions/StatusMessage.cs
349
C#
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from https://github.com/dotnet/clangsharp/blob/main/sources/libClangSharp namespace ClangSharp.Interop { public enum CX_AtomicOperatorK...
35.672131
169
0.72886
[ "MIT" ]
Color-Of-Code/ClangSharp
sources/ClangSharp.Interop/CX_AtomicOperatorKind.cs
2,176
C#
using System; using System.Collections.Generic; using System.Text; namespace Tizen.NUI { internal static partial class Interop { internal static partial class ViewResourceReadySignal { [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vi...
68.363636
185
0.781472
[ "Apache-2.0", "MIT" ]
Ali-Alzyoud/TizenFX
src/Tizen.NUI/src/internal/Interop/Interop.ViewResourceReadySignal.cs
2,258
C#
namespace DemoDataService.Areas.HelpPage.ModelDescriptions { public class DictionaryModelDescription : KeyValuePairModelDescription { } }
24.833333
74
0.798658
[ "MIT" ]
tlaothong/lab-swp-ws-kiatnakin
LabWsKiatnakin/DemoDataService/Areas/HelpPage/ModelDescriptions/DictionaryModelDescription.cs
149
C#
using System; using DanfeSharp.Enumeracoes; using DanfeSharp.Graphics; namespace DanfeSharp.Elementos { /// <summary> /// Cabeçalho do bloco, normalmente um texto em caixa alta. /// </summary> internal class CabecalhoBloco : ElementoBase { public const float MargemSuperior = 0.8F; ...
32.419355
146
0.657711
[ "MIT" ]
faironsp/DanfeSharp
DanfeSharp/Elementos/CabecalhoBloco.cs
1,008
C#
/* Licensed under the MIT/X11 license. * Copyright (c) 2016-2018 jointly owned by eBestow Technocracy India Pvt. Ltd. & M&M Info-Tech UK Ltd. * This notice may not be removed from any source distribution. * See license.txt for detailed licensing details. */ // Author: Manan Adhvaryu. #if Window using System; using Sy...
37.21547
138
0.467117
[ "MIT" ]
MnMInfoTech/GWS
GWSSDL/SdlWindow.cs
26,946
C#
using System.Collections.Generic; using Tweetinvi.Models; namespace Tweetinvi.Core.QueryGenerators { public interface IFriendshipQueryGenerator { string GetUserIdsRequestingFriendshipQuery(); string GetUserIdsYouRequestedToFollowQuery(); string GetUserIdsWhoseRetweetsAreMutedQuery(); ...
38.931034
134
0.770593
[ "MIT" ]
247GradLabs/tweetinvi
Tweetinvi.Core/Core/QueryGenerators/IFriendshipQueryGenerator.cs
1,131
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.Collections.Generic; using System.Linq; using Roslyn.Utilities; namespace StarkPlatform.CodeAnalysis.Shared.Extensions { internal static cl...
33.138889
161
0.601006
[ "Apache-2.0" ]
stark-lang/stark-roslyn
src/Workspaces/Core/Portable/Shared/Extensions/SyntaxNodeOrTokenExtensions.cs
1,195
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml...
37.287037
99
0.620313
[ "Apache-2.0" ]
DLozanoNavas/xamarin-forms-book-samples
Chapter04/BlackCat/BlackCat/BlackCat.UWP/App.xaml.cs
4,027
C#
using System; namespace TramsDataApi.DatabaseModels { public partial class Sponsor { public string PRid { get; set; } public string Rid { get; set; } public string SponsorId { get; set; } public string SponsorsSponsorId { get; set; } public string SponsorsSponsorName { ...
66.757576
121
0.734302
[ "MIT" ]
DFE-Digital/trams-data-api
TramsDataApi/DatabaseModels/Sponsor.cs
6,611
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using VideoApi.Domain; namespace VideoApi.DAL.Mappings { public class ConferenceStatusMap : IEntityTypeConfiguration<ConferenceStatus> { public void Configure(EntityTypeBuilder<ConferenceStatus> builder) ...
29.833333
81
0.687151
[ "MIT" ]
hmcts/vh-video-api
VideoApi/VideoApi.DAL/Mappings/ConferenceStatusMap.cs
537
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace BoFramework.Northwind.MvcWebUI { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistr...
22.263158
60
0.699764
[ "MIT" ]
berkayozturkk/BoFramework
BoFramework.Northwind.MvcWebUI/Global.asax.cs
423
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using StarWars.Data.EntityFramework; namespace StarWars.Data.EntityFramework.Migrations { [DbContext(typeof(StarWarsC...
30.617647
117
0.6244
[ "MIT" ]
Alexandre-Nourissier/StarWars
StarWars.Data/EntityFramework/Migrations/20170215075510_Inital.Designer.cs
1,043
C#
// // MenuItemBackend.cs // // Author: // Carlos Alberto Cortez <calberto.cortez@gmail.com> // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2011 Carlos Alberto Cortez // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy...
25.264423
87
0.661085
[ "MIT" ]
UPBIoT/renode-iot
lib/termsharp/xwt/Xwt.WPF/Xwt.WPFBackend/MenuItemBackend.cs
5,257
C#
using System.Text; using ORA.API; using ORA.API.Encryption; using Xunit; using FluentAssertions; using ORA.Core.Encryption; namespace ORA.Core.Tests.Encryption { public class CipherTests : IClassFixture<CoreInitializationFixture> { [Fact] public void RsaCipherTests() { ...
28.407407
109
0.597132
[ "MIT" ]
Crab-Wave/ora
ORA.Core.Tests/Encryption/CipherTests.cs
743
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; namespace Silk.NET.Core.Attributes { /// <summary> /// An attribute specifying an inject point to be injected by SilkTouch. /// </summary>...
32.530303
172
0.582673
[ "MIT" ]
ThomasMiz/Silk.NET
src/Core/Silk.NET.Core/Attributes/InjectAttribute.cs
2,149
C#
// <copyright file="DelimitedReaderTests.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // http://mathnetnumerics.codeplex.com // // Copyright (c) 2009-2013 Math.NET // // Permission is hereby granted, free of ch...
41.178571
170
0.551412
[ "MIT" ]
artu001/mathnet-numerics-data
src/UnitTests/Text/DelimitedReaderTests.cs
10,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> //--...
39.740741
151
0.583411
[ "MIT" ]
mirzaevolution/ThumbnailSharp.Client
ThumbnailSharp.Gui/Properties/Settings.Designer.cs
1,075
C#
using Modelo; using System; using System.Data; using System.Data.SqlClient; namespace DAL { public class DAO_ItensVenda { private DAO_Conexao conexao; public DAO_ItensVenda(DAO_Conexao con) { this.conexao = con; } //METODO INCLUIR public void Inclu...
42.364407
172
0.614923
[ "MIT" ]
lucasestevan/SistemaVendasC-
SistemaVendas/DAL/DAO_ItensVenda.cs
5,001
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...
26.486842
109
0.596622
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/SecurityHub/Generated/Model/AwsRdsDbProcessorFeature.cs
2,013
C#
using System; namespace RuntimeEvents { /// <summary> /// Define a processor class that can be used to process the rendering of Parameter Attribute. This attribute should be attached to /// a /*INSERT HERE*/ class object /// </summary> [AttributeUsage(AttributeTargets.Class, AllowMultiple = false,...
41.956522
153
0.605699
[ "MIT" ]
MitchCroft/RuntimeEvent
RuntimeEvents/Assets/Plugins/RuntimeEvents/Attributes/CustomParameterDrawerAttribute.cs
1,930
C#
using RehabKiosk.Controls; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; using System.Windows.Docu...
27.088106
167
0.548057
[ "MIT" ]
SiliconSquared/ChildrensRehab
Views/PopupMessageBox.xaml.cs
6,151
C#
using System; using InvertedTomato.IO.Buffers; namespace InvertedTomato { public static class ULongBufferExtensions { public static void Seed(this Buffer<UInt64> target, UInt64 start, UInt64 end) { for (var i = start; i <= end; i++) { target.Enqueue(i); } } } }
23.25
81
0.691756
[ "MIT" ]
invertedtomato/integer-compression
Test/ULongBufferExtensions.cs
281
C#
using DocuSign.eSign.Client; using System.Collections.Generic; namespace SdkTests { class TestConfig { public string Username { get; set; } public string Password { get; set; } public string IntegratorKey { get; set; } public string Host { get; set; } public ApiClient Ap...
157.636364
7,460
0.874952
[ "MIT" ]
Shyam200408/docusign-csharp-client
test/SdkTests/TestConfig.cs
10,404
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace AppBlocks.CodeGeneration.Roslyn.Common { internal static class ExpressionSyntaxExtensions { public static ExpressionSyntax Parenthesize( this ExpressionSyntax expression, bool includeElasticT...
41.795455
102
0.740076
[ "MIT" ]
as-ivanov/AppBlocks
src/AppBlocks.CodeGeneration.Roslyn.Common/ExpressionSyntaxExtensions.cs
1,839
C#
#region Using directives using System; using System.Collections.Generic; using System.Linq; using FpML.V5r10.Reporting; using FpML.V5r10.Reporting.ModelFramework; using Orion.Analytics.Interpolations; using Orion.Analytics.Interpolations.Points; using Orion.Analytics.Interpolations.Spaces; #endregion namespace Orion...
42.861111
203
0.687946
[ "BSD-3-Clause" ]
mmrath/Highlander.Net
FpML.V5r10.Components/CurveEngine/PricingStructures/Interpolators/VolCurveInterpolator.cs
3,086
C#
using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Test_Project_Hotel.Data; using Test_Project_Hotel.ViewModels.Workers; using Test_Project_Hotel.Models; using System.Collections.Generic; using Test_Proje...
34.866667
145
0.516252
[ "Apache-2.0" ]
Nikan888/CWorkASPNet
Test_Project_Hotel/Controllers/WorkersController.cs
5,812
C#
/******************************************************************* * Copyright(c) * 文件名称: iOSAlbum.cs * 简要描述: * 作者: 千喜 * 邮箱: 2470460089@qq.com ******************************************************************/ namespace AFramework { #if UNITY_IPHONE using System.Runtime.InteropServices; public class iOSAlbu...
29.71875
74
0.582545
[ "Apache-2.0" ]
webloverand/AFramework
AFramework/Assets/Scripts/AFramework/Runtime/6.Native/iOSAdapter/iOSAlbum.cs
979
C#
/* * convertapi * * Convert API lets you effortlessly convert file formats and types. * * OpenAPI spec version: v1 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Ge...
35.572519
121
0.589914
[ "Apache-2.0" ]
Cloudmersive/Cloudmersive.APIClient.NETCore.DocumentAndDataConvert
client/src/Cloudmersive.APIClient.NETCore.DocumentAndDataConvert/Model/ReplaceStringSimpleResponse.cs
4,660
C#
foreach (var file in Directory.GetFiles("c:\\ImgRoute\\Caixa9 D1\\", "*.*")) { var imag = Path.GetFileNameWithoutExtension(file); if (imag.Length == 16) { //("Numero do auto correto"); } else { //("Numero do auto invalido"); } } //https://pt.stackoverflow.com/q/46191/101
27.727273
78
0.593443
[ "MIT" ]
Everton75/estudo
CSharp/IO/GetFilesInDir.cs
305
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace iHospital.Models { public class AppointmentViewModel { public string Id { get; set; } public string PatientFName { get; set; } public string PatientLName { get; set; } public...
26.923077
50
0.637143
[ "MIT" ]
nhatpk/iHospital
iHospital/Models/AppointmentViewModels.cs
702
C#
using LogicMonitor.Api.Attributes; using LogicMonitor.Api.Collectors; using LogicMonitor.Api.Converters; using LogicMonitor.Api.Filters; using LogicMonitor.Api.LogicModules; using LogicMonitor.Api.OpsNotes; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Newtonsoft.Json; using...
40.614623
332
0.704709
[ "MIT" ]
tdicks/LogicMonitor.Api
LogicMonitor.Api/PortalClient.cs
53,327
C#
using Claw.Blasts; using Claw.UI.Controls; using Claw.UI.Helper; using Claw.UI.Panels; using Claw.UI.Style; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System....
29.505882
101
0.582935
[ "MIT" ]
UserXXX/Claw
Claw/UI/Windows/ChooseIconWindow.xaml.cs
2,510
C#
using MO.Common.Lang; namespace MO.Bridge.Engine.Display { public class FReigon : FObject { } }
11.888889
34
0.672897
[ "Apache-2.0" ]
favedit/MoCross
Utiliy/Core/MuBridge/Engine/Display/FReigon.cs
109
C#
using Stratis.SmartContracts; /// <summary> /// Staking market contract used for managing available staking pools. /// </summary> public class OpdexStakingMarket : OpdexMarket, IOpdexStakingMarket { /// <summary> /// Constructor initializing the staking market. /// </summary> /// <param name="state">Sm...
32.021277
129
0.671096
[ "MIT" ]
Opdex/opdex-v1-core
src/Contracts/Markets/OpdexStakingMarket.cs
1,505
C#
using System; using System.Linq; using System.Windows; using System.Windows.Media; using HandyControl.Data; namespace HandyControl.Controls { public class SideMenu : HeaderedSimpleItemsControl { private SideMenuItem _selectedItem; private SideMenuItem _selectedHeader; private bool _i...
36.246212
189
0.490856
[ "MIT" ]
danwalmsley/HandyControls
src/Shared/HandyControl_Shared/Controls/SideMenu/SideMenu.cs
9,571
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PxgBot.Classes { public static class PXG { /// <summary> /// X, Y, Z position /// </summary> public class Position { public int X { ...
20.344828
48
0.462712
[ "MIT" ]
tassoruas/PxgBot
Classes/PXG.cs
592
C#
using System; using UnityEngine; namespace DoubTech.SpaceGameUtils.Orbit { [Serializable] public class Ellipse { [SerializeField] public float radiusX; [SerializeField] public float radiusY; public Vector2 Evaluate(float t) { var angle = Mathf.Deg2Rad * 360 * t;...
22.52381
48
0.579281
[ "MIT" ]
yolanother/UnitySpaceGameUtils
Scripts/Runtime/Orbit/Ellipse.cs
473
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; namespace StoreWebApp.Results { public class ChallengeResult : IHttpActionResult { public ChallengeResult(string logi...
29.030303
96
0.694154
[ "Apache-2.0" ]
OctopusCorporation/Store
StoreWebApp/StoreWebApp/Results/ChallengeResult.cs
960
C#
using System.Collections.Generic; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace BlazorHosted.Server.Controllers; [CsrfProtectionCorsPreflight] [Authorize(AuthenticationSchemes = CookieAuthenticationDefaults.Authenticatio...
29.05
87
0.748709
[ "MIT" ]
damienbod/PwaBlazorBffAzureB2C
BlazorBffAzureB2C/Server/Controllers/DirectApiController.cs
583
C#
// Lucene version compatibility level 4.8.1 using J2N.Collections.Generic.Extensions; using Lucene.Net.Analysis; using Lucene.Net.Documents; using Lucene.Net.Documents.Extensions; using Lucene.Net.Index; using Lucene.Net.Index.Extensions; using Lucene.Net.Join; using Lucene.Net.Search; using Lucene.Net.Search...
45.639975
210
0.528344
[ "Apache-2.0" ]
10088/lucenenet
src/Lucene.Net.Tests.Join/Support/TestBlockJoin.cs
71,918
C#
using NPOI.OpenXml4Net.Util; using System; using System.Collections.Generic; using System.IO; using System.Xml; using System.Xml.Serialization; namespace NPOI.OpenXmlFormats.Wordprocessing { [Serializable] [XmlRoot(Namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", IsNullable = true)] [XmlT...
24.651515
105
0.69453
[ "MIT" ]
iNeverSleeeeep/NPOI-For-Unity
NPOI.OpenXmlFormats.Wordprocessing/CT_TblGridChange.cs
1,627
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime:4.0.30319.42000 // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si // se vuelve a genera...
43.291667
95
0.6564
[ "MIT" ]
FernandoCalmet/DOTNET-6-ASPNET-Core-JSON-CRUD
WebAPI.JSON.CRUD/obj/Debug/net6.0/WebAPI.JSON.CRUD.AssemblyInfo.cs
1,044
C#
using System; using System.Collections.Generic; using NHapi.Base.Log; using NHapi.Model.V22.Group; using NHapi.Model.V22.Segment; using NHapi.Model.V22.Datatype; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; namespace NHapi.Model.V22.Message { ///<summary> /// Represents a NMD_N01 message structu...
30.851613
145
0.723338
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V22/Message/NMD_N01.cs
4,782
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...
34.164384
112
0.680433
[ "Apache-2.0" ]
ianb888/aws-sdk-net
sdk/src/Services/Athena/Generated/Model/Internal/MarshallTransformations/ResultConfigurationMarshaller.cs
2,494
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Runtime.Serialization; using System.Reflection; using TinyJson; using System.Collections; #nullable enable // Loosely based on https://github.co...
41.850242
157
0.495556
[ "MIT" ]
lucabol/LMustache
Mustache/NoJsonTextMustacheParser.cs
25,991
C#
////******************************************************************** //https://github.com/mehfuzh/LinqExtender/blob/master/License.txt //Copyright (c) 2007- 2010 LinqExtender Toolkit Project. //Project Modified by Intuit /******************************************************************************* * Copyright ...
29.085714
83
0.451375
[ "Apache-2.0" ]
ANSIOS-X9SAN-iOS-XR/QuickBooks-V3-DotNET-SDK
IPPDotNetDevKitCSV3/ThirdParty/Linq Extender/TreeNode.cs
4,072
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Security.Claims; using System.Threading.Tasks; using Autofac.Extras.Moq; using FizzWare.NBuilder; using FluentAssertions; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Moq; using NUnit.Framework; u...
45.468354
260
0.664811
[ "MIT" ]
hmcts/vh-video-web
VideoWeb/VideoWeb.UnitTests/Controllers/ConferenceController/GetConferenceByIdVHOTests.cs
7,184
C#
namespace CSharpCoin.windows.main { partial class AppReceiveWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
30.702128
107
0.548857
[ "MIT" ]
viduedo/CSharpCoin
CSharpCoin/windows/main/AppReceiveWindow.Designer.cs
1,445
C#
using Esri.ArcGISRuntime.Data; using Esri.ArcGISRuntime.Geometry; using Esri.ArcGISRuntime.Mapping; using Esri.ArcGISRuntime.Symbology; using Esri.ArcGISRuntime.UI; using Esri.ArcGISRuntime.UI.Controls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; ...
35.80814
118
0.581101
[ "MIT" ]
soitwaterdemos/Arcgis-Runtime-Secondary-Developmen
MIX0300/ArcGISApp1/Controls/OtherTool/UnionCsy.xaml.cs
6,259
C#
using System.Text.Json.Serialization; namespace Horizon.Payment.Alipay.Response { /// <summary> /// AlipayMarketingCardUpdateResponse. /// </summary> public class AlipayMarketingCardUpdateResponse : AlipayResponse { /// <summary> /// 二级错误处理结果(如果公用返回结果为false,则可以看这个接口判断明细原因) 如果公用返回为...
26.588235
71
0.654867
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Response/AlipayMarketingCardUpdateResponse.cs
550
C#
using OpenKh.Engine; using OpenKh.Game.Field; using OpenKh.Game.Infrastructure; using System.Collections.Generic; using System.Numerics; using System.Text; using static OpenKh.Kh2.Ard.Event; namespace OpenKh.Game.Events { public class EventPlayer { private const int FramesPerSecond = 30; privat...
42.532895
134
0.446017
[ "Apache-2.0" ]
1234567890num/OpenKh
OpenKh.Game/Events/EventPlayer.cs
12,930
C#
using Nager.Country.Currencies; namespace Nager.Country.CountryInfos { /// <summary> /// Kenya /// </summary> public class KenyaCountryInfo : ICountryInfo { ///<inheritdoc/> public string CommonName => "Kenya"; ///<inheritdoc/> public string OfficialName => "Republic...
28.173913
70
0.542438
[ "MIT" ]
OpenBoxLab/Nager.Country
src/Nager.Country/CountryInfos/KenyaCountryInfo.cs
1,296
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Protocols.TestSuites.FileSharing.Common.Adapter; using Microsoft.Protocols.TestTools; using Microsoft.Protocols.TestTools.StackSdk.Networking.Rpce; usin...
51.390476
179
0.5596
[ "MIT" ]
G-arj/WindowsProtocolTestSuites
TestSuites/FileServer/src/ServerFailover/TestSuite/SWN/SWNTestUtility.cs
26,980
C#
using System; namespace CallTargetNativeTest { internal abstract class AbstractClass { public abstract void VoidMethod(string name); } internal class Impl01OfAbstract : AbstractClass { public override void VoidMethod(string name) { } public void OtherMethod...
21.188679
65
0.599288
[ "Apache-2.0" ]
DataDog/dd-trace-csharp
tracer/test/test-applications/instrumentation/CallTargetNativeTest/Derived.cs
1,123
C#
/* Copyright 2013 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://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
40.565022
130
0.54256
[ "Apache-2.0" ]
tsahi/data-access-application-block
BVT/Data.BVT/CommonDatabase/DTCFixture.cs
9,046
C#
// Copyright (c) 2007-2018 Thong Nguyen (tumtumtum@gmail.com) using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalys...
36.784657
301
0.704914
[ "MIT" ]
asizikov/Shaolinq
src/Shaolinq.AsyncRewriter/Rewriter.cs
27,333
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...
54.901235
289
0.642793
[ "MIT" ]
Agazoth/azure-powershell
src/Elastic/generated/runtime/MessageAttributeHelper.cs
8,735
C#
using System; namespace YouGe.Core.Repositorys { public class EmptyClass { public EmptyClass() { } } }
12.727273
32
0.55
[ "MIT" ]
chenqiangdage/YouGe.Core
YouGe.Core.Repositorys/EmptyClass.cs
142
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. namespace Mi...
52.244898
245
0.59362
[ "MIT" ]
Agazoth/azure-powershell
src/Migrate/generated/api/Models/Api20210210/ReplicationAgentDetails.TypeConverter.cs
7,534
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 ...
38.428571
89
0.680297
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.GeneratedSnippets/CloudTasksClient.SetIamPolicyRequestObjectSnippet.g.cs
1,883
C#
#region Usings using System; using System.Linq.Expressions; using JetBrains.Annotations; #endregion namespace Extend { /// <summary> /// Class containing some extension methods for <see cref="object" />. /// </summary> public static partial class ObjectEx { /// <summar...
46.731707
151
0.609603
[ "MIT" ]
DaveSenn/Extend
.Src/Extend/System.Object/Generic/Object.Generic.GetName.cs
3,753
C#
using System; namespace Lucene.Net.Search.Spell { /* * 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 t...
34.198953
129
0.442437
[ "Apache-2.0" ]
10088/lucenenet
src/Lucene.Net.Suggest/Spell/NGramDistance.cs
6,534
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("09...
38.459459
84
0.748419
[ "MIT" ]
SHAMMY1/Telerik-Academy
Homeworks/CSharpPartOne/02.PrimitiveDataTypes/Primitive-Data-Types-Homework/09.ExchangeVariableValues/Properties/AssemblyInfo.cs
1,426
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.ApplicationModel; namespace uwpApplicationBase { class IdentityChecker { public static bool SampleIdentityConfigurationCorrect(String AzureClientId = "Not applicable") ...
29.243243
131
0.565619
[ "MIT" ]
freistli/WinStoreSDKCPP
uwpApplicationBase/IdentityChecker.cs
1,084
C#
/* * Copyright 2010-2013 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...
35.786667
194
0.63003
[ "Apache-2.0" ]
jdluzen/aws-sdk-net-android
AWSSDK/Amazon.ElasticBeanstalk/Model/Internal/MarshallTransformations/DescribeApplicationsResultUnmarshaller.cs
2,684
C#
using System; using System.Collections.Generic; using System.Data; using System.DrawingCore; using System.DrawingCore.Imaging; using System.IO; using System.Runtime.Serialization.Json; using System.Security.Cryptography; using System.Text; namespace Common { public class CommonHelper { #region 加解密 ...
33.687296
142
0.491008
[ "Apache-2.0" ]
adminQQF/TemplateCore
Common/CommonHelper.cs
10,564
C#
[TaskCategoryAttribute] // RVA: 0x156940 Offset: 0x156A41 VA: 0x156940 [TaskDescriptionAttribute] // RVA: 0x156940 Offset: 0x156A41 VA: 0x156940 public class CrossFadeQueued : Action // TypeDefIndex: 11419 { // Fields [TooltipAttribute] // RVA: 0x194440 Offset: 0x194541 VA: 0x194440 public SharedGameObject targetGam...
35.941176
73
0.746318
[ "MIT" ]
SinsofSloth/RF5-global-metadata
BehaviorDesigner/Runtime/Tasks/Unity/UnityAnimation/CrossFadeQueued.cs
1,222
C#
using EarTrumpet.DataModel; using EarTrumpet.Interop; using EarTrumpet.Interop.Helpers; using System; using System.Collections; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.I...
37.464539
185
0.524941
[ "MIT" ]
ADeltaX/EarTrumpet
EarTrumpet/UI/Helpers/ShellNotifyIcon.cs
10,286
C#
using CocoStudio.Core; using CocoStudio.Model.DataModel; using CocoStudio.Projects; using MonoDevelop.Core.Serialization; using System; namespace CocoStudio.Model { [DataModelExtension, DataInclude(typeof(ResourceData))] public class ResourceItemData : ResourceData, IDataModel, IDataConvert { private ResourceItem...
23.296296
109
0.737679
[ "MIT" ]
gdbobu/CocoStudio2.0.6
CocoStudio.Model/CocoStudio.Model/ResourceItemData.cs
1,258
C#
// <auto-generated /> using DemoShop.UI.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.I...
32.775457
117
0.450809
[ "Apache-2.0" ]
pprometey/DemoShop
DemoShop/Migrations/20180629072417_toDecimal.Designer.cs
12,555
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 RuntimeTypeInfo = System.Reflection.TypeLoading.RoType; namespace System.Reflection.Runtime.BindingFlagSupport { /// <summary> /// Po...
40.229167
165
0.698084
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/Runtime/BindingFlagSupport/FieldPolicies.cs
1,931
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using Azure.AI.Language.Conversations.Models; using Azure.Core; namespace Azure.AI.Language.Conversations { /// <summary> The Job...
41.394366
245
0.632528
[ "MIT" ]
damodaravadhani/azure-sdk-for-net
sdk/cognitivelanguage/Azure.AI.Language.Conversations/src/Models/GeneratedModels/JobStateAutoGenerated.cs
2,939
C#
#region MIT license // // MIT license // // Copyright (c) 2007-2008 Jiri Moudry, Pascal Craponne // // 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, includin...
49.935135
146
0.596125
[ "Apache-2.0" ]
antiufo/mono
mcs/class/System.Data.Linq/src/DbLinq/Data/Linq/Sugar/ExpressionMutator/Implementation/BinaryExpressionMutator.cs
9,240
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos { using System; using System.Collections.Generic; using System.Diagnostics; using ...
34.3125
153
0.595173
[ "MIT" ]
ElasticCoder/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/DirectContractTests.cs
2,198
C#
using System; public enum AchievementTargetId { NONE, UNIT, WARBAND, PROFILE, MAX_VALUE }
8.818182
31
0.731959
[ "CC0-1.0" ]
FreyaFreed/mordheim
Assembly-CSharp/AchievementTargetId.cs
99
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace Anf.ChannelModel.Entity { public class AnfBookshelf { [Key] public long Id { get; set; } ...
23.555556
72
0.639151
[ "BSD-3-Clause" ]
Cricle/Anf
Platforms/Anf.ChannelModel/Entity/AnfBookshelf.cs
850
C#
/* * Copyright 2012-2020 The Pkcs11Interop 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 by app...
34.455224
135
0.595841
[ "Apache-2.0" ]
ConnectionMaster/Pkcs11Interop
src/Pkcs11Interop/HighLevelAPI40/MechanismParams/CkWtlsRandomData.cs
4,617
C#
 using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using System.Collections.Generic; using System.Linq; namespace UdonSharp.Compiler { public class UdonSharpSyntaxWalker : CSharpSyntaxWalker { public enum UdonSharpSyntaxWalkerDepth {...
37.819672
180
0.636758
[ "MIT" ]
PhaxeNor/UdonSharp
Assets/UdonSharp/Editor/UdonSharpSyntaxWalker.cs
6,923
C#
/*<FILE_LICENSE> * Azos (A to Z Application Operating System) Framework * The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. </FILE_LICENSE>*/ using System; using System.Collections.Generic; using System.Runtime.Seri...
31.588415
146
0.594537
[ "MIT" ]
JohnPKosh/azos
src/Azos/Serialization/Slim/RefPool.cs
10,361
C#
using ObserverPattern.Others; namespace ObserverPattern { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
38.925926
140
0.594037
[ "CC0-1.0" ]
Lenscorpx/GOF_DesignPatterns_Fun
ObserverPattern/MainForm.Designer.cs
3,155
C#
using System.Threading; namespace JBToolkit.Culture { /// <summary> /// Current culture helper /// </summary> public class CultureHelper { /// <summary> /// GB uses the date format: dd-MM-yyyy /// </summary> public static void GloballySetCultureToGB() { ...
26.3
72
0.591255
[ "MIT" ]
fcrimins/YTMusicUploader
YTMusicUploader/Helpers/CultureHelper.cs
528
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v1/services/geographic_view_service.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google....
39.664948
233
0.71371
[ "Apache-2.0" ]
chrisdunelm/google-ads-dotnet
src/V1/Stubs/GeographicViewService.cs
7,695
C#
// borrowed shamelessly and enhanced from Bag of Tricks https://www.nexusmods.com/pathfinderkingmaker/mods/26, which is under the MIT License using HarmonyLib; using Kingmaker; //using Kingmaker.Controllers.GlobalMap; using Kingmaker.EntitySystem.Entities; using Kingmaker.EntitySystem.Stats; //using Kingmaker.UI._Con...
50.788462
333
0.623249
[ "MIT" ]
Aephiex/ToyBox
ToyBox/classes/MonkeyPatchin/BagOfPatches/NewChar.cs
5,284
C#
using System; using System.Collections.Generic; using UnityEngine; using System.Collections; using Zenject; #pragma warning disable 649 #pragma warning disable 618 namespace Zenject.Asteroids { public class Ship : MonoBehaviour { [SerializeField] MeshRenderer _meshRenderer; #if !UNITY_2018 ...
20.583333
60
0.549451
[ "MIT" ]
MizoTake/SuperPK
Assets/Plugins/Zenject/OptionalExtras/SampleGame1 (Beginner)/Scripts/Ship/Ship.cs
1,729
C#