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 Upgrade; using System.Collections.Generic; using Ship; using BoardTools; using ActionsList; using System; using SubPhases; using System.Linq; using UnityEngine; namespace UpgradesList.SecondEdition { public class Ruthless : GenericUpgrade { public Ruthless() : base() { Upgrad...
34.479452
159
0.615415
[ "MIT" ]
nickell-andrew/FlyCasual
Assets/Scripts/Model/Content/SecondEdition/Upgrades/Talent/Ruthless.cs
5,036
C#
using System.Collections; using System.Collections.Generic; using Tactics.Events; using Tactics.Models; using UnityEngine; namespace Tactics.Controllers { public class TileController : MonoBehaviour { public MapEvent selectTileOnMap; public MapEvent clearTilesOnMap; publi...
28.995074
117
0.483011
[ "MIT" ]
Joraffe/tactics_mvc
Assets/Scripts/Controllers/TileControllers/TileController.cs
5,888
C#
using UnityEngine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Smooth.Algebraics; using Smooth.Delegates; using Smooth.Slinq; #if !UNITY_3_5 namespace Smooth.Slinq.Test { #endif public class WhereTakeSelectAggregateLinq : MonoBehaviour { private void Update() { f...
20.08
101
0.709163
[ "MIT" ]
PoisonousJohn/smooth.foundations
Assets/Smooth/Foundations/Slinq/Test/WhereTakeSelectAggregateLinq.cs
502
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...
28.414634
107
0.624034
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Purview/V20201201Preview/Inputs/PrivateLinkServiceConnectionStateArgs.cs
1,165
C#
using System.Threading.Tasks; using Rnx.Abstractions.Buffers; using Rnx.Abstractions.Execution; using Rnx.Abstractions.Tasks; namespace Rnx.Tasks.Reliak.Minification { public abstract class MinificationTask : RnxTask { protected abstract string Minify(string input); public override void Execu...
26.409091
103
0.640275
[ "MIT" ]
rnx-io/Rnx.Tasks.Reliak
src/Rnx.Tasks.Reliak.Minification/MinificationTask.cs
583
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media.Media3D; using System.Collections.ObjectModel; namespace InterProcCommunication.Specific { public enum MessagePositionInSeq { SINGLE_MESSAGE = 0, SEQUENCE_START_MESSAGE = 1, ...
38.889109
195
0.584093
[ "Unlicense" ]
bph-tuwien/SIMULTAN_Stand_29_09_2017
EngineTest/Apps/InterProcCommunication/Specific/ComponentMessage.cs
19,641
C#
/*============================================================================= * * (C) Copyright 2013, Michael Carlisle (mike.carlisle@thecodeking.co.uk) * * http://www.TheCodeKing.co.uk * * All rights reserved. * The code and information is provided "as-is" without waranty of any kind, * either expressed or impl...
33.676471
95
0.540611
[ "MIT" ]
Icenium/XDMessaging.Net
Source/XDMessaging.Core/XDTransportMode.cs
1,147
C#
namespace Sinema_Proje { public partial class sinemailkDataSet { } } namespace Sinema_Proje.sinemailkDataSetTableAdapters { public partial class film_kayitTableAdapter { } }
15.142857
54
0.683962
[ "MIT" ]
mfrkndmrl/BiletSatisiOtomasyonu
Sinema-Proje/sinemailkDataSet.cs
214
C#
#nullable disable using System.Diagnostics; using System.Reflection; using System.Resources; using F0.CodeAnalysis.Diagnostics; namespace F0.Tests { public class AssemblyInfoTests { private static readonly Version version = new(0, 8, 0, 0); static AssemblyInfoTests() { EnsureThatAssemblyUnderTestIsLoaded()...
30.37931
134
0.752554
[ "MIT" ]
Flash0ver/F0.Analyzers
source/test/F0.Analyzers.Tests/AssemblyInfoTests.cs
1,762
C#
using System; partial class Person { public void WriteProperties(int years) { Console.WriteLine( $"Name: {Name}, age in {years} years: {AgeInSomeYears(years)}."); } public void WritePropertiesShort(int years) { Console.WriteLine( $"Name: {Name}."); } }
16.058824
68
0.666667
[ "MIT" ]
Speak91/Nordic-it-netcore
Lesson_11/ClassWork/L11_C15_partial_classes_live_demo/Person.Output.cs
275
C#
using Microsoft.Data.SqlClient; using NServiceBus.Attachments.Sql; using NServiceBus.Pipeline; class DeleteBehaviorRegistration : RegisterStep { public DeleteBehaviorRegistration(Func<Task<SqlConnection>> connectionBuilder, IPersister persister) : base( stepId: $"{AssemblyHelper.Name}Delet...
34.875
104
0.715054
[ "MIT" ]
SimonCropp/NServiceBus.Attachments
src/Attachments.Sql/Incoming/DeleteBehaviorRegistration.cs
560
C#
using EventFlow.Aggregates; using EventFlow.Extensions; using Microsoft.Extensions.DependencyInjection; using Moq; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Szlem.Domain; using Szlem.Engine.Interfaces; using Szlem.Models.Users; using Szlem.SchoolManagement.Impl; using...
49.872449
168
0.609616
[ "MIT" ]
Yaevh/fcc-net50-bug-repro-2
test/Engine/Szlem.SchoolManagement.Tests/RegisterSchoolTests.cs
9,817
C#
using Sudoku.Core; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Microsoft.Z3; using System.Security.Cryptography; using System.Globalization; using System.Diagnostics; namespace sudoku.Z3 { public class Z3Solver : ISudokuSolver { Context _ctx = ne...
32.944882
113
0.43762
[ "MIT" ]
LucasAbbkr/MSMIN5IN31-20-Sudoku
sudoku.Z3/Z3Solver.cs
4,186
C#
using Improbable.Gdk.Core; using System; using System.Collections.Generic; using Unity.Entities; using PointSchema = MdgSchema.Common.Point; namespace MDG.Common.Systems.Point { [DisableAutoCreation] [UpdateInGroup(typeof(SpatialOSUpdateGroup))] public class PointRequestSystem : ComponentSystem { ...
42.466667
158
0.537677
[ "MIT" ]
ChristianBasiga/MDG
workers/unity/Assets/MDG/Scripts/Common/Systems/Points/PointRequestSystem.cs
5,098
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #if FEATURE_WIN32_REGISTRY using System.Collections.Generic; using Microsoft.Win32; // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license...
34.621622
101
0.574161
[ "MIT" ]
0n1zz/main
src/Shared/RegistryHelper.cs
2,564
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using System.Web.Mvc; using System.Web.Routing; using Microsoft.TestCommon; using Microsoft.Web.UnitTestUtil; namespace Microsoft.Web.Mvc.Test { public class MailToEx...
51.601449
211
0.636147
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
test/Microsoft.Web.Mvc.Test/Test/MailToExtensionsTest.cs
7,123
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.793103
85
0.567518
[ "MIT" ]
DalavanCloud/enterprise-mode-site-list-portal
EMIEWebPortal.DataModel/TestPassPrimSecMapping.cs
1,096
C#
using System; using System.Collections.Generic; using System.Data; using System.Windows.Forms; using System.Net.Http; using ApiUtil; using ApiUtil.DataClasses; namespace DGPLattice.Screens.User { public partial class frmEditSelf : Form { HttpClient _httpClient; MainForm _main; public...
40.818792
155
0.476817
[ "Apache-2.0" ]
alanrahn/GitHub_DGP
SourceCode/Client/DGPLattice/Screens/User/frmEditSelf.cs
6,084
C#
#region PDFsharp - A .NET library for processing PDF // // Authors: // Klaus Potzesny // // Copyright (c) 2005-2016 empira Software GmbH, Cologne Area (Germany) // // http://www.PdfSharpCore.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to any person obtaining a /...
36.597938
105
0.580423
[ "MIT" ]
Balaboom-zq/PDFSharp
Didstopia.PDFSharp/Drawing.BarCodes/Code2of5Interleaved.cs
7,100
C#
namespace mini_ITS.Core.Options { public class DatabaseOptions { public string DataSource { get; set; } public string InitialCatalog { get; set; } public bool PersistSecurityInfo { get; set; } public bool IntegratedSecurity { get; set; } public string UserId { get; set; ...
30.214286
53
0.619385
[ "MIT" ]
tc-soft/mini-ITS
mini-ITS.Core/Options/DatabaseOptions.cs
425
C#
using System.IO; using UAlbion.Api; namespace UAlbion.Formats.MapEvents { public class ChangeIconEvent : IEvent { public static EventNode Load(BinaryReader br, int id, MapEventType type) { return new EventNode(id, new ChangeIconEvent { X = br.ReadSByte()...
35.744681
145
0.535119
[ "MIT" ]
mrwillbarnz/ualbion
Formats/MapEvents/ChangeIconEvent.cs
1,682
C#
using StarryEyes.Anomaly.TwitterApi.DataModels; using StarryEyes.Views; namespace StarryEyes.Models.Backstages.TwitterEvents { public sealed class RetweetedEvent : TwitterEventBase { public RetweetedEvent(TwitterUser source, TwitterStatus target) : base(source, target) { } public ...
23.366667
71
0.573466
[ "MIT" ]
Grabacr07/StarryEyes
StarryEyes/Models/Backstages/TwitterEvents/RetweetedEvent.cs
703
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("Exc...
38.27027
84
0.752119
[ "MIT" ]
stepan82/Programming-Fundamentals-September-2017
Data-Type-Variables/Exchange_Variable_Values/Properties/AssemblyInfo.cs
1,419
C#
namespace InControl { // @cond nodoc [AutoDiscover] public class DroidBoxPS3AndroidProfile : UnityInputDeviceProfile { // https://www.amazon.com/DroidBOX-Gamepad-Handheld-Touchscreen-Mali-T764-Linux/dp/B01B4ESXT0 // https://droidbox.co.uk/gpd-xd-droidbox-playon-best-mini-handheld-games-tablet-console-android.ht...
24.779817
103
0.654943
[ "MIT" ]
BattlerockStudios/GGJ2019
Assets/InControl/Source/Unity/DeviceProfiles/DroidBoxPS3AndroidProfile.cs
2,701
C#
using System; using System.Linq; using PKISharp.WACS.Services; namespace PKISharp.WACS.Extensions { public static class TargetExtensions { public static bool IsCommonNameValid(this Target target, ILogService failureLogService = null) { var cn = target.CommonName; ...
44.24
175
0.669078
[ "Apache-2.0" ]
helixge/win-acme
letsencrypt-win-simple/Extensions/TargetExtensions.cs
1,108
C#
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System.Management.Automation; using System.Management.Automation.Runspaces; namespace Microsoft.PowerShell { ...
41.049505
119
0.592619
[ "Apache-2.0", "MIT" ]
adbertram/PowerShell
src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleShell.cs
4,146
C#
using System; using System.IO; using AudioMog.Application.AudioFileRebuilder; using AudioMog.Core; using AudioMog.Core.Audio; using VGAudio.Containers.Hca; using VGAudio.Containers.Wave; using VGAudio.Formats; namespace AudioMog.Application.Codecs { public class HcaACodec : ACodec { private static readonly byte[]...
45.084416
143
0.712228
[ "MIT" ]
Yoraiz0r/AudioMog
AudioMogApplication/Codecs/HcaCodec.cs
6,945
C#
// ----------------------------------------------------------------------- // <copyright file="EntityHashExtensions.cs" company="Hybrid开源团队"> // Copyright (c) 2014-2018 Hybrid. All rights reserved. // </copyright> // <site>https://www.lxking.cn</site> // <last-editor>ArcherTrister</last-editor> // <last-date...
37.222222
151
0.58097
[ "Apache-2.0" ]
ArcherTrister/ESoftor
src/Hybrid/Entity/EntityHashExtensions.cs
2,872
C#
// Copyright (c) 2015 SharpYaml - Alexandre Mutel // // 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, modify, ...
51.793651
129
0.700276
[ "MIT" ]
Cinchoo/SharpYaml
src/SharpYaml/Serialization/IYamlSerializableFactory.cs
3,263
C#
namespace FightingArena { using System.Collections.Generic; using System.Linq; public class Arena { private List<Gladiator> gladiators; public string Name { get; set; } public int Count => this.gladiators.Count(); public Arena(string name) { ...
27.387755
86
0.543219
[ "MIT" ]
q2kPetrov/SoftUni
C#Advanced/ExamPreparation/16_April_2019/03_FightingArena/Arena.cs
1,344
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RailNomenclature { public class AndSwitch : Switch { private Switch _s1, _s2; public AndSwitch(Switch s1, Switch s2): base(null, 0, 0, 0, 0) { _s1 = s1; ...
20.529412
71
0.508596
[ "MIT" ]
BenMakesGames/RailNomenclature
RailNomenclature/Model/World/Things/Switches/AndSwitch.cs
700
C#
#if !NETSTANDARD13 /* * 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 ...
41.030303
160
0.659527
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AppMesh/Generated/Model/_bcl45+netstandard/ListVirtualGatewaysPaginator.cs
4,062
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. namespace Microsoft.WingetCreateCore { using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; ...
45.661397
179
0.601841
[ "MIT" ]
jedieaston/winget-create
src/WingetCreateCore/Common/PackageParser.cs
34,661
C#
using System; using Newtonsoft.Json; using System.Xml.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayDataDataserviceShoppingmallrecVoucherQueryModel Data Structure. /// </summary> [Serializable] public class AlipayDataDataserviceShoppingmallrecVoucherQ...
30.204082
103
0.601351
[ "MIT" ]
Aosir/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayDataDataserviceShoppingmallrecVoucherQueryModel.cs
1,820
C#
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System; namespace EdFi.Ods.WebApi.Composite...
28.869565
86
0.704819
[ "Apache-2.0" ]
AxelMarquez/Ed-Fi-ODS
tests/EdFi.Ods.WebApi.CompositeSpecFlowTests/Dtos/StudentAssessmentKeyInformation.cs
664
C#
namespace Presentacion.Core.Cliente { partial class _00003_Clientes { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summ...
39.608696
107
0.597512
[ "MIT" ]
RamonChauqui/SubeCodigo
Presentacion.Core/02-Cliente/_00003_Clientes.Designer.cs
2,735
C#
using System; namespace Veldrid.MetalBindings { public struct MTLDepthStencilState { public readonly IntPtr NativePtr; } }
15.888889
41
0.706294
[ "MIT" ]
BSG-75/veldrid
src/Veldrid.MetalBindings/MTLDepthStencilState.cs
143
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d10misc.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { ...
32.764706
145
0.718133
[ "MIT" ]
Perksey/terrafx.interop.windows
sources/Interop/Windows/um/d3d10misc/D3D10_DRIVER_TYPE.cs
559
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _04.Exam_Shopping { class Program { static void Main(string[] args) { var input = Console.ReadLine(); var shop = new Dictionary<string, int>(); ...
30.769231
77
0.4575
[ "MIT" ]
spiderbait90/Step-By-Step-In-C-Sharp
Programming Fundamentals/Dictionaries/04. Exam Shopping/Program.cs
1,602
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UT.CoreV20; namespace UT.WechatV22 { public class WechatHelper : ISendable { public void Send(string message) { Console.WriteLine("Frome wechat: " + message); } } }
18.058824
58
0.641694
[ "Apache-2.0" ]
densen2014/RookieProject
IOCDemo/UT.WechatV22/WechatHelper.cs
309
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 may...
36.783217
281
0.705513
[ "Apache-2.0" ]
dineshkummarc/lucene.net
src/core/Analysis/StopAnalyzer.cs
5,260
C#
using System; using System.Threading.Tasks; namespace FluentStateMachine { public class FsmConfig<TState, TEvent> { internal FsmBuilder<TState, TEvent> Root; public FsmStateConfig<TState, TEvent> State(TState state) => Root.State(state); public IStateMachine<TState, TEven...
28.452381
108
0.571548
[ "MIT" ]
mustaddon/StateMachine
FluentStateMachine/FsmConfig.cs
2,392
C#
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.Windows.Forms; namespace RelhaxModpack { public partial class AddPicturesZip : RelhaxForum { private string[] Accep...
36.327103
120
0.580911
[ "Apache-2.0" ]
Arkhorse/RelhaxModpack
RelhaxLegacy/RelicModManager/Forms/AddPicturesZip.cs
3,889
C#
using Demo.Domain.MessageOutbox; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Demo.Infrastructure.Persistence.Configuration { public class MessageOutboxEntityTypeConfiguration : IEntityTypeConfiguration<MessageOutbox> { public void Configure(Ent...
33.033333
95
0.608476
[ "MIT" ]
nvdvlies/aspnet-core-api-demo
src/Demo.Infrastructure/Persistence/Configuration/MessageOutboxEntityTypeConfiguration.cs
993
C#
// Copyright (c) .NET Foundation and Gerard Gunnewijk. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. // // Changes: // - Changed namespace to seperate this project from the original https://github.com/aspnet/Proxy // - Added logging //...
41.6875
168
0.61944
[ "Apache-2.0" ]
synercoder/Synercoding.ReverseProxy
Synercoding.ReverseProxy/ProxyMiddleware.cs
4,004
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> //--...
33.791667
163
0.689684
[ "MIT" ]
21pages/WPF-Samples
Windows/WindowHiding/Properties/Resources.Designer.cs
2,435
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Pathfinding : MonoBehaviour { AstarGrid GridReference;//For referencing the grid class // public Transform StartPosition;//Starting position to pathfind from // public Transform TargetPosition;//Starting p...
45.311321
230
0.62919
[ "MIT" ]
rgferrari/Bomberman-3D
Bomberman-3D/Assets/Scripts/Astar/Pathfinding.cs
4,805
C#
using Android.App; using Android.Content.PM; using Android.OS; using Android.Runtime; namespace EuroVisionQuiz.Droid { [Activity(Label = "EuroQuizion", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] public c...
41.176471
186
0.712143
[ "MIT" ]
Ownie/EuroVisionQuiz
EuroVisionQuiz.Android/MainActivity.cs
1,402
C#
using Newtonsoft.Json; namespace WiseOldManConnector.Models.API.Responses; internal class SnapshotsResponse : BaseResponse { [JsonProperty("day")] public List<WOMSnapshot> Day { get; set; } [JsonProperty("week")] public List<WOMSnapshot> Week { get; set; } [JsonProperty("month")] public Lis...
24.055556
51
0.681293
[ "MIT" ]
MathieuDR/orsr-discord-automator
WiseOldManConnector/Models/API/Responses/SnapshotsResponse.cs
435
C#
/*********************************************************************** * Project: CoreCms * ProjectName: 核心内容管理系统 * Web: https://www.corecms.net * Author: 大灰灰 * ...
35.746617
402
0.522985
[ "Apache-2.0" ]
toolgood/CoreShop
CoreCms.Net.Web.Admin/Controllers/System/SysOperRecordController.cs
30,094
C#
using EventStore.ClientAPI; using EventStore.ClientAPI.ClientOperations; using EventStore.ClientAPI.Exceptions; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace EventStore.Core.Tests.ClientAPI { [Category("LongRu...
34.609164
160
0.752025
[ "Apache-2.0", "CC0-1.0" ]
BearerPipelineTest/EventStore
src/EventStore.Core.Tests/ClientAPI/connecting_to_a_persistent_subscription_async.cs
12,842
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...
37.756757
84
0.743737
[ "MIT" ]
TsvetanKT/TelerikHomeworks
Databases/16.ProcessingJSON/01.RSSToJSON/Properties/AssemblyInfo.cs
1,400
C#
using System; using Microsoft.Extensions.Configuration; using System.IO; namespace Oogi2.AspNetCore.Identity.Tests.Fixtures { public class DocumentDbFixture : IDisposable { public Connection Connection { get; } public DocumentDbFixture() { var appSettings = new Configurati...
26
150
0.582692
[ "MIT" ]
goto10hq/Oogi2.AspNetCore.Identity
Oogi2.AspNetCore.Identity.Tests/Fixtures/DocumentDbFixture.cs
1,042
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("_0...
38.513514
84
0.748772
[ "MIT" ]
spzvtbg/02-Tech-modul
Fundamental task solutions/05.Data Types and Variables - Exercises/04. Variable in Hex Format/Properties/AssemblyInfo.cs
1,428
C#
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; namespace Tizen.NUI { internal static partial class Interop { internal static partial class RendererParameters { [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE....
83.219608
199
0.77395
[ "Apache-2.0", "MIT" ]
bshsqa/TizenFX
src/Tizen.NUI/src/internal/Interop/Interop.TextUtils.cs
21,223
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
52.019608
274
0.768564
[ "Apache-2.0" ]
QPC-database/aws-sdk-net
sdk/src/Services/CodeBuild/Properties/AssemblyInfo.cs
2,653
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml...
27.454545
106
0.722958
[ "Apache-2.0" ]
DLozanoNavas/xamarin-forms-book-samples
Chapter05/FS/FontSizes/FontSizes/FontSizes.UWP/MainPage.xaml.cs
906
C#
// ==================================================== // More Templates: https://www.ebenmonney.com/templates // Email: support@ebenmonney.com // ==================================================== using DAL.Models; using System; using System.Collections.Generic; using System.Linq; namespace DAL.Repositories.Inte...
22.611111
62
0.545455
[ "MIT" ]
AivazovskiiRoman/QuickApp
src/DAL/Repositories/Interfaces/IProductRepository.cs
409
C#
using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Reactive.Subjects; using EcsRx.Entities; using EcsRx.Extensions; using EcsRx.Groups.Observable; using EcsRx.MicroRx.Extensions; using EcsRx.Tests.Models; using EcsRx.Tests.Plugins.Computeds.Models; using NSubstitute; using Xun...
41.729537
102
0.628347
[ "MIT" ]
Fijo/ecsrx
src/EcsRx.Tests/Plugins/Computeds/ComputedCollectionFromGroupTests.cs
11,726
C#
using MetaDslx.CodeAnalysis; using Microsoft.CodeAnalysis; using Roslyn.Utilities; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Text; namespace MetaDslx.CodeAnalysis { /// <summary> /// A diagnostic (such as a comp...
38.174157
163
0.593304
[ "Apache-2.0" ]
balazssimon/meta-cs
src/Main/MetaDslx.CodeAnalysis.Meta/CodeAnalysis/Diagnostic/LanguageDiagnostic.cs
13,590
C#
using Gwen.Net.Skin; namespace Gwen.Net.Control { /// <summary> /// Image container. /// </summary> public class ImagePanel : ControlBase { private readonly Texture m_Texture; private readonly float[] m_uv; private Size m_ImageSize; /// <summary> /// ...
28.088889
120
0.458465
[ "MIT" ]
pershingthesecond/Gwen.Net
Gwen.Net/Control/ImagePanel.cs
5,058
C#
// SPDX-License-Identifier: BSD-3-Clause // // Copyright 2020 Raritan Inc. All rights reserved. // // This file was generated by IdlC from Ade.idl. using System; using System.Linq; using LightJson; using Com.Raritan.Idl; using Com.Raritan.JsonRpc; using Com.Raritan.Util; #pragma warning disable 0108, 0219, 0414, 1591...
38.955645
221
0.656247
[ "BSD-3-Clause" ]
gregoa/raritan-pdu-json-rpc-sdk
pdu-dotnet-api/_idlc_gen/dotnet/Com/Raritan/Idl/pdumodel/Ade.cs
9,661
C#
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** File: RemotingAttributes.cs ** ** Purpose: Custom attributes for modifying remoting interactions. ** ** Date: Oct 5, 2000 ** ===========...
37.363938
127
0.51538
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/clr/bcl/system/runtime/remoting/remotingattributes.cs
33,777
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 may...
34.821429
75
0.758974
[ "Apache-2.0" ]
Nordix/geode-native
netcore/asp-netcore-session-sample/Models/ErrorViewModel.cs
977
C#
using System; using System.ComponentModel; using System.Diagnostics; using System.Windows; using System.Windows.Input; using System.Windows.Navigation; using TRGE.Coord; using TRGE.View.Model; using TRGE.View.Updates; using TRGE.View.Utils; namespace TRGE.View.Windows { /// <summary> /// Interaction logic for...
32.123037
117
0.594899
[ "MIT" ]
lahm86/TRGameflowEditor
TRGE.View/Windows/MainWindow.xaml.cs
12,273
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...
33.852632
159
0.594838
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/DataFactory/Latest/Inputs/AzureMySqlTableDatasetArgs.cs
3,216
C#
// Copyright (c) ZHAW, Marco Bertschi, Patrick Stadler. All rights reserved. namespace Watra.Client.Desktop { using System.Windows; using Watra.Api.Data.ApiClient; using Watra.Client.Desktop.ViewModel; /// <summary> /// Interaction logic for EditHoseConnectorsWindow.xaml. /// </summary> p...
29.15
91
0.617496
[ "MIT" ]
OpenWatra/OpenWatra-Core
src/Watra.Client.Desktop/EditHoseConnectorsWindow.xaml.cs
1,168
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using OSharp.Extensions; using OSharp.Filter; namespace OSharp.Collections { /// <summary> /// Enumerable集合扩展方法 /// </summary> public static class EnumerableExtensions { /// ...
37.004673
138
0.566359
[ "Apache-2.0" ]
188867052/osharp-master
src/OSharp/Collections/EnumerableExtensions.cs
8,869
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
34.453642
454
0.482941
[ "MIT" ]
F-V-L/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/NumberPlan.cs
20,810
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.Collections.Generic; using System.ComponentModel; using System.Windows.Forms.TestUtilities; using Xuni...
42.499455
291
0.621741
[ "MIT" ]
abdullah1133/winforms
src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/DataGridViewColumnTests.cs
77,946
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> //------------------------------------------...
29.3
80
0.59727
[ "Unlicense" ]
DEFRA/license-and-permitting-dynamics
Crm/WastePermits/Defra.Lp.WastePermits/Model/EarlyBound/OptionSets/ImportFile_FileTypeCode.cs
879
C#
#region Copyright 2014 Exceptionless // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Affero General Public License as published // by the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // http://w...
44.455696
172
0.705296
[ "Apache-2.0" ]
ToddZhao/Exceptionless
Source/Tests/Repositories/InMemory/MonthStackStatsRepository.cs
3,514
C#
/** * Copyright (c) 2015, Harry CU 邱允根 (292350862@qq.com). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
32.12
76
0.676214
[ "Apache-2.0" ]
HarryCU/SqlGenerater
SqlGenerater.Test/Model/UserModel.cs
811
C#
using System; using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace ViewDiscovery.Views { /// <summary> /// Interaction logic for ViewA.xaml /// </summary> public partial class ViewA : UserControl { public ViewA() { this.InitializeComponent(); } ...
18.608696
44
0.579439
[ "MIT" ]
AvaloniaCommunity/Prism.Avalonia
samples/ViewDiscovery/Views/ViewA.xaml.cs
430
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Silverfly.Example.Domain { public abstract class Animal { public abstract string Description { get; } } }
18.153846
52
0.677966
[ "Apache-2.0" ]
nick-hadfield/silverfly
src/Silverfly.Example/Domain/Animal.cs
238
C#
using System.Collections.Generic; using Application.Interfaces; namespace Application.Entities.Catalogs { public class CatalogItem : ICatalogItem { public static uint Seed = 0; public uint id { get ; set ; } public int quantity { get ; set ; } public decimal price { get ; set ; ...
27.5
107
0.576077
[ "MIT" ]
natividadejoao/eShopOnWeb
Application/Entities/Catalogs/CatalogItem.cs
1,045
C#
using System; namespace Recipes.RepoDb.Models { public class EmployeeClassificationWithCount : IEmployeeClassificationWithCount { public int EmployeeClassificationKey { get; set; } public string? EmployeeClassificationName { get; set; } public int EmployeeCount { get; set; } } }
26.5
83
0.707547
[ "Unlicense" ]
TEJA1122/DotNet-ORM-Cookbook
ORM Cookbook/Recipes.RepoDb/Models/EmployeeClassificationWithCount.cs
320
C#
using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; namespace StardewValleyMods.CategorizeChests.Framework.Persistence { /// <summary> /// The class responsible for reading saved data and using it to restore /// the mod state. /// </summary> clas...
35.044444
117
0.639822
[ "MIT" ]
doncollins/StardewValleyMods
CategorizeChests/Framework/Persistence/Loader.cs
1,579
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.Drawing; using System.Drawing.Drawing2D; using System.Runtime.InteropServices; #if WINFORMS_NAMESPACE...
41.805714
164
0.604497
[ "MIT" ]
Liminiens/winforms
src/System.Windows.Forms/src/misc/DpiHelper.cs
14,634
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Muwesome.MethodDelegate { /// <summary>Returns an instance for an injected parameter.</summary> public delegate object ParameterResolver(ParameterInfo parameter); public static cl...
56.285714
170
0.763234
[ "MIT" ]
darfink/Muwesome
lib/MethodDelegate/MethodDelegateHelper.cs
2,758
C#
namespace EZCoach.Pong { public enum PlayerDirection { None = 0, Up = 1, Down = -1 } }
17
33
0.487395
[ "MIT" ]
Pawel-M/EZ-Coach
Unity plugin/Assets/EZ-Coach/Examples/EZ Pong/Scripts/PlayerDirection.cs
121
C#
using System; using System.Collections.Generic; namespace _0230 { /** * Definition for a binary tree node. */ public class TreeNode { public int val; public TreeNode left; public TreeNode right; public TreeNode(int x) { val = x; } } public class Solution { ...
22.514286
95
0.424492
[ "Apache-2.0" ]
twilightgod/PlayLeetcode
0230/Program.cs
1,578
C#
using TestWrapper.Workers; using Unity.Burst; using Unity.Collections; using Unity.Mathematics; namespace TestCase.Basic.Multiplication.Simd.Optimization { [BurstCompile] public struct SimdMultiplicationOptimizationUInt2Job : IJobExt<NativeArray<uint2>, NativeArray<uint2>, NativeArray<uint2>> { [R...
23.156863
126
0.536833
[ "MIT" ]
ErikMoczi/Unity.TestRunner.Jobs
Assets/TestCase/Basic/Multiplication/Simd/Optimization/SimdAdditionOptimizationUInt2Job.cs
1,183
C#
using System; using System.Windows.Automation; using XiangJiang.Core; using XiangJiang.Windows.UIA.Core; namespace XiangJiang.Windows.UIA { /// <summary> /// ComboBox 控件 /// </summary> // ReSharper disable once InconsistentNaming public static class ComboBoxHelper { /// <summary> ...
39.093023
107
0.627603
[ "Apache-2.0" ]
YanZhiwei/XiangJiang.Infrastructure.Windows.UIA
XiangJiang.Windows.UIA/ComboBoxHelper.cs
1,711
C#
using System; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; using Epi; // Generic assembly settings // set of attributes. Change these attribute values to modify the information // associated with an assemb...
42.450704
93
0.71367
[ "Apache-2.0" ]
keymind/Epi-Info-Community-Edition
SolutionInfo.cs
3,018
C#
using System.Web; using System.Web.Mvc; namespace my_aspnetmvc_learning { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19.571429
80
0.667883
[ "MIT" ]
zhouyongtao/my_aspnetmvc_learning
my_aspnetmvc_learning/App_Start/FilterConfig.cs
276
C#
using Lidgren.Network; using Robust.Shared.Network; namespace OpenDreamShared.Network.Messages { public sealed class MsgTopic : NetMessage { public override MsgGroups MsgGroup => MsgGroups.EntityEvent; public string Query; public override void ReadFromBuffer(NetIncomingMessage buffer...
22.391304
70
0.646602
[ "MIT" ]
DamianX/OpenDream
OpenDreamShared/Network/Messages/MsgTopic.cs
517
C#
using System; using System.Collections.Generic; using System.Text; namespace BE { public class Estado { public int IdEstado { get; set; } public string NomEstado { get; set; } } }
16.153846
45
0.633333
[ "MIT" ]
carloseip/ApiEventos
BE/Estado.cs
212
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BaseballSimulatorApp { using System.Collections.ObjectModel; class BaseballSimulator { private Ball ball = new Ball(); private Pitcher pitcher; ...
28.055556
96
0.585149
[ "MIT" ]
JianGuoWan/third-edition
VS2012/Chapter_15/BaseballSimulatorAppWithCallback/BaseballSimulatorApp/BaseballSimulator.cs
1,012
C#
#if !__MACCATALYST__ using System; using System.Threading.Tasks; using Foundation; namespace VideoSubscriberAccount { public static partial class VSAccountProviderAuthenticationSchemeExtensions { // these are less common pattern so it's not automatically generated public static NSString[] GetConstants (this VS...
27.472222
91
0.717897
[ "BSD-3-Clause" ]
NormanChiflen/xamarin-all-IOS
src/VideoSubscriberAccount/VSAccountProviderAuthenticationScheme.cs
989
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ConferenceDTO; namespace FrontEnd.Services { public interface IApiClient { Task<List<SessionResponse>> GetSessionsAsync(); Task<SessionResponse> GetSessionAsync(int id); Task<List<Spe...
29.782609
61
0.718248
[ "MIT" ]
alex-coupe/conference-planner
FrontEnd/Services/IApiClient.cs
687
C#
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Novinichka.Data.Common.Repositories; namespace Novinichka.Data.Repositories { public class EfRepository<TEntity> : IRepository<TEntity> where TEntity : class { public EfRepository(Applica...
25.772727
87
0.580835
[ "MIT" ]
georgidelchev/novini4ka
Data/Novinichka.Data/Repositories/EfRepository.cs
1,703
C#
// StrawberryShake.CodeGeneration.CSharp.ClientGenerator #nullable enable namespace StrawberryShake.CodeGeneration.CSharp.Analyzers.StarWars { [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")] public partial class StarWarsClient { private readonly GetPeopleQuery _getPeo...
29.666667
91
0.717496
[ "MIT" ]
HonzaBejvl/hotchocolate
src/StrawberryShake/SourceGenerator/test/CodeGeneration.CSharp.Analyzers.Tests/StarWars/Generated/StarWarsClient.StarWarsClient.StrawberryShake.cs
625
C#
 namespace SereneApi.Abstractions.Queries { /// <summary> /// Formats objects to strings. /// </summary> /// <param name="queryObject">The object to be formatted to a string.</param> public delegate string ObjectToStringFormatter(object queryObject); }
27.4
81
0.693431
[ "MIT" ]
SereneApi/SereneApi
src/SereneApi.Abstractions/Queries/ObjectToStringFormatter.cs
276
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
76.214286
472
0.700152
[ "MIT" ]
imadan1996/azure-powershell
src/BotService/generated/api/Models/Api20180712/SlackChannel.PowerShell.cs
16,849
C#
using PddOpenSdk.Models.Request.Logisticsticket; using PddOpenSdk.Models.Response.Logisticsticket; using System.Threading.Tasks; namespace PddOpenSdk.Services.PddApi { public class LogisticsticketApi : PddCommonApi { /// <summary> /// 客户与机器人的聊天记录获取接口 /// </summary> public async T...
51.373333
200
0.719699
[ "Apache-2.0" ]
zuhuizou/open-pdd-net-sdk
PddOpenSdk/PddOpenSdk/Services/PddApi/LogisticsticketApi.cs
4,035
C#
using System; using BEPUphysics.BroadPhaseEntries; using BEPUphysics.BroadPhaseEntries.MobileCollidables; using BEPUphysics.CollisionTests.CollisionAlgorithms.GJK; using BEPUphysics.CollisionTests.Manifolds; using BEPUphysics.Constraints.Collision; using BEPUphysics.DataStructures; using BEPUutilities.DataStruc...
42.242152
173
0.556688
[ "MIT" ]
RossNordby/bepuphysics1int
BEPUphysics/NarrowPhaseSystems/Pairs/InstancedMeshPairHandler.cs
9,422
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Threading; using System.Threading.Tasks; using Elastic.Xunit.Sdk; using Elastic.Xunit.XunitPlumbing; using FluentAssertions; using Nest; using Tests.Framework; using Tests.Fr...
31.003165
127
0.703481
[ "Apache-2.0" ]
Tchami/elasticsearch-net
src/Tests/Document/Multiple/BulkAll/BulkAllApiTests.cs
9,799
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Web; using System.Web.Mvc; namespace MusicCenter.App.Controllers { public class BaseController : Controller { protected override IAsyncResult BeginExecuteCore(AsyncC...
43.647059
105
0.548967
[ "MIT" ]
lkosciuk/MusicCenter
MusicCenter.App/Controllers/BaseController.cs
2,228
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2RuleGroupRuleStatementAndStatementStatementNotStatementStatementGeoMatchStatement), fullyQualifiedName: "aws.Wafv2RuleGroupRuleStatementAndStatementStatementNotStatementStatementG...
46.580645
246
0.713989
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/IWafv2RuleGroupRuleStatementAndStatementStatementNotStatementStatementGeoMatchStatement.cs
1,444
C#