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 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...
38.697143
163
0.597608
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/Lightsail/Generated/Model/Internal/MarshallTransformations/CreateRelationalDatabaseRequestMarshaller.cs
6,772
C#
using Il2CppSystem.Collections.Generic; using DataHelper; namespace GunfireLib.Data { public static class DrugData { public static Dictionary<int, itemdataclass> drugList; public static System.Collections.Generic.Dictionary<int, Classes.ItemDataClass> parsedDrugList = new System.C...
31
104
0.651026
[ "MIT" ]
ardittristan/GunfireMod
GunfireLib/Data/DrugsData.cs
684
C#
using ClForms.Core; using ClForms.Loader; namespace PanelsApp { internal class Program { private static void Main(string[] args) => AppLoader.CreateDefaultBuilder(args) .UseStartup<Startup>() .Build() .Start(new MainWindow()); } }
20.8
51
0.564103
[ "Apache-2.0" ]
Ahatornn/clforms
Examples/Elements/PanelsApp/Program.cs
312
C#
using System; using System.Runtime.CompilerServices; /// <summary> /// InternalsVisibleToAttribute.AssemblyName [v-yaduoj] /// </summary> public class InternalsVisibleToAttributeAssemblyName { public static int Main() { InternalsVisibleToAttributeAssemblyName testObj = new InternalsVisibleToAttributeAs...
34.659218
108
0.594778
[ "MIT" ]
corefan/coreclr
tests/src/CoreMangLib/cti/system/runtime/compilerservices/internalsvisibletoattribute/internalsvisibletoattributeassemblyname.cs
6,204
C#
using System; using System.Text.Json; using System.Text.Json.Serialization; namespace Scraper.Net.Facebook { internal class DateTimeConverterUsingDateTimeParse : JsonConverter<DateTime> { public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) ...
30.368421
115
0.701906
[ "MIT" ]
Scraper-Net/Scraper.Net
src/Scraper.Net.Facebook/DateTimeConverterUsingDateTimeParse.cs
579
C#
using System.Collections; using UnityEngine; using UnityEngine.SceneManagement; public class Level_6 : ALevel { protected override IEnumerator Startup() { yield return new WaitForSeconds(0.5f); eventsSystem.OnNewMessage.Invoke("There are more and more houses", 0, 2, 1); } protected ov...
30.208333
89
0.684138
[ "MIT" ]
TomKauffeld/GMTK-2021
Assets/Scenes/Levels/Level_6.cs
725
C#
using Panuon.UI.Silver.Core; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace Panuon.UI.Silver { /// <summary> /// ColorPicker.xaml 的交互逻辑 /// </summary> public partial class ColorPicker : ContentControl { #region Constructor public ColorPic...
38.338542
215
0.627225
[ "MIT" ]
MANLONE/PanuonUI.Silver
SharedResources/Panuon.UI.Silver/Controls/ColorPicker.xaml.cs
7,373
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root...
38.890909
79
0.527349
[ "BSD-3-Clause" ]
0xCM/z0
src/blocks/src/ops/byteblocks/span.cs
2,139
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SeleniumStoneSoup { public enum TagAttributes { [Description("id")] Id, [Description("name")] Name, ...
16.66
40
0.503001
[ "MIT" ]
GregFinzer/SeleniumStoneSoup
SeleniumStoneSoup/TagAttributes.cs
835
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Fluid.ViewEngine; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ViewEngines; using Microsoft.Extensions.Options; namespace Fluid.MvcViewEngine { public class Flui...
36.653846
115
0.610178
[ "MIT" ]
MichaelPetrinolis/fluid
Fluid.MvcViewEngine/FluidViewEngine.cs
5,720
C#
using System; using Hrimsoft.Core.ValueObjects; namespace Hrimsoft.Core.Extensions { /// <summary> /// Methods that extend DateTime functionality /// </summary> public static class DateTimeExtensions { /// <summary> /// Truncate DateTime to milliseconds, seconds, etc that is depends...
41.857143
162
0.624573
[ "MIT" ]
Basim108/hrimsoft.core
Hrimsoft.Core/Extensions/DateTimeExtensions.cs
1,758
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. #if HAS_IOPERATION using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Operations; name...
44.15
178
0.582106
[ "Apache-2.0" ]
RussKie/roslyn-analyzers
src/Utilities/Compiler/Extensions/OperationBlockAnalysisContextExtension.cs
3,534
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.AWSSupport")] [assembly: AssemblyDe...
47.25
235
0.752646
[ "Apache-2.0" ]
lukeenterprise/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/AWSSupport/Properties/AssemblyInfo.cs
1,512
C#
//--------------------------------------------------------------------------- // // <copyright file="Point3DConverter.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. // </copyright> // // This file was generated, please do not edit it directly. // // Please see http://wiki/defa...
40.020408
133
0.618562
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/wpf/src/Core/CSharp/System/Windows/Media3D/Generated/Point3DConverter.cs
5,883
C#
namespace BankFileParsers { public enum CategoryTypeCodes { UniformBankAdministrationInstituteBalance, SummaryAndDetailCredits, Lockbox, Concentration, PreauthorizedAutomatedClearingHouse, OtherDeposits, MoneyTransfer, Security, ZeroBalanc...
25.12
50
0.659236
[ "MIT" ]
JLineaweaver/BankFileParsers
BankFileParsers/Enums/CategoryTypeCodes.cs
630
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DateTime.Tests { [TestClass] public clas...
27.003774
94
0.622275
[ "MIT" ]
G-arj/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Swedish.cs
7,158
C#
namespace Hangfire.Storage.EntityFramework.JobQueue { internal class FetchedJob { public int Id { get; set; } public int JobId { get; set; } public string Queue { get; set; } } }
21.6
52
0.601852
[ "MIT" ]
TrieBr/Hangfire.Storage.EntityFramework
src/Hangfire.Storage.EntityFramework/JobQueue/FetchedJob.cs
218
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using SharpCompress.Common; using SharpCompress.Common.Zip; using SharpCompress.Common.Zip.Headers; using SharpCompress.Compressors.Deflate; using SharpCompress.Readers; using SharpCompress.Readers.Zip; using SharpCompress.Writers; usi...
36.238318
125
0.536557
[ "MIT" ]
weijie01011/Win10-Explorer
Explorer/Libs/sharpcompress-0.18/src/SharpCompress/Archives/Zip/ZipArchive.cs
7,757
C#
using UnityEngine; namespace Imoet.Unity { public struct SizeF { public int width; public int height; public SizeF(int width, int height) { this.width = width; this.height = height; } public SizeF(int value) { this.width = this.heig...
26.626087
76
0.510777
[ "MIT" ]
m4s4m0r1/Imoet.Unity
Plugins/Imoet.Unity/Common/SizeF.cs
3,064
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. // ------------------------------------------------------------------------------ // Changes to this file must follow...
59.490706
194
0.665938
[ "MIT" ]
lewurm/runtime
src/libraries/System.Diagnostics.Process/ref/System.Diagnostics.Process.cs
16,003
C#
using System.Collections.Generic; namespace RazorLight { public class TemplateCompilationException : RazorLightException { private readonly List<string> compilationErrors; public IReadOnlyList<string> CompilationErrors => compilationErrors; public TemplateCompilationException(string message, IEnumerable<str...
24.894737
97
0.77167
[ "Apache-2.0" ]
mcintyre321/RazorLight
src/RazorLight/TemplateCompilationException.cs
475
C#
// Copyright (c) Frandi Dwi 2020. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNe...
29.126984
106
0.629428
[ "MIT" ]
TakNotify/TakNotify.Provider.Twilio
samples/WebApi/Startup.cs
1,835
C#
// // Copyright (c) 2004-2019 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...
43.377358
102
0.712919
[ "BSD-3-Clause" ]
ajitpeter/NLog
tests/NLog.UnitTests/LayoutRenderers/Wrappers/LeftLayoutRendererWrapperTests.cs
2,299
C#
using Sharpen; namespace junit.framework { [Sharpen.NakedStub] public class TestResult { } }
9.8
25
0.734694
[ "Apache-2.0" ]
Conceptengineai/XobotOS
android/generated/junit/framework/TestResult.cs
98
C#
#region License /* Copyright © 2014-2021 European Support Limited Licensed under the Apache License, Version 2.0 (the "License") you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
43.219251
196
0.670502
[ "Apache-2.0" ]
Ginger-Automation/Ginger
Ginger/GingerCoreNET/ActionsLib/Webservices/ActWebService.cs
8,083
C#
using Microsoft.Xrm.Sdk.Messages; using System; namespace AlbanianXrm.SolutionPackager.Models { internal class ImportSolutionRequest { public Guid ImportJobId { get; set; } public ExecuteAsyncResponse ExecuteAsyncResponse { get; set; } } }
22.5
70
0.718519
[ "MIT" ]
albanian-xrm/Solution-Packager
AlbanianXrm.SolutionPackager.Tool/Models/ImportSolutionRequest.cs
272
C#
using OpenBots.Core.Script; using OpenBots.Core.UI.Forms; using OpenBots.UI.Forms.Supplement_Forms; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Windows.Forms; namespace OpenBots.UI.Forms { public partial class frmScriptElements : UIForm { public L...
33.742222
126
0.56362
[ "Apache-2.0" ]
arenabilgisayar/OpenBots.Studio
OpenBots.Studio/UI/Forms/frmScriptElements.cs
7,594
C#
using System; using System.Threading.Tasks; namespace R5T.Dunbar.D001.DatabaseConnectionConfiguration { public interface IJsonFilePathProvider { Task<string> GetJsonFilePath(); } }
17
57
0.735294
[ "MIT" ]
SafetyCone/R5T.Dunbar
source/R5T.Dunbar.D001.Base/Code/Services/Definitions/DatabaseConnectionConfiguration/IJsonFilePathProvider.cs
206
C#
namespace TimeRecorder.Core.Models { public class EmailMessage { public string To { get; set; } public string Subject { get; set; } public string Body { get; set; } } }
20.6
43
0.587379
[ "MIT" ]
g-child/serverless-timerecorder
TimeRecorder.Core/Models/EmailMessage.cs
208
C#
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using CommandDotNet.Diagnostics.Parse; using CommandDotNet.Directives; using CommandDotNet.Execution; using CommandDotNet.Tokens; namespace CommandDotNet.Diagnostics { internal static class ParseDirective { internal stat...
39.893617
124
0.557333
[ "MIT" ]
bilal-fazlani/CommandDotNet
CommandDotNet/Diagnostics/ParseDirective.cs
7,502
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using...
31.991071
108
0.56489
[ "MIT" ]
zenglo/AutoUpgrade
src/Demo.Updater/MainWindow.xaml.cs
3,669
C#
 /******************************************************************************** * The MIT License (MIT) * * Copyright 2018+ Cet Electronics. * * Based on the original work by Apcera Inc. * https://github.com/nats-io/csharp-nats * * Permission is hereby granted, free of charge, to any person obtaining a c...
35.364162
92
0.547074
[ "MIT" ]
highfield/Cet.NATS.Client
Cet.NATS.Client/sub/ReactiveSubscription.cs
6,120
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...
71.705357
262
0.692815
[ "MIT" ]
AlanFlorance/azure-powershell
src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.json.cs
7,920
C#
/******************************************************************************* * Copyright 2012-2019 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...
55.787565
539
0.642426
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/CognitoIdentityProvider/Basic/Start-CGIPAuth-Cmdlet.cs
21,534
C#
using System; using System.Web.Http; using Umbraco.Core; using Umbraco.Web.Composing; using Umbraco.Web.Security; namespace Umbraco.Web.WebApi { /// <summary> /// Ensures authorization is successful for a back office user. /// </summary> public sealed class UmbracoAuthorizeAttribute : AuthorizeAttrib...
33.082192
126
0.613665
[ "MIT" ]
0Neji/Umbraco-CMS
src/Umbraco.Web/WebApi/UmbracoAuthorizeAttribute.cs
2,417
C#
namespace lab_41_entity_code_first_from_db { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class Category { public Category() ...
22.576923
64
0.630324
[ "MIT" ]
philanderson888/2019-09-c-sharp-labs
labs/lab_41_entity_code_first_from_db/Category.cs
587
C#
namespace N2.Http { public class WellKnownHeaders { public const string ETag = "ETag"; public const string ContentRef = "content-ref"; public const string FirstPage = "href-first"; public const string LastPage = "href-last"; public const string NextPage = "href-next"; ...
27.071429
55
0.627968
[ "MIT" ]
gjkaal/http-client
N2.Http/WellKnownHeaders.cs
381
C#
using System.Net; using BuildingBlocks.Exception; namespace Flight.Aircrafts.Exceptions; public class AircraftAlreadyExistException : AppException { public AircraftAlreadyExistException() : base("Flight already exist!", HttpStatusCode.Conflict) { } }
22.083333
99
0.781132
[ "MIT" ]
xpertdev/Airline-Microservices
src/Services/Airline.Flight/src/Flight/Aircrafts/Exceptions/AircraftAlreadyExistException.cs
265
C#
using System; using System.Linq; namespace P02._Common_Elements { internal class Program { static void Main(string[] args) { string[] arr1 = Console.ReadLine() .Split(' ', StringSplitOptions.RemoveEmptyEntries) .ToArray(); string[] arr2 ...
23.971429
66
0.413588
[ "MIT" ]
Marti2509/SoftUni
02.Programming Fundamentals with C# - January 2022/03.2.E - Arrays/P02. Common Elements/Program.cs
841
C#
// // System.Xml.Serialization.TypeTranslator // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // Erik LeBel (eriklebel@yahoo.ca) // Lluis Sanchez Gual (lluis@ximian.com) // // (C) 2002 Ximian, Inc (http://www.ximian.com) // (C) 2003 Erik Lebel // // // Permission is hereby granted, free of charge, to a...
39.848571
147
0.693913
[ "Apache-2.0" ]
Mailaender/mono
mcs/class/System.XML/System.Xml.Serialization/TypeTranslator.cs
13,947
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
37.297872
121
0.608291
[ "MIT" ]
shuansanchez/marvelReset
marvelReset/obj/ARM/Debug/XamlTypeInfo.g.cs
5,261
C#
// based on the FNA SpriteBatch implementation by Ethan Lee: https://github.com/FNA-XNA/FNA using System; using System.Runtime.InteropServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework; using System.Runtime.CompilerServices; using Nez.Textures; namespace Nez { public class Batcher : Gra...
28.094222
147
0.684459
[ "Apache-2.0", "MIT" ]
yatesm4/Nez
Nez.Portable/Graphics/Batcher/Batcher.cs
31,606
C#
//----------------------------------------------------------------------- // <copyright file="StorageCredentials.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Lic...
40.91831
188
0.596861
[ "Apache-2.0" ]
jasonnewyork/azure-storage-net
Lib/Common/Auth/StorageCredentials.cs
14,528
C#
namespace Funkcja_Liniowa { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
45.228261
119
0.56597
[ "MIT" ]
grzewas/Program-Graficzny
Funkcja Liniowa/Funkcja Liniowa/Form1.Designer.cs
12,486
C#
namespace Org.BouncyCastle.Bcpg.OpenPgp { /// <remarks>Key flag values for the KeyFlags subpacket.</remarks> public abstract class PgpKeyFlags { public const int CanCertify = 0x01; // This key may be used to certify other keys. public const int CanSign = 0x02; // This key may be used to s...
58.071429
132
0.699877
[ "BSD-3-Clause" ]
GaloisInc/hacrypto
src/C#/BouncyCastle/BouncyCastle-1.7/crypto/src/openpgp/PgpKeyFlags.cs
813
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class GameOverManager : MonoBehaviour { public Text resultText; // Use this for initialization void Start () { resultText.text = "Game Over...\nYour score is " ...
23.347826
100
0.674115
[ "MIT" ]
otiket/Flappy-Bird
Assets/GameOverManager.cs
539
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.PowerFx.Core; using Microsoft.PowerFx.Core.IR; using Microsoft.PowerFx.Core.Public.Values; using Microsoft.PowerFx.Core.Tests; using Microsoft.PowerF...
35.421687
190
0.55034
[ "MIT" ]
Seanpm2001-Microsoft/Power-Fx
src/tests/Microsoft.PowerFx.Interpreter.Tests/PowerFxEvaluationTests.cs
2,942
C#
using System; using System.IO; using System.Threading.Tasks; namespace Lykke.AlgoStore.MatchingEngineAdapter.Abstractions.Services.Listening { internal static class StreamExtensions { public static async Task FillBufferAsync(this Stream stream, byte[] buffer) { if (stream == null) ...
27.935484
111
0.594688
[ "MIT" ]
LykkeCity/Lykke.AlgoStore.MatchingEngineAdapter
src/Lykke.AlgoStore.MatchingEngineAdapter.Abstractions/Services/Listening/StreamExtensions.cs
868
C#
using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main(string[] args) { var n = int.Parse(Console.ReadLine()); var cars = new List<Car>(); for (int i = 0; i < n; i++) { var input = Console.ReadLine().Split(ne...
31.236111
103
0.499333
[ "MIT" ]
YordanYordanov97/Softuni
OOP Basic/Defining Classes - Exercise/08. Raw Data/Program.cs
2,251
C#
namespace Hexalith.DataIntegrations.Domain.States { using System; using System.Collections.Generic; using Hexalith.DataIntegrations.Contracts.Events; public sealed class DataIntegrationState : IDataIntegrationState { public dynamic? Data { get; set; } public string Description { g...
33.411765
150
0.556925
[ "MIT" ]
Hexalith/Hexalith
src/Modules/Shared/Hexalith.DataIntegrations.Common/Domain/States/DataIntegrationState.cs
1,706
C#
#nullable disable namespace Amazon.Ssm; public sealed class UpdateDocumentResponse { public DocumentDescription DocumentDescription { get; init; } }
18.222222
66
0.75
[ "MIT" ]
TheJVaughan/Amazon
src/Amazon.Ssm/Actions/UpdateDocumentResponse.cs
166
C#
#region License /* The MIT License Copyright (c) 2008 Sky Morey 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,...
52.061404
341
0.700253
[ "MIT" ]
Grimace1975/bclcontrib-web
System.WebEx/Web/UI+ClientScript/ClientScriptManagerEx.cs
5,935
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; namespace GastosAppCoreEF.Models { [Table("vCashFlow")] public class vCashFlow { [Key] public string Nombre...
28.888889
56
0.655128
[ "MIT" ]
pedroren/gastosappvue
GastosAppCoreEF/Models/vCashFlow.cs
782
C#
// ReSharper disable All namespace OpenTl.Schema { using System; using System.Collections; using System.Text; using OpenTl.Schema; using OpenTl.Schema.Serialization.Attributes; [Serialize(0xd1d34a26)] public sealed class TSendMessageUploadPhotoAction : ISendMessageAction { [SerializationOrder(0)] ...
18.15
71
0.743802
[ "MIT" ]
zzz8415/OpenTl.Schema
src/OpenTl.Schema/_generated/_Entities/SendMessageAction/TSendMessageUploadPhotoAction.cs
365
C#
// *********************************************************************** // Assembly : MigrationFactory.O365Groups.ModernPage // Author : shiv // Created : 12-21-2018 // // Last Modified By : shiv // Last Modified On : 01-04-2019 // *********************************************************...
46.094118
166
0.584227
[ "MIT" ]
sshkkumar/SharePointMigrationTools
MigrationFactory.O365Groups.ModernPage/Entity/WikiPage.cs
3,920
C#
using BizHawk.Common; using BizHawk.Emulation.Cores.Components.LR35902; namespace BizHawk.Emulation.Cores.Nintendo.GBHawk { // MBC1 with bank switching and RAM public class MapperMBC1 : MapperBase { public int ROM_bank; public int RAM_bank; public bool RAM_enable; public bool sel_mode; public...
20.806283
87
0.548566
[ "MIT" ]
Qapples/BizHawk
src/BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/Mappers/Mapper_MBC1.cs
3,976
C#
namespace NeuralNetworkTSU { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
46.106918
161
0.5991
[ "MIT" ]
AleksandreSukh/NeuralNetworkProjectForUniversity
NeuralNetworkTSU/NeuralNetworkTSU/Form1.Designer.cs
7,333
C#
#region Copyright notice and license // Copyright 2016 gRPC 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 req...
30.688889
137
0.706734
[ "Apache-2.0" ]
0mok/grpc
src/csharp/Grpc.Core.Tests/NUnitMain.cs
1,381
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace nba.Entidades { public class Jugador { int idJugador; string nombre; int altura; double peso; int dorsal; int equipo_id; int pos...
18.454545
121
0.362479
[ "MIT" ]
jaimefrailedb/nbajaime
nba/Entidades/Jugador.cs
2,438
C#
namespace CustomLinkedList { public class ListItem<T> { T Value { get; set; } ListItem<T> NextItem { get; set; } } }
14.7
42
0.544218
[ "MIT" ]
vassildinev/Data-Structures-and-Algorithms
02.LinearDataStructuresHomework/11.CustomLinkedList/ListItem.cs
149
C#
// This file is part of the DSharpPlus project. // // Copyright (c) 2015 Mike Santiago // Copyright (c) 2016-2022 DSharpPlus Contributors // // 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...
39.234686
293
0.54212
[ "MIT" ]
FlawCra/DSharpPlus
DSharpPlus/Clients/DiscordClient.Dispatch.cs
102,481
C#
using System; using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Mvc; using SFA.DAS.Campaign.Web.Helpers; namespace SFA.DAS.Campaign.Web.Controllers.EmployerInform { [Route("employers/funding-an-apprenticeship")] public class FundingAnApprenticeshipController : Controller { pr...
34.294118
165
0.641509
[ "MIT" ]
SkillsFundingAgency/das-campaign
src/SFA.DAS.Campaign.Web/Controllers/EmployerInform/FundingAnApprenticeshipController.cs
1,751
C#
using System; using System.Collections.Generic; using System.Text; namespace lab_40_entity_code_first.Models { class User { public int UserId { get; set; } public string Username { get; set; } public DateTime DateOfBirth { get; set; } public int? CategoryId { get; set; } ...
20.777778
49
0.625668
[ "MIT" ]
BrynMorley/2020-06-c-sharp-labs
labs/lab_40_entity_code_first/Models/User.cs
376
C#
// <copyright file="AdminCommandEventArgs.cs" company="StevoTVR"> // Copyright (c) StevoTVR. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. // </copyright> namespace SevenMod.Console { using System; using System.Collections.Generi...
39.913043
133
0.634532
[ "MIT" ]
SevenMod/SevenMod
SevenMod/Console/AdminCommandEventArgs.cs
1,838
C#
/* * Copyright (c) 2017 Samsung Electronics Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
27.4
75
0.624368
[ "Apache-2.0" ]
Inhong/Tizen-CSharp-Samples
Wearable/Xamarin.Forms/TextReader/TextReader/Views/WearableViewResolver.cs
1,781
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; namespace RazorLight.Compilation { public class TemplateCompilationException : RazorLightException { private readonly List<TemplateCompilationDiagnostic> compilationDiagnostics = new List<TemplateCompilationDiagnostic...
33.911765
139
0.784042
[ "Apache-2.0" ]
Fenetre/RazorLight
src/RazorLight/Compilation/TemplateCompilationException.cs
1,155
C#
using System; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using WireMock.Logging; using WireMock.Net.StandAlone; using WireMock.Server; namespace WireMock.Net { public class Program { private static readonly int SleepTime = 30000; private static readonly ILogge...
30.1
86
0.533223
[ "Apache-2.0" ]
BearerPipelineTest/WireMock.Net
src/dotnet-WireMock.Net/Program.cs
1,806
C#
using System.Collections.Generic; using System.Threading.Tasks; using Destiny2; using Destiny2.Definitions; namespace Destiny2WeaponMods.Services { public interface IWeaponMods { Task<IEnumerable<DestinyInventoryItemDefinition>> GetModsFromManifest(); Task<IEnumerable<DestinyInventoryItemDefi...
29.5
106
0.769976
[ "MIT" ]
andyschott/Destiny2WeaponMods
Destiny2WeaponMods/Services/IWeaponMods.cs
413
C#
// This source code is dual-licensed under the Apache License, version // 2.0, and the Mozilla Public License, version 2.0. // // The APL v2.0: // //--------------------------------------------------------------------------- // Copyright (c) 2007-2020 VMware, Inc. // // Licensed under the Apache License, Version 2....
30.425287
82
0.533434
[ "MPL-2.0-no-copyleft-exception", "MPL-2.0", "Apache-2.0" ]
554393109/rabbitmq-dotnet-client
projects/Unit/TestBlockingCell.cs
5,294
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CefGlueWebsocketHandler.cs" company="Chromely Projects"> // Copyright (c) 2017-2019 Chromely Projects // </copyright> // <license> // See the LICENSE.md file in the project...
34.272222
121
0.46296
[ "MIT", "BSD-3-Clause" ]
NovusTheory/Chromely
src/Chromely.CefGlue/Browser/ServerHandlers/CefGlueWebsocketHandler.cs
6,171
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...
31.67033
148
0.591256
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/DescribeRegionsRequest.cs
2,882
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.387097
418
0.695798
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ContainerService/V20210801/Outputs/AgentPoolUpgradeSettingsResponse.cs
1,190
C#
using GroupDocs.Viewer.Interfaces; using System.IO; namespace GroupDocs.Viewer.Forms.UI { internal class MemoryPageStreamFactory : IPageStreamFactory { public Stream Stream { get; } public MemoryPageStreamFactory() : this(new MemoryStream()) { } public MemoryPageStreamFactory(Stream ...
25.071429
81
0.633903
[ "MIT" ]
groupdocs-viewer/GroupDocs.Viewer-for-.NET
Demos/WinForms/src/GroupDocs.Viewer.WinForms/Utils/MemoryPageStreamFactory.cs
704
C#
using Etimo.Benchmarks.Interfaces.Operations; namespace Etimo.Benchmarks.Implementations.Operations { public class OperationGroup<TOperation1> : OperationGroupBase, IOperationGroup<TOperation1> where TOperation1 : IOperationBase { public TOperation1 Operation1 { get; set; } } public class Ope...
43.886792
199
0.711092
[ "Unlicense" ]
Etimo/Etimo.Benchmarks
Src/Etimo.Benchmarks/Implementations/Operations/OperationGroup.cs
2,328
C#
namespace Fasetto.Word.Core { /// <summary> /// The types of icons to use within the application /// </summary> public enum IconType { /// <summary> /// No icon /// </summary> None = 0, /// <summary> /// A picture frame /// </summary> ...
17.916667
56
0.427907
[ "MIT" ]
Drumahota/fasetto-word
Source/Fasetto.Word.Core/DataModels/IconType.cs
432
C#
using Lucene.Net.Index; using Lucene.Net.Util; using System.Diagnostics; namespace Lucene.Net.Codecs.Pulsing { /* * 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 regard...
37.792
142
0.605419
[ "Apache-2.0" ]
DiogenesPolanco/lucenenet
src/Lucene.Net.Codecs/Pulsing/PulsingPostingsFormat.cs
4,724
C#
// <copyright file="InternetExplorerDriver.cs" company="WebDriver Committers"> // Copyright 2007-2011 WebDriver committers // Copyright 2007-2011 Google Inc. // Portions copyright 2011 Software Freedom Conservancy // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file e...
45.670807
142
0.637155
[ "Apache-2.0" ]
yumingjuan/selenium
dotnet/src/WebDriver/IE/InternetExplorerDriver.cs
7,353
C#
using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; using Xamarin.Forms; namespace XLabs.Forms { //From the Xamarin forums //http://forums.xamarin.com/discussion/comment/68739#Comment_68739 public class OnPlatformList<T> : ObservableCollection<T> { ...
35.25
99
0.537073
[ "Apache-2.0" ]
alemarko/Xamarin-Forms-Labs
src/Forms/XLabs.Forms/Extensions/OnPlatformList.cs
3,104
C#
// // Unit tests for NSMutableSAttributedString // // Authors: // Sebastien Pouliot <sebastien@xamarin.com> // // Copyright 2013-2014 Xamarin Inc. All rights reserved. // using System; using Foundation; using NUnit.Framework; namespace MonoTouchFixtures.Foundation { [TestFixture] public class MutableSAttributedStr...
28.135593
85
0.689759
[ "BSD-3-Clause" ]
dottam/xamarin-macios
tests/monotouch-test/Foundation/MutableAttributedStringTest.cs
1,660
C#
using System.IO; // https://stackoverflow.com/a/452945/148962 namespace Cyotek.DownDetector.Client { internal static class StreamUtil { #region Public Methods public static void ReadExactly(Stream input, byte[] buffer, int bytesToRead) { int index = 0; while (index < bytesToRead) {...
24.933333
84
0.552139
[ "MIT" ]
cyotek/CyotekDownDetector
gui/StreamUtil.cs
750
C#
using System; namespace Basic { public class ReportColorScheme { public static ReportColorScheme LightAndBlue = new ReportColorScheme { BackgroundColor = ConsoleColor.Gray, ...
54.35
115
0.393284
[ "Apache-2.0" ]
robertsundstrom/vb-lite-compiler
basc/ReportColorScheme.cs
2,176
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...
41.322034
129
0.758409
[ "Apache-2.0" ]
damianh/aws-sdk-net
sdk/src/Services/IoTThingsGraph/Properties/AssemblyInfo.cs
2,438
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using MK.Core; using Quartz; namespace MK.Modules.BlackDesert.BossTimer { public class BossTimerJob : IJob { public virtual Task Execute(IJobExecutionContext context) { Dictionary<string, BossTimerModule....
39.926829
158
0.55956
[ "Apache-2.0" ]
Kirbyrawr/mk-discord-bot
mk-discord-bot/src/MK.Modules/BlackDesert/BossTimer/BossTimerJob.cs
1,639
C#
#pragma checksum "..\..\..\Moving.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "5E8F2458CC9F4390AACF38269F78C2F2C6AB0646E3267B2430E1F2E557CC34AE" //------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正...
37.618421
148
0.662469
[ "MIT" ]
rootacite/cs2_united
cs2_chs/obj/x86/Release/Moving.g.i.cs
2,967
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using HotChocolate.Execution; using HotChocolate.Resolvers; using HotChocolate.Types.Descriptors; using HotChocolate.Types.Relay; using Moq; #if NETCOREAPP2_1 using S...
28.919959
107
0.453295
[ "MIT" ]
damikun/hotchocolate
src/HotChocolate/Core/test/Types.Tests/Types/ObjectTypeTests.cs
56,365
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Obecné informace o sestavení se řídí přes následující // sadu atributů. Změnou hodnot těchto atributů se upraví informace // přidružené k sestavení. [assembly: AssemblyTitle("Pexeso")] [assembly: AssemblyDescript...
36.486486
94
0.754074
[ "MIT" ]
oskarbukovsky/repos
Pexeso/Pexeso/Properties/AssemblyInfo.cs
1,409
C#
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Overlay { /// <summary> /// Fired when the node should be highlighted. This happens after call to `setInspectMode`. /// </summary> [Event(ProtocolName.Overlay.NodeHighlightR...
24.95
92
0.739479
[ "MIT" ]
rollrat/custom-crawler
ChromeDevTools/Protocol/Chrome/Overlay/NodeHighlightRequestedEvent.cs
499
C#
/**** * Exrecodel - "Extensible Regulation/Convention Descriptor Language" * 「拡張可能な規則/規約記述言語」 * Copyright (C) 2020-2021 Yigty.ORG; all rights reserved. * Copyright (C) 2020-2021 Takym. * * distributed under the MIT License. ****/ using System.Text; using System.Threading.Tasks; using System.Xml; ...
23.230769
118
0.684011
[ "MIT" ]
Takym/TakymLib
Deprecated/Exrecodel/InternalImplementations/ContactInfo/XrcdlEmailInfoImplementation.cs
2,056
C#
using AES.Core.Controllers; using AES.Order.API.Application.DTO; using AES.Order.API.Application.Queries; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Net; using System.Threading.Tasks; namespace AES.Order.API.Controllers { [Authorize] public class VoucherController :...
30.333333
74
0.69031
[ "MIT" ]
thiagocruzrj/Advanced-EShop
src/Services/Order/AES.Order.API/Controllers/VoucherController.cs
1,003
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Diagnostics.ContractsLight; using BuildXL.FrontEnd.Script.Values; using BuildXL.Utilities; using static BuildXL.Utilities.FormattableStringEx; using LineInfo = TypeScript.Net.Utilities.LineInfo; namespace B...
36.024752
138
0.528102
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/FrontEnd/Script/Ast/Literals/IConstantExpression.cs
7,277
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03_Forum_Topics { class Program { static void Main(string[] args) { var solution = new Dictionary<string, HashSet<string>>(); string inputTopic...
32.271739
100
0.397777
[ "MIT" ]
Bullsized/Assignments-Fundamentals
11 Advanced Collections/2017-05-04/03 Forum Topics/03 Forum Topics.cs
2,971
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Evereal.VRVideoPlayer; public class RotateBar : BarBase, IRunnable { private IAppInfo appInfo; public GameObject target; // Start is called before the first frame update void Start() { appInfo = transform....
25.131579
139
0.682723
[ "Apache-2.0" ]
tcdanielh/TutoriVR
Assets/TutoriVR/Scripts/RotateBar.cs
957
C#
using System; using System.Linq; using System.Text.RegularExpressions; using Telegram.Bot.Framework.Abstractions; using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; namespace Telegram.Bot.Framework { public static class BotExtensions { public static bool CanHandleCommand(this IBot bot, string c...
33.175
106
0.571967
[ "MIT" ]
RomanOdynets/telbot
src/Telegram.Bot.Framework/Extensions/BotExtensions.cs
1,329
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.Immutable; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis.CodeSty...
43.938596
174
0.665003
[ "MIT" ]
Acidburn0zzz/roslyn
src/Analyzers/Core/Analyzers/NewLines/ConsecutiveStatementPlacement/AbstractConsecutiveStatementPlacementDiagnosticAnalyzer.cs
5,011
C#
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy,...
42.155963
141
0.703808
[ "MIT" ]
AartBluestoke/Newtonsoft.Json
Src/Newtonsoft.Json/Utilities/AsyncUtils.cs
4,597
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.Common.Authentication { public enum ShowDialog { Auto, Always, Never } }
24.416667
95
0.686007
[ "MIT" ]
DiogenesPolanco/azure-sdk-for-net
src/Authentication/Common.Authentication/Authentication/ShowDialog.cs
295
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.SqlClient; namespace rentAcar { public partial class Form1 : Form { p...
32.133333
179
0.519087
[ "MIT" ]
ALINCOP/Car-rental-dashboard
rent-a-car/Form1.cs
2,412
C#
namespace _3rd_party.Particle_Dissolve_Shader_by_Moonflower_Carnivore.Shaders.unity5.Editor { public class Shader_softrim_dissolve : CustomMaterialEditor { protected override void CreateToggleList() { Toggles.Add(new FeatureToggle("Soft Dissolve Enabled","soft_dissolve","SOFTDISSOLVE_ON","SOFTDISSOLVE_OFF"));...
44.5625
112
0.776999
[ "MIT" ]
dubu-0/Argon-Assault
Assets/3rd party/Particle Dissolve Shader by Moonflower Carnivore/Shaders/unity5/Editor/Shader_softrim_dissolve.cs
715
C#
namespace Manga.WebApi.UseCases.V1.GetAccountDetails { using System.Collections.Generic; using Manga.Application.Boundaries.GetAccountDetails; using Manga.WebApi.ViewModels; using Microsoft.AspNetCore.Mvc; public sealed class GetAccountDetailsPresenter : IOutputPort { public IActionResu...
31.775
79
0.631786
[ "Apache-2.0" ]
markchan1209/clean-architecture-manga
source/Manga.WebApi/UseCases/V1/GetAccountDetails/GetAccountDetailsPresenter.cs
1,271
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel.Description { using System.Runtime; using System.ServiceModel; using System.ServiceModel.C...
39.121212
130
0.597986
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/cdf/src/WCF/ServiceModel/System/ServiceModel/Description/CallbackTimeoutsBehavior.cs
2,582
C#