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 UnityEngine; using UnityEngine.EventSystems; using System.Collections.Generic; [RequireComponent(typeof(PlayerController))] [RequireComponent(typeof(GunController))] public class Player : MonoBehaviour { public float moveSpeed = 5f; private PlayerController controller; private Camera viewCamera; private G...
33.148438
167
0.729201
[ "MIT" ]
ReesMorris/black-earth
Assets/Scripts/Entities/Player.cs
4,245
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // [MANDATORY] The following GUID is used as a unique identifier of the plugin. Generate a fresh one for your plugin! [assembly: Guid("141704e0-505c-492c-9e74-3b85f1c05d12")] // [MANDATORY] The assembly versioning /...
44.088235
144
0.763175
[ "Unlicense" ]
ghilios/NINA.Joko.Plugins.MaxemUlator
NINA.Plugin.Template/NINA.Plugin.Template/Properties/AssemblyInfo.cs
3,000
C#
namespace MercadoPago.Client.Payment { using System; /// <summary> /// Flight information. /// </summary> public class PaymentRouteRequest { /// <summary> /// Derpature. /// </summary> public string Departure { get; set; } /// <summary> /// Dest...
21.583333
56
0.487773
[ "MIT" ]
hdlopez/sdk-dotnet
src/MercadoPago/Client/Payment/PaymentRouteRequest.cs
779
C#
using NBi.Core.Scalar.Conversion; using NUnit.Framework; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Testing.Unit.Core.Scalar.Conversion { public class TextToDateTimeConverterTest { [Test]...
37.034483
194
0.621508
[ "Apache-2.0" ]
CoolsJoris/NBi
NBi.Testing/Unit/Core/Scalar/Conversion/TextToDateTimeConverterTest.cs
2,150
C#
namespace OkonkwoOandaV20.TradeLibrary.DataTypes.Transaction { public class MarketOrderTransaction : Transaction { public string instrument { get; set; } public double units { get; set; } public string timeInForce { get; set; } public double? priceBound { get; set; } public string p...
46.521739
76
0.717757
[ "Apache-2.0" ]
svopex/SierraChartOandaV20
OkonkwoOandaV20/TradeLibrary/DataTypes/Transaction/MarketOrderTransaction.cs
1,072
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Figures { class Circle : AbstractFigure, IPrint { /// <summary> /// Ширина /// </summary> double radius; /// <summary> /// Осно...
20.394737
64
0.503226
[ "MIT" ]
Pugletka/IU5
Term 3/Basic components of Internet technologies/Lab 2/Lab 2/Circle.cs
812
C#
/* Copyright (C) 2013-present The DataCentric 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 required by applicable law or agreed to...
36.891892
111
0.639194
[ "Apache-2.0" ]
datacentricorg/datacentric-cs
cs/src/DataCentric/Schema/Declaration/ElementDecl.cs
2,732
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; using System; using zipkin4net.Propagation; namespace zipkin4net.Middleware { public static class TracingMiddleware { public static void UseTracing(this IApplicationBuilder app, s...
39.574468
112
0.519892
[ "Apache-2.0" ]
JTOne123/zipkin4net
Src/zipkin4net.middleware.aspnetcore/Src/TracingMiddleware.cs
1,816
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Response to SystemCallProcessingPolicyProfileBroadWorksAnywhereProfileGetRequest2...
37.353659
140
0.651416
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemCallProcessingPolicyProfileBroadWorksAnywhereProfileGetResponse22.cs
21,441
C#
public enum State { Idle, Edit }
8
17
0.575
[ "MIT" ]
Vlashious/AiPZSiIA
Lab4/Server/Shared/States.cs
40
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class AIbehaviorUnmountImmediatelyNodeDefinition : AIbehaviorDecoratorNodeDefinition { [Ordinal(0)] [RED("mountData")] public CHandle<AIArgumentMapping> MountD...
29.875
129
0.759414
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/AIbehaviorUnmountImmediatelyNodeDefinition.cs
463
C#
#region using System.Security.Cryptography.X509Certificates; #endregion namespace Kombit.Samples.CHTestSigningService.Code { /// <summary> /// Defines an API which is responsible for updating a token /// </summary> public interface ITokenSigningService { /// <summary> /// ...
37.076923
123
0.656639
[ "MIT" ]
Safewhere/CHTestSigningService
Kombit.Samples.CHTestSigningService/Code/ITokenSigningService.cs
966
C#
using Microsoft.AspNetCore.Builder; namespace ApiWebApp.Middleware { public static class PathAuthorizationPolicyMiddlewareExtensions { public static IApplicationBuilder UsePathAuthorizationPolicyMiddleware(this IApplicationBuilder builder, PathAuthorizationPolicyMiddlewareOptions options) { ...
35.083333
162
0.781473
[ "MIT" ]
ghstahl/Asp.Net-Core-2.1-app-as-a-tenant
src/ApiWebApp/Middleware/PathAuthorizationPolicyMiddlewareExtensions.cs
423
C#
using LanguageExt; using LanguageExt.TypeClasses; using System.Diagnostics.Contracts; using System.Runtime.CompilerServices; using System.Threading.Tasks; using static LanguageExt.TypeClass; namespace LanguageExt.ClassInstances { /// <summary> /// Equality and ordering /// </summary> public struct Ord...
33.166667
81
0.521739
[ "MIT" ]
Bagoum/language-ext
LanguageExt.Core/ClassInstances/Ord/OrdLst.cs
4,579
C#
using Autossential.Core.Enums; using Autossential.Shared.Utils; using System.Windows; namespace Autossential.Activities.Design.Controls { // Interaction logic for CryptographyBaseControl.xaml public partial class CryptographyBaseControl { public CryptographyBaseControl() { Init...
33.833333
150
0.6867
[ "MIT" ]
Autossential/Autossential.Activities-2.x
Autossential.Activities.Design/Controls/CryptographyBaseControl.xaml.cs
1,017
C#
using System; using System.Collections.Generic; using System.Text; namespace HTTPv3.Quic { public class QuicListener { } }
12.454545
33
0.708029
[ "MIT" ]
httpv3/QuicDotNet
src/HTTPv3.Quic.Core/HTTPv3.Quic.Core/QuicListener.cs
139
C#
using DownKyi.Core.BiliApi.Models; using Newtonsoft.Json; using System.Collections.Generic; namespace DownKyi.Core.BiliApi.Users.Models { // https://api.bilibili.com/x/relation/followers?vmid={mid}&pn={pn}&ps={ps} // https://api.bilibili.com/x/relation/followings?vmid={mid}&pn={pn}&ps={ps}&order_type={orderTy...
29.692308
103
0.643782
[ "Apache-2.0" ]
light-come/downkyiX
src/DownKyi.Core/BiliApi/Users/Models/RelationFollow.cs
774
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.Search.Documents.Indexes.Models { /// <summary> Defines the type of a datasource. </summary> public readonly parti...
56.125
146
0.710468
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/search/Azure.Search.Documents/src/Generated/Models/SearchIndexerDataSourceType.cs
3,592
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; namespace Cauldron.TheMistressOfFate { public class HourDevourerCardController : TheMistressOfFateUtilityCardController { ...
26.055556
127
0.780384
[ "MIT" ]
qoala/CauldronMods
Controller/Villains/TheMistressOfFate/Cards/HourDevourerCardController.cs
471
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; using Azure.Iot.TimeSeriesInsights.Models; namespace Azure.Iot.TimeSeriesInsights { /// <summary> Time series instance that i...
62.980392
297
0.702055
[ "MIT" ]
abatishchev/azure-sdk-for-ne
sdk/timeseriesinsights/Azure.Iot.TimeSeriesInsights/src/Generated/Models/InstanceHit.cs
3,212
C#
namespace StockDataBL.Migrations { using System; using System.Data.Entity.Migrations; public partial class InitialCreate : DbMigration { public override void Up() { } public override void Down() { } } }
16.764706
52
0.547368
[ "Unlicense" ]
krefs17/app-gielda
WindowsFormsApp2/StockDataBL/Migrations/201907271309315_InitialCreate.cs
285
C#
namespace WHMS.Web.ViewModels.Products { using System.ComponentModel.DataAnnotations; using WHMS.Data.Models.Products; using WHMS.Services.Mapping; public class ManufacturerViewModel : IMapFrom<Manufacturer> { public int Id { get; set; } [Required] [Display(Name = "Manufa...
22.588235
63
0.653646
[ "MIT" ]
jivkopiskov/WHMS
src/Web/WHMS.Web.ViewModels/Products/ManufacturerViewModel.cs
386
C#
using System; using System.Collections.Generic; using System.Linq; using App.Data.Entities; using App.Data.Interfaces; using FluentAssertions; using Moq; using Testing.Common.Helpers; using Xunit; namespace App.TestingSample { public class SampleUnitTest { private readonly IEnumerable<Person> _persons ...
27.233645
115
0.50652
[ "MIT" ]
jolmari/efcore-mock-dbcontext
MockDbContext/App.TestingSample/SampleUnitTest.cs
2,914
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { /// <summary> /// Camera /// </summary> public Transform viewPoint; public float mouseSensitivity = 1f; private float verticalRotationStore; private Vector2 mouseI...
25.166667
114
0.61457
[ "MIT" ]
VladiPanda/Multiplayer-FPS-prototype
Multiplayer FPS/Assets/Scripts/PlayerController.cs
755
C#
using System; using System.IO; using System.Text; using System.Text.Json; using System.Text.Json.Serialization; using System.Collections.Generic ; namespace console { class Program { static void Main(string[] args) { String input = ""; while(!input.Equals("3")){ ...
32.683168
103
0.425932
[ "MIT" ]
MarcusFSorensen/websoft
work/s07/console/Program.cs
3,303
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) #pragma warning disable using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp { public class Accuracy : Asn1Encodable { private readonly DerInteger seconds; priva...
29.28
98
0.532514
[ "MIT" ]
Bregermann/TargetCrack
Target Crack/Assets/Best HTTP/Source/SecureProtocol/asn1/tsp/Accuracy.cs
3,660
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.EntityFrameworkCore.Infrastructure { /// <summary> /// <para> /// Interface...
43.744681
122
0.634241
[ "MIT" ]
CameronAavik/efcore
src/EFCore/Infrastructure/IDbContextOptionsExtension.cs
2,056
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Globalization; using System.Text; using System.Threading; namespace Microsoft.CodeAnalysis { internal static partial class NullableExtensions { [DebuggerDisplay("{WrappedSymbol,nq...
50.37799
191
0.658087
[ "Apache-2.0" ]
GKotfis/roslyn
src/Workspaces/Core/Portable/Utilities/NullableHelpers/TypeSymbolWithNullableAnnotation.cs
10,531
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> //----------------------------------...
48.631889
352
0.746285
[ "MIT" ]
cnayan/EFDesigner
src/Dsl/GeneratedCode/DomainRelationships.cs
280,608
C#
// Copyright 2019 Google LLC // // 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 w...
33.727273
98
0.538313
[ "Apache-2.0" ]
googleads/googleads-dotnet-lib
examples/AdManager/CSharp/v202105/UserService/GetCurrentUser.cs
2,597
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> //--...
45.15186
604
0.513854
[ "BSD-3-Clause" ]
Bodekaer/CefSharp
CefSharp.Example/Properties/Resources.Designer.cs
43,709
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace BDSA2018.Lecture06.Entities { public class Episode { public int Id { get; set; } [Required] [StringLength(100)] public string Title { get; set; } public DateTime? Fi...
21.45
76
0.655012
[ "MIT" ]
ondfisk/BDSA2018
BDSA2018.Lecture06.Entities/Episode.cs
431
C#
using System; using NHapi.Base.Model; using NHapi.Base.Log; using NHapi.Base; using NHapi.Base.Model.Primitive; namespace NHapi.Model.V23.Datatype { ///<summary> /// <p>The HL7 CP (Composite Price) data type. Consists of the following components: </p><ol> /// <li>price (MO)</li> /// <li>price type (ID)</li> /// <li>...
28.82659
133
0.651093
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V23/Datatype/CP.cs
4,987
C#
using System; using System.Linq; namespace NumberArray { class Program { static void Main(string[] args) { string input = Console.ReadLine(); int[] inputNumberArray = input.Split().Select(int.Parse).ToArray(); string[] currentLine = new string[input.Length];...
35.418919
99
0.391072
[ "MIT" ]
kkaraivanov/CSharpFundamentalsExams
MidleExam/TasksTwo/NumberArray/Program.cs
2,623
C#
// Copyright (c) XRTK. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Reflection; [assembly: AssemblyVersion("1.0.0")] [assembly: AssemblyTitle("com.realitytoolkit.tests")] [assembly: AssemblyCompany("Reality Collective")] [assembly: Assem...
39.2
91
0.772959
[ "MIT" ]
realitycollective/com.realitytoolkit.core
Tests/AssemblyInfo.cs
392
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; namespace Microsoft.Cci.Comparers { public interface ICciComparers { ...
27.866667
71
0.72488
[ "MIT" ]
0xced/arcade
src/Microsoft.Cci.Extensions/Comparers/ICciComparers.cs
418
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class LampsClick : MonoBehaviour { public GameObject lamp; private Game _game; private bool _isGameNotNull; private bool didImplement = false; // Start is called before the first frame update ...
26.1
82
0.582375
[ "Apache-2.0" ]
alexDevp/estig_escola_sustentavel
13_ESTIG_EscolaSustentavel/Assets/Scripts/Enviroment/LampsClick.cs
1,046
C#
// Portions Copyright (C) 2017 MarketFactory, 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...
28.3
75
0.67609
[ "Apache-2.0" ]
JerryShea/simple-binary-encoding
csharp/.nuget/examples/Program.cs
851
C#
using System.Collections.Generic; using System.Runtime.Serialization; using Service.Bitgo.WithdrawalProcessor.Domain.Models; namespace Service.Bitgo.WithdrawalProcessor.Grpc.Models { [DataContract] public class GetWithdrawalsResponse { [DataMember(Order = 1)] public bool Success { get; set; } ...
37.333333
90
0.707143
[ "MIT" ]
MyJetWallet/Service.Bitgo.WithdrawalProcessor
src/Service.Bitgo.WithdrawalProcessor.Grpc/Models/GetWithdrawalsResponse.cs
562
C#
using Futura.Engine.Resources; using System; using Newtonsoft.Json; using System.Diagnostics.CodeAnalysis; namespace Futura.Engine.Utility.CustomSerializer { class AssetSerializer<T> : JsonConverter<T> where T : Asset { public override T ReadJson(JsonReader reader, Type objectType, [AllowNull] T exist...
35.72
165
0.674132
[ "MIT" ]
Lama96103/Futura
Source/Futura.Engine/Utility/CustomSerializer/AssetSerializer.cs
895
C#
using SamOatesGames.Systems; public class ResourcePickupEvent : IEventAggregatorEvent { public ResourceType ResourceType { get; } public int PickupAmount { get; } public int TotalAmount { get; } public ResourcePickupEvent(ResourceType resourceType, int pickupAmount, int totalAmount) { Res...
26.625
92
0.713615
[ "MIT" ]
SamOatesJams/Ludum-Dare-46
Assets/Game/Scripts/Events/ResourcePickupEvent.cs
428
C#
using RazorEngine.Configuration; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace RazorEngine.Templating { /// <summary> /// Extensions for the <see cref="IRazorEngineService"/>...
47.532086
215
0.602464
[ "Apache-2.0" ]
HongJunRen/RazorEngine
src/source/RazorEngine.Core/Templating/RazorEngineServiceExtensions.cs
17,779
C#
using Neo.IO; using System; namespace Neo.Cryptography.MPT { partial class MPTTrie<TKey, TValue> { private static ReadOnlySpan<byte> CommonPrefix(ReadOnlySpan<byte> a, ReadOnlySpan<byte> b) { var minLen = a.Length <= b.Length ? a.Length : b.Length; int i = 0; ...
38.672956
108
0.328671
[ "MIT" ]
Lichen9618/neo
src/neo/Cryptography/MPT/MPTTrie.Put.cs
6,149
C#
// Recompile at 2021/5/15 16:32:04 #if USE_TIMELINE #if UNITY_2017_1_OR_NEWER // Copyright (c) Pixel Crushers. All rights reserved. using UnityEngine; using UnityEngine.Playables; using System.Collections.Generic; namespace PixelCrushers.DialogueSystem { public class AlertMixerBehaviour : PlayableBeh...
33.076923
129
0.533023
[ "Apache-2.0" ]
NGTO-WONG/KishiStory
Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Options/Timeline/Playables/ShowAlert/AlertMixerBehaviour.cs
2,150
C#
// <copyright file="IOutputPort.cs" company="Ivan Paulovich"> // Copyright © Ivan Paulovich. All rights reserved. // </copyright> namespace Application.UseCases.Withdraw { using Domain; using Domain.Debits; using Services; /// <summary> /// Output Port. /// </summary> publ...
24
62
0.504386
[ "Apache-2.0" ]
devdotcore/clean-architecture-manga
accounts-api/src/Application/UseCases/Withdraw/IOutputPort.cs
913
C#
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; /// /// !!! Machine generated code !!! /// /// A class which deriveds ScritableObject class so all its data /// can be serialized onto an asset data file. /// [System.Serializable] public class Item : ScriptableObject { ...
26.826087
101
0.63128
[ "MIT" ]
dochi486/Unity-QuickSheet
Assets/QuickSheet/Runtime/Item.cs
1,234
C#
namespace Custom.InputAccel.UimScript { using Emc.InputAccel.UimScript; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class ScriptSuitabilityIL : UimScriptDocument { public stati...
31.313433
96
0.547664
[ "Apache-2.0" ]
R0NETDeveloper/FWD
ProfileScriptFWD/ProfileScriptFWD/FWDDocumentType/ScriptSuitabilityIL.cs
2,100
C#
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace FlUnit.Adapters.VSTest { using Microsoft.VisualStudio.TestPlatform.ObjectModel; using System.IO;...
43.653061
182
0.614773
[ "MIT" ]
sdcondon/FlUnit.Adapters.VSTest
src/FlUnit.Adapters.VSTest/VSTest/TestDiscoverer.cs
4,280
C#
using System.Diagnostics; using Xamarin.Forms; using ModernXamarinCalendar.Models; using System; namespace TwoWeekControl { public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); // Subscribe to the event - This sets up the DateSelected...
31.534884
89
0.620206
[ "MIT" ]
mattmorgan6/TwoWeekControl
TwoWeekControl/TwoWeekControl/MainPage.xaml.cs
1,358
C#
using Cosmos.Business.Extensions.Holiday.Core; using Cosmos.I18N.Countries; namespace Cosmos.Business.Extensions.Holiday.Definitions.Europe.Italy.Religion { /// <summary> /// Easter Sunday /// </summary> public class EasterSunday : CatholicVariableHolidayFunc { /// <inheritdoc /> pu...
30.961538
91
0.642236
[ "Apache-2.0" ]
cosmos-open/Holiday
src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Europe/Italy/Religion/EasterSunday.cs
805
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
39.642857
96
0.752252
[ "MIT" ]
Rhoana/Mojo
Mojo.2.0/Mojo/Mojo.Wpf/Properties/AssemblyInfo.cs
2,223
C#
using Plastic.Definitions.Services; namespace Plastic.Infos.Services { public class ServiceInfoCollection : InfoCollection<ServiceInfo, ServiceDefinition, ApplicationInfo> { public ServiceInfoCollection(ApplicationInfo parent) : base(parent) { } public void SetRef(ApplicationI...
26.185185
104
0.595474
[ "Unlicense" ]
jonkeda/Plastic
Plastic/Infos/Services/ServiceInfoCollection.cs
709
C#
// Console Viewer Canvas|Prefabs|0060 namespace VRTK { using UnityEngine; using UnityEngine.UI; using System.Collections.Generic; using System.Text.RegularExpressions; using System.Linq; /// <summary> /// This canvas adds the unity console log to a world game object. To use the prefab, it ...
41.724138
278
0.621488
[ "MIT" ]
3dit/steamvrtoolkit
Assets/VRTK/Prefabs/Resources/Scripts/VRTK_ConsoleViewer.cs
4,842
C#
using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace SneussFactory.Migrations { public partial class AddEngineerMachineTable : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable...
39.518519
114
0.536551
[ "MIT" ]
hubba180/SneussFactory.Solution
Factory/Migrations/20200807183945_AddEngineerMachineTable.cs
2,136
C#
using System; using System.IO; using System.Text; using System.Threading.Tasks; namespace Sentry.Testing { public static class StreamExtensions { private static readonly Random _random = new(); public static async Task FillWithRandomBytesAsync(this Stream stream, long length) { ...
28.114286
91
0.621951
[ "MIT" ]
kanadaj/sentry-dotnet
test/Sentry.Testing/StreamExtensions.cs
984
C#
namespace DentalStudio.Web.ViewModels.Medicine.Doctors { using System.Globalization; using AutoMapper; using DentalStudio.Services.Mapping; using DentalStudio.Services.Models; using Ganss.XSS; public class DoctorProfileDetailsViewModel : IMapTo<DoctorServiceModel>, IMapFrom<DoctorServiceModel...
29.727273
148
0.642966
[ "MIT" ]
GalyaIT/Dental-Studio
Web/DentalStudio.Web.ViewModels/Medicine/Doctors/DoctorProfileDetailsViewModel.cs
1,310
C#
using Nito.AsyncEx.Synchronous; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TietzeIO.CyAPI; using TietzeIO.CyAPI.Entities; using TietzeIO.CyAPI.Entities.Optics; using TietzeIO.CyAPI.Entities.Policy; using TietzeIO.CyAPI.Session; using TietzeIO.CyShell.Cmdlets....
37.075472
138
0.574249
[ "Apache-2.0" ]
BlackCyBerry/CyShell
src/TietzeIO.CyShell/Session/ApiConnectionHandle.cs
9,827
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace MyWeather.View { public partial class ForecastViewC : ContentPage { public ForecastViewC() { InitializeComponent(); if (De...
24.181818
96
0.639098
[ "MIT" ]
jpblack/MyWeather.Forms-syncfusion
MyWeather/View/ForecastViewC.xaml.cs
534
C#
using SemVer; namespace Bump { public enum VersionComponent { Major, Minor, Patch, Pre } public static class VersionExtensions { public static Version Bump(this Version version, VersionComponent component) { if (component == VersionComp...
29.617647
119
0.532274
[ "MIT" ]
mharthoorn/csproj-version
CsProj.ConsoleApp/Engine/VersionExtensions.cs
2,016
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. // </auto-generated> namespace Microsoft.Azure.Management.Network.Fluent { ...
51.064371
388
0.633549
[ "MIT" ]
SorenMaagaard/azure-libraries-for-net
src/ResourceManagement/Network/Generated/IApplicationGatewaysOperations.cs
34,111
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.809668
175
0.6506
[ "MIT" ]
microsoftgraph/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/PolicyRootRequestBuilder.cs
14,170
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
63.220903
245
0.651093
[ "Apache-2.0" ]
snakefoot/google-cloud-dotnet
apis/Google.Cloud.Dialogflow.Cx.V3/Google.Cloud.Dialogflow.Cx.V3.Tests/AgentsClientTest.g.cs
53,232
C#
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011 Zynga Inc. Copyright (c) 2011-2012 openxlive.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software ...
40.043103
111
0.558881
[ "MIT" ]
Karunp/cocos2d-xna
cocos2d/actions/action_tiled_grid/CCShakyTiles3D.cs
4,645
C#
using UnityEngine; using PurificationPioneer.Scriptable; namespace PurificationPioneer.Script { public interface IPpController:IFrameSyncCharacter { HeroConfigAsset HeroConfig { get; } void InitCharacterController(int seatId, HeroConfigAsset config); Transform transform { get;...
21.230769
73
0.576087
[ "Unlicense" ]
LaudateCorpus1/distributed-architecture-of-moba-game-server
PurificationPioneer/Assets/PurificationPioneer/Script/Character/IPpController.cs
554
C#
//****************************************************************************************************** // PhasorValue.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // the...
43.81746
152
0.601159
[ "MIT" ]
SRM256/gsf
Source/Libraries/GSF.PhasorProtocols/IEEE1344/PhasorValue.cs
5,524
C#
namespace SimpleWorkfloorManagementSuite.Modules { partial class TimeTableManagementModule { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="...
66.009217
194
0.737573
[ "Unlicense" ]
Djohnnie/SwmSuite-Original
SimpleWorkfloorManagementSuite/Modules/TimeTableManagementModule.Designer.cs
28,651
C#
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license.txt */ using System.Web.Mvc; namespace Thinktecture.AuthorizationServer.WebHost.Areas.InitialConfiguration { public class InitialConfigurationAreaRegistration : AreaRegistration { public override string AreaName ...
26.052632
77
0.516162
[ "BSD-3-Clause" ]
Bringsy/Thinktecture.AuthorizationServer
source/WebHost/Areas/InitialConfiguration/InitialConfigurationAreaRegistration.cs
992
C#
using System.Threading.Tasks; using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Hubs; namespace Chat.Hubs { [HubName("chat")] public class ChatHub : Hub { public Task Send(string message) { return Clients.All.newMessageReceived(message); } [KnowUserBasicAuthentication] public Task SetTop...
19.807692
70
0.732039
[ "Apache-2.0" ]
BornRaccoon/signalr-client-threads
examples/Chat/Hubs/ChatHub.cs
517
C#
// Copyright (c) 2010-2013 SharpDoc - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
37.64526
131
0.528432
[ "MIT" ]
Robmaister/SharpDoc
src/SharpDoc/Model/NMember.cs
12,310
C#
 namespace MangoPay.SDK.Core.Enumerations { /// <summary>Scheme of mandate.</summary> public enum MandateScheme { /// <summary>Not specified.</summary> NotSpecified = 0, /// <summary>SEPA scheme.</summary> SEPA, /// <summary>BACS scheme.</summary> BACS } }
16.235294
42
0.663043
[ "MIT" ]
M0ns1gn0r/mangopay2-net-sdk
MangoPay.SDK/Core/Enumerations/MandateScheme.cs
278
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Zo...
37.756757
84
0.743737
[ "MIT" ]
crDahaka/Zoo
ZooSystem/ZooSystem.UI/Properties/AssemblyInfo.cs
1,400
C#
/* * Overture API * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Collectio...
44.609137
314
0.623464
[ "MIT" ]
Yaksa-ca/eShopOnWeb
src/Yaksa.OrckestraCommerce.Client/Model/FindFulfillmentCompetitionsRequest.cs
8,788
C#
using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; using RawRabbit.Logging; namespace RawRabbit.Operations.StateMachine.Core { public interface IGlobalLock { Task ExecuteAsync(Guid modelId, Func<Task> handler, CancellationToken ct = default(CancellationToken))...
26.888889
117
0.733176
[ "MIT" ]
alexdawes/RawRabbit
src/RawRabbit.Operations.StateMachine/Core/GlobalLock.cs
1,696
C#
using System; using System.Collections.Generic; using System.Text; using DataAccessLayer; using Foundation.Contexts; using Foundation.Entities; namespace Foundation.Repositoris { class CategoryRepository : Repository<Category, int, MobileContext>, ICategoryRepository { public CategoryRepository(Mobile...
22.411765
92
0.740157
[ "MIT" ]
Amphibian007/DotNetSelfPractise_Home
source/CRUD Demo Projects/Demo2/Foundation/Repositoris/CategoryRepository.cs
383
C#
 namespace Kar_IDE { partial class PreviewWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
37.119048
107
0.569917
[ "MIT" ]
Saumyadip-Kar/Kar-IDE
Kar_IDE/PreviewWindow.Designer.cs
3,120
C#
using Microsoft.AspNetCore.Http; using System.Threading.Tasks; namespace AspNetCore.ApiGateway.Middleware { public interface IGatewayMiddleware { Task Invoke(HttpContext context, string api, string key); } }
20.909091
65
0.743478
[ "MIT" ]
VeritasSoftware/AspNetCore.ApiGateway
AspNetCore.ApiGateway/Application/Middleware/IGatewayMiddleware.cs
232
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Android.Content; using Android.Database; using XLabs.Droid.ContentProvider; namespace XLabs.Contacts.Droid { internal class ProjectionReader<T> : IEnumerable<T> { internal Projection...
29.424242
126
0.522142
[ "Apache-2.0" ]
IAmEska/Xamarin-Forms-Labs
src/XLabs/Contacts/XLabs.Contacts.Droid/ProjectionReader.cs
1,944
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, /...
31.138498
261
0.553185
[ "MIT" ]
rsouza01/CONTATOS_REST
references/Json100r2/Source/Src/Newtonsoft.Json.Tests/TestFixtureBase.cs
13,267
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
28.634146
81
0.622658
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20191201/Inputs/AadAuthenticationParametersArgs.cs
1,174
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
35.629032
182
0.529651
[ "MIT" ]
F-V-L/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/LocationAddressVerificationDetails.cs
8,836
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.Staffing { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, Xm...
22.065574
136
0.73477
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Staffing/Period_Salary_PlanObjectType.cs
1,346
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
27.460784
108
0.49875
[ "MIT" ]
BrightsDigi/squidex
backend/tests/Squidex.Infrastructure.Tests/Reflection/PropertiesTypeAccessorTests.cs
2,803
C#
using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; using Newtonsoft.Json; namespace TestFunc { public static class GenericWebHookCSharp { [FunctionName("VSTSWebhook")] ...
31.485714
127
0.608893
[ "MIT" ]
faniereynders/GAB2017
test-function/TestFunc/GenericWebHookCSharp.cs
1,102
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...
30.35
102
0.581219
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/LaunchTemplateSpecification.cs
3,035
C#
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
29.281818
116
0.623719
[ "MIT" ]
saludnqn/prosane
RIS_Publico/RIS_Publico/generated/EmrTipoTraumaController.cs
3,221
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace DTO { public class Utils { public static string GetCrypt512(string texto) { StringBuilder sBuilder = new StringBuilder()...
23.96875
76
0.581486
[ "Apache-2.0" ]
franciscosens/doa-sangue
backend/DoaSangueWS/DTO/Utils.cs
769
C#
// class VengefulFi.RpcApi.BitswapController /* ############################################################################# Dual-licensed under MIT and Apache-2.0, by way of the [Permissive License Stack](https://protocol.ai/blog/announcing-the-permissive-license-stack/). Apache-2.0: https://www.apache.org/licen...
35.356436
80
0.644637
[ "Apache-2.0", "MIT" ]
bombus-lapidarius/vengeful-firewall
src/main/RpcApi/Controllers/BitswapController.cs
3,571
C#
// MIT License // Copyright(c) 2017 - 2018 Stephen Mohr // 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, mod...
42.096774
190
0.557314
[ "MIT" ]
smohr1824/Graphs
Core_Tests/CoreTests.cs
22,187
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; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; us...
44.209371
154
0.461086
[ "MIT" ]
mthalman/docker-tools
src/Microsoft.DotNet.ImageBuilder/tests/GetStaleImagesCommandTests.cs
74,539
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /****************************************************************************** * This file is auto-generated from a template file by the GenerateTests.csx * * script in tests\src...
42.596226
187
0.589918
[ "MIT" ]
2m0nd/runtime
src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/AddWideningUpper.Vector128.Int32.Vector128.Int32.cs
22,576
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
39.171053
153
0.613033
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/RemoteAssistancePartnerRequestBuilder.cs
2,977
C#
// Copyright (c) Mathias Thierbach // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; using System.Data.OleDb; using System.Xml; using System.Xml.XPath; using Newtonsoft.Json.Linq; using PbiTools.Serialization; using PbiTools.Utils; using Xuni...
34.895141
162
0.547713
[ "MIT" ]
mitch-d-b/pbi-tools
tests/PBI-Tools.Tests/Serializers/TabularModelSerializerTests.cs
13,646
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...
36.818182
144
0.719342
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/S3/Inputs/BucketV2ObjectLockConfigurationRuleArgs.cs
1,215
C#
using System.Windows; using System.Windows.Controls; using System.Windows.Media; using Szofttech_WPF.Logic; using Szofttech_WPF.Utils; namespace Szofttech_WPF.View.Game { /// <summary> /// Interaction logic for CellGUI.xaml /// </summary> public partial class CellGUI : UserControl { //priv...
36.089655
120
0.461112
[ "MIT" ]
CDZR0/Szofttech-WPF
Szofttech-WPF/View/Game/CellGUI.xaml.cs
5,244
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using UPT.Data_Access_Layer; using UPT.Models; using UPT.ViewModels; namespace UPT.Controllers...
33.946502
148
0.480058
[ "MIT" ]
roxanabogdan/PSSC-2018
Proiect/Controllers/ProfesorController.cs
8,251
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Spot.Ebnf { /// <summary> /// Defines a list of rules that should be called by the /// <see cref="SyntaxValidator"/> when validating a syntax. /// Any rule that is not ...
37.075758
143
0.586432
[ "MIT" ]
pawwkm/Spot
Spot.Ebnf/IncludedRules.cs
2,449
C#
using System; using System.Net.Http; using System.Net.Http.Headers; namespace PayPalHttp { public interface ISerializer { string GetContentTypeRegexPattern(); HttpContent Encode(HttpRequest request); object Decode(HttpContent content, Type responseType); } }
22.538462
62
0.723549
[ "MIT" ]
paypal/paypalhttp_dotnet
PayPalHttp-Dotnet/ISerializer.cs
295
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 * ...
30.72
85
0.580404
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Cat/V20180409/Models/AlarmInfo.cs
3,208
C#
using System; using System.Collections.Generic; using CustomerTestsExcel.ExcelToCode; using NUnit.Framework; namespace CustomerTestsExcel.Test { [TestFixture] public class NoBlankLineBetweenGivenAndWhen : TestBase { [Test] public void SheetConverterAddsWarningCommentIfNoBlankLineBetweenGiv...
39.395349
152
0.681228
[ "MIT" ]
DanielKirkwood/customer-tests-excel
CustomerTestsExcel.Test/NoBlankLineBetweenGivenAndWhen.cs
1,696
C#
namespace PlayersAndMonsters.Core.Factories { using PlayersAndMonsters.Core.Factories.Contracts; using PlayersAndMonsters.Models.Players; using PlayersAndMonsters.Models.Players.Contracts; using PlayersAndMonsters.Repositories; using System; using System.Collections.Generic; using System.Te...
28.59375
68
0.589071
[ "MIT" ]
ilinatsoneva3/SoftUni-Official
C# OOP Exam Previous/Players and monsters/PlayersAndMonsters/Core/Factories/PlayerFactory.cs
917
C#