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
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.BLOCKCHAIN.Models { public class StartDidIotAgentcreatewithsidekeyRequest : TeaModel { // OAuth模式下的授权token [NameInMap("auth_token")] [V...
28.591837
111
0.619557
[ "MIT" ]
alipay/antchain-openapi-prod-sdk
blockchain/csharp/core/Models/StartDidIotAgentcreatewithsidekeyRequest.cs
1,593
C#
using DF.Enums; using DFHack; using MapGen; using RemoteFortressReader; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Threading; using UnitFlags; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using System.Collections; using Buil...
40.774021
228
0.556622
[ "MIT" ]
alexchandel/armok-vision
Assets/Scripts/MapGen/GameMap.cs
68,745
C#
//----------------------------------------------------------------------- // <copyright company="CoApp Project"> // Copyright (c) 2010-2013 Garrett Serack and CoApp Contributors. // Contributors can be discovered using the 'git log' command. // All rights reserved. // </copyright> // <license> // ...
43.52381
87
0.586433
[ "Apache-2.0" ]
Jaykul/clrplus
Core/Linq/Serialization/Xml/CustomExpressionXmlConverter.cs
914
C#
/* * Copyright 2018 JDCLOUD.COM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:#www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
22.478261
76
0.675048
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Jdfusion/Model/VpcEipCreateTask.cs
1,034
C#
using System; using System.Xml.Serialization; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Calling Line ID Policy Selections. /// NOTE: The "Use Group CLID" value indicates the department CLID will be used if available otherwise the group CLID is used. /// </summary> [Serializable...
26.909091
131
0.633446
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/GroupCLIDPolicy.cs
592
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Web.Http.Dependencies; using Microsoft.Asp...
48.063291
139
0.663682
[ "Apache-2.0" ]
Mythz123/AspNetWebHooks
src/Microsoft.AspNet.WebHooks.Common/Extensions/DependencyScopeExtensions.cs
3,799
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ShikiApiLib { /// <include file='Docs/ExternalSummary.xml' path='docs/ShikiApiStatic/class[@name="ShikiApiStatic"]/*' /> public static class ShikiApiStatic { private static...
45.454545
117
0.612182
[ "Apache-2.0" ]
Advanced-Alliance/su4na-API-NET
Api/ShikiApiLib/ShikiApiStatic.cs
5,502
C#
using Stump.Core.IO; using Stump.DofusProtocol.Enums; using Stump.Server.BaseServer.Commands; using Stump.Server.WorldServer.Game.Actors.RolePlay.Characters; namespace Stump.Server.WorldServer.Commands.Trigger { public abstract class GameTrigger : TriggerBase { protected GameTrigger(StringStream args, ...
26.767442
118
0.629018
[ "Apache-2.0" ]
Daymortel/Stump
src/Stump.Server.WorldServer/Commands/Trigger/GameTrigger.cs
1,151
C#
using DM.Views; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace DM.MasterPage { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class MasterDetailPage_main : MasterDet...
29.230769
109
0.657895
[ "Apache-2.0" ]
Alothar/DM
DM/DM/MasterPage/MasterDetailPage_main.xaml.cs
1,142
C#
using System; using Autofac; using IrcUserAdmin.ConfigSettings; using IrcUserAdmin.SlavePersistance; using IrcUserAdmin.WCFServiceReference; namespace IrcUserAdmin.CompositionRoot.Components { public class WcfSlaveModule : Module { private readonly IBotConfig _config; public WcfSlaveModule(IB...
34.578947
116
0.592085
[ "MIT" ]
kjholzapfel/IrcUserAdmin
IrcUserAdmin.Main/CompositionRoot/Components/WcfSlaveModule.cs
1,316
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...
26.2125
106
0.58846
[ "Apache-2.0" ]
hyandell/aws-sdk-net
sdk/src/Services/Pinpoint/Generated/AmazonPinpointConfig.cs
2,097
C#
namespace Identity.Ids { using MedEasy.Ids; using MedEasy.Ids.Converters; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using System; using System.Text.Json.Serialization; /// <summary> /// <see cref="RoleClaim"/>'s identifier /// </summary> [JsonConverter(typeof(S...
36.921053
132
0.630078
[ "Apache-2.0" ]
candoumbe/MedEasy
src/services/identity/Identity.Ids/RoleClaimId.cs
1,405
C#
namespace Dealership.Models { using System; public static class ExtendetValidator { public static void ValidateStringLength(string text, int min, int max, string message) { if (text.Length < min || max < text.Length) { throw new IndexOutOfRangeExcept...
26.041667
94
0.5504
[ "MIT" ]
b-slavov/Telerik-Software-Academy
03.C# OOP/Exam-Dealership/Solution/Dealership/Models/ExtendetValidator.cs
627
C#
namespace FitDontQuit.Web.Areas.Administration.Controllers { using System; using System.Threading.Tasks; using FitDontQuit.Data.Models.Enums; using FitDontQuit.Services.Data; using FitDontQuit.Services.Mapping; using FitDontQuit.Services.Models.Memberships; using FitDontQuit.Web.ViewModels...
32.701754
120
0.626609
[ "MIT" ]
YolitoMarinova/Fit-Dont-Quit.WebApp
Web/FitDontQuit.Web/Areas/Administration/Controllers/MembershipsController.cs
3,730
C#
using Newtonsoft.Json; namespace ESI.NET.Models.Corporation { public class MemberTitles { [JsonProperty("character_id")] public int CharacterId { get; set; } [JsonProperty("titles")] public int[] Titles { get; set; } } }
17.933333
44
0.605948
[ "MIT" ]
BitBaboonSteve/ESI.NET
ESI.NET/Models/Corporation/MemberTitles.cs
271
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace VaporStore.Data.Models { public class Genre { public Genre() { this.Games = new HashSet<Game>(); } [Key] public int Id { get; set; } ...
19.434783
60
0.588367
[ "MIT" ]
dzhanetGerdzhikova/EF-Core
Exams/Exam Exercise 2/VaporStore/Data/Models/Genre.cs
449
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 "li...
32.932692
110
0.57635
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/OpsWorks/Generated/Model/EnvironmentVariable.cs
3,425
C#
using UnityEngine; using System.Collections; public class ProgressiveQuadtree : Quadtree { public ProgressiveQuadtree(float _size, Vector2 _corner, int _maxLevel) : base(_size, _corner, _maxLevel) { root = new ProgressiveQuadtreeNode(0, new int[] { 0, 0 }, null, this); } } public class ProgressiveQuad...
39.735294
162
0.547742
[ "MIT" ]
Michigari/PLATEAU_DroneNavigation
UnusedScripts/ProgressiveQuadtree.cs
1,353
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> //--...
43.75
184
0.615357
[ "MIT" ]
Bullgator351/LCG_Extractor
ImageFetcherPlugin/Properties/Resources.Designer.cs
2,802
C#
namespace NPBehave { public class Repeater : Decorator { private int loopCount = -1; private int currentLoop; /// <param name="loopCount">number of times to execute the decoratee. Set to -1 to repeat forever, be careful with endless loops!</param> /// <param name="decoratee">De...
26.126761
145
0.454447
[ "MIT" ]
DBestBean/ETandGF
Server/Model/NKGMOBA/Battle/NPBehave/Core/NPBehave/Decorator/Repeater.cs
1,857
C#
using FluentAssertions; using Symbolica.Computation.Values.TestData; using Xunit; namespace Symbolica.Computation.Values; public class FloatGreaterOrEqualTests { [Theory] [ClassData(typeof(SingleBinaryTestData))] [ClassData(typeof(DoubleBinaryTestData))] private void ShouldCreateEquivalentBitVectors(...
30.355556
86
0.692533
[ "MIT" ]
Symbolica/Symbolica
tests/Computation.Tests/Values/FloatGreaterOrEqualTests.cs
1,368
C#
//*********************************************************** // 作者:Nicholas Leo // E-Mail:nicholasleo1030@163.com // GitHub:https://github.com/nicholasleo // 时间:2019-08-15 12:24:05 // 说明: // 版权所有:个人 //*********************************************************** using Newtonsoft.Json; using System; us...
25.2
62
0.52381
[ "MIT" ]
Nicholasleo/NL.Framework
NL.Framework.Model/System/UserImageModel.cs
802
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RimWorld; using HarmonyLib; using Verse; namespace ProjectRimFactory.Common.HarmonyPatches { [HarmonyPatch(typeof(RoomRequirement_ThingCount), "Count")] class Patch_DroneColumn_Royalty ...
24.423077
94
0.68189
[ "MIT" ]
AmCh-Q/Project-RimFactory-Revived
Source/ProjectRimFactory/Common/HarmonyPatches/Patch_DroneColumn_Royalty.cs
637
C#
using System.Collections.Generic; using System; using Microsoft.AspNetCore.Mvc; using EventPlanner.Models; namespace EventPlanner.Controllers { public class EventsController : Controller { [HttpGet("/events")] public ActionResult Index() { List<Event> allEvents = Event.GetAll(); ...
32.932203
111
0.644879
[ "MIT" ]
MarkStrickland562/EventPlanner.Solution
EventPlanner/Controllers/EventsController.cs
3,886
C#
/* * Ory Kratos API * * Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the adminis...
45.333333
431
0.614082
[ "Apache-2.0" ]
ory/sdk-generator
clients/kratos/dotnet/src/Ory.Kratos.Client/Model/KratosSubmitSelfServiceRecoveryFlowWithLinkMethodBody.cs
8,976
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.commerce.transport.nfccard.send /// </summary> public class AlipayCommerceTransportNfccardSendRequest : IAopRequest<AlipayCommerceTranspo...
25.983871
117
0.567349
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Request/AlipayCommerceTransportNfccardSendRequest.cs
3,236
C#
using NUnit.Framework; namespace MtgLibrary.Tests { public class Tests { [SetUp] public void Setup() { } [Test] public void Test1() { Assert.Pass(); } } }
13.555556
27
0.442623
[ "MIT" ]
vinceynhz/mtg-library
MtgLibrary.Tests/UnitTest1.cs
244
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...
29.010526
86
0.570029
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/TestBase/Outputs/CommandResponse.cs
2,756
C#
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
31.347826
80
0.649098
[ "CC0-1.0" ]
IgGusev/ignite-3
modules/platforms/dotnet/Apache.Ignite.Tests/DisposeAction.cs
1,442
C#
//----------------------------------------------------------------------- // <copyright file="DateFormatValidator.cs" company="NJsonSchema"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license> // <author>Rico Suter, ma...
43.361111
119
0.608584
[ "MIT" ]
DarkWanderer/NJsonSchema
src/NJsonSchema/Validation/FormatValidators/DateFormatValidator.cs
1,563
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...
61.519462
208
0.675003
[ "Apache-2.0" ]
diegodias/aws-sdk-net
sdk/src/Services/DevOpsGuru/Generated/_bcl45/IAmazonDevOpsGuru.cs
86,931
C#
namespace DotNet.Testcontainers.Containers.WaitStrategies.Common { using System; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; internal class UntilMessageIsLogged : IWaitUntil { private readonly string message; private readonly Stream str...
24.647059
96
0.687351
[ "MIT" ]
ErenArslan/dotnet-testcontainers
src/DotNet.Testcontainers/Containers/WaitStrategies/Common/UntilMessageIsLogged.cs
838
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using System.Runtime.Serialization; using Elasticsearch.Net.Utf8J...
33.825
117
0.703868
[ "Apache-2.0" ]
Brightspace/elasticsearch-net
src/Nest/XPack/Watcher/Action/Email/EmailAction.cs
4,061
C#
public class Points : Window { public Points(string[] args) { Text = "Points"; var canvas = new Canvas(); canvas.Left = 0; canvas.Top = 0; FillWindow(canvas); canvas.MouseDown += (sender, e) => { if (e.Button == MouseButtons.Left) ...
23.378378
68
0.419653
[ "MIT" ]
marcosbozzani/joytokey-viewer
sources/points.cs
865
C#
//--------------------------------------------------------------------------------------------------------------------------------------------------- // Copyright Microsoft Corporation, Inc. // All Rights Reserved // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file exce...
33.58159
151
0.49701
[ "Apache-2.0", "MIT" ]
asthanarht/WinPhoneSeleniumWebDriver
WindowsPhoneDriver/WebResponse.cs
8,028
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.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System...
38.979611
205
0.546589
[ "MIT" ]
Azure-2019/corefx
src/Common/src/CoreLib/System/IO/StreamWriter.cs
42,059
C#
using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.AspNetCore.Routing; using DNZ.MvcComponents; using System.Collections.Generic; namespace Microsoft.AspNetCore.Mvc { public class TypeaheadAjax : IOptionBuilder { public Dictionary<string, object> Attribut...
32.335938
128
0.565354
[ "MIT" ]
hootanht/PersianComponents
src/Typeahead/Typeahead.cs
4,141
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Agent : MonoBehaviour { public float ACCLIMATION_THRESHOLD = 0.2f; public float PLATFORM_SPEED = 0.1f; public Generator platformGenerator; private Coroutine generateSequence; public bool...
29.893939
133
0.544856
[ "MIT" ]
kirakira0/DDA
Assets/Scripts/Agent.cs
5,921
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...
35.340909
265
0.69582
[ "Apache-2.0" ]
virajs/aws-sdk-net
AWSSDK_DotNet35/Amazon.SimpleEmail/Model/SendRawEmailResponse.cs
1,555
C#
using System; using NLog; using Sandbox.Game; using Sandbox.Game.World; using Torch.API.Managers; using Utils.Torch; using VRageMath; namespace AutoModerator.Quests { public sealed class QuestEntity { public interface IConfig { double QuestLagNormal { get; } bool Enable...
33.431452
130
0.541792
[ "MIT" ]
HnZGaming/TorchShittyShitShitter
TorchAutoModerator/AutoModerator.Quests/QuestEntity.cs
8,293
C#
// The MIT License (MIT) // // Copyright (c) 2015 Daniel Franklin. http://blazedsp.com/ // // 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 limitat...
42.121212
80
0.738849
[ "MIT" ]
d-franklin/BlazeDSP
Libraries/Blaze.DSP.Library.Models/Database/DestinationType.cs
1,392
C#
using System.Threading; using ISO22900.II; using NUnit.Framework; namespace ISO22900.II.Test { public partial class IntegrationTest_SetupAndTearDown { [Test] public void TestPduGetStatusModule() { var statusData = _dPduApi.PduGetStatus(_moduleOne, PduConst.PDU_HANDLE_UNDEF, ...
33.717949
117
0.636502
[ "MIT" ]
DiagProf/ISO22900.II
WrapISO22900.II.Test/TestIso22900NativeWrapAccessWithOutEcuCom/IntegrationTest_PduGetStatus.cs
1,315
C#
// <auto-generated> // 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 // re...
27.885246
79
0.576132
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/KeyType.cs
1,701
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...
44.721649
178
0.662517
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/StepFunctions/Generated/Model/InvalidLoggingConfigurationException.cs
4,338
C#
// // DO NOT MODIFY. THIS IS AUTOMATICALLY GENERATED FILE. // #nullable enable namespace CefNet.DevTools.Protocol.Accessibility { /// <summary>Unique accessibility node identifier.</summary> public readonly struct AXNodeId : System.IEquatable<CefNet.DevTools.Protocol.Accessibility.AXNodeId> { ...
24.208955
122
0.54439
[ "MIT" ]
CefNet/CefNet.DevTools.Protocol
CefNet.DevTools.Protocol/Generated/Accessibility/AXNodeId.g.cs
1,622
C#
using Application.DTOs; using Application.Interfaces; using AutoMapper; using Common.ExtensionMethods; using Domain.Interfaces; using Domain.Models; using HtmlAgilityPack; using Microsoft.AspNetCore.Hosting; using Newtonsoft.Json; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.H...
38.780142
137
0.629298
[ "MIT" ]
Marcus-V-Freitas/WebScrapingGovData
Application/Services/ExtractGovWebDataService.cs
5,470
C#
/* MIT License Copyright (c) 2016 JetBrains http://www.jetbrains.com 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, mo...
39.396535
119
0.708035
[ "MIT" ]
LanceMcCarthy/UwpProjects
UwpHelpers/UwpHelpers.Examples/Properties/Annotations.cs
40,935
C#
using Microsoft.EntityFrameworkCore; using SMS.Web.Model; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SMS.Web.Db { public class SMSContext : DbContext { public SMSContext(DbContextOptions<SMSContext> options) : base(options) ...
20.363636
63
0.65625
[ "MIT" ]
mahedee/code-sample
SwaggerInMemory/SMS.Web/SMS.Web/Db/SMSContext.cs
450
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Diagnostics; using System.Windows; using System.Windows.Controls; namespace ICSharpCode.Core.Prese...
28.176471
117
0.741127
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/Main/ICSharpCode.Core.Presentation/RestrictDesiredSize.cs
960
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; namespace Azure.AI.FormRecognizer.Models { /// <summary> /// Represents a page recognized from the input document. Contains lines, words, tables and page metadata. /// </summa...
39.929293
156
0.615229
[ "MIT" ]
aditink/azure-sdk-for-net
sdk/formrecognizer/Azure.AI.FormRecognizer/src/FormPage.cs
3,955
C#
using AspNetCoreHero.Boilerplate.Application.Interfaces.CacheRepositories; using AspNetCoreHero.Results; using AutoMapper; using MediatR; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AspNetCoreHero.Boilerplate.Application.Features.Brands.Queries.GetAllCached { ...
36.75
144
0.738473
[ "MIT" ]
jackyykk/Boilerplate
AspNetCoreHero.Boilerplate.Application/Features/Brands/Queries/GetAllCached/GetAllBrandsCachedQuery.cs
1,325
C#
namespace Ap.CorrAnalysis.Common { public static class Extensions { public static void AddReferenceIfAllocatable<T>(this T obj) { var allocatable = obj as IAllocatable; if (allocatable != null) allocatable.AddReference(); } public static void ReleaseIfAl...
28.411765
67
0.596273
[ "MIT" ]
ap3rus/CorrAnalysis
Source/Ap.CorrAnalysis.Common/Extensions.cs
485
C#
using Quartz; namespace HCore.Scheduling.Providers { public interface ISchedulingProvider { void StartJob(IJob job, ITrigger jobTrigger); } }
16.4
53
0.70122
[ "MIT" ]
rh78/HCore
HCore-Scheduling/Providers/ISchedulingProvider.cs
166
C#
using System; using IntegratedAuthoringTool.DTOs; using WellFormedNames; namespace IntegratedAuthoringTool { /// <summary> /// Represents a dialogue action /// </summary> public class DialogStateAction { public Guid Id { get; private set; } public Name CurrentState { get;...
32.803279
94
0.570215
[ "Apache-2.0" ]
GAIPS-INESC-ID/FAtiMA-Toolk
Assets/IntegratedAuthoringTool/DialogStateAction.cs
2,003
C#
using Xamarin.Forms; namespace WildernessLabs.Clima.Client.Views { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); } void BtnHackKitClicked(object sender, System.EventArgs e) { Navigation.PushAsync(new Ha...
22.227273
65
0.588957
[ "Apache-2.0" ]
WildernessLabs/Clima
Source/Clima/WildernessLabs.Clima.Client/WildernessLabs.Clima.Client/Views/MainPage.xaml.cs
491
C#
using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using SharedTrip.Data; using SharedTrip.Services; using SUS.HTTP; using SUS.MvcFramework; namespace SharedTrip { public class Startup : IMvcApplication { public void Configure(List<Route> routeTable) { new Ap...
22.518519
75
0.684211
[ "MIT" ]
Iceto04/SoftUni
C# Web Basics/SUS/SUS/Apps/SharedTrip/Startup.cs
610
C#
using System.ComponentModel.DataAnnotations; using B2B.Core.Models.DomainModels.Companies; using B2B.Core.Models.Dtos.Person; namespace B2B.Core.Models.Dtos.Company { public class CreateCompanyDto { [Required] [MinLength(2)] public string ShortName { get; set; } [Required] ...
25.857143
101
0.656077
[ "Apache-2.0" ]
olehspidey/B2B
b2b/src/B2B.Core/Models/Dtos/Company/CreateCompanyDto.cs
726
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using MySql.Data.MySqlClient; namespace Quiz_Creator { public class Course { private string courseName; private string instructorName; priv...
19.55102
102
0.542276
[ "Apache-2.0" ]
bkm98/Quiz-Creator
Quiz-Creator/Course.cs
1,918
C#
using UnityEngine; using System.Collections; using TestingMe; using UnityEngine.UI; public class GrabData : MonoBehaviour { // initializing some variables string url = "http://www.felix.gullamolar.com/latest"; private DataStruct[] curArray; WWW www; Vector3[] vertices; Color[] colors; public Text textA; pub...
31.127119
101
0.682548
[ "Apache-2.0" ]
fix92/BrewerySimUnity3D
code/GrabData.cs
3,675
C#
namespace In.ProjectEKA.HipService.Link { using HipLibrary.Patient.Model; public class OtpMessage { public OtpMessage(ResponseType responseType, string message) { ResponseType = responseType; Message = message; } // ReSharper disable once MemberCanBe...
29.827586
84
0.604624
[ "MIT" ]
Bahmni-Covid19/hip-service
src/In.ProjectEKA.HipService/Link/OtpMessage.cs
865
C#
using System.Collections.Generic; using System.Xml.Serialization; namespace Nez.TiledMaps { [XmlRoot(ElementName = "map")] public class TmxMap { public TmxMap() { Properties = new List<TmxProperty>(); Tilesets = new List<TmxTileset>(); Layers = new List<TmxLayer>(); ObjectGroups = new List<TmxObjec...
25.389831
73
0.731642
[ "Apache-2.0", "MIT" ]
sherjilozair/Nez
Nez.PipelineImporter/Tiled/TmxMap.cs
1,498
C#
using System; using Microsoft.Data.SqlClient; namespace Nysa.Data.SqlClient { public class SqlConnect { public String Source { get; init; } public (String Login, String Password)? Credentials { get; init; } public String? ApplicationName { get; init; } public ApplicationIntent...
39.883721
191
0.654227
[ "MIT" ]
slowsigma/Nysa
Nysa.Data.SqlClient/SqlConnect.cs
1,715
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...
34.777778
208
0.61707
[ "ECL-2.0", "Apache-2.0" ]
AdminTurnedDevOps/pulumi-azure
sdk/dotnet/Storage/Inputs/AccountNetworkRulesGetArgs.cs
2,191
C#
using System; using System.Collections.Generic; namespace Arma3BE.Client.Modules.CoreModule { public class StringTemplater { private readonly IDictionary<string, Func<string>> _params; public StringTemplater() { _params = new Dictionary<string, Func<string>>(); } ...
22.918919
67
0.536557
[ "Apache-2.0" ]
tym32167/arma3beclient
src/Arma3BE.Client.Modules.CoreModule/StringTemplater.cs
850
C#
#region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the license agreement found at https://github.com/St...
30.116248
164
0.718791
[ "Apache-2.0" ]
gridgentoo/StockSharpMono
Algo/Connector_Raise.cs
22,798
C#
using System; using System.Collections.Generic; using NUnit.Framework; using Vts.Common; using Vts.IO; using Vts.MonteCarlo; using Vts.MonteCarlo.Sources; using Vts.MonteCarlo.Tissues; using Vts.MonteCarlo.Detectors; using Vts.MonteCarlo.Helpers; using Vts.MonteCarlo.Sources.SourceProfiles; namespace Vts.Test.MonteCar...
41.845304
123
0.558622
[ "MIT" ]
VirtualPhotonics/VTS
src/Vts.Test/MonteCarlo/Detectors/DAWBoundingCylinderDetectorsTests.cs
7,574
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class rendRenderTextureBlobPS4 : rendIRenderTextureBlob { public rendRenderTextureBlobPS4(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, n...
22.466667
111
0.744807
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/rendRenderTextureBlobPS4.cs
323
C#
// Copyright (c) CSA, NJUST. All rights reserved. // Licensed under the Mozilla license. See LICENSE file in the project root for full license information. using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerBuffer : MonoBehaviour { public float RequireTime = 10f; //...
23.675325
108
0.557872
[ "MPL-2.0" ]
NJUST-CSA-Develop-Group/The-11th-TuringCup
src/Project/Assets/Scrpit/Player/PlayerBuffer.cs
2,045
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
29.825688
99
0.551984
[ "ECL-2.0", "Apache-2.0" ]
bastie/NetSpider
archive/codeplex/JavApi Commons Compress (Apache Port)/org/apache/commons/compress/archivers/tar/TarConstants.cs
6,502
C#
using System; using System.Collections.Generic; using System.Diagnostics; using NtfsExtract.NTFS.Enums; using NtfsExtract.NTFS.Utilities; using RawDiskLib; namespace NtfsExtract.NTFS.Attributes { public class AttributeList : Attribute { public AttributeListItem[] Items { get; set; } public ov...
31.064103
132
0.589765
[ "MIT" ]
LordMike/NtfsLib
NtfsExtract/NTFS/Attributes/AttributeList.cs
2,425
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //----------------------------------------------------------------------- // </copyright> // <summary>Class implementing INodeProvider for out-of-proc nodes.</summa...
38.860095
274
0.550464
[ "MIT" ]
abock/msbuild
src/XMakeBuildEngine/BackEnd/Components/Communications/NodeProviderOutOfProcTaskHost.cs
23,817
C#
/** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ using System; usin...
34.451672
137
0.645547
[ "BSD-3-Clause" ]
jordwalke/css-layout
src/csharp/Facebook.CSSLayout.Tests/LayoutEngineTest.cs
341,106
C#
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Net.Http; using System.Threading.Tasks; using TechTalk.SpecFlow; namespace CaseManagement.HumanTasks.Acceptance.Tests.Steps { [Binding] public class DataExtractSteps { private readonly ScenarioContext _scenarioContext; public...
35.914894
101
0.656398
[ "Apache-2.0" ]
lulzzz/CaseManagement
tests/CaseManagement.HumanTasks.Acceptance.Tests/Steps/DataExtractSteps.cs
1,690
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Xml; using System.Xml.Linq; using UnityEditor; using UnityEngine; namespace Tiled2Unity { // Concentrates on the Xml file being imported partial class ImportTiled2Unity { public st...
39.309524
174
0.572986
[ "MIT" ]
VirtualPythonLLC/Trans-Mutation
Transmutation/Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Xml.cs
4,955
C#
/* * Copyright (c) 2012 Stephen A. Pratt * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
36.25
93
0.578643
[ "MIT" ]
hjjss/critterai
src/main/Assets/CAI/nmbuild/Editor/NMGenTask.cs
4,497
C#
#define Graph_And_Chart_PRO using ChartAndGraph.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ChartAndGraph.DataSource { /// <summary> /// base class for all data sources /// </summary> internal abstract class ChartDataSourceBase { p...
33.912281
119
0.635282
[ "MIT" ]
FrozenSonar/Fencing3DNEAT
Assets/Chart And Graph/Script/DataSource/ChartDataSourceBase.cs
1,933
C#
using Hyperledger.Indy.DidApi; using Hyperledger.Indy.LedgerApi; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; using System; using System.Threading.Tasks; namespace Hyperledger.Indy.Test.LedgerTests { [TestClass] public class NymRequestTest : IndyIntegrationTestWithPoolAndSin...
41.632979
162
0.631532
[ "Apache-2.0" ]
AYCH-Inc/aych.hyperindy
wrappers/dotnet/indy-sdk-dotnet-test/LedgerTests/NymRequestTest.cs
7,829
C#
// Copyright (c) MASA Stack All rights reserved. // Licensed under the MIT License. See LICENSE.txt in the project root for license information. namespace Masa.Contrib.Dispatcher.Events.HandlerOrder.Tests.Events; public record CalculateEvent : Event { public int ParameterA { get; set; } public int Parameter...
26.785714
95
0.728
[ "MIT" ]
Sky-nt/MASA.Contrib
test/Masa.Contrib.Dispatcher.Events.HandlerOrder.Tests/Events/CalculateEvent.cs
377
C#
using TopupPortal.Domain.Common; using TopupPortal.Domain.Entities; namespace TopupPortal.Domain.Events { public class TodoItemCompletedEvent : DomainEvent { public TodoItemCompletedEvent(Product item) { Item = item; } public Product Item { get; } } }
19.4375
53
0.646302
[ "MIT" ]
gagan2015/cleanarchitectureproto
src/Domain/Events/TodoItemCompletedEvent.cs
313
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 "li...
40.953125
187
0.622091
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/ListThingGroupsResponseUnmarshaller.cs
5,242
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("ConsoleApp1")] [as...
1,425
1,425
0.763509
[ "MIT" ]
stryaponoff/chromatic-tuner
test/ConsoleApp1/ConsoleApp1/Properties/AssemblyInfo.cs
2,005
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NNbt.Serialization { [AttributeUsage(AttributeTargets.Property)] public class NbtPropertyAttribute : Attribute { public TagType? Type { get; set; } public string Name { get; set; } publ...
21.8
70
0.571101
[ "MIT" ]
Jorch72/CS-NNBT
NNBT/Serialization/Attributes.cs
1,310
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/MsHTML.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
36.176471
145
0.696477
[ "MIT" ]
reflectronic/terrafx.interop.windows
tests/Interop/Windows/Windows/um/MsHTML/IHTMLBaseFontElementTests.cs
1,847
C#
/* * Copyright 2020 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 "licens...
36.576471
163
0.686073
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/Internal/MarshallTransformations/IdempotentParameterMismatchExceptionUnmarshaller.cs
3,109
C#
namespace TurnipCalculator.Behaviors { public enum NavigationViewHeaderMode { Always, Never, Minimal } }
14.2
40
0.605634
[ "MIT" ]
gabbybilka/animalcrossing-uwp
TurnipCalculator/TurnipCalculator/Behaviors/NavigationViewHeaderMode.cs
144
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
37.38835
99
0.63464
[ "MIT" ]
davidgonzalezbarbe/HealthyWork
HealthyWork.WIN_IoT.Tests/UnitTestApp.xaml.cs
3,853
C#
using System.Linq; using Vim.Extensions; using Xunit; using System; using System.Collections.Generic; namespace Vim.UnitTest { public abstract class SettingsCommonTest { private readonly IVimSettings _settings; protected SettingsCommonTest() { _settings = Cre...
31.260726
113
0.487753
[ "Apache-2.0" ]
jhamm/VsVim
Test/VimCoreTest/SettingsCommonTest.cs
9,474
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyMovement : MonoBehaviour { public float enemyDist; public float enemyDir; public float enemyVolume; AudioSource enemySound; // Use this for initialization void Start () { enemySound = GetComponent<AudioSource>...
17.772727
44
0.736573
[ "Unlicense" ]
paosalcedo/AudioOnlyGame
Audio Final/Assets/Scripts/EnemyMovement.cs
393
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Input; using AssemblyDefender.UI; using System.ComponentModel; using System.Reflection; namespace AssemblyDefender.UI.Model { public static class Commands { private static ICommand[] _commands = new ICommand[...
24.794286
78
0.706153
[ "MIT" ]
nickyandreev/AssemblyDefender
src/AssemblyDefender.UI.Model/Commands.cs
4,339
C#
using System.Collections.Generic; using Content.Shared.Damage; using Content.Shared.Sound; using Robust.Shared.GameObjects; using Robust.Shared.Maths; using Robust.Shared.Serialization.Manager.Attributes; namespace Content.Server.Weapon.Melee.EnergySword { [RegisterComponent, ComponentProtoName("EnergySword")] ...
32.463415
117
0.673929
[ "MIT" ]
Nousagi37/space-station-14
Content.Server/Weapon/Melee/EnergySword/Components/EnergySwordComponent.cs
1,331
C#
using System; using System.Collections.Generic; using System.IO; using System.Windows.Forms; using System.Xml; using Mage; using MageDisplayLib; using System.Reflection; using MageFilePackager.Properties; using PRISM.Logging; namespace MageFilePackager { public partial class FilePackagerForm : Form ...
42.774194
342
0.547044
[ "BSD-2-Clause" ]
PNNL-Comp-Mass-Spec/Mage
MageFilePackager/FilePackagerForm.cs
27,848
C#
namespace moe.yo3explorer.azusa.MediaLibrary.Boundary { partial class MediaPickerForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
52.401042
154
0.629361
[ "BSD-2-Clause" ]
feyris-tan/azusa
AzusaERP/MediaLibrary/Boundary/MediaPickerForm.Designer.cs
10,063
C#
using System.Collections.Generic; using System.Text.RegularExpressions; using Rant.Stringes; using Rant.Stringes.Tokens; namespace Rant.Compiler { internal static class RantLexer { private const RegexOptions DefaultOptions = RegexOptions.Compiled | RegexOptions.ExplicitCapture; public static ...
40.716216
163
0.511118
[ "MIT" ]
esaul/Rant
Rant/Engine/Compiler/RantLexer.cs
3,015
C#
// Copyright(c).NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Text.Json.Serialization; namespace Microsoft.DotNet.Interactive.Formatting { public class TableSchemaFieldDescrip...
34.783784
158
0.665113
[ "MIT" ]
WhiteBlackGoose/interactive
src/Microsoft.DotNet.Interactive.Formatting/TableSchemaFieldDescriptor.cs
1,289
C#
using System; using System.Collections.Generic; using Domain.Model; using Domain.Repository.User; namespace Domain.Service.User { public class UserService : ServiceBase, IUserService { private readonly IUserRepository repository; /// <summary> /// コンストラクタ /// </summary> /// <param name="reposi...
25.033784
117
0.609717
[ "MIT" ]
kazenetu/ASPdotNETCoreTest
Domain/Service/User/UserService.cs
4,187
C#
/* Copyright © Bryan Apellanes 2015 */ using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using Bam.Net.Data; using Bam.Net; using Bam.Net.ExceptionHandling; using Bam.Net.Analytics; namespace Bam.Net.Analytics.Classific...
32.290749
171
0.544065
[ "MIT" ]
BryanApellanes/bam.net.shared
Analytics/Classification/Classifier.cs
7,331
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System.Threading.Tasks; using IdentityServer4.Models; namespace IdentityServer4.Validation { /// <summary> /// Interface for t...
39
131
0.645032
[ "Apache-2.0" ]
10088/IdentityServer4
src/IdentityServer4/src/Validation/ITokenValidator.cs
1,250
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; using Kanyon.Kubernetes; namespace Kanyon.Kubernetes.Autoscaling.V1 { public partial class HorizontalPodAutoscalerSpec { /** <summary>upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinRe...
67.473684
366
0.74181
[ "MIT" ]
ermontgo/kapitan
src/Kanyon.Kubernetes/Autoscaling/V1/HorizontalPodAutoscalerSpec.generated.cs
1,282
C#
public static class Program { private static Game game = null; private static void Main() { game = new Game(); game.Run(); } }
17.444444
36
0.56051
[ "MIT" ]
witcherofthorns/GLFW-IMGUI
Program.cs
159
C#
using System; using System.Collections.Generic; namespace Algorithms.Core.Graphs { /// <summary> /// The <tt>DegreesOfSeparation</tt> class provides a client for finding /// the degree of separation between one distinguished individual and /// every other individual in a social network. /// As an ...
33.661538
86
0.562157
[ "MIT" ]
v-bessonov/Algorithms-NET
Algorithms.Core/Graphs/DegreesOfSeparation.cs
2,190
C#