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
// 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 System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks;...
40.712766
171
0.588363
[ "Apache-2.0" ]
CyberAndrii/NuGet.Jobs
src/Catalog/Icons/IconProcessor.cs
11,483
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; using ...
34.625
157
0.551444
[ "ECL-2.0", "Apache-2.0" ]
ScriptBox99/pulumi-azure
sdk/dotnet/NotificationHub/GetHub.cs
6,648
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("Co...
37.756757
84
0.745168
[ "MIT" ]
YLiohenki/CodeAndMagic
CodeAndMagic/Properties/AssemblyInfo.cs
1,400
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Runtime.Serialization.Json; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; us...
35.302181
263
0.464613
[ "BSD-2-Clause" ]
mikefoxnobel/ROS.NET
DynamicReconfigureSharp/DynamicReconfigureStringDropdown.xaml.cs
11,334
C#
using DSharpPlus.EventArgs; using Scruffy.Data.Entity; using Scruffy.Data.Entity.Repositories.Guild; using Scruffy.Services.Core.Discord; using Scruffy.Services.Core.Localization; namespace Scruffy.Services.Guild.DialogElements; /// <summary> /// Deletion of a guild special rank /// </summary> public class GuildRan...
42.535354
133
0.407979
[ "MIT" ]
thoenissen/Scruffy
Scruffy.Services/Guild/DialogElements/GuildRankDeletionDialogElement.cs
4,213
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/IPExport.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows...
44.052632
145
0.740741
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/IPExport/IP_ADAPTER_ORDER_MAP.cs
839
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Runtime.CompilerServices; using Microsoft.EntityFrameworkCore; using guid = System.UInt64; namespace Botwinder.entities { [Table("server_stats")] public class ServerStats { [Key] [Requir...
28.953125
78
0.641662
[ "MIT" ]
Linfur/Botwinder.core
Entities/ServerStats.cs
1,855
C#
using Aiursoft.Developer.Data; using Aiursoft.Pylon; using Aiursoft.Pylon.Models.Developer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyIn...
30.953488
95
0.695718
[ "MIT" ]
zhanghaiboshiwo/Nexus
Developer/Startup.cs
1,333
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace CastIron.Sql.Mapping.Compilers { /// <summary> /// Maps to any dictionary type which inherits string-keyed IDictionary /// </summary> public class ConcreteDictionaryComp...
43.287671
156
0.671519
[ "Apache-2.0" ]
Whiteknight/CastIron
Src/CastIron.Sql/Mapping/Compilers/ConcreteDictionaryCompiler.cs
3,162
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime: 4.0.30319.42000 // // Los cambios de este archivo pueden provocar un comportamiento inesperado y se perderán si // el código se vu...
40.361111
176
0.616311
[ "MIT" ]
Mirkobien/TypeToChat
TypeToChat/Properties/Resources.Designer.cs
2,919
C#
using System.Web.Mvc; namespace Ext.Net.MVC.Examples.Areas.Form_Groups { public class Form_GroupsAreaRegistration : AreaRegistration { public override string AreaName { get { return "Form_Groups"; } } public override void Reg...
24.08
74
0.531561
[ "Apache-2.0" ]
yataya1987/EXT.Net-Theme-Hard-Coded
src/Areas/Form_Groups/Form_GroupsAreaRegistration.cs
604
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("Ro...
38.297297
84
0.745942
[ "MIT" ]
alexs0ff/remboard
Server/Romontinka.Server.Core/Properties/AssemblyInfo.cs
1,420
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...
34.920635
192
0.594545
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CodeBuild/Generated/Model/EnvironmentVariable.cs
4,400
C#
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
30.925234
201
0.571018
[ "Apache-2.0" ]
zz0733/aws-sdk-net
AWSSDK_DotNet35/Amazon.CloudFormation/Model/StackResourceDetail.cs
6,618
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #if SQLSERVER namespace System.Data.Entity.SqlServer.Utilities #elif EF_FUNCTIONALS namespace System.Data.Entity.Functionals.Utilities #else namespace System.Data.Entity.Utilities #endif...
32.537975
137
0.584439
[ "Apache-2.0" ]
Cireson/EntityFramework6
src/Common/TypeExtensions.cs
25,705
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using AutoMapper; using Castle.MicroKernel.Registration; namespace Web.Infrastructure.Injection.Installers { public class MappersInstaller : IWindsorInstaller { public void Install(Castle.Windsor.IWindsorContainer con...
31.235294
142
0.753296
[ "MIT" ]
williamverdolini/FastCatalog
Catalog/Web/Infrastructure/Injection/Installers/MappersInstaller.cs
533
C#
using System.Windows.Forms; using System.Diagnostics; using System; using System.Runtime.InteropServices; namespace VAN_Demo { public partial class MyMessageBox : Form { [DllImport("user32.dll", SetLastError = true)] static extern IntPtr FindWindow(string lpClassName, string lpWindowName); ...
32.745098
96
0.592216
[ "Apache-2.0" ]
ADVANTECH-Corp/node-red-contrib-virtual-app-node
Apps SDK/Source/C#/VAN Demo/VAN Demo/MyMessageBox.cs
1,672
C#
using UnityEngine; using System.Collections; public class ComponentsList : MonoBehaviour { public Inventory inventory; public BodyController bodyController; public NetworkPawn networkPawn; }
21.777778
45
0.826531
[ "MIT" ]
GenaSG/UnityUnetMovement
Scripts/ComponentsList.cs
198
C#
// Copyright (c) 2012-2017 fo-dicom contributors. // Licensed under the Microsoft Public License (MS-PL). using System; using System.IO; using Dicom; using Dicom.Imaging; using Dicom.Log; using UIKit; namespace SimpleViewer.iOS { public partial class ViewController : UIViewController { private readonly s...
21.441558
117
0.63719
[ "BSD-3-Clause" ]
007souvikdas/fo-dicom-samples
iOS/SimpleViewer.iOS/ViewController.cs
1,653
C#
/* Program Architecture & Framework: @HoLLy-HaCKeR Archive Format and Engine Reversing: @HoLLy-HaCKeR */ using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Text.RegularExpressions; using ArchiveUn...
43.492754
170
0.616128
[ "MIT" ]
Azukee/Macaron
ArchiveUnpacker.Unpackers/Unpackers/RenPyUnpacker.cs
3,001
C#
namespace NBitcoin.Tests { public class alert_tests { public alert_tests() { // These flags may get set due to static network initializers // which include the initializers for Stratis. Transaction.TimeStamp = false; Block.BlockSignature = false; ...
39.778947
406
0.580048
[ "MIT" ]
MIPPL/StratisBitcoinFullNode
src/NBitcoin.Tests/alert_tests.cs
3,781
C#
//-------------------------------------------------------------- // Vehicle Physics Pro: advanced vehicle physics kit // Copyright © 2011-2019 Angel Garcia "Edy" // http://vehiclephysics.com | @VehiclePhysics //-------------------------------------------------------------- // GenericMenu: a toggl...
20.697479
75
0.648802
[ "MIT" ]
LakshyaNandwana/car-racing-game-unity
Assets/Vehicle Physics Pro/Scenes/UI/Scripts/GenericMenu.cs
2,466
C#
namespace KifuwarabeUec11Gui.InputScript { /// <summary> /// `JSON {ここにJSON}` みたいなコマンド☆(^~^) /// </summary> public class JsonInstructionArgument { /// <summary> /// 前後の空白はトリムするぜ☆(^~^) /// </summary> public string Json { get; private set; } public JsonInstruc...
21.321429
51
0.470687
[ "MIT" ]
muzudho/rensyu
visual-studio/kifuwarabe-uec11-gui/Model/Input/Script/Instruction/JsonInstructionArgument.cs
695
C#
using System; using System.Text.Json; using System.Text.Json.Serialization; namespace ReunionGet.Aria2Rpc.Json.Converters { internal class Base64MemoryConverter : JsonConverter<ReadOnlyMemory<byte>> { public override ReadOnlyMemory<byte> Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializ...
35.4375
127
0.753086
[ "MIT" ]
huoyaoyuan/ReunionGet
Source/Portable/ReunionGet.Aria2Rpc/Json/Converters/Base64MemoryConverter.cs
569
C#
// ********************************************************************* // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License // ********************************************************************* using System; using System.Collections.Generic; using System.Diagnostics.Cont...
49.526316
204
0.621527
[ "MIT" ]
domoritz/Trill
Sources/Core/Microsoft.StreamProcessing/Operators/Clip/ClipJoinTransformer.cs
6,589
C#
namespace ACT.SpecialSpellTimer { using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using Advanced_Combat_Tracker; public static partial class FF14PluginHelper { private static object lockObject = new object(); private static object plugin; ...
28.150259
151
0.435119
[ "BSD-3-Clause" ]
danakj/ACT.SpecialSpellTimer
ACT.SpecialSpellTimer/FF14PluginHelper.cs
5,435
C#
// Decompiled with JetBrains decompiler // Type: Diga.WebView2.Interop.ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler // Assembly: WebView2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: B5F140DB-135D-4E8A-B1A2-1275CE2FD56A // Assembly location: O:\webview2\webview2packages\V9488\WebView2....
41.857143
144
0.82025
[ "MIT" ]
ITAgnesmeyer/Diga.WebView2
Archive/V9488/Diga.WebView2.Interop.V9488/ICoreWebView2CreateCoreWebView2EnvironmentComplete.cs
881
C#
namespace ClassLib037 { public class Class045 { public static string Property => "ClassLib037"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib037/Class045.cs
120
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using System.Collections; namespace DevinDow.VisionBoard { public class VisionBoard { // Public Static Fields public static VisionBoard Current; // Public Fields public...
33.980198
229
0.555507
[ "MIT" ]
DevinDow/VisionBoard
VisionBoard.cs
6,866
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Description; using MyRESTServer.Models; namespace MyRESTServer.Controllers { ...
23.550847
76
0.468154
[ "MIT" ]
CNinnovation/HTMLOct2017
MyRESTServer/MyRESTServer/Controllers/BooksController.cs
2,781
C#
/* * Copyright © 2019 Federation of State Medical Boards * * 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, co...
43.642857
130
0.708129
[ "MIT" ]
fsmb/fcvs-api
samples/csharp/Fsmb.Apis.Fcvs.Clients/Models/Name.cs
1,844
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Player.cs" company="SyndicatedLife"> // Copyright© 2007 - 2021 Ryan Wilson &amp;lt;syndicated.life@gmail.com&amp;gt; (https://syndicated.life/) // Licensed under the MIT licen...
65.690577
232
0.660879
[ "MIT" ]
FFXIVAPP/ffxivapp-plugin-parse
FFXIVAPP.Plugin.Parse/Models/StatGroups/Player.cs
46,709
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
37.892857
83
0.713478
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab-r02_04_03_imm/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_imm/Domainvalue/MucosalAbsorptionRoute.cs
1,061
C#
// // Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of s...
46.109005
219
0.654332
[ "BSD-3-Clause" ]
304NotModified/NLog
src/NLog/Config/PropertyTypeConverter.cs
9,729
C#
using System; using System.Collections.Generic; using System.Text; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace computegen { class JavascriptClient : ComputeClient { protected override string Prefix { get { return @"var RhinoCompute = { versi...
35.043478
462
0.552995
[ "MIT" ]
DanielAbalde/compute.rhino3d
tools/computegen/JavascriptClient.cs
11,286
C#
// ***************************************************************************** // // © Component Factory Pty Ltd 2012 - 2019. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, PO Box 1504, // Glen Waverley, Vic ...
31.4
81
0.537155
[ "BSD-3-Clause" ]
anuprakash/Krypton-NET-5.472
Source/Krypton Ribbon Examples/Contextual Tabs/Program.cs
945
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 ...
33
108
0.668939
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CodeBuild/Generated/Model/_bcl45+netstandard/IListReportGroupsPaginator.cs
1,320
C#
using System; using Foundation; using ObjCRuntime; namespace FieldEnumTests { [Native] enum FooNIntEnum : long { Zero, One, Two } [Native] enum FooNUIntEnum : ulong { Zero, One, Two } enum FooSmartEnum { [Field ("ZeroSmartField", "__Internal")] Zero, [Field ("OneSmartField", "__Internal")] ...
17.818182
43
0.64881
[ "BSD-3-Clause" ]
1975781737/xamarin-macios
tests/generator/fieldenumtests.cs
1,176
C#
using System; namespace OpenRiaServices.Server { /// <summary> /// Attribute applied to a <see cref="DomainService"/> method to indicate that it is an update method. /// </summary> [AttributeUsage( AttributeTargets.Field | AttributeTargets.Method | AttributeTargets.Property, AllowMulti...
27.866667
106
0.681818
[ "Apache-2.0" ]
Daniel-Svensson/OpenRiaServices
src/OpenRiaServices.Server/Framework/Data/UpdateAttribute.cs
420
C#
// Compiler options: -langversion:future using System; static class C { public static int Test (this int a, int b = 5, string s = "") { return a * 3 + b; } static T Foo<T> (T t, int a) { return t; } static void Lambda (Func<int, int> a) { a (6); } public static int Main () { if (2.Test () != ...
13.521739
62
0.495177
[ "Apache-2.0" ]
Sectoid/debian-mono
mcs/tests/gtest-named-01.cs
622
C#
namespace _02.Students_by_First_and_Last_Name { using System; using System.Collections.Generic; using System.Linq; public static class StudentNames { public static void Main() { var input = Console.ReadLine(); var result = new List<string>(); whi...
26.454545
103
0.474227
[ "MIT" ]
maio246/C-Advanced
Linq/02. Students by First and Last Name/StudentNames.cs
875
C#
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Linq; using System.Threading.Tasks; namespace XLParser.Tests { [TestClass] // Visual Studio standard data sources where tried for this class, but it was found to be very ...
31.387097
130
0.511134
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
androdev4u/XLParser
src/XLParser.Tests/DatasetTests.cs
2,829
C#
// Copyright (c) 2020 Sergio Aquilini // This code is licensed under MIT license (see LICENSE file for details) using Microsoft.Extensions.Logging; namespace Silverback.Diagnostics { /// <summary> /// Used to perform logging in Silverback. /// </summary> public interface ISilverbackLogger { ...
29.354839
109
0.550549
[ "MIT" ]
BEagle1984/silverback
src/Silverback.Core/Diagnostics/ISilverbackLogger.cs
912
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using HPSocketCS; namespace HPSocketCS { /// <summary> /// 通信组件服务状态,用程序可以通过通信组件的 GetState() 方法获取组件当前服务状态 /// </summary> public enum ServiceState { Starting = 0, /...
38.571283
197
0.553938
[ "Apache-2.0" ]
teaccc/HP-Socket
HP-Socket/Demo/Other Languages Demos/C#/HPSocket4CS/HPSocketCS/Sdk.cs
84,064
C#
using System; using Newtonsoft.Json; namespace VkNet.Model { /// <summary> /// Authorization error. /// </summary> [Serializable] public class VkAuthError { /// <summary> /// Error. /// </summary> [JsonProperty("error")] public string Error { get; set; } /// <summary> /// Error type. /// </summa...
18.97619
46
0.613551
[ "MIT" ]
DeNcHiK3713/vk
VkNet/Model/VkAuthError.cs
797
C#
using System; using System.Numerics; using System.Threading.Tasks; using NeoModules.JsonRpc.Client; using NeoModules.RPC.Infrastructure; using NeoModules.RPC.Services.Nep5; namespace NeoModules.RPC.Services { public class NeoNep5Service : RpcClientWrapper { public NeoNep5Service(IClient client) : b...
40.255319
113
0.655391
[ "MIT" ]
CityOfZion/Neo-RPC-SharpClient
src/NeoModules.RPC/Services/NeoNep5Service.cs
3,784
C#
using System; using System.Data; using System.Collections.Generic; using System.Text; using Platinium.Entidade; using Pro.Utils; using Pro.Dal; using Plutonium.Entidade; namespace Platinium.Entidade { [ClassAttribute(Schema = "platinium", Table = "TB_UNIDADE_GESTORA_ORDENADOR_UNGO")] public class UnidadeGest...
29.735632
187
0.562814
[ "MIT" ]
CesarRabelo/eGovernos.Corporativo
src/Entidade/Dominio/UnidadeGestoraOrdenador.cs
5,183
C#
using PcapDotNet.Core; using PcapDotNet.Packets; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace SharpVelodyne { public class ProgressReportEventArgs { public double Precentage { get;...
38.994048
199
0.512136
[ "MIT" ]
zkoppanyi/spin-stream-viewer
SharpVelodyne/VelodyneConverter.cs
6,553
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. namespace System.Windows.Forms { using System.Runtime.Serialization.Formatters; using System.Runtime.Intero...
38.311321
195
0.549947
[ "MIT" ]
0xflotus/winforms
src/System.Windows.Forms/src/System/Windows/Forms/Panel.cs
12,183
C#
// Copyright (c) MicroElements. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; namespace MicroElements.Metadata.Formatters { /// <summary> /// Default format provider. /// </summary> public c...
30.527778
101
0.631483
[ "MIT" ]
micro-elements/MicroElements.Metadata
src/MicroElements.Metadata/Metadata/Formatters/DefaultFormatProvider.cs
1,101
C#
namespace SpotifyHotkeys.Core { /// <summary> /// Service that is responsible for performing various actions on the Spotify client. /// </summary> public interface ISpotifyActionService { /// <summary> /// Either starts playing a track or pauses the currently playing track. ...
24.209302
89
0.508165
[ "MIT" ]
joakimskoog/SpotifyHotkeys
SpotifyActionService/ISpotifyActionService.cs
1,043
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("AWSSDK.IoTSiteWise")] [assembly: AssemblyD...
56.4375
532
0.765781
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/IoTSiteWise/Properties/AssemblyInfo.cs
1,806
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dialogflow/v2/audio_config.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collecti...
40.304416
377
0.673982
[ "Apache-2.0" ]
amanda-tarafa/google-cloud-dotnet
apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/AudioConfig.g.cs
102,212
C#
#region License /* * Copyright 2004 the original author or authors. * * 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...
45.036412
221
0.631234
[ "Apache-2.0" ]
MaferYangPointJun/Spring.net
test/Spring/Spring.Core.Tests/Objects/Factory/DefaultListableObjectFactoryTests.cs
85,344
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Media.SpeechSynthesis; using Windows.UI.Core; using Windows.UI.Xaml.Controls; namespace ZigbeeAdapterLib { public sealed class SpeechHelper { private static SpeechSynthesiz...
35.341463
150
0.615597
[ "MIT" ]
iotoi-project/winiot-app
Common/AllJoyn/ZigBeeAdapter/ZigBeeAdapterLib/SpeechHelper.cs
1,451
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; using System.IO; using System.Xml; using System.Diagnostics; using System.Text; using System.Runtime.Serialization; using System.Globalization...
36.199219
221
0.545823
[ "MIT" ]
AUTOMATE-2001/runtime
src/libraries/System.Private.DataContractSerialization/src/System/Xml/XmlDictionaryReader.cs
64,869
C#
using System; using FreeSql.DataAnnotations; using mbill_service.Core.Domains.Common.Consts; namespace mbill_service.Core.Domains.Entities.Core { /// <summary> /// 日志表 /// </summary> [Table(DisableSyncStructure = true, Name = SystemConst.DbTablePrefix + "_serilog")] public class SeriLogEntity ...
21.595745
87
0.503448
[ "MIT" ]
Memoyu/Mbill
src/mbill_service.Core/Domains/Entities/Core/SeriLogEntity.cs
1,057
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Xml; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; using Nop.Core; using Nop.Core.Domain.Catalog; using Nop.Data; using Nop.Services.Directory; using Nop.Servi...
43.020665
169
0.529009
[ "MIT" ]
ASP-WAF/FireWall
Samples/NopeCommerce/Libraries/Nop.Services/Catalog/ProductAttributeParser.cs
47,884
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.Composition; using VVVV.PluginInterfaces.V2; using VVVV.PluginInterfaces.V1; using FeralTic.DX11; using FeralTic.DX11.Queries; namespace VVVV.DX11.Nodes { [PluginInfo(Name="Group",Category="DX11.Lay...
33.449799
148
0.486133
[ "BSD-3-Clause" ]
mhusinsky/dx11-vvvv
Nodes/VVVV.DX11.Nodes/Nodes/Layers/DX11LayerGroupNode.cs
8,331
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Velusia.Server.Helpers { public static class AsyncEnumerableExtensions { public static Task<List<T>> ToListAsync<T>(this IAsyncEnumerable<T> source) { if (source == null) { ...
23.258065
83
0.50208
[ "Apache-2.0" ]
AngularAdvisers/openiddict-samples
samples/Velusia/Velusia.Server/Helpers/AsyncEnumerableExtensions.cs
723
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.262712
108
0.597032
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/APIGateway/Generated/Model/DeleteIntegrationResponseRequest.cs
3,571
C#
// Copyright 2020 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using Nuke.Common.Tooling; namespace Nuke.Common.Tools.SonarScanner { partial class SonarScannerBeginSettings { private string GetToolPath() { retu...
26.611111
87
0.647182
[ "MIT" ]
Ceaphyrel/nuke
source/Nuke.Common/Tools/SonarScanner/SonarScannerTasks.cs
958
C#
using System; namespace CodeCamp.Areas.HelpPage.ModelDescriptions { /// <summary> /// Use this attribute to change the name of the <see cref="ModelDescription"/> generated for a type. /// </summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMu...
32
137
0.645833
[ "MIT" ]
Mohammad-Nour-Rezek/CodeCamp
CodeCamp/CodeCamp/Areas/HelpPage/ModelDescriptions/ModelNameAttribute.cs
576
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("10...
38.243243
84
0.74417
[ "MIT" ]
IvayloKovachev09/SoftUni
Programming Basic/WindowsFormsApplication1/1000 Days After Birth/Properties/AssemblyInfo.cs
1,418
C#
using System; using System.Collections.Generic; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Primitives; using Newtonsoft.Json.Linq; namespace OmniSharp.Extensions.LanguageServer.Server.Configuration { class DisposableConfiguration : IScopedConfiguration { private readonly Conf...
35.488372
156
0.711664
[ "MIT" ]
TanayParikh/csharp-language-server-protocol
src/Server/Configuration/DisposableConfiguration.cs
1,528
C#
using DCM.Interfaces; using Discord.WebSocket; namespace DCM.Events.Discord { public class MessageCommandExecutedEvent : Event { public MessageCommandExecutedEvent(SocketMessageCommand command) { Command = command; } public SocketMessageCommand Command { get; } ...
20.3125
72
0.667692
[ "MIT" ]
Michelle-99/DiscordManager
DiscordManager/Events/Discord/MessageCommandExecutedEvent.cs
327
C#
using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using HarmonyLib; using RimWorld; using Verse; namespace TurretExtensions { public static class Patch_Verb_Shoot { [HarmonyPatch(typeof(Verb_Shoot), nameof(Verb_Shoot.WarmupComplete))] public static class Warmup...
40.666667
217
0.589667
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Dakraid/RW_TurretExtensions
Source/TurretExtensions/TurretExtensions/HarmonyPatches/Patch_Verb_Shoot.cs
4,028
C#
/* * REST API Documentation for the MOTI School Bus Application * * The School Bus application tracks that inspections are performed in a timely fashion. For each school bus the application tracks information about the bus (including data from ICBC, NSC, etc.), it's past and next inspection dates and results, contac...
36.135593
314
0.48743
[ "Apache-2.0" ]
BcGovBrian/schoolbus
Server/src/SchoolBusAPI/ViewModels/UserViewModel.cs
10,660
C#
namespace UnityStandardAssets.CrossPlatformInput.Inspector { using System.Collections.Generic; using UnityEditor; [InitializeOnLoad] public class CrossPlatformInitialize { // Custom compiler defines: // // CROSS_PLATFORM_INPUT : denotes that cross platform input package exists, so t...
37.344828
270
0.537765
[ "MIT" ]
L4fter/CrocoDie
Assets/Editor/CrossPlatformInput/CrossPlatformInputInitialize.cs
5,415
C#
using AS.Domain.Interfaces; using System.IO; using System.Xml.Serialization; namespace AS.Infrastructure { /// <summary> /// Simple XMLSerializer class /// </summary> public class ASXmlSerializer : IXmlSerializer { /// <summary> /// Serialize object of generic type to XML ...
33.015873
77
0.563942
[ "MIT" ]
bartizo12/ASAdmin
src/AS.Infrastructure/XML/ASXmlSerializer.cs
2,082
C#
using System; using System.Collections.Generic; using System.Linq; using System.ComponentModel.DataAnnotations; using Cofoundry.Domain; namespace Cofoundry.Web { /// <summary> /// Data model representing a single image /// </summary> public class ImageDataModel : IPageBlockTypeDataModel { ...
25.6
57
0.658203
[ "MIT" ]
BOBO41/cofoundry
src/Cofoundry.Web/PageBlockTypes/Image/ImageDataModel.cs
514
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 Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Microsoft.DotNet.Build.Tasks { /// ...
31.346154
78
0.656442
[ "MIT" ]
A-And/buildtools
src/Microsoft.DotNet.Build.Tasks/SignTypeItem.cs
815
C#
using System; using System.Windows; using System.Windows.Controls; namespace Configurator.WPF.Views { public partial class ConfiguratorView : Window { public ConfiguratorView() { try { InitializeComponent(); } catch (Exception e) ...
23.878788
88
0.544416
[ "MIT" ]
EtiamNullam/MaterialColor
Configurator.WPF/Views/ConfiguratorView.xaml.cs
790
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Serialization; using System.IO; using Trifolia.Shared; using System.Text; using LantanaGroup.ValidationUtility; namespace Trifolia.Terminology { public class VocabularyOutputTypeAdapter { private cons...
44.964286
188
0.608684
[ "Apache-2.0" ]
BOBO41/trifolia
Trifolia.Terminology/VocabularyOutputTypeAdapter.cs
7,556
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // As informações gerais sobre um assembly são controladas por // conjunto de atributos. Altere estes valores de atributo para modificar as informações // associada a um assembly. [assembly: AssemblyTitle("ShutdownTo...
38.756757
95
0.75523
[ "MIT" ]
jslucas22/ShutdownToolkit
ShutdownToolkit.Service/Properties/AssemblyInfo.cs
1,459
C#
namespace DataTanker { using System; /// <summary> /// Contains properties and methods of keys /// which is used to access the values in storage. /// </summary> public interface IComparableKey : IKey, IComparable { } }
19.461538
55
0.628458
[ "MIT" ]
VictorScherbakov/DataTanker
DataTanker/Core/IComparableKey.cs
255
C#
using System; using System.Collections.Generic; using System.Resources; using System.Text; using WhoPK.GameLogic.Character; using WhoPK.GameLogic.World.Area; using WhoPK.GameLogic.World.Room; namespace WhoPK.GameLogic.Commands.Movement { public interface ICommunication { //TODO: Add language ...
25.047619
76
0.73384
[ "MIT" ]
mbevier/ArchaicQuest-II
WhoPK.GameLogic/Commands/Communication/ICommunication.cs
528
C#
using System; using System.Collections.Generic; using System.Data.Entity.Core.Mapping; using System.IO; using System.Linq; using System.Web; using System.Web.Mvc; using AutoMapper; using Itera.Fagdag.November.Domain.Models; using Itera.Fagdag.November.Helpers; using Itera.Fagdag.November.Logging.Contract; using Itera....
34.471338
116
0.584996
[ "MIT" ]
sirarsalih/Hackathons
Fagdag-2015---.Net-1/Itera.Fagdag.November/Controllers/ManageProductsController.cs
5,414
C#
using NBitcoin; using Nito.AsyncEx; using System.Linq; using System.Threading; using System.Threading.Tasks; using WalletWasabi.Crypto; using WalletWasabi.WabiSabi.Crypto; using WalletWasabi.WabiSabi.Backend.Banning; using WalletWasabi.WabiSabi.Backend.Models; using WalletWasabi.WabiSabi.Backend.PostRequests; using Wal...
41.655738
186
0.789453
[ "MIT" ]
CAnorbo/WalletWasabi
WalletWasabi/WabiSabi/Backend/Rounds/Arena.Partial.cs
17,787
C#
namespace AngleSharp.Css.Values { using AngleSharp.Css.Dom; using AngleSharp.Text; using System; /// <summary> /// Represents the skew transformation. /// </summary> sealed class CssSkewValue : ICssTransformFunctionValue { #region Fields private readonly ICssValue _alph...
26.17094
110
0.450686
[ "MIT" ]
AngleSharp/AngleSharp.Css
src/AngleSharp.Css/Values/Functions/CssSkewValue.cs
3,062
C#
#region using using System.Collections.Generic; using System.Drawing; using Emgu.CV; using Emgu.CV.CvEnum; using Emgu.CV.Structure; using VVVV.PluginInterfaces.V2; using VVVV.Utils.VMath; using System; using VVVV.Utils.VColor; using VVVV.CV.Core; #endregion namespace VVVV.CV.Nodes { [FilterInstance("Grayscale", H...
24.075
122
0.760125
[ "MIT" ]
AchimTHISPLAY/VVVV.Packs.Image
src/nodes/plugins/Image/OpenCV/src/Filters/Grayscale.cs
965
C#
using System; namespace ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel { public class StDefaultKeywordToken : ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.StToken, ForgedOnce.TsLanguageServices.FullSyntaxTree.AstModel.IStModifier { public StDefaultKeywordToken(ForgedOnce.TsLanguag...
63.347826
371
0.775566
[ "MIT" ]
YevgenNabokov/ForgedOnce.TSLanguageServices
ForgedOnce.TsLanguageServices.FullSyntaxTree/AstModel/Generated/StDefaultKeywordToken.cs
1,457
C#
using log4net.Core; using System; namespace log4net.Filter { /// <summary> /// Simple filter to match a string in the event's logger name. /// </summary> /// <remarks> /// <para> /// The works very similar to the <see cref="T:log4net.Filter.LevelMatchFilter" />. It admits two /// options <see cref="P:log4net.F...
38.344538
161
0.681569
[ "MIT" ]
HuyTruong19x/DDTank4.1
Source Server/SourceQuest4.5/log4net/log4net.Filter/LoggerMatchFilter.cs
4,563
C#
using employers.domain.Requests; using System.Threading.Tasks; namespace employers.application.Interfaces.Departament { public interface IInsertDepartmentUseCaseAsync { Task<int?> RunAsync(DepartmentRequest departmentRequest); } }
23
65
0.774704
[ "MIT" ]
Carlinhao/crud-employee
src/employers.application/Interfaces/Departament/IInsertDepartmentUseCaseAsync.cs
255
C#
using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.IO; namespace APIStarter.Application.Resolvers { public class ResponseBodyResolver : IResponseBodyResolver { public RequestDelegate RequestDelegate { get; set; } private readonly IHttpC...
34.795455
124
0.694971
[ "MIT" ]
HaddadBenjamin/APIStarter
Write Model/WriteModel.Application/Resolvers/ResponseBodyResolver.cs
1,531
C#
using System.ComponentModel; namespace Reductech.Sequence.Connectors.Nuix.Enums; /// <summary> /// Method of deduplication to use for a top-level item export. /// </summary> public enum ExportDeduplication { /// <summary> /// No deduplication. /// </summary> [Description("none")] [Display(Name = ...
26.529412
97
0.649667
[ "Apache-2.0" ]
reductech/Nuix
Nuix/Enums/ExportDeduplication.cs
904
C#
// Code generated by jtd-codegen for C# + System.Text.Json v0.2.1 using System; using System.Text.Json; using System.Text.Json.Serialization; namespace JtdCodegenE2E { [JsonConverter(typeof(RootJsonConverter))] public abstract class Root { } public class RootJsonConverter : JsonConverter<Root> ...
32.421053
111
0.625
[ "MIT" ]
AdamLeyshon/json-typedef-codegen
crates/target_csharp_system_text/output/basic_discriminator/Root.cs
1,232
C#
using Ao.ObjectDesign.Designing; using Ao.ObjectDesign.Designing.Annotations; using Ao.ObjectDesign.Wpf.Designing; using System.Windows.Media; namespace ObjectDesign.Wpf.Controls { [MappingFor(typeof(MoveId))] public class MoveIdSetting : NotifyableObject, IMiddlewareDesigner<MoveId> { p...
25.791045
79
0.478009
[ "Apache-2.0" ]
fossabot/Ao.ObjectDesign
samples/ObjectDesign.Wpf/Controls/MoveIdSetting.cs
1,730
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using DocumentFormat.OpenXml; namespace DocumentsGenerator.Core { internal class SourceData : ISourceData { public ISourceDataStep? Current => steps == null || steps.Count == 0 ? null : steps.Last(); public ...
28.539474
135
0.610881
[ "MIT" ]
sowlks/DocumentsGenerator
DocumentsGenerator/Core/SourceData.cs
2,171
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace Octokit { /// <summary> /// A client for GitHub's Pull Request Review API. /// </summary> /// <remarks> /// See the <a href="https://developer.github.com/v3/pulls/reviews/">Review API documentation</a> for more information. ...
56.740741
143
0.644629
[ "MIT" ]
3shape/octokit.net
Octokit/Clients/IPullRequestReviewsClient.cs
10,726
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> //--...
42.597222
151
0.615585
[ "Apache-2.0" ]
untitled-no1/ufo
ufo/UFO.Server/UFO.Server.WebService/Properties/Settings.Designer.cs
3,069
C#
using System; using System.Linq; using FluentAssertions.Common; namespace FluentAssertions.Execution { /// <summary> /// Represents a chaining object returned from <see cref="AssertionScope.Given{T}"/> to continue the assertion using /// an object returned by a selector. /// </summary> public class...
51.768707
134
0.655191
[ "Apache-2.0" ]
oboukli/fluentassertions
Src/FluentAssertions/Execution/GivenSelector.cs
7,610
C#
using System; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace Param_RootNamespace.Views { // TODO WTS: Change the URL for your privacy policy in the Resource File, currently set to https://YourPrivacyUrlGoesHere public sealed partial class SettingsPagePage : Page { publ...
25.285714
125
0.664783
[ "MIT" ]
Acidburn0zzz/WindowsTemplateStudio
templates/Uwp/Pages/Settings/Views/SettingsPagePage.xaml.cs
533
C#
using System.Collections.Generic; using System.IO; using Unity; namespace APIHome { public static class Utility { public static string[] GetLocatonImages(string ImageFolder, string ImageSubFolder, string Location, string Filter) { string dir = Path.Combine(ImageFolder, ImageSubFol...
23.941176
122
0.675676
[ "Apache-2.0" ]
garysun1830/API74942
Helper/Utility.cs
409
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0.Asm { using System; using static core; using static WsAtoms; partia...
32.059829
104
0.514529
[ "BSD-3-Clause" ]
0xCM/z0
src/asm.shell/src/commands/ops/.machine.cs
3,751
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Ditto.AsyncMvvm.Calculated")] [assembly: AssemblyDescription("AsyncMVVM library Calculated Properties integration")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: ComVisible(false)]...
32.1
86
0.791277
[ "Apache-2.0" ]
dmitry-shechtman/AsyncMvvm
AsyncMvvm.Calculated/Shared/Properties/AssemblyInfo.cs
323
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. /****************************************************************************** * This file is auto-generated from ...
37.561368
187
0.570763
[ "MIT" ]
AArnott/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/PopCount.Vector128.SByte.cs
18,668
C#
using CmlLib.Core.Version; using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Threading.Tasks; namespace CmlLib.Core.Downloader { public class MParallelDownloader : MDownloader { public MParallelDownloader(MinecraftPath path, MVersion mVersion) : this(path,...
29.292135
136
0.496356
[ "MIT" ]
ArcanoxDragon/CmlLib.Core
CmlLib/Core/Downloader/MParallelDownloader.cs
2,609
C#
using System.Collections.Generic; using System.Runtime.Serialization; namespace GSoft.Dynamite.Navigation { /// <summary> /// Navigation search related settings. /// </summary> public class NavigationSearchSettings { /// <summary> /// The navigation filter managed property name ...
39.671429
132
0.620454
[ "MIT" ]
GSoft-SharePoint/Dynamite
Source/GSoft.Dynamite/Navigation/NavigationSearchSettings.cs
2,779
C#
using Abp.Application.Editions; using Abp.Application.Features; using Abp.Domain.Repositories; namespace InvManSaas.Editions { public class EditionManager : AbpEditionManager { public const string DefaultEditionName = "Standard"; public EditionManager( IRepository<Edition> edition...
24.190476
60
0.643701
[ "MIT" ]
cliffyllok/InvManSaas
aspnet-core/src/InvManSaas.Core/Editions/EditionManager.cs
510
C#