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 OpenNefia.Content.Skills; using OpenNefia.Core.GameObjects; using OpenNefia.Core.Prototypes; using OpenNefia.Core.Serialization.Manager.Attributes; using System; using System.Collections.Generic; namespace OpenNefia.Content.Maps { [RegisterComponent] public class MapTrainersComponent : Component { ...
25.65
83
0.719298
[ "MIT" ]
OpenNefia/OpenNefia
OpenNefia.Content/Maps/MapTrainersComponent.cs
515
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
37.62069
153
0.590284
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IEventMessageRequestDeclineRequestBuilder.cs
1,091
C#
using Microsoft.Azure.ServiceBus; namespace Kledex.Bus.ServiceBus.Factories { /// <summary> /// IMessageFactory /// </summary> public interface IMessageFactory { /// <summary> /// Creates the service bus message. /// </summary> /// <typeparam name="TMessage">The typ...
28.052632
87
0.613508
[ "Apache-2.0" ]
Magicianred/Kledex
src/Kledex.Bus.ServiceBus/Factories/IMessageFactory.cs
535
C#
using System; using System.Collections.Generic; using UnityEngine; namespace UnityEngine.UI { public enum UIAtlasMode { Atlas, Icons, FullBG, } public class UIAtlas : ScriptableObject { public UIAtlasMode Mode; public string ABName; public Li...
16.571429
43
0.606322
[ "MIT" ]
chs71371/knight
knight-client/Assets/Framework/WindUI/Atlas/UIAtlas.cs
350
C#
internal sealed class SafeFindHandle : SafeHandleZeroOrMinusOneIsInvalid // TypeDefIndex: 99 { // Methods // RVA: 0x192B350 Offset: 0x192B451 VA: 0x192B350 internal void .ctor(IntPtr preexistingHandle) { } // RVA: 0x192B3C0 Offset: 0x192B4C1 VA: 0x192B3C0 Slot: 7 protected override bool ReleaseHandle() { } }
26.5
92
0.757862
[ "MIT" ]
SinsofSloth/RF5-global-metadata
Microsoft/Win32/SafeHandles/SafeFindHandle.cs
318
C#
/* 426. Convert Binary Search Tree to Sorted Doubly Linked List Medium Convert a Binary Search Tree to a sorted Circular Doubly-Linked List in place. You can think of the left and right pointers as synonymous to the predecessor and successor pointers in a doubly-linked list. For a circular doubly linked list, the pre...
59.769231
278
0.800515
[ "Apache-2.0" ]
iliasashaikh/algos
algos.cmd/Fb/Graphs/BstToDll.cs
777
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace Hris.Medical.WebApi.Controllers { [Route("api/[controller]")] [ApiController] public class ValuesController : ControllerBase { // GET api/values [H...
21.369565
56
0.536114
[ "MIT" ]
NHadi/Hris
src/Hris.Medical.WebApi/Controllers/ValuesController.cs
985
C#
using System.Collections.Generic; using System.Linq; using Games.Common.IO; using SuperStarTrek.Space; namespace SuperStarTrek.Systems.ComputerFunctions; internal abstract class GalacticReport : ComputerFunction { internal GalacticReport(string description, IReadWrite io, Galaxy galaxy) : base(description...
28.828571
81
0.554014
[ "Unlicense" ]
AlaaSarhan/basic-computer-games
84_Super_Star_Trek/csharp/Systems/ComputerFunctions/GalacticReport.cs
1,009
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 Microsoft.CodeAnalysis.ExpressionEvaluator; using Microsoft.VisualStudio.Debugger.Clr; using Mi...
40.161765
124
0.572318
[ "MIT" ]
06needhamt/roslyn
src/ExpressionEvaluator/CSharp/Test/ResultProvider/NativeViewTests.cs
2,733
C#
using System; using System.Numerics; namespace LibreLancer.AI.ObjList { //TODO: cruise over whole spline public class AiGotoSplineState : AiObjListState { private int index = 0; public Vector3[] Points; public AiGotoKind Cruise; public float MaxThrottle; public float ...
34.811765
110
0.468401
[ "MIT" ]
Regenhardt/Librelancer
src/LibreLancer/Gameplay/AI/ObjList/AiGotoSplineState.cs
2,959
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Windows; using System.Diagnostics; using System.IO; using System.Text; using Microsoft.Win32; namespace UnitySXS { static class Program { /// <summary> /// The main entry point for the a...
40.757062
194
0.581508
[ "MIT" ]
LoganBooker/UnitySXS
Program.cs
7,216
C#
// Copyright (c) MASA Stack All rights reserved. // Licensed under the Apache License. See LICENSE.txt in the project root for license information. namespace Masa.BuildingBlocks.BasicAbility.Scheduler.Model; public class JobContext { public DateTimeOffset ExecutionTime { get; set; } public string ExcuteMetho...
29.375
98
0.731915
[ "MIT" ]
masastack/MASA.BuildingBlocks
src/BasicAbility/Masa.BuildingBlocks.BasicAbility.Scheduler/Model/JobContext.cs
470
C#
namespace Merchello.Bazaar.Models.ViewModels { using System.Collections; using System.Collections.Generic; using Merchello.Web.Models.ContentEditing; using Umbraco.Core.Models; using Umbraco.Web; /// <summary> /// The account history model. /// </summary> public class AccountHist...
25.479167
86
0.547833
[ "MIT" ]
steroberts89/Merchello
src/Merchello.Bazaar/Models/ViewModels/AccountHistoryModel.cs
1,225
C#
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microsoft C...
39.037209
174
0.599428
[ "MIT" ]
TataDvd/G
2012/Tempo2012/Tempo2012.UI.WPF/Quickstarts/Commanding/Commanding.Tests.AcceptanceTest/Commanding.Tests.AcceptanceTest/TestEntities/Page/CommandingPage.cs
8,393
C#
using MediaBrowser.Theater.Interfaces.Presentation; using MediaBrowser.Theater.Interfaces.ViewModels; using System; using System.Threading; using System.Windows.Media.Imaging; namespace MediaBrowser.Theater.Presentation.ViewModels { public class GalleryImageViewModel : BaseViewModel, IDisposable { pri...
24.058824
112
0.484806
[ "MIT" ]
thogil/MediaBrowser.Theater
MediaBrowser.Theater.Presentation/ViewModels/GalleryImageViewModel.cs
2,865
C#
using System.Collections.Generic; using System.Diagnostics; using System.Linq; using OpenHtmlToPdf.Assets; namespace OpenHtmlToPdf { static class HtmlToPdfConverterProcess { public static void ConvertToPdf( string html, string pdfFile, IDictionary<string, string> gl...
38.254902
214
0.617119
[ "MIT" ]
InfiniSwiss/InfiniSwiss.OpenHtmlToPdf
InfiniSwiss.OpenHtmlToPdf/HtmlToPdfConverterProcess.cs
1,953
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace Entities.Helpers.Entities { public class EntityRegisterModel { [Required] public string Name { get; set; } public string Description { get; set; } } }
18.411765
47
0.690096
[ "MIT" ]
oscarchacon/BackendWebApiCRUDColumnsOrder
Entities/Helpers/Entities/EntityBidingModel.cs
315
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Query.Core.Metrics { using System.Collections; using System.Collections.Generic; using...
36.426471
156
0.581483
[ "MIT" ]
jongio/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/Query/Core/Metrics/PartitionedQueryMetrics.cs
7,433
C#
namespace Eugenie.Clients.Common.WebApiModels { public class IdQuantityPair { public int Id { get; set; } public decimal Quantity { get; set; } } }
19.666667
46
0.621469
[ "MIT" ]
AntonioZn/Eugenie-v3
Source/Clients/Eugenie.Clients.Common/WebApiModels/IdQuantityPair.cs
179
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Microsoft.Azure.Devices.Provisioning.Service { /// <summary> /// The Device Provisioning Se...
38.392857
131
0.618605
[ "MIT" ]
StannieV/IoTHubDeviceExplorer
provisioning/service/src/Config/QueryResultType.cs
2,152
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: AssemblyTit...
38.810811
85
0.727716
[ "MIT" ]
thofisch/Cake.Alive
src/Cake.Alive.Tests/Properties/AssemblyInfo.cs
1,439
C#
using Common.Enums; using System; namespace Database.Models { public class RightsChange { public int Id { get; set; } public string From { get; set; } public string To { get; set; } public RoleType Role { get; set; } public DateTime Date { get; set; } } }
16.526316
42
0.573248
[ "MIT" ]
ngnet-team/ngnet-auth
src/Ngnet_Authentication/Database/Models/RightsChange.cs
316
C#
using BDSA2018.Lecture11.Entities; using BDSA2018.Lecture11.Shared; using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading.Tasks; namespace BDSA2018.Lecture11.Services { public class CharacterRepository : ICharacterRepository { private readonly IFuturamaContext _context; ...
30.552381
87
0.482232
[ "MIT" ]
ondfisk/BDSA2018
BDSA2018.Lecture11.Services/CharacterRepository.cs
3,208
C#
//----------------------------------------------------------------------- // <copyright file="IFormatter.cs" company="Sirenix IVS"> // Copyright (c) 2018 Sirenix IVS // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may...
40.571429
238
0.572983
[ "MIT" ]
aiya000/VRChat-EasyAudioPlayer
Assets/Udon/Serialization/OdinSerializer/Core/Formatters/IFormatter.cs
3,124
C#
//----------------------------------------------------------------------- // <copyright file="Done.cs" company="Akka.NET Project"> // Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> //---------...
32.269231
87
0.506555
[ "Apache-2.0" ]
cuteant/akka.net
src/Akka.Core/Done.cs
841
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
38.120704
285
0.532653
[ "MIT" ]
daxnet/guluwin
guluwin/Properties/Resources.Designer.cs
45,480
C#
using OpenNetcode.Client.Systems; using OpenNetcode.Shared; using OpenNetcode.Shared.Messages; using OpenNetcode.Shared.Systems; using Unity.Collections; using Unity.Entities; using Unity.Networking.Transport; using UnityEngine; namespace ExampleGame.Client.Systems { [DisableAutoCreation] [UpdateInGroup(ty...
28.411765
70
0.552105
[ "MIT" ]
polartron/open-netcode
Assets/ExampleGame/Client/Systems/TickDevClient.cs
1,449
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; using Bookstore.Models; namespace Bookstore.Controllers { [Authorize] public class CartController : Controller { private Repository<Book> data { get; set; } public CartController(BookstoreContext ctx) => data = new R...
27.921739
88
0.482716
[ "MIT" ]
westbrookmd/CPT-231-ASPNETCORE
Unit 3/Module 12/Ch16Ex1Bookstore/Bookstore/Controllers/CartController.cs
3,213
C#
using MGB.AudioGraph.Modules; using UnityEngine; namespace MGB.AudioGraph.Examples { public class VoiceMod : MonoBehaviour { // Cached graph modules: private NoiseEx mFmModule; private Distortion mDistortionModule; private Sample mVoiceSampleModule; private UIKnob mFmFreqKnob; private UIKnob mFmDepthKn...
24.673913
78
0.740088
[ "MIT" ]
AphexRebellion/Synthesize
Assets/Synthesize/Examples/Scenes/Voice Modulation/VoiceMod.cs
1,137
C#
namespace System.Xml { internal static partial class BinHexEncoder { private const string s_hexDigits = "0123456789ABCDEF"; private const int CharsChunkSize = 128; internal static void Encode( byte[] buffer, int index, int count, XmlWriter writer ) { if ( buffer == null ) { ...
37.152778
103
0.496075
[ "MIT" ]
AaronRobinsonMSFT/msbuild
src/Shared/Compat/BinHexEncoder.cs
2,675
C#
using Research.Core; using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Text.RegularExpressions; namespace Research.Infrastructure { /// <summary> /// A class that finds types needed by Research by looping assemblies in the /// currently execut...
39.138462
552
0.558726
[ "MIT" ]
Sakchai/ResearchProject
Research.Data/Infrastructure/AppDomainTypeFinder.cs
12,722
C#
namespace Tiger.Authorization.Accounts.Dto { public class RegisterOutput { public bool CanLogin { get; set; } } }
19.142857
43
0.649254
[ "MIT" ]
victorferreira/Tiger
aspnet-core/src/Tiger.Application/Authorization/Accounts/Dto/RegisterOutput.cs
136
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("UniShop.Web")] [assembly: AssemblyDescrip...
34.578947
84
0.744292
[ "MIT" ]
tonnystark/unishop
UniShop.Web/Properties/AssemblyInfo.cs
1,317
C#
using System.Threading.Tasks; #pragma warning disable SA1300 // Element should begin with upper-case letter namespace App.IntegrationTests.Mocks.Apps.tdd.sirius.AppLogic.Calculation #pragma warning restore SA1300 // Element should begin with upper-case letter { public class CalculationHandler { public ...
26.210526
77
0.684739
[ "BSD-3-Clause" ]
Altinn/altinn-studio
src/Altinn.Apps/AppTemplates/AspNet/App.IntegrationTests/Data/apps/tdd/sirius/logic/Calculation/CalculationHandler.cs
498
C#
using System.Collections.Generic; namespace Ujc.Ovj.ChangeEngine.Objects { public interface IApplicable { /// <summary> /// If change defined by <see cref="ChangeBase.Pattern"/> is applicable on input string. /// If <see cref="ChangeBase.Pattern"/> is not found, /// </summary>...
49
120
0.637755
[ "BSD-3-Clause" ]
RIDICS/ITJakub
UJCSystem/ITJakub.Xml.Conversion/Ujc.Ovj.ChangeEngine.Objects/IApplicable.cs
1,178
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2022 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE fil...
32.566038
64
0.628621
[ "Apache-2.0" ]
correaAlex/YAFNET
yafsrc/YAF.Types/Interfaces/Services/ITheme.cs
1,677
C#
using System.Threading.Tasks; namespace Core.Base { public interface ISmsSender { Task SendSmsAsync(string number, string message); } }
15.8
57
0.683544
[ "MIT" ]
drmturhan/psg
Core/Core.Base/ISmsSender.cs
160
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 regenerate...
53.204635
1,359
0.800798
[ "Apache-2.0" ]
Daddoon/BlazorWebView
sample/BlazorApp.Android/Resources/Resource.designer.cs
550,934
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TimeTrack.Models; namespace TimeTrack { public static class SampleData { public static void Initialize(TaskContext context) { if (!context.Tasks.Any()) { ...
24
62
0.422794
[ "MIT" ]
ftikhonin/TimeTrack
TimeTrack/TimeTrack/SampleData.cs
851
C#
using Newtonsoft.Json; namespace Lipisha.Response { public class TransactionAccountResponse : BaseStatusResponse { [JsonProperty("content")] public TransactionAccount transactionAccount { get; set; } } }
21.272727
66
0.705128
[ "Apache-2.0" ]
lexslimx/lipisha-dotnet-sdk
Lipisha/Response/TransactionAccountResponse.cs
236
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Samples.UsersApi.Database; namespace Samples.UsersApi.Controllers { [Route("api/[controller]")] [ApiController] public class UserController :...
26.080645
95
0.558442
[ "Apache-2.0" ]
borkke/opentracing-csharp-mongo
samples/Samples.UsersApi/Controllers/UserController.cs
1,619
C#
using RezervacniSystem.Domain.Model.KlientskeZpravy; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RezervacniSystem.Data.NHibernate { public class KlientskaZpravaRepository : DomainObjectRepository<KlientskaZprava>, IKlientskaZpravaRepos...
27.055556
109
0.788501
[ "MIT" ]
miloslavthon/uai628-rezervacni-system
RezervacniSystem.Data.NHibernate/KlientskaZpravaRepository.cs
489
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
35.548387
152
0.568058
[ "MIT" ]
ObAIoT/-CSharp-GoogleDriveSyncer
GoogleDriveSyncer/GoogleDriveSyncer/Properties/Settings.Designer.cs
1,104
C#
using System; using System.Collections.Generic; using System.Linq; namespace _3._Legendary_Farming { internal class Program { static void Main(string[] args) { const int lenderiQuantity = 250; Dictionary<string, int> materials = new Dictionary<string, int>(); ...
35.706522
112
0.437139
[ "MIT" ]
dimitarLaleksandrov/first-steps-in-coding-C-
Homework/Fundamentals whit C#/25. Associative Arrays Exercise/3. Legendary Farming/Program.cs
3,287
C#
// Copyright (c) 2016-2020 Alexander Ong // See LICENSE in project root for license information. using System.Collections; using System.Collections.Generic; using UnityEngine; using MoonscraperEngine; [System.Serializable] public class EditorObjectToolManager : System.Object { public enum ToolID { No...
30.529644
206
0.594899
[ "BSD-3-Clause" ]
TheNathannator/Moonscraper-Chart-Editor
Moonscraper Chart Editor/Assets/Scripts/Game/ChartEditor/EditorInteractions/HighwayObjectTools/EditorObjectToolManager.cs
7,726
C#
using System.Collections.Generic; using Castle.MicroKernel; using ITJakub.FileProcessing.Core.Data; using ITJakub.FileProcessing.Core.XMLProcessing.XSLT; namespace ITJakub.FileProcessing.Core.XMLProcessing.Processors.Pages { public class PagesProcessor : ProcessorBase { public PagesProcessor(XsltTransf...
26.35
101
0.58444
[ "BSD-3-Clause" ]
RIDICS/ITJakub
UJCSystem/ITJakub.FileProcessing.Core/XMLProcessing/Processors/Pages/PagesProcessor.cs
1,054
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static Retyped.dom; namespace System { public class Settings { public static bool IsEdge; public static bool IsFF; public static bool IsIE; public static b...
31.732877
202
0.571552
[ "Apache-2.0" ]
samuelGrahame/ClassicForms
ClassicForms/Settings.cs
4,635
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FirstOneTo.Authentication.Service; using FirstOneTo.Handlers; using FirstOneTo.Readmodel.Services; namespace FistOneTo.Bootstrapper { public class BootstrappedObjects { public Boot...
30.2
82
0.753642
[ "MIT" ]
TomPallister/cqrs-event-sourcing
FistOneTo.Bootstrapper/BootstrappedObjects.cs
757
C#
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Text; using WatsonWebserver; using Kvpbase.StorageServer.Classes.DatabaseObjects; namespace Kvpbase.StorageServer.Classes { /// <summary> /// Metadata for an incoming HTTP API request. /// </summary> ...
35.305263
111
0.482484
[ "MIT" ]
jchristn/Kvpbase
Kvpbase.StorageServer/Classes/RequestMetadata.cs
13,418
C#
using System.Reflection; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.OWC10Api { /// <summary> /// Interface IOleUndoUnit /// SupportByVersion OWC10, 1 /// </summary> [SupportByVersion("OWC10", 1)] [EntityType(EntityType.IsInterface...
31.651163
167
0.699669
[ "MIT" ]
DominikPalo/NetOffice
Source/OWC10/Interfaces/IOleUndoUnit.cs
5,446
C#
using MPTanks.Engine.Gamemodes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MPTanks.Engine.Core.Events.Types.GameCore { public class EndedEventArgs : EventArgs { public Team WinningTeam { get; set; } public bool ...
24.3125
80
0.722365
[ "MIT" ]
ZSBGames/mptanks2d
MPTanks-MK5/Engine/Core/Events/Types/GameCore/EndedEventArgs.cs
391
C#
namespace SoftJail.Data { using Microsoft.EntityFrameworkCore; using SoftJail.Data.Models; public class SoftJailDbContext : DbContext { public SoftJailDbContext() { } public SoftJailDbContext(DbContextOptions options) : base(options) { } ...
31.020408
85
0.565789
[ "MIT" ]
viktornikolov038/-Databases-Advanced-October-2019
exams/12AUG2018/Skeleton/SoftJail/Data/SoftJailDbContext.cs
1,522
C#
using rharel.Functional; using rharel.M3PD.Agency.Dialogue_Moves; using rharel.M3PD.Agency.Modules; using rharel.M3PD.Agency.State; using System; using static rharel.Functional.Option; namespace rharel.M3PD.Agency.System { /// <summary> /// This class represents the agency process of one agent, segmented into...
34.705426
80
0.554836
[ "MIT" ]
rharel/m3pd-agency
sources/System/AgencySystem.cs
4,479
C#
/// <summary> /// Cinematic arena flags. /// </summary> namespace bg3_modders_multitool.Enums.ValueLists { public enum CinematicArenaFlag { None, Ignore, AlwaysShow } }
15.846154
48
0.61165
[ "MIT" ]
ShinyHobo/bg3-mod-packer
bg3-modders-multitool/bg3-modders-multitool/Enums/ValueLists/CinematicArenaFlag.cs
208
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.Diagnostics; using System.Runtime.InteropServices; using System.IO; using System.Text; ...
34.793651
127
0.686588
[ "MIT" ]
anydream/corert
src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/WindowsDebugMergedAssemblyRecordsSection.cs
2,194
C#
/* * - CLASS: BASE PLATFORM CLASS * - AUTHOR: FRANCESCO PODDA * - VERSION: 1.1 * - CREATION DATE: MONDAY, 24 APRIL 2017 */ using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Base class used for platforms behaviour. /// </summary> [System.Serializable] public class Ba...
29.061069
149
0.638561
[ "MIT" ]
WoolMagician/8-Cores
Assets/8-Cores Assets/Classes/Environment/BasePlatform.cs
3,807
C#
// Copyright 2004-2021 Castle Project - http://www.castleproject.org/ // // 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 ...
40.076923
99
0.783109
[ "Apache-2.0" ]
Havunen/Core
src/Castle.Core.Tests/DynamicProxy.Tests/InterClasses/IInterfaceWithGenericMethodWithDependentConstraint.cs
1,042
C#
namespace MLSoftware.OTA { [System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")] [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.opentravel.org/OTA/2003/05")] public enum ExtrasInfoTypeExtraLocationInfoType { ...
26
118
0.600427
[ "MIT" ]
Franklin89/OTA-Library
src/OTA-Library/ExtrasInfoTypeExtraLocationInfoType.cs
468
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...
38.743017
200
0.594376
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Network/V20180901/VirtualNetworkLink.cs
6,935
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace ME.UAB.Serializers { public class MinMaxCurveSerializer : ISerializer { public class Data { public float constant; public float constantMax; public float constantMin; public AnimationCurve curve; public Anima...
31.184175
136
0.760171
[ "MIT" ]
chromealex/Unity3D.UI.Windows.Core
UI.Windows/AddonsDefault/WindowSystemResources/Core/UAB/Serializers/ParticleSystemSerializers.cs
22,860
C#
namespace ExemploSistema { partial class frmFuncionarios { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
44.244094
126
0.578128
[ "MIT" ]
gabriel-society/uniasselvi-2016-demo
exemplo-01/ExemploSistema/ExemploSistema/frmFuncionarios.Designer.cs
11,244
C#
using FolkerKinzel.MimeTypes.Intls; namespace FolkerKinzel.MimeTypes; public readonly partial struct MimeType : IEquatable<MimeType>, ICloneable { /// <summary> /// Creates a hash code for this instance, which takes the <see cref="Parameters"/> into account. /// </summary> /// <returns>The hash code....
29.72
139
0.60969
[ "MIT" ]
FolkerKinzel/MimeTypes
src/FolkerKinzel.MimeTypes/MimeType_GetHashCode.cs
1,488
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Gruda.Auth.Options { public class AdminUserOptions { public string UserName { get; set; } public string UserEmail { get; set; } public string DefaultPassword { get; set; } ...
23.1875
51
0.671159
[ "MIT" ]
MoiraG/ASP.Net-Core-Auth-Test
Gruda.Auth/Options/AdminUserOptions.cs
373
C#
namespace LesGamblers.Data.Migrations { using System.Data.Entity.Migrations; using System.Linq; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity; using Models; public sealed class Configuration : DbMigrationsConfiguration<LesGamblers.Data.LesGamblersDbContext> ...
32.629032
111
0.592684
[ "MIT" ]
juvemar/LesGamblers
LesGamblers.Data/Migrations/Configuration.cs
2,023
C#
using AutoMapper; using MediatR; using Ordering.Application.Contracts.Persistence; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Ordering.Application.Features.Orders.Queries.GetOrdersList { public class GetOrdersListQueryHandler : IRequestHandler<GetOrdersListQu...
33.25
113
0.729323
[ "MIT" ]
ASxCRO/AspnetMicroservices
src/Services/Ordering/Ordering.Application/Features/Orders/Queries/GetOrdersList/GetOrdersListQueryHandler.cs
933
C#
namespace DataLayerCore.Model { public partial class usp_GetQuestionsWithFeedback { public string Feedback { get; set; } public string QuestionText { get; set; } public int QuestionOrRequirementId { get; set; } public int AnswerId { get; set; } public string SetName { ge...
31.666667
56
0.639098
[ "MIT" ]
Harshilpatel134/cisagovdocker
CSETWebApi/CSETWeb_Api/DataLayerCore/Manual/usp_GetQuestionsWithFeedback.cs
667
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...
36.472222
159
0.638995
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Glacier/Generated/Model/Internal/MarshallTransformations/SetDataRetrievalPolicyRequestMarshaller.cs
3,939
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 ...
46.233333
147
0.696467
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Talent.V4/Google.Cloud.Talent.V4.GeneratedSnippets/JobServiceClient.BatchCreateJobsResourceNamesSnippet.g.cs
2,774
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("01...
38.189189
84
0.746638
[ "MIT" ]
mdamyanova/C-Sharp-Web-Development
07.C# DB Fundamentals/07.02.Databases Advanced - Entity Framework/03.OOP Intro and Code-First/02.Code-First/01.GringottsDatabase/Properties/AssemblyInfo.cs
1,416
C#
/* * This file is automatically generated; any changes will be lost. */ #nullable enable #pragma warning disable using Beef.Data.Database.Cdc; using Beef.Entities; using Beef.Mapper; using Newtonsoft.Json; using System; using System.Collections.Generic; namespace Beef.Demo.CdcPublisher.Entities { /// <summary...
33.301587
182
0.628217
[ "MIT" ]
Avanade/Beef
samples/Demo/Beef.Demo.CdcPublisher/Entities/Generated/PersonCdc.cs
2,098
C#
#pragma checksum "..\..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "EC95034D71824A3CDDC2DFDF74261E6C" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.225 // // Cha...
38.426117
150
0.561975
[ "MIT" ]
milkysunshine91/tank-wars
Tank_Wars/MapEditor/obj/x86/Debug/MainWindow.g.i.cs
11,184
C#
using Windows.Storage; using Prism.Mvvm; namespace ModernMoleculeViewer.ViewModels { public class MoleculeInfo : BindableBase { private string _name; public string Name { get { return _name; } set { SetProperty(ref _name, value); } } public Stor...
21.052632
50
0.59
[ "MIT" ]
kobush/ModernMoleculeViewer
win10/src/ModernMoleculeViewer/ViewModels/MoleculeInfo.cs
400
C#
namespace PCLMock.Visitors { using System.Linq.Expressions; using System.Text; using PCLMock.Utility; // converts the given expression into a string that can be used for debugging purposes internal sealed class SelectorStringVisitor : ExpressionVisitor { private readonly StringBuilder ...
28.769231
95
0.568182
[ "MIT" ]
kentcb/PCLMock
Src/PCLMock/Visitors/SelectorStringVisitor.cs
1,498
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.EntityFrameworkCore.TestUtilities.Xunit; namespace Microsoft.EntityFrameworkCore.Cosmos.TestUtilities { [AttributeUs...
28
117
0.574534
[ "Apache-2.0" ]
BionStt/EntityFrameworkCore
test/EFCore.Cosmos.FunctionalTests/TestUtilities/CosmosDbConfiguredConditionAttribute.cs
1,290
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 Xunit; namespace System.Xml.Tests { public class CreateXmlDeclarationTests { [Fact] p...
30.650602
110
0.579796
[ "MIT" ]
Acidburn0zzz/corefx
src/System.Private.Xml/tests/XmlDocument/XmlDocumentTests/CreateXmlDeclarationTests.cs
2,544
C#
using AutoMapper; using IdentityServer4.Admin.ViewModels.Account; using IdentityServer4.Admin.ViewModels.Role; using IdentityServer4.Admin.ViewModels.User; namespace IdentityServer4.Admin.ViewModels { public class AutoMapperProfile : Profile { public AutoMapperProfile() { CreateMap<...
37.608696
66
0.686705
[ "MIT" ]
ERP-CI-CD-Organization/identityserver
src/IdentityServer4.Admin/ViewModels/AutoMapperProfile.cs
865
C#
namespace HomeAutomation.Protocols.App.v0.Responses.Devices { [RequestType(0x03, 0x04, 0x00, 0x00)] public class DeleteDeviceDataResponse : ConnectionIdentificationResponseBase { public int Identifier { get; set; } } }
28.875
78
0.761905
[ "MIT" ]
jan-schubert/HomeAutomation
Source/HomeAutomation.Protocols.App/v0/Responses/Devices/DeleteDeviceDataResponse.cs
233
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
28.727273
102
0.75
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Outputs/RuleGroupRuleStatementOrStatementStatementByteMatchStatementFieldToMatchMethod.cs
632
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WPF___Shop_system.Data { public static class EmployeeAuthentification { public static string CheckLoginData(string employeeIdNumber, string employeePassword) { ...
23.588235
93
0.730673
[ "MIT" ]
iwelina-popova/PS-PMU-Shop-Software
WPF - Shop system/Data/EmployeeAuthentification.cs
403
C#
#region License // Procedural planet generator. // // Copyright (C) 2015-2018 Denis Ovchinnikov [zameran] // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of sour...
42.886364
78
0.755167
[ "BSD-3-Clause" ]
CyberSys/SpaceW
Assets/Project/SpaceEngine/Code/Core/Preprocess/Terrain/InputMap/IInputMap.cs
1,889
C#
using System; using System.Linq; using System.Collections; using System.Collections.Generic; using UncommonSense.CBreeze.Common; namespace UncommonSense.CBreeze.Core { public abstract class TableField : KeyedItem<int>, IHasName, IHasProperties, INode { internal TableField(int id, string name) {...
18.835821
86
0.488114
[ "MIT" ]
jhoek/UncommonSense.CBreeze
CBreeze/UncommonSense.CBreeze.Core/TableField.cs
1,262
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace WebAppMain.DAL { public class MySqlConfiguration : DbConfiguration { public MySqlConfiguration() { //AutomaticMigrationsEnabled = false; //SetSqlGen...
33.954545
173
0.697456
[ "MIT" ]
hccs-md/WebAppMain
WebAppMain/DAL/MysqlConfiguration.cs
749
C#
namespace UncommonSense.CBreeze.Core.Query { public enum QueryOrderByDirection { Ascending, Descending, } }
13.7
42
0.642336
[ "MIT" ]
FSharpCSharp/UncommonSense.CBreeze
CBreeze/UncommonSense.CBreeze.Core/Query/QueryOrderByDirection.cs
137
C#
using System.Threading; using System.Threading.Tasks; using Ardalis.ApiEndpoints; using Clean.Architecture.Core.Entities; using Clean.Architecture.SharedKernel.Interfaces; using Microsoft.AspNetCore.Mvc; using Swashbuckle.AspNetCore.Annotations; namespace Clean.Architecture.Web.Endpoints.ToDoItems { public class ...
30.219512
143
0.646489
[ "MIT" ]
AngeloAAB/CleanArchitecture.
src/Clean.Architecture.Web/Endpoints/ToDoItems/Create.cs
1,241
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...
39.87619
178
0.64748
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/Pinpoint/Generated/AmazonPinpointException.cs
4,187
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UITesting.Framework.Helpers; namespace UITesting.CourseDirectory.Models { public class Venue { /*Venue Web Elements*/ public string FILTER_VENUE_NAME = "//*[@id='DataTables...
46.131579
95
0.653736
[ "MIT" ]
SkillsFundingAgency/dfc-providerportal-automatedtests
UITesting.CourseDirectory/Models/Venue.cs
1,755
C#
using System; using System.Linq; namespace ClientCore.CnCNet5 { public static class NameValidator { /// <summary> /// Checks if the player's nickname is valid for CnCNet. /// </summary> /// <returns>Null if the nickname is valid, otherwise a string that tells ...
36.12
130
0.55371
[ "MIT" ]
GrantBartlett/xna-cncnet-client
ClientCore/CnCNet5/NameValidator.cs
1,763
C#
 namespace HotelExcellence.Telas.acessoNv2.listagem { partial class listAcesso { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
59.1
165
0.650197
[ "MIT" ]
Nivaldeir/Hotelaria-Excellence-Csharp
HotelExcellence/Telas/Nv2/Listagens/LoginListagemFRM.Designer.cs
8,867
C#
// *********************************************************************** // Assembly : TessellationAndVoxelizationGeometryLibrary // Author : Design Engineering Lab // Created : 02-27-2015 // // Last Modified By : Matt Campbell // Last Modified On : 05-28-2016 // **************************...
41.216393
132
0.492483
[ "MIT" ]
micampbell/TVGLSTEPImport
TessellationAndVoxelizationGeometryLibrary/InputOutput Operations/AMFFileData.cs
12,574
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StepBro.Core.Tasks { public enum TaskResultType { Success, Timeout, Failed } public interface ITaskStateReporting { void ProgressSetup(long start, long length, Func<long, ...
31.1
79
0.637728
[ "MIT" ]
JanJorgensen/StepBro
source/StepBro.Core/Tasks/ITaskStateReporting.cs
935
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
38.137255
166
0.681748
[ "Apache-2.0" ]
virajs/aws-sdk-net
AWSSDK_DotNet35/Amazon.SimpleEmail/Model/MessageRejectedException.cs
1,945
C#
using System; namespace StorageMaster.Models.Proucts { public abstract class Product { private double price; protected Product(double price, double weight) { this.Price = price; this.Weight = weight; } public double Price { ...
20.28125
85
0.466872
[ "MIT" ]
MrPIvanov/SoftUni
05-Csharp OOP Basics/20-EXAM PREPARATION 2/StorageMaster/StorageMaster/Models/Proucts/Product.cs
651
C#
/***************************************************************************** * Skeleton Utility created by Mitch Thompson * Full irrevocable rights and permissions granted to Esoteric Software *****************************************************************************/ using UnityEngine; using System.Collectio...
26.279012
167
0.70497
[ "MIT" ]
BenGMR/GGJam2016
RitualFighter/Assets/spine-unity/SkeletonUtility/SkeletonUtility.cs
10,643
C#
namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends { partial class NFS_ISO { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
47.111111
139
0.633844
[ "BSD-2-Clause" ]
wdxgy136/xenadmin-yeesan
XenAdmin/Wizards/NewSRWizard_Pages/Frontends/NFS_ISO.Designer.cs
6,784
C#
/****************************************************************************** * Copyright (C) Ultraleap, Inc. 2011-2021. * * * * Use subject to the terms of the Apache License 2.0 available at * ...
37.459016
126
0.5614
[ "MIT" ]
nonce-twice/ml_mods
ml_lme/vendor/LeapCSharp/Device.cs
11,425
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Taiko.Mods { public class TaikoModFlashlight : ModFlashlight { public override doubl...
27.538462
93
0.695531
[ "MIT" ]
AtomCrafty/osu
osu.Game.Rulesets.Taiko/Mods/TaikoModFlashlight.cs
348
C#
// ------------------------------------------------------------------------- // Copyright © 2020 Province of British Columbia // // 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 // // h...
31.90566
81
0.625665
[ "Apache-2.0" ]
Christopher-Tihor/embc-ess-mod
suppliers/src/API/EMBC.Suppliers.API/SubmissionModule/Models/Messages.cs
1,694
C#
using System; using System.Linq; using PostSharp.Aspects; using PostSharp.Aspects.Advices; using PostSharp.Reflection; using PostSharp.Serialization; using ThreatsManager.Interfaces.ObjectModel; using ThreatsManager.Interfaces.ObjectModel.Diagrams; using ThreatsManager.Interfaces.ObjectModel.Properties; using ThreatsM...
40.696296
141
0.5921
[ "MIT" ]
simonec73/threatsmanager
Sources/ThreatsManager.Utilities/Aspects/Engine/DirtyAspect.cs
5,496
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace HuntingApplication { public static class WebApiConfig { public static void Register(HttpConfiguration config) { config.MapHttpAttributeRoutes(); config.Routes.MapHttpRou...
27.103448
64
0.545802
[ "MIT" ]
jirikoud/HuntingTerritory
HuntingApplication/App_Start/WebApiConfig.cs
788
C#
//------------------------------------------------------------------------------ // <auto-generated> // 這段程式碼是由工具產生的。 // 執行階段版本:4.0.30319.42000 // // 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, // 變更將會遺失。 // </auto-generated> //------------------------------------------------------------------------------ names...
37.223404
178
0.565019
[ "BSD-3-Clause" ]
HarrisQs/Locker
LockerClient/Properties/Resources.Designer.cs
3,959
C#