content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System.Collections.Generic; namespace Task4 { public class ParsingTreeNode { public string Value; public List<ParsingTreeNode> Childrens = new List<ParsingTreeNode>(); } }
15.666667
71
0.755319
[ "MIT" ]
KvanTTT/BMSTU-Education
CompilerConstruction/Task4/ParsingTreeNode.cs
190
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.ML.Runtime; using Microsoft.ML.Runtime.CommandLine; using Microsoft.ML.Runtime.Data; using Microsoft...
39.726141
151
0.585126
[ "MIT" ]
Caraul/machinelearning
src/Microsoft.ML.Data/Transforms/LabelIndicatorTransform.cs
9,574
C#
using System; using System.Linq; using System.Threading.Tasks; using Template10.Samples.TilesSample.ViewModels; using Windows.UI.StartScreen; using Windows.UI.Notifications; using NotificationsExtensions.Tiles; using NotificationsExtensions.Toasts; namespace Template10.Samples.TilesSample.Services.TileService { c...
31.946429
113
0.47438
[ "Apache-2.0" ]
ArtjomP/Template10
Samples/Tiles/Services/TileService/TileService.cs
5,369
C#
using System; using UserTasks.Core.SharedKernel; namespace UserTasks.Core.Interfaces { /// <summary> /// This interface is implemented by entities which must be audited. /// Related properties automatically set when saving/updating <see cref="BaseEntity"/> objects. /// </summary> public interface ...
28.5
99
0.65692
[ "MIT" ]
nasraldin/UserTasks
UserTasks.Core/Interfaces/IAuditedEntity.cs
515
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Xml.Linq; using UnityEngine; namespace Unity.VisualScripting { public static class XmlDocumentation { class Data { public Dictionary<Assembly, Dictionary<string,...
33.409756
177
0.531975
[ "Apache-2.0" ]
ASlugin/Homework-2sem
SCP-087/Library/PackageCache/com.unity.visualscripting@1.7.6/Editor/VisualScripting.Core/Documentation/XmlDocumentation.cs
13,698
C#
using SharpenedMinecraft.Types.Blocks; using System; using System.Collections.Generic; using System.Text; namespace SharpenedMinecraft.Types.Items { public class Sea_pickleItem : ItemStack { public override string Id => "minecraft:sea_pickle"; public override Int32 ProtocolId => 74; ...
22.5
75
0.660606
[ "MIT" ]
SharpenedMinecraft/SM1
Main/Types/Items/Sea_pickleItem.cs
495
C#
using SOLID_._1.SRP.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SOLID_._1.SRP.Good_Example { public class GoodInsertEmployee { public GoodLogger goodLogger; public GoodInsertEmployee() ...
25.911111
69
0.54717
[ "MIT" ]
CeyhunAslan/SOLID
SOLID/SOLID_/1.Single Responsibility Principle/Good Example/GoodInsertEmployee.cs
1,168
C#
using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace OnlinePremios.Mvc.Areas.Identity.Pages.Account.Manage { public clas...
32.607143
116
0.596568
[ "MIT" ]
carlosItDevelop/OnlinePremios
src/OnlinePremio.Mvc/Areas/Identity/Pages/Account/Manage/DeletePersonalData.cshtml.cs
2,741
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using XNALib; namespace QTD { public class InfoPanel { static readonly ...
27.407407
120
0.564189
[ "MIT" ]
SquirtingElephant/QTD
QTD/QTD/InfoPanel.cs
1,482
C#
namespace Cogito.MassTransit.Scheduling.Periodic { public class PT12H : P { } }
8.153846
49
0.575472
[ "MIT" ]
alethic/Cogito.MassTransit
Cogito.MassTransit/Scheduling/Periodic/PT12H.cs
108
C#
/* * Created by SharpDevelop. * User: Dan * Date: 29/10/2009 * Time: 12:07 AM * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; namespace Thorm { /// <summary> /// Maps data types to 'Thorm-safe' types /// </summary> public static class DataTypeMapping { ...
26.55
80
0.638418
[ "BSD-3-Clause" ]
LogicAndTrick/thor
Thorm/Static/DataTypeMapping.cs
1,064
C#
using System; using System.Globalization; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Data; namespace PrismaGUI.Converters { internal class RegexStringConverter : IValueConverter { public object? Convert(object? value, Type targetType, object parameter, CultureInfo...
29.513514
99
0.606227
[ "MIT" ]
mainframe98/Prisma
PrismaGUI/Converters/RegexStringConverter.cs
1,094
C#
/** * Autogenerated by Thrift Compiler (0.11.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.IO; using Thrift; using Thrift.Collections; using System.Runtime.Serializat...
27.709924
91
0.504628
[ "MIT" ]
DEIS-Project-EU/DDI-Scripting-Tools
ODE_Tooladapter/ThriftContract/ODEThriftContract/gen_Thrift_ODE/csharp/STB_Modeling_Techniques/DEISProject/ODEDataModel/ThriftContract/TDDIActivity.cs
18,150
C#
using System; using System.Collections; using System.Collections.Generic; using ChainedRam.Core.Generation; using UnityEngine; [Obsolete("Use: ShowupOnScreenGenerator")] public class MoveToGenerator : TimedGenerator { public GameObject Movable; public Transform Destenation; [ContextMenuItem("Sync", "Syn...
24
136
0.685458
[ "MIT" ]
KLD/Mahatha
Assets/Scripts/Core/Generation/MoveToGenerator.cs
1,226
C#
// // PropertyInfoTest.cs - NUnit Test Cases for PropertyInfo // // Author: // Gert Driesen (drieseng@users.sourceforge.net) // // (C) 2004-2007 Gert Driesen // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to ...
29.829982
130
0.66636
[ "Apache-2.0" ]
BitExodus/test01
mcs/class/corlib/Test/System.Reflection/PropertyInfoTest.cs
16,317
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ElevatorDesign { interface ILift { void SelectFloor(Floor floor); void OpenDoor(); void CloseDoor(); } }
16.8125
38
0.67658
[ "Apache-2.0" ]
sameer58250/ElevatorDesign
ElevatorDesign/ILift.cs
271
C#
/* Copyright 2010-2014 MongoDB 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 applicable law or agreed to in writi...
35.0625
74
0.686275
[ "MIT" ]
21thCenturyBoy/LandlordsProject
Landlords_Client01/Landlords_Client01/Unity/Assets/ThirdParty/MongoDB/MongoDB.Bson/ObjectModel/ICustomBsonTypeMapper.cs
1,124
C#
using Raiding.Factories; using Raiding.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Raiding.Core { public class Engine : IEngine { private readonly FactoryHero factoryHero; private ICollection<BaseHero> heroes; public Engine() ...
26.586207
84
0.51297
[ "MIT" ]
martinsivanov/CSharp-Advanced-September-2020
C # OOP/Homeworks/08 - Polymorphism - Exercise/03. Raiding/Core/Engine.cs
1,544
C#
using System; using System.Threading; using EndGate.Server.Collision; using EndGate.Server; namespace EndGate.Server { /// <summary> /// Provides collision, game, and server logic code. /// </summary> public abstract class Game : IUpdateable, IDisposable { private GameTime _gameTime; ...
30.328947
162
0.588286
[ "MIT" ]
NTaylorMullen/EndGate.Server
EndGate.Server/EndGate.Server.Core/Game/Game.cs
2,307
C#
/** /// ScrimpNet.Core Library /// Copyright © 2005-2011 /// /// This module is Copyright © 2005-2011 Steve Powell /// All rights reserved. /// /// This library is free software; you can redistribute it and/or /// modify it under the terms of the Microsoft Public License (Ms-PL) /// /// This library is distributed in...
36.64375
117
0.463244
[ "MIT" ]
catcat0921/lindexi_gd
ScrimpNet.Library.Suite Solution/__TestProjects/ScrimpNet.Core Tests/Cryptography/CryptographyTests.cs
5,867
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.Buffers; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using S...
34.909677
174
0.576714
[ "MIT" ]
71221-maker/runtime
src/libraries/System.Private.CoreLib/src/System/String.cs
27,055
C#
using Sketch2Code.AI; using Sketch2Code.Core.Entities; using Sketch2Code.Core.Services.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Sketch2Code.Core.Helpers; using System.IO; using System.Drawing; using System.Configuration; using...
40.721088
117
0.615352
[ "MIT" ]
Bhaskers-Blu-Org2/AISchoolTutorials
sketch2code/Sketch2Code.Core/Services/ObjectDetectionAppService.cs
11,974
C#
namespace Bog.Domain.Common { using System; using Bog.Domain.Entities.Contracts; public interface ITrackableEntity { #region Public Properties /// <summary> /// Gets or sets the created at. /// </summary> DateTime CreatedAt { get; set; } /// <summ...
22.242424
50
0.506812
[ "MIT" ]
BankOfGiving/Bog.net
Bog.Domain.Entities/Contracts/ITrackableEntity.cs
736
C#
namespace VRFI { public class VRFI_InputBlock { public enum InputAlias { あいうえお, かきくけこ, さしすせそ, たちつてと, なにぬねの, はひふへほ, まみむめも, やゆよ, らりるれろ, わをんー } public enum KeyTe...
31
60
0.216129
[ "MIT" ]
donafudo/VRFlickInput
Assets/VRFlickInput/Scripts/VRFI_InputBlock.cs
3,008
C#
// <copyright file="SumDataLong.cs" company="OpenTelemetry Authors"> // Copyright 2018, OpenTelemetry 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....
27.821429
75
0.542576
[ "Apache-2.0" ]
alexvaluyskiy/opentelemetry-dotnet
src/OpenTelemetry/Stats/Aggregations/SumDataLong.cs
2,339
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...
49.719298
233
0.767466
[ "Apache-2.0" ]
miltador-forks/aws-sdk-net
sdk/src/Services/ElasticFileSystem/Properties/AssemblyInfo.cs
2,834
C#
using System; namespace UnityScriptLab.Input.Value.Provider { /// <summary> /// Combines two InputValues into one. /// </summary> public class Combinator<In1, In2, Out> : ValueProvider<Out> { In1 currentValue1; In2 currentValue2; Func<In1, In2, Out> combine; public Combinator(InputValue<In1> i...
27.130435
100
0.661859
[ "MIT" ]
DerTraveler/unityscriptlab-input
UnityScriptLab/Input/Value/Provider/Combinator.cs
624
C#
using System.ComponentModel.DataAnnotations; namespace ThisProject.Models { public class ExternalLoginConfirmationViewModel { [Required] [Display(Name = "User name")] public string UserName { get; set; } } public class ManageUserViewModel { [Required] [Data...
30.6875
110
0.604379
[ "Unlicense" ]
rugbyjohnny/OffOn
ThisProject/ThisProject/Models/AccountViewModels.cs
1,966
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using System.Collections.Generic; namespace MonsterGame { // TODO : Work on Shuriken // Finish AI // Get damage // Add R // Add Game over/ win screen // Add Menu // Add animations ...
27.164557
72
0.565704
[ "MIT" ]
FrancoCuevas444/MonsterGame
LD33 Version/MonsterGame.cs
2,148
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CTT_TextGen : MonoBehaviour { Texture2D texture; int[,] noise; public int size = 200; public bool ready = false; // Start is called before the first frame update void Awake() { noise = n...
28.477612
140
0.527254
[ "MIT" ]
paultennent/canttouchthis
Assets/Scripts/CTT_TextGen.cs
3,818
C#
namespace AcFunDanmu.Enums { public static class Command { public const string REGISTER = "Basic.Register"; public const string UNREGISTER = "Basic.Unregister"; public const string KEEP_ALIVE = "Basic.KeepAlive"; public const string PING = "Basic.Ping"; public const stri...
48.605263
113
0.704656
[ "MIT" ]
megatontech/AcFunDanmaku
AcFunDanmu/Enums.cs
3,696
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> //----------------------------------------...
32.16
84
0.49005
[ "MIT" ]
brianmains/Nucleo.NET
mvp_src/Backup/Demos.WebForms.Mvp/Demos/MvpSamples/PresenterLoadingSamples/ConventionMatching.aspx.designer.cs
806
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
40.074074
108
0.554529
[ "MIT" ]
microsoft/DSynth
src/DSynth.Engine.Tests/UnitTests/TokenHandlers/MacAddressHandlerTests.cs
1,082
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using EasyAbp.NotificationService.Notifications; using Volo.Abp.DependencyInjection; using Volo.Abp.TextTemplating; namespace EasyAbp.NotificationService.Provider.Mailing.UserWelcomeNotifications { public class UserWelcomeNotificationFa...
39.714286
153
0.752698
[ "MIT" ]
wagnerhsu/sample-EasyAbp-NotificationService
providers/Mailing/EasyAbp.NotificationService.Provider.Mailing.Test/EasyAbp/NotificationService/Provider/Mailing/UserWelcomeNotifications/UserWelcomeNotificationFactory.cs
1,114
C#
using BlogEngine.Core.Data.Models; using Newtonsoft.Json; using NuGet; using System; using System.Collections.Generic; using System.Linq; using System.Net; namespace BlogEngine.Core.Packaging { /// <summary> /// Online gallery /// </summary> public static class Gallery { /// <summary> ...
37.822485
166
0.484981
[ "Unlicense" ]
Solotzy/Analysis-of-BlogEngine.NET
BlogEngine/BlogEngine.Core/Services/Packaging/Gallery.cs
6,394
C#
using UnityEngine; using UnityEngine.UI; public class ForgotPassword : StartMenuPage { public GameObject SignInPage; public InputField email; public void GoToSignInButtonEvent() { this.SignInPage.SetActive(true); } public void ValidateButtonEvent() { this._api.resetMyPassw...
19.217391
69
0.667421
[ "MIT" ]
PlayArShop/mobile-application
Assets/Mainmenu/Scripts/Startmenu/ForgotPassword.cs
442
C#
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using NEventStore; using NEventStore.PollingClient; using SimpleIdServer.OpenBankingApi.Domains; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using System.Transactions; using static NEventSt...
33.160494
145
0.570365
[ "Apache-2.0" ]
LaTranche31/SimpleIdServer
src/OpenBankingApi/SimpleIdServer.OpenBankingApi/EventStoreJob.cs
2,688
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.open.public.group.batchquery /// </summary> public class AlipayOpenPublicGroupBatchqueryRequest : IAlipayRequest<AlipayOpenPublicGroupBatchqueryResponse> ...
22.568966
113
0.558442
[ "MIT" ]
fory77/paylink
src/Essensoft.Paylink.Alipay/Request/AlipayOpenPublicGroupBatchqueryRequest.cs
2,620
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
52.32
340
0.739297
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementNotStatementStatementNotStatementStatementByteMatchStatement.cs
2,616
C#
using System; using GNet.IO; using GNet.PInvoke; namespace GNet.Profiler.MacroSystem_ORIG { public class KeyTap : Step { public KeyTap(ScanCode scanCode) { Inputs = new InputWrapper[] { InputSimulator.KeyWrapper(scanCode), InputSimulator.KeyWrapper(scanCode, true) }; ...
27.043478
124
0.575563
[ "MIT" ]
HaKDMoDz/GNet
src/Profiler/MacroSystem_ORIG/KeyTap.cs
624
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 * * or ...
32.925
101
0.697798
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/IdentityManagement/Generated/Model/_bcl45+netstandard/IListSigningCertificatesPaginator.cs
1,317
C#
using System.Reflection; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: AssemblyTitle("uprove_samlcommunication")] ...
43.166667
106
0.763835
[ "Apache-2.0", "MIT" ]
fablei/uprove_samlcommunication
uprove_samlcommunication/Properties/AssemblyInfo.cs
1,571
C#
#region license // Copyright (c) 2007-2010 Mauricio Scheffer // // 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 requir...
34.255319
120
0.634783
[ "Apache-2.0" ]
SolrNetLight/SolrNetLight
SolrNetLight/Commands/Parameters/CommitOptions.cs
1,612
C#
using System.Net.Mime; using umbraco.BusinessLogic; namespace OurUmbraco.Our.Businesslogic { public class ProjectContributor { public int ProjectId { get; set; } public int MemberId { get; set; } public ProjectContributor(int projectId, int memberId) { ProjectId = ...
35.638298
121
0.532537
[ "MIT" ]
AaronSadlerUK/OurUmbraco
OurUmbraco/Our/Businesslogic/ProjectContributor.cs
1,677
C#
//----------------------------------------------------------------------- // <copyright file="SqliteJournalSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright...
40.38
158
0.535414
[ "Apache-2.0" ]
Bogdan-Rotund/akka.net
src/contrib/persistence/Akka.Persistence.Sqlite.Tests/SqliteJournalSpec.cs
2,021
C#
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; [assembly: AssemblyTitle("Hillinworks.TiledImage.Controls")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Hillinworks")] [assembly: AssemblyProduct...
34.074074
117
0.786957
[ "MIT" ]
hillinworks/TiledImageView
Hillinworks.TiledImage.Controls/Properties/AssemblyInfo.cs
923
C#
using System.Linq; using NUnit.Framework; namespace Fettle.Tests.Core { class Multiple_mutants_per_syntax_node : Contexts.Default { public Multiple_mutants_per_syntax_node() { Given_a_partially_tested_app_in_which_multiple_mutants_survive_for_a_syntax_node(); ...
31.272727
109
0.670058
[ "MIT" ]
AlexanderWinter/fettle
src/Tests/Core/Multiple_mutants_per_syntax_node.cs
690
C#
using System; namespace REST.API.DataContracts.Requests { public class UserCreationRequest { public DateTime Date { get; set; } public User User { get; set; } } }
16.166667
42
0.628866
[ "MIT" ]
bohdan-skrypka/architecture-setup-rest-api-template
REST/REST.API.DataContracts/Requests/UserCreationRequest.cs
196
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
29.342105
112
0.623767
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CloudDirectory/Generated/Model/ListPublishedSchemaArnsResponse.cs
2,230
C#
/* Copyright © 2019 Lee Kelleher. * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ using System; using Umbraco.Core; using Umbraco.Core.Models.PublishedContent; ...
41.375
161
0.780463
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
arknu/umbraco-contentment
src/Umbraco.Community.Contentment/DataEditors/RenderMacro/RenderMacroValueConverter.cs
996
C#
using Extreme.Net; using OpenBullet.Models; using RuriLib; using RuriLib.ViewModels; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Data; using System.IO; using System.IO.Compression; using System.Linq; using System.Net; using System.Text; using System.Windows; name...
38.245614
194
0.526147
[ "MIT" ]
ALEHACKsp/openbullet-Cracked.to-
OpenBullet/ViewModels/ConfigManagerViewModel.cs
6,542
C#
// Copyright 2016-2019, Pulumi Corporation using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi { /// <summary> /// Useful static utility methods for both creating and working with <see...
44.93865
129
0.587986
[ "Apache-2.0" ]
ankitdobhal/pulumi
sdk/dotnet/Pulumi/Core/Output.cs
14,650
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...
35.156522
135
0.61118
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/DataPipeline/Generated/Model/Internal/MarshallTransformations/RemoveTagsRequestMarshaller.cs
4,043
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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...
32.204082
93
0.743346
[ "MIT" ]
galich/SharpDevelop
src/AddIns/Misc/SharpRefactoring/Project/Src/Forms/ExtractMethodForm.cs
3,158
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CPP { class Program { static void Main(string[] args) { } } }
14.125
39
0.632743
[ "MIT" ]
dragobaltov/Programming-Basics-And-Fundamentals
CPP/CPP/Program.cs
228
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata.Conventions; using Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure; using Microsoft.Extensions.DependencyInjection; namespace System.Data.SQLiteEFCore { /// <summa...
45.144578
139
0.601815
[ "MIT" ]
erikzhouxin/NSqliteCipher
src/Entity/SqliteConventionSetBuilder.cs
3,747
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
29.844828
83
0.623339
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Ms/V20180408/Models/BindInfo.cs
1,747
C#
using CodeGen.Web.Models; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; namespace CodeGen.Web.Utility { public class RepoAdoNetGenerator { public static string SingleName(string tableName) { // if finish on...
32.611111
79
0.565588
[ "MIT" ]
VladoJuric/CodeGen.Net.Ang2
CodeGen.Web/Utility/RepoAdoNetGenerator.cs
1,176
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Serilog; using Serilog.Events; namespace Events.API { public ...
30.103448
79
0.510882
[ "MIT" ]
Streaming-Cuba/events-backend
Events.API/Program.cs
1,746
C#
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
46.156863
141
0.640187
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit/Saga/ISagaRepository.cs
2,354
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...
30
133
0.603333
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20170301/Outputs/ApplicationGatewayAuthenticationCertificateResponse.cs
1,800
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class rendRenderMultilayerMaskBlobHeader : CVariable { [Ordinal(0)] [RED("atlasHeight")] public CUInt32 AtlasHeight { get; set; } [Ordinal(1)] [RED("atlasW...
44.4
121
0.679279
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/rendRenderMultilayerMaskBlobHeader.cs
1,086
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
42.652695
191
0.598063
[ "MIT" ]
cmelo05/fhir-server
src/Microsoft.Health.Fhir.CosmosDb/Features/Operations/Reindex/ReindexJobCosmosThrottleController.cs
7,125
C#
/* TShock, a server mod for Terraria Copyright (C) 2011-2016 Nyx Studios (fka. The TShock Team) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your op...
22.596838
95
0.608536
[ "MIT" ]
BloodARG/tModLoaderTShock
TShock-general-devel/TShockAPI/DB/TileManager.cs
5,467
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace WebFrontEnd.Areas.HelpPage.ModelDescriptions { public class EnumTypeModelDescription : ModelDescription { public EnumTypeModelDescription() { Values = new Collection<EnumValueDescription>(); } ...
27
76
0.708642
[ "MIT" ]
ashkan-saeedi-mazdeh/GuessTheNumber-sample
WebFrontEnd/Areas/HelpPage/ModelDescriptions/EnumTypeModelDescription.cs
405
C#
using MDPlayer.Properties; namespace MDPlayer.form { partial class frmC352 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. //...
40.513889
139
0.604731
[ "MIT" ]
HoppingTappy/MDPlayer
MDPlayer/MDPlayer/form/KB/PCM/frmC352.Designer.cs
2,919
C#
// <copyright file="FriendContext.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.Persistence.EntityFramework { using Microsoft.EntityFrameworkCore; using MUnique.OpenMU.Persistence.EntityFram...
32.604651
101
0.614123
[ "MIT" ]
RuriRyan/OpenMU
src/Persistence/EntityFramework/FriendContext.cs
1,404
C#
using System.IO; namespace TURAG.Feldbus.Types { /// <summary> /// Models the data part of a packet sent from device to host, excluding /// address and checksum, which are removed from the raw data beforehand. /// Received data can be accessed using the various Read- functions of the /// BinaryRe...
31.032258
98
0.613306
[ "Apache-2.0" ]
turag-ev/TURAG-Feldbus-csharp
TURAG.Feldbus-csharp/Types/BusResponse.cs
964
C#
namespace BulletMLLib { public class TimesNode : BulletMLNode { public TimesNode() : base(ENodeName.times) { } } }
11.363636
44
0.68
[ "MIT" ]
Formedras/BulletMLLib_dmanning
BulletMLLib/BulletMLLib.SharedProject/Nodes/TimesNode.cs
125
C#
using Grpc.Core; using Microsoft.Extensions.Logging; using System.Threading.Tasks; namespace Spear.Tests.Grpc { public class GreeterService : Greeter.GreeterBase { private readonly ILogger<GreeterService> _logger; public GreeterService(ILogger<GreeterService> logger) { _logg...
25.041667
98
0.620632
[ "Apache-2.0" ]
clever903/spear
test/Spear.Tests.Grpc/Services/GreeterService.cs
601
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
29.62766
463
0.715619
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System.Configuration/System.Configuration.ExeConfigurationFileMap.cs
2,785
C#
using ProjetoModeloDDD.Domain.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjetoModeloDDD.Domain.Interfaces { public interface IClienteRepository : IRepositoryBase<Cliente> { } }
20.428571
66
0.79021
[ "MIT" ]
rafaelraah/Projeto_ModeloDDD
ProjetoModeloDDD/ProjetoModeloDDD.Domain/Interfaces/IClienteRepository.cs
288
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.CodeRefactorings.LambdaSimplifier; using Roslyn.Test.Utilities; using Xunit; namespace Micr...
34.814672
160
0.584784
[ "Apache-2.0" ]
TronsGuitar/roslyn
src/EditorFeatures/CSharpTest/CodeActions/LambdaSimplifier/LambdaSimplifierTests.cs
9,017
C#
using System; namespace Glued { public static partial class CaseExtensions { public static Action<Action<T>> Case<T>(this T t, Func<T, bool> guard, Action<T> action) { return next => { if (guard(t)) action(t); else next(t); }; } public static Action<Action<T>> Case<...
28.954545
117
0.549451
[ "MIT" ]
corker/Glued
src/Glued/CaseExtensions.Action.cs
637
C#
using Avalonia; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Markup.Xaml; using DS3BehaviorToolGUI.ViewModels; using DS3BehaviorToolGUI.Views; namespace DS3BehaviorToolGUI { public class App : Application { public override void Initialize() { AvaloniaXamlLoader.Load(...
23.896552
87
0.62482
[ "MIT" ]
The12thAvenger/DS3BehaviorToolGUI
BindingCrashCourse/App.axaml.cs
693
C#
namespace TarbikMap.Storage { using System; using System.Collections.Generic; using System.Linq; internal class Game { public Game(DateTime validUntil, GameConfiguration configuration, IList<Player> players) { this.ValidUntil = validUntil; this.Configuration ...
25.813559
102
0.570584
[ "MIT" ]
milan11/tarbikmap
TarbikMap/Storage/Game.cs
1,523
C#
using Autofac; using AutoMapper.Autofac.Shared.Entities; using AutoMapper.Contrib.Autofac.DependencyInjection; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace AutoMapper.Autofac.WebApi { ...
28.657143
80
0.656032
[ "MIT" ]
Morreed/AutoMapper.Contrib.Autofac.DependencyInjection
samples/AutoMapper.Autofac.WebApi/Startup.cs
1,003
C#
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using SixLabors.ImageSharp.Processing.Processors.Convolution; namespace SixLabors.ImageSharp.Processing { /// <summary> /// Defines Gaussian blurring extensions to apply on an <see cref="Image"/> /// using Mutate/Clone. /...
52.461538
201
0.659531
[ "Apache-2.0" ]
AlexanderSemenyak/ImageSharp
src/ImageSharp/Processing/Extensions/Convolution/GaussianBlurExtensions.cs
3,412
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace DynamicBatteryStorage { /// <summary> /// This Vessel Module calculates vessel energy production and consumption, and chooses a part to act as a 'battery buffer' at high time warp speeds /// /// ...
27.321429
150
0.65817
[ "MIT", "Unlicense" ]
Grimmas/DynamicBatteryStorage
Source/DynamicBatteryStorage/Data/VesselDataManager.cs
3,060
C#
using Autodesk.Navisworks.Api; using Autodesk.Navisworks.Api.Clash; using System; using System.Collections.Generic; using TUM.CMS.VplControl.Core; namespace ENGyn.Nodes.Clash { public class CompactAllTests : Node { public CompactAllTests(VplControl hostCanvas) : base(hostCanvas) ...
28.150259
142
0.484263
[ "MIT" ]
ENGworks-DEV/ENGyn
src/ENGyn-Nodes/Clash/CompactTest.cs
5,435
C#
using UnityEngine; //A giant enumerator that we'll be using for a bunch of direction values that we'll be using. //We don't even use all of them a lot but even so it's useful to have solely for readability public enum Direction { North, East, South, West } public enum DirectionChange { None, TurnRight, TurnLeft, Tu...
27.928571
93
0.710997
[ "MIT" ]
NodeReplacer/Tower-Defense-Game
Assets/Scripts/Direction.cs
1,566
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Nanosoft { /** * Класс управляющий окном списка квестов */ public class QuestWindow: WindowBehaviour { /** * Ссылка на панель списока квестов */ public GameObject questList; /** * Ссылка на п...
17.37037
75
0.642058
[ "MIT" ]
zolotov-av/unity
Test Unity Project/Assets/Nanosets/Scripts/QuestWindow.cs
4,350
C#
using System.Collections.Generic; using System.Threading.Tasks; using Gandalan.IDAS.Client.Contracts.Contracts; using Gandalan.IDAS.WebApi.Client.Settings; using Gandalan.IDAS.WebApi.DTO; namespace Gandalan.IDAS.WebApi.Client.BusinessRoutinen { public class ContractWebRoutinen : WebRoutinenBase { publ...
24.525424
75
0.539737
[ "MIT" ]
Saibamen/idas-client-libs
Gandalan.IDAS.WebApi.Client/BusinessRoutinen/ContractWebRoutinen.cs
1,449
C#
namespace UnionFind; /// <summary> /// 使用加权 quick-union 算法的并查集。 /// </summary> public class WeightedQuickUnionUf : QuickUnionUf { /// <summary> /// 记录各个树大小的数组。 /// </summary> /// <value>记录各个树大小的数组。</value> protected int[] Size; /// <summary> /// 记录 parent 数组的访问次数的计数器。 /// </summary> ...
22.359223
58
0.497178
[ "MIT" ]
Higurashi-kagome/Algorithms-4th-Edition-in-Csharp
1 Fundamental/1.5/UnionFind/WeightedQuickUnionUF.cs
2,667
C#
// <auto-generated /> namespace RiskTracker.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.1-30610")] public sealed partial class a...
28.433333
105
0.631887
[ "MIT" ]
Inside-Outcomes/Risk-Tracker
RiskMapsCore/Migrations/201510061332028_add-suspended-flag-to-orgs.Designer.cs
853
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
31.08209
102
0.577431
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/DirectoryService/Generated/Model/DirectoryConnectSettings.cs
4,165
C#
using System; using System.Drawing; using System.Diagnostics; using System.ComponentModel; using System.Threading.Tasks; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using UIKit; using GLKit; using Metal; using MapKit; using ModelIO; using SceneKit; using Security; using AudioUnit; usin...
23.25
101
0.727823
[ "MIT" ]
GravitonStudios/braintree-ios-binding
GravitonStudios.BraintreeVenmo.iOS/Extras.cs
1,490
C#
using Microsoft.AspNetCore.Identity; namespace MyShoppingStore.Models { public class AppUser: IdentityUser { public string Occupation { get; set; } } }
17.4
46
0.689655
[ "MIT" ]
jdizon0721/ComITProjectPresentation
MyShoppingStoreApp/MyShoppingStore/Models/AppUser.cs
176
C#
using System.IO; using System.Reflection; using System.Text; namespace HotChocolate.Benchmark.Tests { public class ResourceHelper { private const string _resourcePath = "HotChocolate.Benchmark.Tests.Resources"; private Assembly _assembly; public ResourceHelper() { ...
26.35
76
0.551233
[ "MIT" ]
Dolfik1/hotchocolate
benchmarks/Benchmark.Tests/ResourceHelper.cs
1,056
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CJournalCreatureVitalSpotGrou...
33.695652
142
0.76
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CJournalCreatureVitalSpotGroup.cs
775
C#
using Microsoft.SharePoint.Client; using PnP.Framework.Diagnostics; using PnP.Framework.Provisioning.Model; using PnP.Framework.Provisioning.ObjectHandlers; namespace PnP.Framework.Provisioning.Extensibility { /// <summary> /// Defines an interface which allows to plugin custom Provisioning Extensibility Hand...
61.527778
210
0.73544
[ "MIT" ]
Arturiby/pnpframework
src/lib/PnP.Framework/Provisioning/Extensibility/IProvisioningExtensibilityHandler.cs
2,217
C#
// <auto-generated /> using System; using GrpcDemo.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; namespace Grpc...
38.52255
106
0.443439
[ "MIT" ]
344089386/abp-samples
GrpcDemo/src/GrpcDemo.EntityFrameworkCore.DbMigrations/Migrations/GrpcDemoMigrationsDbContextModelSnapshot.cs
88,835
C#
namespace CommandTab { partial class CreateLevelForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
41.830986
107
0.574242
[ "MIT" ]
lSelectral/SELECTRA_REVIT
CommandTab/CommandTab/Commands/LevelUtils/CreateLevel/CreateLevelForm.Designer.cs
5,943
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Controllers; namespace Microsoft.Bot.Connector.SkillAuthentication { [AttributeUsage(...
49.842857
236
0.654915
[ "MIT" ]
Bhaskers-Blu-Org2/BotBuilder-V3
CSharp/Library/Microsoft.Bot.Connector.NetFramework/SkillBotAuthentication.cs
3,491
C#
 DateTime currentDateTime = DateTime.Now; Console.WriteLine($"Current date and time is {currentDateTime}"); Random random = new Random(); int randomNumber = random.Next(1,100); DateTime newDateTime = currentDateTime.AddDays(randomNumber); Console.WriteLine($"Updated date and time is {newDateTime} after adding {randomN...
50.714286
115
0.785915
[ "MIT" ]
Mums-Who-Code/Lavanya.C.Sharp
Lavanya.C.Sharp/Set1Task5/Program.cs
357
C#
using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using System.Windows.Forms.VisualStyles; namespace VisualControl { [DesignerCategory("Code")] public sealed class AeroBasicMinimizeButton : Control { public bool ParentMinimizeOnClick { get; set...
29.436508
98
0.508223
[ "MIT" ]
ManuelSoftwareDev/AeroVisualStyle
VisualControl/AeroBasic/AeroBasicMinimizeButton.cs
3,711
C#
using System; using System.Collections.Generic; using Octopus.Data.Model; using Octopus.Server.Extensibility.HostServices.Diagnostics; using Sashimi.Server.Contracts; using Sashimi.Server.Contracts.Accounts; using Sashimi.Server.Contracts.ServiceMessages; namespace Sashimi.Azure.Accounts { class AzureServicePrinc...
61.457447
252
0.704691
[ "Apache-2.0" ]
OctopusDeploy/Sashimi
source/Sashimi.Azure.Accounts/AzureServicePrincipalAccountServiceMessageHandler.cs
5,779
C#
using System.Collections.Generic; using System.ComponentModel; using Microsoft.VisualStudio.Utilities; namespace Microsoft.VisualStudio.UI.Text.Commanding.Implementation { public interface ICommandHandlerMetadata : IOrderable, IContentTypeMetadata { [DefaultValue(null)] // [TextViewRole] is optional ...
27.071429
79
0.759894
[ "MIT" ]
AmadeusW/vs-editor-api
src/Editor/Text/Impl/Commanding/ICommandHandlerMetadata.cs
381
C#
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
33.971963
159
0.607703
[ "MIT" ]
AzureDataBox/azure-powershell
src/StackAdmin/AzureStackAdmin/Commands.AzureStackAdmin/Generated/IManagedLocationOperations.cs
3,635
C#
//======= Copyright (c) Valve Corporation, All rights reserved. =============== // // Purpose: Handles all the teleport logic // //============================================================================= using UnityEngine; using UnityEngine.Events; using System.Collections; namespace Valve.VR.InteractionSystem ...
29.316695
200
0.669113
[ "MIT" ]
jarett-lee/TowerDefenseVR
Assets/SteamVR/InteractionSystem/Teleport/Scripts/Teleport.cs
34,068
C#