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 Alabo.App.Share.HuDong.Domain.Entities; using Alabo.Datas.UnitOfWorks; using Alabo.Domains.Repositories; using MongoDB.Bson; namespace Alabo.App.Share.HuDong.Domain.Repositories { public class HudongRecordRepository : RepositoryMongo<HudongRecord, ObjectId>, IHudongRecordRepository { public Hudon...
29.142857
106
0.757353
[ "MIT" ]
tongxin3267/alabo
src/05.cloud/08-Alabo.Cloud.Hudong/Domain/Repositories/HudongRecordRepository.cs
408
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Business.Log; using System.Data; using Web.Library; using Types.Enums; namespace Web.Admin { public partial class Log : MasterOfMaster { protected override M...
34.8
240
0.610886
[ "MIT" ]
onuraltun/BusinessAngelNetwork
Web/Admin/Log.aspx.cs
2,965
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.ObjectModel; using Windows.ApplicationModel.Contacts; using Windows.Storage; using Windows.UI.Xaml; using Windows.UI.Xaml.Auto...
38.010989
155
0.586971
[ "MIT" ]
55995409/microsoft-ui-xaml
dev/PersonPicture/TestUI/PersonPicturePage.xaml.cs
10,379
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microso...
43.330769
218
0.814841
[ "MIT" ]
BillWagner/roslyn
src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/CodeActions/CSharpCodeFixOptionsProvider.cs
5,635
C#
using System.Collections.Generic; using System.Text.Json.Serialization; namespace JL.PoS { public class JmdictWc { [JsonPropertyName("S")] public string Spelling { get; set; } [JsonPropertyName("R")] public List<string> Readings { get; set; } [JsonPropertyName("C")] public List<strin...
26.045455
89
0.619546
[ "Apache-2.0" ]
thovip119/JL
JL/PoS/JmdictWc.cs
575
C#
using CadEditor; using System; //css_include ninja_gaiden_3/NinjaGaiden3Utils.cs; public class Data { public OffsetRec getScreensOffset() { return new OffsetRec(0x1ab6, 1 , 6*8, 6, 8); } public OffsetRec getBlocksOffset() { return new OffsetRec(0x5010 , 1 , 0x1000); } public int getBlocksCount() ...
37.784314
96
0.648158
[ "MIT" ]
spiiin/CadEditor
CadEditor/settings_nes/ninja_gaiden_3/Settings_NinjaGaiden3_6-3a.cs
1,927
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
32.08
84
0.486284
[ "MPL-2.0" ]
asine/mixerp
src/FrontEnd/Modules/Finance/Widgets/WorkflowWidget.ascx.designer.cs
804
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.PowerPlatform.Formulas.Tools; using Microsoft.PowerPlatform.Formulas.Tools.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Data; using System.IO; using System.IO.Compression; using System....
40.912409
131
0.57645
[ "MIT" ]
jack-work/PowerApps-Language-Tooling
src/PAModelTests/DataSourceTests.cs
5,605
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Xml.Linq; using OpenAC.Net.Core; using OpenAC.Net.Core.Extensions; using OpenAC.Net.DFe.Core.Attributes; namespace OpenAC.Net.DFe.Core.Serializer; internal static class InterfaceSerializer { public...
44.936508
135
0.66443
[ "MIT" ]
OpenAC-Net/OpenAC.Net.DFe.Core
src/OpenAC.Net.DFe.Core/Serializer/InterfaceSerializer.cs
2,831
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Inventor; namespace InventorShims.TranslatorShim { /// <summary>Exports a document to a STL file</summary> public class StlExporter { ///<summary>The document to be exported</s...
39.03871
169
0.61494
[ "MIT" ]
InventorCode/InventorShims
src/InventorShims/TranslatorShim/StlExporter.cs
6,053
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Button : MonoBehaviour { public ParticleSystemRenderer psr; public float PsEmission; // Start is called before the first frame update void Start() { psr = GetComponent<ParticleSystemRenderer>(); ...
17.538462
53
0.640351
[ "MIT" ]
SangwookYoo/SimpleFlameReaction-unity
Assets/Scripts/Button.cs
458
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections; using System.Collections.Generic; using Microsoft.ML.Data; namespace Micros...
61.375
145
0.664196
[ "MIT" ]
1Crazymoney/machinelearning
src/Microsoft.ML.DataView/IDataView.cs
12,275
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...
32.121951
114
0.650721
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/ServiceFabricMesh/V20180901Preview/Inputs/ApplicationScopedVolumeCreationParametersServiceFabricVolumeDiskArgs.cs
1,317
C#
namespace VirtualRadar.WinForms { partial class AircraftOnlineLookupLogView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
47.012903
158
0.597502
[ "BSD-3-Clause" ]
AlexAX135/vrs
VirtualRadar.WinForms/AircraftOnlineLookupLogView.Designer.cs
7,289
C#
using UnityEngine; using PureCheat.API; namespace PureCheat.Addons { public class RemoveItems : PureModSystem { public override string ModName => "Remove items"; public override void OnUpdate() { if (Input.GetKey(KeyCode.LeftAlt) && Input.GetMouseButton(1) && Input.GetMous...
30.333333
104
0.567766
[ "MIT" ]
DanteOtter/PureCheat
PureCheat/PureCheat/Addons/RemoveItems.cs
821
C#
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace WebApi { public static class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } public static IWebHostBui...
29.3
95
0.674061
[ "MIT" ]
Avertere7/floiir
backend/WebApi/Program.cs
588
C#
// // Options.cs // // Authors: // Jonathan Pryor <jpryor@novell.com>, <Jonathan.Pryor@microsoft.com> // Federico Di Gregorio <fog@initd.org> // Rolf Bjarne Kvinge <rolf@xamarin.com> // // Copyright (C) 2008 Novell (http://www.novell.com) // Copyright (C) 2009 Federico Di Gregorio. // Copyright (C) 2012 Xamarin Inc ...
34.340741
101
0.654228
[ "MIT" ]
adamlaska/WalletWasabi
WalletWasabi/Mono/StringCoda.cs
9,272
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immut...
54.446009
255
0.668104
[ "MIT" ]
AlexanderSemenyak/roslyn
src/Features/Core/Portable/AddImport/AbstractAddImportFeatureService.cs
34,793
C#
using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Newtonsoft.Json.Linq; using PnP.Core.Model; using PnP.Core.Model.SharePoint; using PnP.Core.QueryModel; using PnP.Core.Transformation.Model; using PnP...
47.691436
232
0.580717
[ "MIT" ]
JackStrap/pnpcore
src/sdk/PnP.Core.Transformation/Services/Core/DefaultPageGenerator.cs
37,869
C#
/* JustMock Lite Copyright © 2010-2014 Telerik EAD 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 ...
28.307692
75
0.751359
[ "Apache-2.0" ]
tailsu/JustMockLite
Telerik.JustMock.DemoLib/OpenAccess/VerifyModel.cs
737
C#
using System; using System.Threading.Tasks; namespace AppCore { public class Messenger { public async Task<string> GetMessage(string name) { return await Task.FromResult("hola " + name); } } }
16.266667
57
0.598361
[ "MIT" ]
LuisTejedaS/CSDCourseTemplate-dotnet
src/AppCore/Messenger.cs
246
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities; using Abp.Domain.Entities.Auditing; using Abp.Timing; namespace RoyalEstate.Entities{ public class EstateType : Entity, IHasCreationTime...
28.118644
68
0.597951
[ "MIT" ]
kamal24h/Royal
src/RoyalEstate.Core/Entities/EstateType.cs
1,661
C#
//===============================================================// // Taken and modified from: https://github.com/TGEnigma/Amicitia // //===============================================================// using System.Runtime.CompilerServices; namespace MikuMikuLibrary.IO.Common { public static class AlignmentUti...
33.428571
94
0.504884
[ "MIT" ]
nastys/MikuMikuLibrary
MikuMikuLibrary/IO/Common/AlignmentUtilities.cs
1,640
C#
// Copyright (c) Microsoft Corporation. All rights reserved. using System.Collections.Generic; using ColorSyntax.Common; namespace ColorSyntax.Compilation.Languages { public class Php : ILanguage { public string Id { get { return LanguageId.Php; } } public string...
38.69
613
0.360817
[ "Apache-2.0" ]
UWPCommunity/Quarrel
old/Discord UWP/Markdown/ColorCode/ColorCode.Core/Compilation/Languages/Php.cs
3,871
C#
using Aspose.OCR.Live.Demos.UI.Config; using Aspose.OCR.Live.Demos.UI.Models; using Aspose.OCR.Live.Demos.UI.Services; using Aspose.OCR.Live.Demos.UI.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Net.Http; namespace Aspose.OCR.Live.Demo...
25.871429
279
0.73661
[ "MIT" ]
aspose-ocr/Aspose.OCR-for-.NET
Demos/src/Aspose.OCR.Live.Demos.UI/Controllers/BaseController.cs
1,811
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 ...
41.915254
98
0.751314
[ "MIT" ]
trigger-death/TerrariaMidiPlayer
TerrariaMidiPlayer/Properties/AssemblyInfo.cs
2,476
C#
using Dotnet5.GraphQL3.Domain.Abstractions.Entities; namespace Dotnet5.GraphQL3.Domain.Abstractions.Builders { public interface IBuilder<out TEntity, TId> where TEntity : Entity<TId> where TId : struct { TEntity Build(); } }
23.818182
55
0.683206
[ "MIT" ]
DBollella/Dotnet5.GraphQL3.WebApplication
src/Dotnet5.GraphQL3.Domain.Abstractions/Builders/IBuilder.cs
264
C#
class Program { static void Main(string[] args) { string destination = "default"; switch (destination) { case "Inventory": AddToInventory(); break; case "Hotbar": AddToHotbar(); default: Debug.Log("Destination Unknown"); break; } } static void AddToInventory(...
18.833333
39
0.586283
[ "Apache-2.0" ]
thufv/DeepFix-C-
data/Mutation/CS0163_2_mutation_15/[E]CS0163.cs
454
C#
// Copyright (c) 2020 Yann Crumeyrolle. All rights reserved. // Licensed under the MIT license. See LICENSE in the project root for license information. using System; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace JsonWebToken.Cryptography { /// <...
40.774648
172
0.582383
[ "MIT" ]
signature-opensource/Jwt
src/JsonWebToken/Cryptography/AesKeyWrapper.cs
5,792
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.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using CodecToolSet.Core; using CodecToolSet.Core.RFXD...
36.887324
151
0.543337
[ "MIT" ]
G-arj/WindowsProtocolTestSuites
TestSuites/RDP/Tools/RDPToolSet/RDPToolSet.Web/Controllers/RFXDecodeController.cs
5,240
C#
using System; using System.Configuration; using System.Linq; using System.Net; using System.Reflection; using System.Threading.Tasks; using NetTelegramBotApi; using NetTelegramBotApi.Requests; using NetTelegramBotApi.Types; namespace TelegramBotDemo { public class Program { private static bool stopMe ...
48.185185
167
0.417152
[ "MIT" ]
ghorbani77/NetTelegramBotApi
TelegramBotDemo/Program.cs
9,121
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.Spice.Interfaces.Models { using Newtonsoft.Json; using System.Collections; using System.Collections....
28.78
144
0.625434
[ "Apache-2.0" ]
BrendanBeachBC/jag-spd-spice
interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMTraceInfo.cs
1,439
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using BenchmarkDotNet.Analysers; using BenchmarkDotNet.Columns; using BenchmarkDotNet.Diagnosers; using BenchmarkDotNet.Exporters; using BenchmarkDotNet.Extensions; using BenchmarkDotNet.Filters; using BenchmarkDotNet.Jobs; using Ben...
46.085714
147
0.663236
[ "MIT" ]
dvorn/BenchmarkDotNet
src/BenchmarkDotNet/Configs/ManualConfig.cs
8,067
C#
using eSocialBr.Classes.Enums; using System; using System.Collections.Generic; using System.Text; namespace eSocialBr.Classes { /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.1055.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] ...
35.982759
129
0.637278
[ "MIT" ]
AOPack/eSocialBr
eSocialBr/eSocialBr.Classes/X509DataType.cs
2,089
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Reflection; namespace EpgTimer { public class MenuManager { private Dictionary<CtxmCode, CtxmData> DefCtxmData;//デフォルトのコンテ...
48.958621
165
0.591656
[ "MIT" ]
nexus7ici/tkntrec
EpgTimer/EpgTimer/Menu/MenuManager.cs
47,246
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
28.844828
81
0.610281
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Iecp/V20210914/Models/VolumeConfigMapKeyToPath.cs
1,701
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace DevAssessment.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a differen...
23.095238
91
0.635052
[ "MIT" ]
abdul-wasey/DevAssessment
src/DevAssessment.iOS/Main.cs
487
C#
/************************************************************************************ Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved. Licensed under the Oculus VR Rift SDK License Version 3.3 (the "License"); you may not use the Oculus VR Rift SDK except in compliance with the License, which is pr...
25.484848
145
0.637167
[ "MIT" ]
mrayy/TxKit
Assets/Libraries/OVR/Scripts/OVRDisplay.cs
5,887
C#
#if NETFRAMEWORK using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Dependencies; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Options; using Microsoft.Owin....
34.719101
142
0.662783
[ "MIT" ]
MessiDaGod/Stl.Fusion
src/Stl.Testing/Compatibility/OwinWebApiServer.cs
6,180
C#
using ComposerCore.Extensibility; namespace ComposerCore.CompositionalQueries { public class SimpleValueQuery : ICompositionalQuery { public SimpleValueQuery(object value) { Value = value; } #region Implementation of ICompositionalQuery public object Query...
20.214286
55
0.583039
[ "MIT" ]
clay-one/composer-core
src/ComposerCore/CompositionalQueries/SimpleValueQuery.cs
568
C#
using Mapster; using Meiam.System.Hostd.Authorization; using Meiam.System.Hostd.Extensions; using Meiam.System.Interfaces; using Meiam.System.Model; using Meiam.System.Model.Dto; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using SqlSugar; using System; using System.Linq; using System.Threading....
29.236686
186
0.541996
[ "Apache-2.0" ]
91270/Meiam.System
Meiam.System.Hostd/Controllers/System/PowersController.cs
5,187
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------...
34.785714
89
0.506776
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
51Degrees/.NET-Device-Detection
Detector Web Site/Detector.Master.designer.cs
2,437
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(AudioSource))] public class SoundOnCollision : MonoBehaviour { public AudioClip sound; public float volume = 1.0f; void OnCollisionEnter(Collision c) { if (!c.other.gameObject.GetComponent<Pl...
23.315789
75
0.697517
[ "MIT" ]
jehna/bumper-car-deluxe
Assets/Scripts/SoundOnCollision.cs
445
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 ...
18.368852
96
0.623159
[ "Apache-2.0" ]
chys0404/aliyun-openapi-net-sdk
aliyun-net-sdk-imm/Imm/Model/V20170906/UpdateImageRequest.cs
4,482
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.612903
151
0.584343
[ "MIT" ]
jupaol/learning.containers
netBuildServer/src/FullNetFramework4.7/WpfApp1_FullDotNet/Properties/Settings.Designer.cs
1,075
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class SplashSceneController : MonoBehaviour { public Slider slider; // public Text progressText; void Start () { // LoadLevel(); slider.gameObject....
24.553191
70
0.60052
[ "Apache-2.0" ]
oviebd/Ninza-Struggle
Assets/Scripts/Ui/SplashSceneController.cs
1,156
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Clean.Architecture.Web.Migrations { public partial class initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Categories", ...
40.157534
95
0.464097
[ "MIT" ]
hasibibrahimi/Clean.Architecture
src/Clean.Architecture.Web/Migrations/20210713082941_initial.cs
5,865
C#
using System; using System.Collections.Generic; namespace TranscendenceChat.ServerClient.Entities.Ws.Requests { public class CreateGroupChatRequest : BaseRequest { public List<long> Participants { get; set; } public string GroupName { get; set; } } public class CreateGroupChatRe...
20.947368
61
0.673367
[ "MIT" ]
tamifist/Transcendence
TranscendenceChat.ServerClient/Ws/Requests/CreateGroupChatRequest.cs
400
C#
/* * RESTAPI Service * * RESTful API * * OpenAPI spec version: 2.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; usi...
35.682927
161
0.584928
[ "MIT" ]
GeoSCADA/Driver-SELogger
IO.Swagger/Model/SampleGetSamplesScalarByStreamNotFoundResponseBody.cs
5,852
C#
namespace RayCarrot.RCP.Metro { /// <summary> /// The Rayman version for TPLS /// </summary> public enum Utility_Rayman1_TPLS_RaymanVersion { /// <summary> /// Auto detect version /// </summary> Auto, /// <summary> /// Version 1.00 /// </summ...
18.981132
50
0.419483
[ "MIT" ]
RayCarrot/RayCarrot.RCP.Metro
src/RayCarrot.RCP.Metro/Utilities/Games/Rayman 1/TPLS/Utility_Rayman1_TPLS_RaymanVersion.cs
1,008
C#
namespace Legion.Repositories { using System; using System.Threading.Tasks; using Legion.Configuration; using Legion.Models.Data; using MongoDB.Driver; using MongoDB.Driver.Linq; public class UserRepository : IUserRepository { private readonly IMongoCollection<User> userCollec...
28.739726
125
0.583889
[ "MIT" ]
blacktau/legion-react-dotnet-mongo
Legion/Repositories/UserRepository.cs
2,098
C#
#region Copyright (C) 2017 Kevin (OSS开源实验室) 公众号:osscore /*************************************************************************** *   文件功能描述:OSSCore插件 —— 阿里云 短信请求实体 * *   创建人: Kevin * 创建人Email:1985088337@qq.com * 创建日期:2017-10-22 * *******************************************************************...
22.363636
78
0.447832
[ "Apache-2.0" ]
KevinWG/OSS.Clients.SaaS
SMS/OSS.Clients.SMS.Ali/Reqs/SendReq.cs
1,694
C#
 // Copyright (c) Dark Crystal Games. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using UnityEditor; using UnityEngine; using DarkCrystal.CommandLine; namespace DarkCrystal.Sample { public class CommandLineWindowWithParameter : Co...
31.84375
127
0.561825
[ "MIT" ]
KsanfFillum/DarkLine
DarkCrystal/Sample/EditorWindows/CommandLineWindowWithParameter.cs
2,040
C#
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy,...
47.012195
173
0.658885
[ "MIT" ]
Daniel-Oberlin/RepoTools---.NET
Newtonsoft.Json-6.0.8/Src/Newtonsoft.Json.Tests/Utilities/DateTimeUtilsTests.cs
11,567
C#
using System; using System.Xml.Serialization; namespace OpenTrack.ManualSoap.Requests { [Serializable] public class PartAddPart { [XmlElement] public string PartNumber { get; set; } [XmlElement] public string Manufacturer { get; set; } [XmlElement] public s...
22.095238
51
0.580819
[ "MIT" ]
BFrench81/OpenTrack.NET
OpenTrack.Lib/ManualSoap/Requests/PartAddPart.cs
928
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using BenchmarkDotNet.Attributes; using Elastic.Apm.Logging; using Elastic.Apm.Tests.Utilities; namespace Elastic...
38.712329
104
0.742746
[ "Apache-2.0" ]
AAimson/apm-agent-dotnet
test/Elastic.Apm.Benchmarks/TracerBenchmarks.cs
2,826
C#
using System; using System.Threading; using UnityEngine; namespace ETModel { [ObjectSystem] public class MoveComponentUpdateSystem : UpdateSystem<MoveComponent> { public override void Update(MoveComponent self) { self.Update(); } } public class MoveComponent : Component { public Vector3 Target; //...
23.858696
104
0.594533
[ "MIT" ]
xfs81150082/TumoET
Unity/Assets/Model/Module/Demo/MoveComponent.cs
2,235
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("FormCore")] [assembly: AssemblyDesc...
40.25
85
0.727398
[ "MIT" ]
pmq20/FormCore
Backend/Properties/AssemblyInfo.cs
1,451
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using Csla; using Csla.Serialization; namespace Csla.Test.BasicModern { [Serializable] public class Child : BusinessBase<Child> { public static rea...
20.724138
102
0.642263
[ "MIT" ]
Alstig/csla
Source/Csla.test/BasicModern/Child.cs
1,204
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace TemplateV2.Models.ServiceModels { public class RegisterRequest : IValidatableObject { [Required] [DataType(DataType.EmailAddress)] [Display(Name = "Email address")] public string EmailAddres...
27.870968
90
0.622685
[ "MIT" ]
chriskid824/MVC
TemplateV2.Models/ServiceModels/Account/RegisterRequest.cs
864
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"); yo...
48.830645
120
0.623287
[ "Apache-2.0" ]
Anomalous-Software/Lucene.NET
test/core/Search/TestFuzzyQuery.cs
18,165
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.Buffers.Binary; using System.Buffers.Text; using System.Collections; using System.Collections.Generic; using System.Collections.Concurrent; using System.Diagnostics.Code...
40.293907
227
0.544031
[ "MIT" ]
333fred/runtime
src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs
78,694
C#
using GalaSoft.MvvmLight.Messaging; using Logic.Messages.SchluesselMessages; using Logic.UI.SchluesselverwaltungViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data;...
34.746032
168
0.699406
[ "MIT" ]
Maersmann/Vereinsverwaltung
Vereinsverwaltung/UI/UI.Desktop/Schluesselverwaltung/SchluesselverteilungSchluesselUebersichtView.xaml.cs
2,192
C#
namespace SqlToCsharp { using System.Collections.Generic; static class TupleExtensions { public static IEnumerable<(T item, int index)> Indexed<T>(this IEnumerable<T> items) { int index = 0; foreach (var item in items) { yield return (ite...
21.555556
92
0.502577
[ "MIT" ]
guitarrapc/SqlToCsharp
src/SqlToCsharp/ValueTupleExtensions.cs
390
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class NextScenePoint : MonoBehaviour { public delegate void ChangeScene(int sceneIndex); public static event ChangeScene changeScene; void OnCollisionEnter2D(Collision2D other) { ...
27
81
0.745098
[ "MIT" ]
WesleyTavaresGameDev/RabbitPlatform
RabbitPlatform/Assets/2.Scripts/SceneSystem/NextScenePoint.cs
461
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Knowdes { public enum MetaDataType { Unset = 0, Title = 10, Tags = 11, Author = 12, CreationDate = 13, LastChangedDate = 14, Comment = 15, Desc...
27.882353
60
0.50211
[ "MIT" ]
BlackLambert/knowdes
Knowdes Project/Assets/Scripts/Data/MetaData/MetaDataType.cs
1,427
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FeelTheField { class PrintTheField { public static void PrintField(char[,] field) { StringBuilder fillTheField = new StringBuilder(); for (int i...
25.578947
72
0.476337
[ "MIT" ]
tutzy/SHADDA-BI-BORAN-WYL-Game
game/FeelTheField/PrintTheField.cs
974
C#
namespace BuddyApiClient.Core.Models.Request { public abstract record SortQuery : CollectionQuery { public SortDirection? SortDirection { get; set; } protected abstract string? GetSortBy(); private string? GetSortDirection() { return SortDirection switch ...
27.459459
79
0.587598
[ "MIT" ]
logikfabrik/BuddyApiClient
src/BuddyApiClient/Core/Models/Request/SortQuery.cs
1,018
C#
using System; using System.Collections.Generic; using System.Text; namespace Poco.Evolved.SQL.Database { /// <summary> /// The type of the database to use an appropriate SQL dialect. /// </summary> public enum DatabaseType { /// <summary> /// A generic dialect using ANSI SQL. This ...
23.708333
92
0.52812
[ "MIT" ]
spiegelp/Poco.Evolved
Poco.Evolved.SQL/Database/DatabaseType.cs
1,140
C#
using System; using System.Buffers; using System.IO; using Cursively.Inputs; namespace Cursively { /// <summary> /// Helpers to create inputs that describe CSV data streams synchronously. /// </summary> public static class CsvSyncInput { /// <summary> /// Creates an input that can...
39.881818
103
0.578527
[ "MIT" ]
airbreather/Cursively
src/Cursively/CsvSyncInput.cs
4,389
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; public class TodoContext : DbContext { public TodoContext (DbContextOptions<TodoContext> options) : base(options) { } public DbSet<T...
22.375
66
0.667598
[ "MIT" ]
TedLinTech/webapi
aspdotnetcore/TodoApi/Data/TodoContext.cs
358
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) #pragma warning disable using System; using System.Collections; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500.Style; us...
35.81701
202
0.442196
[ "MIT" ]
jakemoves/cohort-unity-client
Assets/Best HTTP (Pro)/BestHTTP/SecureProtocol/pkix/PkixNameConstraintValidator.cs
69,485
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Renci.SshNet.Common; using Renci.SshNet.Tests.Common; using Renci.SshNet.Tests.Properties; using System; using System.Diagnostics; using System.Linq; namespace Renci.SshNet.Tests.Classes { /// <summary> /// Implementation of the SSH File Transfer Proto...
31.639405
124
0.538127
[ "MIT" ]
Foreveryone-cz/SSH.NET-for-winsshfs
src/Renci.SshNet.Tests/Classes/SftpClientTest.ListDirectory.cs
8,513
C#
using System; namespace TorchSharp.JIT { public sealed class DynamicType : Type { internal DynamicType(IntPtr handle) : base(handle) { this.handle = new HType(handle, true); } } }
17.692308
58
0.582609
[ "MIT" ]
ganik/TorchSharp
TorchSharp/JIT/Type/DynamicType .cs
232
C#
using System.Collections.Generic; using System.Threading.Tasks; using SmartHome.DomainCore.Data.Models; namespace SmartHome.DomainCore.ServiceInterfaces.Role { public interface IGetRolesService { Task<IList<RoleModel>> GetAllRolesAsync(); Task<RoleModel> GetRoleByIdAsync(long roleId); ...
25.941176
62
0.741497
[ "MIT" ]
JanPalasek/smart-home-server
SmartHome.DomainCore/ServiceInterfaces/Role/IGetRolesService.cs
441
C#
using PagarMe.Models.Enums; using PagarMe.Utils; using Newtonsoft.Json; using Xunit; namespace PagarMe.Tests.Util { public class JsonSerializerUtilTest { [Fact] public void Should_Parse_Json_To_SnakeCase() { // Arrange JsonSerializerSettings settings = JsonSeria...
26.738095
110
0.560997
[ "MIT" ]
GabrielDeveloper/pagarme-dotnet
PagarMe.Tests/Util/JsonSerializerUtilTest.cs
1,125
C#
using System; using System.Collections.Generic; using System.Text; namespace FakeRpc.Core.Discovery.Consul { public class ConsulServiceDiscoveryOptions { public string BaseUrl{ get; set; } public bool UseHttps { get; set; } = true; } }
20.461538
50
0.68797
[ "MIT" ]
Regularly-Archive/2021
src/FakeRPC/FakeRPC.Core/FakeRPC.Core/Discovery/Consul/ConsulServiceDiscoveryOptions.cs
268
C#
using System.Drawing; using System.Globalization; using System.Text; namespace ApiReviewDotNet.Data; public sealed class ApiReviewLabel { public ApiReviewLabel(string name, string color, string description) { Name = name; Color = color; ...
30
88
0.56358
[ "MIT" ]
terrajobst/apireview.net
src/ApiReviewDotNet/Data/ApiReviewLabel.cs
1,622
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; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime; using System.Text; using System.Reflection.Runtime.General;...
47.710689
274
0.615792
[ "MIT" ]
AlexanderSemenyak/runtime
src/coreclr/nativeaot/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/TypeBuilder.cs
108,017
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.261 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
39.592593
151
0.582788
[ "MIT" ]
dcorns/OutlookAutoRules
OutlookAutoRules/Properties/Settings.Designer.cs
1,071
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace NetOffice.OfficeApi.Tools.Dialogs { /// <summary> /// Shows error information to the user /// </summary> public partial class E...
33.737643
152
0.569593
[ "MIT" ]
DominikPalo/NetOffice
Source/Office/Tools/Dialogs/ErrorDialog.cs
8,875
C#
/**** * Created by: Coleton Wheeler * Date Created: April 24, 2022 * * Last Edited by: * Last Edited: * * Description: AI Logic Handling ****/ using System.Collections; using System.Collections.Generic; using UnityEngine; public class AIScript : MonoBehaviour { public float delayBeforePlay = 2f; p...
27.128205
114
0.501575
[ "MIT" ]
Doggitoz/Rename
Oppozootion Unity/Assets/Scripts/AIScript.cs
3,174
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...
39.325
596
0.593611
[ "MIT" ]
0xced/azure-sdk-for-net
src/SDKs/Logic/Management.Logic/Generated/Models/WorkflowTriggerHistory.cs
6,292
C#
using System; using System.Collections.Generic; using ISAAR.MSolve.Numerical.LinearAlgebra.Interfaces; using ISAAR.MSolve.Numerical.LinearAlgebra; using ISAAR.MSolve.FEM.Interfaces; using ISAAR.MSolve.FEM.Entities; namespace ISAAR.MSolve.FEM.Elements { public class ConcentratedMass3D : IStructuralFiniteElement ...
30.270677
134
0.578987
[ "Apache-2.0" ]
odyred/RandomVariable_MonteCarlo
ISAAR.MSolve.FEM/Elements/ConcentratedMass3D.cs
4,028
C#
using System; using NUnit.Framework; namespace TaxCalculator.Tests { [Ignore("Not yet implemented")] class TaxCalculatorAfterFirstYearTest { private static readonly DateTime FirstOfApril2017 = new DateTime(2017, 4, 1); private TaxCalculator _taxCalculator; [SetUp] public v...
28.953488
98
0.608835
[ "Apache-2.0" ]
4ndrewHarri5/tax_calculator
exercises/dotnet/TaxCalculator.Tests/TaxCalculatorAfterFirstYearTest.cs
1,247
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Discord.WebSocket; using NadekoBot.Services; using NadekoBot.Services.Database.Models; using Newtonsoft.Json; using NLog; namespace NadekoBot.Modules.U...
34.887324
104
0.472749
[ "MIT" ]
2UNIEK/tunes-of-turmoil-radio-bot
src/NadekoBot/Modules/Utility/Services/ConverterService.cs
4,956
C#
using System; using System.Globalization; using System.IO; using System.Threading.Tasks; namespace ContributionsRate { internal class Io { protected readonly int Contributions; public Io(int contributions) { Contributions = contributions; } public ...
22.090909
100
0.577778
[ "MIT" ]
CiganOliviu/contributions-rate
ContributionsRate/ContributionsRate/Program.cs
1,217
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EconomySim.Models { public class PriceModel { public int Iteration { get; set; } public double Price { get; set; } } }
18.333333
42
0.683636
[ "MIT" ]
matthewpaul-us/bazaarBot2
EconomySim/EconomySim/Models/PriceModel.cs
277
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. namespace mshtml { using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [ComImport, Guid("3050F33A-98B5-11CF-BB82-00AA00BDC...
86.291667
391
0.764848
[ "MIT" ]
BobinYang/OpenLiveWriter
src/managed/OpenLiveWriter.Interop.Mshtml/mshtml/IHTMLStyle5.cs
2,073
C#
namespace SIS.Demo { using WebServer.Results; using HTTP.Enums; using HTTP.Responses.Contracts; public class HomeController { public IHttpResponse Index() { string content = "<h1>Hello, World</h1>"; return new HtmlResult(content, HttpResponseStatusCode.Ok);...
19.941176
70
0.60177
[ "MIT" ]
MiroslavKisov/Software-University
CSharp Web/SIS/SIS.Demo/HomeController.cs
341
C#
namespace HACC.Enumerations; public enum RuneDataType { Rune = 0, Attribute = 1, DirtyFlag = 2, }
13.75
28
0.654545
[ "MIT" ]
Blazor-Console/HACC.Development
src/HACC/Enumerations/RuneDataType.cs
110
C#
using System; using System.Maui.CustomAttributes; using System.Diagnostics; using System.Maui.Internals; namespace System.Maui.Controls.Issues { [Preserve (AllMembers = true)] [Issue (IssueTracker.Github, 2987, "When setting the minimum and maximum date for a date picker, only allow valid dates to be seen/selected f...
32.780488
196
0.732143
[ "MIT" ]
AswinPG/maui
System.Maui.Controls.Issues/System.Maui.Controls.Issues.Shared/Issue2987.cs
1,344
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.Generic; using System.Diagnostics.ContractsLight; using System.Linq; using System.Runtime.CompilerServices; using System....
44.984698
251
0.552887
[ "MIT" ]
breidikl/BuildXL
Public/Src/Engine/Scheduler/Graph/PipGraph.cs
58,795
C#
using System; using GoRogue.MapGeneration.Generators; using GoRogue.MapViews; using GrimDank.MObjects; using System.Diagnostics; using GoRogue; namespace GrimDank { /// <summary> /// The main class. /// </summary> static class Program { /// <summary> /// The main entry point for th...
19.538462
53
0.557087
[ "MIT" ]
TimyJ/GrimDank
GrimDank/Program.cs
510
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.Diagnostics.Tracing; namespace System.Net { //TODO: If localization resources are not found, loggi...
36.133333
127
0.752768
[ "MIT" ]
2E0PGS/corefx
src/System.Net.HttpListener/src/System/Net/NetEventSource.HttpListener.cs
542
C#
using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; using JoinRpg.Domain; using JoinRpg.Web.Models; namespace JoinRpg.Web.Controllers { public class UserController : Common.ControllerBase { [HttpGet] public async Task<ActionResult> Details(int userId) { var user = a...
31.314815
113
0.651094
[ "MIT" ]
FulcrumVlsM/joinrpg-net
Joinrpg/Controllers/UserController.cs
1,691
C#
using Native.Sdk.Cqp.Enum; using Native.Sdk.Cqp.Expand; using Native.Sdk.Cqp.Interface; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime; using System.Text; using System.Threading.Tasks; namespace Native.Sdk.Cqp.Model { /// <summary> /// 描述 QQ消息 的类 /// </summ...
24.651741
110
0.626135
[ "Apache-2.0" ]
hd80606b/AVTOBV
Native.Sdk/Cqp/Model/QQMessage.cs
11,822
C#
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www....
35.387097
98
0.460954
[ "Apache-2.0" ]
bubdm/Cube.Core
Libraries/Core/Sources/Icons/FileIcon.cs
3,293
C#
namespace EventTraceKit.EventTracing.Schema.Base { using System.Xml; using System.Xml.Linq; using EventTraceKit.EventTracing.Internal.Extensions; internal sealed class OutType { public OutType(QName xmlType, bool isDefault) { XmlType = xmlType; IsDefault = is...
26.148148
83
0.617564
[ "MIT" ]
gix/event-trace-kit
src/EventTraceKit.EventTracing/Schema/Base/OutType.cs
706
C#
using Newtonsoft.Json.Linq; namespace Crossroads.Service.HubSpot.Sync.Core.Serialization { public interface IJsonSerializer { string Serialize<T>(T inputToBeSerialized); T Deserialize<T>(string serializedInput, string selector = null); T ToObject<T>(JObject jObject); } //pub...
24.9
73
0.688755
[ "BSD-3-Clause" ]
agause/crds-mp-to-hubspot-sync
Crossroads.Service.HubSpot.Sync.Core/Serialization/IJsonSerializer.cs
500
C#