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 System.Collections.Generic; using System.Data; using System.Data.Common; using System.IO; using System.Linq; /* https://blog.sqlauthority.com/2011/10/02/sql-server-ce-list-of-information_schema-system-tables/ -- Get all the columns of the database SELECT * FROM INFORMATION_SCHEMA.C...
38.704663
175
0.608835
[ "MIT" ]
Kshitij-Kafle-123/linq2db
Source/LinqToDB/DataProvider/SqlCe/SqlCeSchemaProvider.cs
7,280
C#
using System; namespace TicketingSystem.Areas.HelpPage.ModelDescriptions { /// <summary> /// Describes a type model. /// </summary> public abstract class ModelDescription { public string Documentation { get; set; } public Type ModelType { get; set; } public string Name { g...
21.125
58
0.62426
[ "MIT" ]
nkl58/WEB-SERVISI-TIM13
TicketingSystem/TicketingSystem/Areas/HelpPage/ModelDescriptions/ModelDescription.cs
338
C#
๏ปฟusing System.IO; using NUnit.Framework; namespace LibDescent3.Tests { class D3BitmapTests { [Test] public void TestReadBitmapHeader() { //Test 1: Unmipped image from HOG2 file. HOG2File hogFile = new HOG2File(TestUtils.GetResourceStream("EXTRA13.HOG")); ...
37.686275
88
0.619667
[ "MIT" ]
InsanityBringer/LibDescent3
LibDescent3.Tests/D3BitmapTests.cs
1,924
C#
๏ปฟ#if !COREFX using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Xunit; using ProtoBuf; using ProtoBuf.Meta; namespace Examples { public class Pipeline { [Fact] public void TestEnumerable() { EnumWrapper obj = new EnumWrapp...
34.666667
112
0.582552
[ "Apache-2.0" ]
mustang2247/protobuf-net-ILRuntime
src/Examples/Pipeline.cs
8,530
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.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Analyzer.Utilities; using...
49.155556
269
0.595389
[ "Apache-2.0" ]
Therzok/roslyn-analyzers
src/System.Runtime.Analyzers/Core/TestForNaNCorrectly.cs
4,424
C#
๏ปฟusing System.Collections.Generic; namespace Prolix.Configuration.Ui { public static class UiThemes { public static List<UiThemeInfo> All { get; } static UiThemes() { All = new List<UiThemeInfo> { new UiThemeInfo("Red", "red"), ne...
36.567568
62
0.493718
[ "MIT" ]
shanesterb/prolix
aspnet-core/src/Prolix.Application/Configuration/Ui/UiThemes.cs
1,355
C#
// Copyright 2020 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 ...
46.618421
127
0.644228
[ "Apache-2.0" ]
bijalvakharia/google-cloud-dotnet
apis/Google.Cloud.DevTools.ContainerAnalysis.V1/Google.Cloud.DevTools.ContainerAnalysis.V1.Snippets/ContainerAnalysisClientSnippets.g.cs
14,172
C#
๏ปฟ//------------------------------------------------------------------------------ // <auto-generated> // ์ด ์ฝ”๋“œ๋Š” ๋„๊ตฌ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ƒ์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. // ๋Ÿฐํƒ€์ž„ ๋ฒ„์ „:4.0.30319.42000 // // ํŒŒ์ผ ๋‚ด์šฉ์„ ๋ณ€๊ฒฝํ•˜๋ฉด ์ž˜๋ชป๋œ ๋™์ž‘์ด ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ, ์ฝ”๋“œ๋ฅผ ๋‹ค์‹œ ์ƒ์„ฑํ•˜๋ฉด // ์ด๋Ÿฌํ•œ ๋ณ€๊ฒฝ ๋‚ด์šฉ์ด ์†์‹ค๋ฉ๋‹ˆ๋‹ค. // </auto-generated> //--------------------------------------------------------...
35.75
179
0.580031
[ "MIT" ]
daejinseok/books
C# in a Nutshell/ch14 - task/test_Progress/Properties/Resources.Designer.cs
3,058
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.Linq; using System.Text; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http; u...
40.866499
185
0.577694
[ "MIT" ]
FWest98/MicrosoftAspNetCore
src/Servers/Kestrel/Core/test/HttpRequestHeadersTests.cs
32,448
C#
๏ปฟusing Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace TomJulie { public class Startup { public Startup(IConfiguration configuration) { ...
28.166667
106
0.650888
[ "MIT" ]
tom-mckinney/tom-and-julie
TomJulie/Startup.cs
1,016
C#
namespace MrRobot.Core.Boundaries.Clean { using System.Collections.Generic; public sealed class Request : IRequest { public Position InitialPosition { get; } public IList<Command> Commands { get; } public Request(Position initialPosition, IList<Command> commands) { ...
25.5625
73
0.633252
[ "Apache-2.0" ]
ivanpaulovich/MrRobot
source/MrRobot.Core/Boundaries/Clean/Request.cs
409
C#
๏ปฟusing System; namespace IndependentReserve.DotNetClientApi.Data { /// <summary> /// Your independent reserve bank account; when you confirm your user account we create accounts for you in digital and fiat currencies /// </summary> public class Account { /// <summary> /// Account gu...
29.416667
139
0.588291
[ "Apache-2.0" ]
independentreserve/dotNetApiClient
src/DotNetClientApi/Data/Account.cs
1,061
C#
using System; using System.Collections.Generic; namespace Monospace.NoThreads.AsyncCoroutines { public class Coordinator<T> { private readonly Queue<Action> _actions = new Queue<Action>(); public Coordinator(IEnumerable<Func<Coordinator<T>, Action>> coroutines) { // prime c...
32.133333
135
0.594053
[ "Apache-2.0" ]
MindTouch/Monospace.NoThreads
Monospace.NoThreads.AsyncCoroutines/Coordinator.cs
1,446
C#
using System; using System.ComponentModel; using System.Runtime.InteropServices; namespace DCSoftDotfuscate { [Serializable] [ComVisible(false)] public class GClass401 : GClass383 { private string string_0 = null; [DefaultValue(null)] public string Name { get { return string_0; } set { ...
13.59375
37
0.666667
[ "MIT" ]
h1213159982/HDF
Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GClass401.cs
435
C#
namespace DedicatingServerMatchMaker.Enums { public enum EGameServerState { None = 0, Starting = 1, Running = 2, } }
15.3
42
0.575163
[ "MIT" ]
insthync/dedicating-server-maker-unity
Scripts/Enums/EGameServerState.cs
153
C#
๏ปฟusing System.Collections; using System.Collections.Generic; using EventType = ColaFrame.EventType; /// <summary> /// ๆŽฅๆ”ถๆถˆๆฏๅŽ่งฆๅ‘็š„ๅ›ž่ฐƒ /// </summary> /// <param name="data"></param> public delegate void MsgHandler(EventData data); /// <summary> /// ไบ‹ไปถๅค„็†ๅ™จ็š„ๆŽฅๅฃ /// </summary> public interface IEventHandler { bool HandleMes...
16.808824
48
0.552931
[ "MIT" ]
Aver58/ColaFrameWork
Assets/Scripts/Global/EventData.cs
1,275
C#
๏ปฟusing System; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; using ICSharpCode.CodeConverter.DotNetTool.Util; using McMaster.Extensions.CommandLineUtils; namespace ICSharpCode.CodeConverter.CommandLine.Util; internal static class DirectoryInfoExtensions { ...
44.16
158
0.650966
[ "MIT" ]
BingCheng21/CodeConverter
CommandLine/CodeConv.Shared/Util/DirectoryInfoExtensions.cs
3,240
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using Voxel.View; using Voxel.Model.Languages; using System.IO; using System.Diagnostics; using System.Windows.Input; using System.Windows.Controls; namespace Voxel.ViewModel ...
32.437086
167
0.508167
[ "MIT" ]
the1812/Voxel
Voxel/ViewModel/MainViewModel.cs
4,898
C#
๏ปฟusing System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ArtEvolver.Extensions { public static class DoubleExtensions { public static bool IsNumber(this double value) { return MathUtility.IsNumber(value); } public static bool IsNaN(this double value) { return ...
16.666667
48
0.74
[ "MIT" ]
MarcosLopezC/ArtEvolver2014
Sources/Extensions/DoubleExtensions.cs
352
C#
๏ปฟusing System; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace WonderTools.Inspector { public class InspectorMiddleWare { private readonly InspectorRepository _repository; private readonly InspectorOptions _options; pub...
38.108911
121
0.614705
[ "MIT" ]
WonderTools/Inspector
Inspector/Inspector/InspectorMiddleWare.cs
7,700
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.IO; using System.Collections.Generic; using Microsoft.JSInterop; using Bicep.Core.Diagnostics; using Bicep.Core.Text; using Bicep.Core.Emit; using Bicep.Core.SemanticModel; using Bicep.Core.Syntax; using Bicep.Wasm.Lan...
35.268966
136
0.559054
[ "MIT" ]
anwather/bicep
src/Bicep.Wasm/Interop.cs
5,114
C#
๏ปฟusing System; using System.Collections.Generic; using System.Data; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; namespace LinqToDB.DataProvider.Firebird { using Common; using Data; using Mapping; using SqlProvider; public class FirebirdDataProvider : Dynamic...
35.149068
151
0.721682
[ "MIT" ]
FrancisChung/linq2db
Source/LinqToDB/DataProvider/Firebird/FirebirdDataProvider.cs
5,501
C#
namespace HSL { using System.Collections.Generic; public partial class Pattern : Node { public string id { get; set; } public Route route { get; set; } public int directionId { get; set; } public string name { get; set; } public string code { get; set; } publ...
32.9
55
0.580547
[ "Apache-2.0" ]
Giorgi/GraphQLinq
src/GraphQLinq.Generated/HSL/Pattern.cs
658
C#
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
47.790268
205
0.628445
[ "Apache-2.0" ]
j82w/azure-sdk-for-net
src/ResourceManagement/Storage/StorageManagement/Generated/StorageAccountOperationsExtensions.cs
28,511
C#
๏ปฟusing EmptyUmbracoWebApp.Repositories; using Umbraco.Pylon.Controllers; namespace EmptyUmbracoWebApp.Controllers { /// <summary> /// Base class for a surface controller, to use for key CMS action bindings. /// </summary> /// <seealso cref="Umbraco.Pylon.Controllers.PylonSurfaceController{ISampleSite, ...
33.32
123
0.678271
[ "MIT" ]
ministryotech/Umbraco.Pylon
EmptyUmbracoWebApp/Controllers/SampleSurfaceController.cs
835
C#
๏ปฟusing UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; public class SwordController : MonoBehaviour { //References private SkinnedMeshRenderer swordMeshRenderer; private MeshCollider swordMeshCollider; private Mesh currSwordMesh; //External private P...
29.936747
113
0.443304
[ "MIT" ]
d4rkz3r0/GPGamesPrototype
Assets/Scripts/Player/Weapons/SwordController.cs
9,941
C#
// Generated on 03/23/2022 09:50:22 using System; using System.Collections.Generic; using System.Linq; using AmaknaProxy.API.Protocol.Types; using AmaknaProxy.API.IO; using AmaknaProxy.API.Network; namespace AmaknaProxy.API.Protocol.Messages { public class BreachRewardBoughtMessage : NetworkMessage { ...
22.666667
62
0.565257
[ "MIT" ]
ImNotARobot742/DofusProtocol
DofusProtocol/D2Parser/Protocol/Messages/game/context/roleplay/breach/reward/BreachRewardBoughtMessage.cs
1,088
C#
๏ปฟusing System; using Prism.Windows.Mvvm; namespace wts.ItemName.ViewModels { public class PivotViewModel : ViewModelBase { public PivotViewModel() { } } }
14.769231
47
0.625
[ "MIT" ]
DalavanCloud/WindowsTemplateStudio
templates/Uwp/_composition/Prism/Project.TabbedPivot/ViewModels/PivotViewModel.cs
194
C#
๏ปฟusing System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using NewLife.Data; using NewLife.Model; using NewLife.Reflection; namespace NewLife.Serialization { /// <summary>Json่ฏปๅ–ๅ™จ</summary> public class JsonReader { ...
34.699284
126
0.474242
[ "MIT" ]
SpringLeee/X
NewLife.Core/Serialization/Json/JsonReader.cs
15,265
C#
๏ปฟnamespace BikesBooking.Web.Controllers.ApiController { using BikesBooking.Services.Data.Motorcycle; using BikesBooking.Services.Data.User; using BikesBooking.Web.ViewModels.Api.Statistics; using Microsoft.AspNetCore.Mvc; [ApiController] [Route("api/statistics")] [ResponseCache(Duration = 4...
35.255814
84
0.649077
[ "MIT" ]
VelinovAngel/My-ASP-Core-Web-Project
Web/BikesBooking.Web/Controllers/ApiController/StatisticApiController.cs
1,518
C#
๏ปฟ// Copyright(c) Microsoft Corporation // 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 // // THIS CODE IS PROVIDED ON AN ...
40.590361
139
0.68596
[ "Apache-2.0" ]
6paklata/python-language-server
src/Analysis/Ast/Impl/Analyzer/Definitions/IPythonAnalyzer.cs
3,371
C#
๏ปฟusing DevanagariApp.BL; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace DevanagariApp.Forms { public partial class frmPro...
25.735294
114
0.569714
[ "Apache-2.0" ]
nitinjs/devanagari-keyboard
Source Code/DevanagariApp/Forms/frmProcrastination.cs
1,752
C#
๏ปฟusing System; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; namespace Extensions.IP { public static class IpClientExtension { public static async Task<IPInfo> GetIpInfoAsync(this string ipAddress) { string url = null; if (string.IsNullOrEmp...
30.310345
98
0.554039
[ "MIT" ]
Yaroslav08/Extensions
Extensions/Extensions.IP/IpClientExtension.cs
881
C#
namespace AngleSharp.Css.Values { using AngleSharp.Css.Dom; using System; /// <summary> /// Represents the CSS initial value. /// </summary> struct CssInitialValue : ICssSpecialValue { #region Fields private readonly ICssValue _value; #endregion #region ct...
20.755556
64
0.543897
[ "MIT" ]
AngleSharp/AngleSharp.Css
src/AngleSharp.Css/Values/Raws/CssInitialValue.cs
934
C#
๏ปฟ// Copyright 2011 Murray Grant // // 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 agre...
40.9
140
0.684597
[ "Apache-2.0" ]
4-FLOSS-Free-Libre-Open-Source-Software/readablepassphrasegenerator
trunk/ReadablePassphrase.Core/WordTemplate/IndefinitePronounTemplate.cs
2,047
C#
๏ปฟnamespace PortDetection { partial class PreSetting { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
48.245989
163
0.59898
[ "MIT" ]
Taaccoo-beta/Flight-Simulator-In-Drosophila
PortDetection/PortDetection/PreSetting.Designer.cs
18,064
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.IO { public sealed class FileStreamOptions { private FileMode _mode = FileMode.Open; private FileAccess _access = FileAccess.Read; pr...
45.692982
338
0.604339
[ "MIT" ]
333fred/runtime
src/libraries/System.Private.CoreLib/src/System/IO/FileStreamOptions.cs
5,209
C#
๏ปฟusing System.Collections; using System.Collections.Generic; using UnityEngine; public class Player_Range : MonoBehaviour { Player _player; private Tower target; private Queue<Tower> towers = new Queue<Tower>(); [SerializeField] private AudioSource tirar; // Start is called before the first fram...
22.351351
89
0.618501
[ "MIT" ]
FellowshipOfTheGame/Pesadelho
Pesadelho/Assets/Scripts/Player/Player_Range.cs
1,661
C#
๏ปฟusing System; using System.Collections.Generic; using System.Linq; namespace A3_DbContext { public class StudentRepository: Repository<Student> { public static Dictionary<string, Student> studentByDni = new Dictionary<string, Student>(); public override SaveValidation<Student> Add(Student entity) ...
23.87931
93
0.556679
[ "MIT" ]
marcvil/Exercicis-.NET-Course
Bloc C# y Java/Practica Troncal/A3 Repositories/A3 DbContext/Context/StudentRepository.cs
1,387
C#
// // System.Web.Security.FormsAuthentication // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // (C) 2002,2003 Ximian, Inc (http://www.ximian.com) // Copyright (c) 2005-2010 Novell, Inc (http://www.novell.com) // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of...
29.797619
130
0.716141
[ "Apache-2.0" ]
AvolitesMarkDaniel/mono
mcs/class/System.Web/System.Web.Security/FormsAuthentication.cs
15,018
C#
๏ปฟ// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Enums.cs" company="Jamie Dixon Ltd"> // Jamie Dixon // </copyright> // <summary> // Defines the static Enums type. // </summary> // -------------------------------------------...
23.128205
120
0.331486
[ "MIT" ]
JamieDixon/GraphViz-C-Sharp-Wrapper
src/GraphVizWrapper/Enums.cs
904
C#
using System; using SpecFlowMasterClass.SpecOverflow.Specs.WebUI.Drivers; using SpecFlowMasterClass.SpecOverflow.Web.Models; using TechTalk.SpecFlow; namespace SpecFlowMasterClass.SpecOverflow.Specs.WebUI.StepDefinitions { [Binding] public class RegistrationStepDefinitions { private readonly Regist...
37.525
113
0.670886
[ "MIT" ]
agentHoover/SpecFlowMasterClass.SpecOverflow
SpecFlowMasterClass.SpecOverflow.Specs.WebUI/StepDefinitions/RegistrationStepDefinitions.cs
1,501
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.IO; using System.Text; using System.Xml.Schema; using System.Diagnostics; using System.Globalization; u...
37.174216
185
0.435175
[ "MIT" ]
1shekhar/runtime
src/libraries/System.Private.Xml/src/System/Xml/Core/XmlTextReaderImpl.cs
362,746
C#
๏ปฟusing System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Text; using System.Threading; using OpenQA.Selenium; namespace Atata { /// <summary> /// Represents the Atata context, the en...
36.969565
166
0.547963
[ "Apache-2.0" ]
EvgeniyShunevich/Atata
src/Atata/Context/AtataContext.cs
25,511
C#
๏ปฟusing Prism.Commands; using Prism.Navigation; using Prism.Services; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using WikiHero.Helpers; using WikiHero.Models; using WikiHero.Services; using Xamarin.Essentials;...
34.71134
202
0.545738
[ "MIT" ]
daiivasq/WikiHeroApp
WikiHero/WikiHero/ViewModels/DetailCharactersPageViewModel.cs
6,736
C#
๏ปฟusing System.Collections.Generic; using System.Text.RegularExpressions; using static Cloudtoid.Contract; namespace Cloudtoid.UrlPattern { public sealed class CompiledPattern { internal CompiledPattern( string pattern, PatternType type, Regex regex, ISet<...
25.3
77
0.608696
[ "MIT" ]
cloudtoid/url-pattern
src/Cloudtoid.UrlPattern/Compiler/CompiledPattern.cs
761
C#
๏ปฟ// ----------------------------------------------------------------------- // <copyright file="ReferenceDayType.cs" company=""> // Copyright 2016 Alexander Soffronow Pagonidis // </copyright> // ----------------------------------------------------------------------- namespace QDMS { public enum ReferenceDayType ...
30.222222
99
0.490196
[ "BSD-3-Clause" ]
karlcc/qdms
QDMS/Enums/ReferenceDayType.cs
818
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityModel; using IdentityServer4.Configuration; using IdentityServer4.Extensions; using IdentityServer4.Models; using IdentityServer...
38.930921
161
0.595437
[ "Apache-2.0" ]
yartat/IdentityServer4
src/IdentityServer4/src/Services/Default/DefaultTokenService.cs
11,835
C#
๏ปฟusing System; using ParkApp.Models; using System.Collections.Generic; namespace ParkAppCore.Repositorio.Mocks { public class UsuarioMock : IRepository<Usuario> { public UsuarioMock() { } public IList<Usuario> Find() { throw new NotImp...
20.475
52
0.522589
[ "MIT" ]
xamarin-com-br/ParkForms
src/ParkApp/ParkAppCore/Repositorio/Mocks/UsuarioMock.cs
821
C#
๏ปฟ// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using BeatmapDownloader.Database.Database; namespace BeatmapDownloader.Database.Migr...
32.407407
92
0.576
[ "MIT" ]
OsuSync/EmberTools
src/plugins/osu/BeatmapDownloader.Database/Migrations/20200704040633_InitializeMigration.Designer.cs
1,752
C#
๏ปฟnamespace MagicMedia.Thumbprint { public class DeviceInfo { public string? Brand { get; set; } public string? Model { get; set; } public string? Family { get; set; } } }
17.416667
43
0.574163
[ "MIT" ]
philbir/magic-media
src/Services/Abstractions/Thumbprint/DeviceInfo.cs
211
C#
// AUTOGENERATED using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FlatSharp.Attributes; using NamelessRogue.Engine.Serialization.SerializationIfrastructure; using NamelessRogue.Engine.Serialization.CustomSerializationClasses; namespace NamelessRo...
32.123077
121
0.681034
[ "MIT" ]
GreyArmor/SomeRogueMonogame
NamelessRogue_updated/Engine/Serialization/AutogeneratedSerializationClasses/CitySlotStorage.cs
2,088
C#
๏ปฟnamespace MiniRent.Application.Common.Interfaces; public interface IDateTime { DateTime Now { get; } }
15.571429
50
0.752294
[ "MIT" ]
r-ost/MiniRent
src/Application/Common/Interfaces/IDateTime.cs
111
C#
๏ปฟnamespace ForumSystem.Identity.Models { using System.Data.Entity; using ForumSystem.Identity.Migrations; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; public class IdentityDbContext : IdentityDbContext<ApplicationIdentityUser> { public IdentityDbCo...
35
119
0.633766
[ "MIT" ]
bugsancho/ForumSystem
src/ForumSystem.Identity/Models/IdentityDbContext.cs
1,927
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
29.578947
101
0.611655
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/ECS/Generated/Model/HostEntry.cs
2,248
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; namespace Microsoft.AspNetCore....
43.028112
161
0.585216
[ "Apache-2.0" ]
4samitim/aspnetcore
src/Middleware/ResponseCaching/src/ResponseCachingPolicyProvider.cs
10,714
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...
39.6
300
0.621744
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Devices/V20200710Preview/Inputs/RoutingStorageContainerPropertiesArgs.cs
3,762
C#
public class NotImplementedException : System.Exception { public NotImplementedException() : base() { } public NotImplementedException(string message) : base(message) { } public NotImplementedException(string message, System.Exception inner) : base(message, inner) { } } public abstract class Spline{ ...
23.190476
101
0.541068
[ "MIT" ]
mads-hb/ppnm-2022
homeworks/splines/cs/A/src/spline.cs
974
C#
๏ปฟ//MIT, 2017-present,WinterDev, EngineKit using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Threading; namespace EasePatcher { delegate void SimpleAction(); enum BuildState { Zero, InitBuild, } enum PatcherOS { Unknow...
35.313199
121
0.464935
[ "MIT" ]
CIVITAS-John/Espresso
Tools/EasePatcher/EasePatcher.cs
15,787
C#
๏ปฟusing UnityEngine; using System; using System.Collections; using Hobscure.Items; namespace Hobscure.UI { [Serializable] public class ItemContainerModel: iComponentModel { public Item item; public bool selected = false; public ItemContainerModel() { ...
21.178571
70
0.561551
[ "Apache-2.0" ]
nahkranoth/DevilsTrinkets
Assets/GameWorld/UI/Components/ItemContainer/Scripts/Hobscure/UI/ItemContainerModel.cs
595
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.Collections.Generic; using System.Linq; using osu.Framework.Graphics.Sprites; using osu.Game.Beatmaps; using osu.Game.Rulesets.Osu.Objects; namesp...
33.181818
80
0.506164
[ "MIT" ]
123tris/osu
osu.Game.Rulesets.Osu/Beatmaps/OsuBeatmap.cs
1,419
C#
using System; using Newtonsoft.Json; using XamarinFormsClean.Common.Data.Converters.Json; using XamarinFormsClean.Common.Data.Model.Local; using XamarinFormsClean.Common.Data.Utils; namespace XamarinFormsClean.Feature.Authentication.Data.Model.Local { public class SessionData : BaseData { [JsonConverte...
29
67
0.678161
[ "MIT" ]
Bhekinkosi12/Xamarin.Forms-CleanArchitecture
src/Features/Authentication/XamarinFormsClean.Feature.Authentication.Data/Model/Local/SessionData.cs
696
C#
๏ปฟusing UnityEngine; namespace ZenjectPrototype.Entities.Capabilities { public class PerfectReflector : IReflector { public void Reflect(IMovable movable, Vector3 normal) { var reflectedVelocity = Vector3.Reflect(movable.Velocity, normal); movable.Velocity = reflectedVelo...
24.571429
78
0.668605
[ "MIT" ]
Nitue/MirrorPuzzle
Assets/ZenjectPrototype/Scripts/Entities/Capabilities/PerfectReflector.cs
346
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
40.226087
196
0.657804
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/WorkSpacesWeb/Generated/Model/Internal/MarshallTransformations/DeleteNetworkSettingsResponseUnmarshaller.cs
4,626
C#
๏ปฟ/* BIMserver.center license This file is part of BIMserver.center IFC frameworks. Copyright (c) 2017 BIMserver.center Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files, to use this software with the purpose of developing new tools for the B...
39.4375
80
0.749604
[ "MIT" ]
BIMservercenterDeveloper/BIMserver.center-unity-api
Assets/Packages/BIMserver.center Toolkit/Scripts/Internal/API/Response/Schema/BSBaseSchema.cs
1,264
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("02...
38.081081
84
0.745919
[ "MIT" ]
kossov/Telerik-Academy
C#/C#2/ExamPrep/C Part 2 20132014 24 Jan 2014 Evening STRANGELANDNUMBERS/02.TwoGirlsOnePath/Properties/AssemblyInfo.cs
1,412
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
30.916667
124
0.61032
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Synthetics/Generated/Model/UntagResourceRequest.cs
2,597
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.Diagnostics.CodeAnalysis; using System.Diagnostics.ContractsLight; using System.Threading.Tasks; using BuildXL.App.Tracing; using BuildXL.FrontEnd.C...
43.119122
153
0.627626
[ "MIT" ]
socat/BuildXL
Public/Src/App/Bxl/FrontEndControllerFactory.cs
13,755
C#
๏ปฟusing System.Threading.Tasks; namespace RoomsService.Common.GetToken { public interface IGetTokenStrategy { Task<string> GetAsync(); } }
15.9
38
0.691824
[ "MIT" ]
gendalf90/WhenGunsSpeak
RoomsService/RoomsService/Common/GetToken/IGetTokenStrategy.cs
161
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 * ...
29.692308
83
0.608808
[ "Apache-2.0" ]
geffzhang/tencentcloud-sdk-dotnet
TencentCloud/Billing/V20180709/Models/DescribeBillDetailRequest.cs
2,004
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 Microsoft.Extensions.Configuration; using Microsoft.Extensions...
56.5875
144
0.686768
[ "MIT" ]
06needhamt/runtime
src/libraries/Microsoft.Extensions.Hosting.Abstractions/src/IHostBuilder.cs
4,527
C#
๏ปฟnamespace Computers.Tests.CpusTests { using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Computers.Logic.Cpus; using Moq; using Computers.Logic.MotherBoards; [TestClass] public class RandShouild { [TestMethod] p...
30.787879
82
0.530512
[ "MIT" ]
zachdimitrov/Learning_2017
Design-Patterns/ExamPrep-2015-Computers/Computers/Computers.Tests/CpusTests/RandShouild.cs
2,034
C#
// Copyright 2021 Yubico AB // // 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 wr...
42.816038
113
0.610995
[ "Apache-2.0" ]
Yubico/Yubico.NET.SDK
Yubico.YubiKey/examples/PivSampleCode/CertificateOperations/X500NameBuilder.cs
9,077
C#
๏ปฟusing UnityEngine; using System; using System.Linq; using System.Collections.Generic; namespace SSM.GraphDrawing { [System.Serializable] public class GraphView { public List<Graph> graphs = new List<Graph>(); public GraphViewStyle style; public void RemoveGraph(Graph graph) ...
26.692308
100
0.493516
[ "MIT" ]
Anvoker/MicrogridPSO
Assets/Scripts/SSM.GraphDrawing/GraphView.cs
1,390
C#
๏ปฟusing Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; using Microsoft.bliztafree.BuildingBlocks.Resilience.Http; using Microsoft.bliztafree.WebMVC.ViewModels; using Microsoft.Extensions.Options; using Newtonsoft.Json; using System.Collections.Generic; using System.Threading.Tasks; using WebMVC.In...
31.772727
133
0.579638
[ "MIT" ]
bliztafree/webdev
src/Web/WebMVC/Services/BasketService.cs
4,196
C#
๏ปฟ#pragma checksum "..\..\BingMap.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "07A1BD0B17D5809FA7E890901C40D0CFD8C3827E1FCFCC3A268F1A46654A9E35" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.303...
38.696203
146
0.675172
[ "MIT" ]
AmolDerickSoans/projekt-foo
test/test/obj/Debug/BingMap.g.i.cs
3,059
C#
๏ปฟusing System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text.Encodings.Web; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft....
37.60241
162
0.631528
[ "MIT" ]
SamChuang0305/ExpressLocalizationSampleCore3
ExpressLocalizationSampleCore3/Areas/Identity/Pages/Account/ForgotPassword.cshtml.cs
3,123
C#
// Copyright 2019 Cohesity Inc. using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.C...
35.516949
215
0.568599
[ "Apache-2.0" ]
DavidSeaton/cohesity-powershell-module
src/Cohesity.Powershell.Models/BackupPolicyProtoDailySchedule.cs
4,191
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...
46.701613
178
0.676567
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Macie2/Generated/Model/ValidationException.cs
5,791
C#
๏ปฟusing UnityEngine; using System.Collections; /// <summary> /// Controller responsbile to mimics the Mortal Kombat's Toasty! easter egg. /// </summary> public class ToastyController : MonoBehaviour { #region Fields private AudioSource m_audio; private Vector2 m_currentTargetPosition; private float m_cu...
29.385714
98
0.701021
[ "MIT" ]
skahal/Buildron-Mod-Samples
src/Code/ToastyMod/ToastyController.cs
2,059
C#
๏ปฟusing System; namespace LinqToDB.SchemaProvider { /// <summary> /// Database procedure or function parameter description. /// </summary> public class ProcedureParameterInfo { /// <summary> /// Gets or sets unique procedure identifier. /// NOTE: this is not fully-qualified procedure name (even if...
27.207547
127
0.626214
[ "MIT" ]
BlackballSoftware/linq2db
Source/LinqToDB/SchemaProvider/ProcedureParameterInfo.cs
1,444
C#
๏ปฟusing System; using System.Collections.Generic; using System.Linq; namespace KnightsOfHonor { class Program { static void Main(string[] args) { Action<string> print = n => Console.WriteLine($"Sir {n}"); var input = Console.ReadLine().Split(new string[] { " " }, StringSp...
23
110
0.599034
[ "MIT" ]
valkin88/CSharp-Fundamentals
CSharp Advanced/Functional Programming - Exercises/KnightsOfHonor/KnightsOfHonor/Program.cs
416
C#
namespace GuiLabs.Editor.Sample { partial class TutorialForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if m...
32.907216
102
0.690789
[ "MIT" ]
KirillOsenkov/StructuredEditor
SampleEditor/Tutorial/TutorialForm.Designer.cs
3,192
C#
๏ปฟusing System; using Nest; namespace Tests.Mapping.Types.Complex.Object { public class ObjectTest { public class InnerObject { public string Name { get; set; } } [Object( Enabled = true)] public InnerObject Full { get; set; } [Object] public InnerObject Minimal { get; set; } } public class O...
14.871429
67
0.486071
[ "Apache-2.0" ]
Tchami/elasticsearch-net
src/Tests/Mapping/Types/Complex/Object/ObjectAttributeTests.cs
1,043
C#
๏ปฟnamespace CoursesSystem.Server.Models.Users { using CoursesSystem.Data.Models; using CoursesSystem.Server.Infrastructure.Mapping; public class UserRequestModel : IMapFrom<User> { public string FirstName { get; set; } public string LastName { get; set; } public bool IsEmployee...
23.333333
54
0.621429
[ "MIT" ]
g-yonchev/CoursesSystem
CoursesSystem/CoursesSystem.Server/Models/Users/UserRequestModel.cs
562
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using A...
51.347518
248
0.629098
[ "MIT" ]
BaherAbdullah/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostCollection.cs
21,720
C#
using Xunit; namespace Challenges.Tests { public class ArrayShiftTests { [Fact] public void Can_shift_into_even_length() { // Arrange int[] input = new[] { 1, 2, 4, 5 }; // Act int[] result = ArrayChallenges.ArrayShift(input, 3); ...
26.433333
91
0.453972
[ "MIT" ]
TheAgileMCB/cr-dotnet-401d1
Class02/demo/Challenges.Tests/ArrayShiftTests.cs
1,586
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("So...
39.648649
84
0.754601
[ "Apache-2.0" ]
awesome-inc/MimeTypeDetective
Softwarekueche.MimeTypeDetective.Tests/Properties/AssemblyInfo.cs
1,470
C#
๏ปฟusing Tera.Game.Messages; using RichPresence = Tera.RichPresence.RichPresence; namespace DamageMeter.Processing { internal class S_CREATURE_CHANGE_HP { internal S_CREATURE_CHANGE_HP(SCreatureChangeHp message) { HudManager.Instance.UpdateBoss(message); PacketProcessor.In...
29.764706
72
0.709486
[ "MIT" ]
tmopcode/ShinraMeter_beta_kr
DamageMeter.Core/Processing/S_CREATURE_CHANGE_HP.cs
508
C#
using System; namespace Packages.Rider.Editor.ProjectGeneration { [Flags] enum ProjectGenerationFlag { None = 0, Embedded = 1, Local = 2, Registry = 4, Git = 8, BuiltIn = 16, Unknown = 32, PlayerAssemblies = 64, LocalTarBall = 128, } }
14.789474
49
0.604982
[ "MIT" ]
11xdev-coder/Snek
Library/PackageCache/com.unity.ide.rider@2.0.7/Rider/Editor/ProjectGeneration/ProjectGenerationFlag.cs
281
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. // // Generated on 2020 October 09 06:00:26 UTC // </auto-generated> //--------------...
30.727273
101
0.578895
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc_FdSetStruct.cs
2,028
C#
using System.Drawing; using ImageProcessing.App.ServiceLayer.ServiceModel.Visitors.BitmapLuminance.Interface; namespace ImageProcessing.App.ServiceLayer.ServiceModel.Visitable.BitmapLuminance { public interface IBitmapLuminanceVisitable : IVisitable<IBitmapLuminanceVisitable, IBitmapLuminanceVisitor> ...
28.230769
87
0.798365
[ "Apache-2.0" ]
Softenraged/Image-Processing
Source/ImageProcessing.App.ServiceLayer/ServiceModel/Visitable/BitmapLuminance/IBitmapLuminanceVisitable.cs
367
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
37.518519
85
0.556762
[ "MIT" ]
aesmailsparta/MiniBank_ASP.NET_Framework_Website
MiniBank/MiniBank/Bank_Transaction.cs
1,013
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.Collections.Immutable; using System.Diagnostics; using System.Linq; using Microsoft.CodeAnalysis...
48.748788
226
0.591142
[ "Apache-2.0" ]
GKotfis/roslyn
src/Compilers/CSharp/Portable/Binder/Binder_Attributes.cs
60,354
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v4/services/language_constant_service.proto // </auto-generated> // Original file comments: // Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you ma...
62.0125
392
0.742794
[ "Apache-2.0" ]
PierrickVoulet/google-ads-dotnet
src/V4/Services/LanguageConstantServiceGrpc.cs
9,922
C#
๏ปฟusing System.Collections.Generic; using Newtonsoft.Json; namespace EncompassRest.Schema { public sealed class FieldOptions : ExtensibleObject { [JsonProperty(ItemConverterType = typeof(FieldOptionConverter))] public List<FieldOption> Options { get; set; } public bool? RequireValueFromL...
28.75
72
0.713043
[ "MIT" ]
gashach/EncompassRest
src/EncompassRest/Schema/FieldOptions.cs
347
C#
using System; using System.Collections.Generic; using Comformation.IntrinsicFunctions; namespace Comformation.KMS.Alias { /// <summary> /// AWS::KMS::Alias /// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-alias.html /// </summary> public class AliasResource : Reso...
43.78125
115
0.584226
[ "MIT" ]
stanb/Comformation
src/Comformation/Generated/KMS/Alias/AliasResource.cs
2,802
C#
๏ปฟusing System; namespace NadekoBot.Core.Services.Database.Models { public class UnmuteTimer : DbEntity { public ulong UserId { get; set; } public DateTime UnmuteAt { get; set; } public override int GetHashCode() => UserId.GetHashCode(); public override bool Equals(...
22.095238
49
0.553879
[ "MIT" ]
Duinhil/NadekoBot
NadekoBot.Core/Services/Database/Models/UnmuteTimer.cs
466
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class SSbDescDialogLine : CVariable...
32.137931
125
0.708155
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/SSbDescDialogLine.cs
932
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> //------------------------------------------...
37.363825
178
0.736535
[ "MIT" ]
Bhawk90/DLaB.Xrm.XrmToolBoxTools
DLaB.Xrm.Entities/Entities/SdkMessageProcessingStepSecureConfig.cs
17,972
C#