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; using System.Collections; using Broker; using Broker.Messages; using InventoryAndStore; using UnityEngine; using WorldGrid; using Random = UnityEngine.Random; namespace Tools.WateringTool { public class WateringToolSelected : MonoBehaviour { private bool toolSelected; private MoveMetr...
36.644068
143
0.60037
[ "MIT" ]
forsbergsskola-se/growe
Assets/Scripts/Tools/WateringTool/WateringToolSelected.cs
2,162
C#
using System; using System.Linq; using System.Net; using Lemonade.Fakes; using Lemonade.Services; using Lemonade.Sql.Migrations; using Lemonade.Sql.Queries; using Lemonade.Web.Core.Mappers; using Lemonade.Web.Tests.Mocks; using Nancy.Testing; using Newtonsoft.Json; using NSubstitute; using NUnit.Framework;...
39.540107
170
0.606032
[ "MIT" ]
thesheps/lemonade
tests/Lemonade.Web.Tests/GivenFeaturesModule.cs
7,396
C#
namespace ARKBreedingStats { partial class BreedingPlan { /// <summary> /// Erforderliche Designervariable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Verwendete Ressourcen bereinigen. /// </summary> ...
52.325228
179
0.6298
[ "MIT" ]
Ark-Miwok/Ark-Miwoks-
ARKBreedingStats/BreedingPlan.Designer.cs
17,221
C#
namespace Exemplum.Application.Common.Mapping; using AutoMapper; public interface IMapFrom<T> { void Mapping(Profile profile) => profile.CreateMap(typeof(T), GetType()); }
22.25
77
0.758427
[ "MIT" ]
ForrestTech/Exemplum
src/Application/Common/Mapping/IMapFrom.cs
180
C#
namespace Medoz.CommandLine; using System; using System.IO; using System.Text; using System.Collections.Generic; using System.Linq; using System.Diagnostics; public abstract class Flag { public string Name { set; get; } public string[] Alias { set; get; } public string Usage { set; get; } ...
26.230769
94
0.583089
[ "MIT" ]
Atoyr/CommandLine
Src/Medoz.CommandLine/Flag.cs
2,046
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core; using Azure.Core.Testing; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Azure.Identity.Tests { ...
37.762402
1,199
0.634654
[ "MIT" ]
LingyunSu/azure-sdk-for-net
sdk/identity/Azure.Identity/tests/DeviceCodeCredentialTests.cs
14,465
C#
namespace Solu.Framework.Services { public interface IIdentify { string Id { get; set; } } }
12.833333
34
0.441558
[ "MIT" ]
saeedmaghdam/Solu
src/Solu.Framework/Services/IIdentify.cs
156
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...
29.755814
104
0.586948
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/GetUserRequest.cs
2,559
C#
//------------------------------------------------------------------------------ //<copyright company="Microsoft"> // // The MIT License (MIT) // // Copyright (c) 2015 Microsoft // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
35.41791
87
0.586599
[ "MIT" ]
AzureMentor/DACExtensions
Samples/DisposableList.cs
2,375
C#
using System; using System.Collections.Generic; using System.Text; namespace neonrpg.Utilities { class Color { private static readonly StringBuilder sb = new StringBuilder(); public static readonly Color TRANSPARENT = new Color(); public static readonly Color BLACK = new Color(0, 0, 0);...
28.171429
71
0.495436
[ "MIT" ]
dskprt/neonrpg
neonrpg/Utilities/Color.cs
1,974
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Azure.Functions.Cli.Common; using Azure.Functions.Cli.ExtensionBundle; using Azure.Functions.Cli.Helpers; using Azure.Functions.Cli.Interfaces; using Azure.Functions.Cli.Telemetry; using Colors.Net; ...
48.485944
241
0.604158
[ "MIT" ]
AnnMerlyn/azure-functions-core-tools
src/Azure.Functions.Cli/Actions/LocalActions/CreateFunctionAction.cs
12,075
C#
using AoCHelper; namespace AdventOfCode { public class Day_21 : BaseDay { private readonly string _input; public Day_21() { _input = File.ReadAllText(InputFilePath); } public override ValueTask<string> Solve_1() => new("Solution 1"); public overrid...
20
73
0.6
[ "MIT" ]
Tohaker/AdventOfCode2021
AdventOfCode/Day_21.cs
380
C#
using System.Collections.Generic; using System.Runtime.Serialization; using System.ServiceModel; using MoviesService.Contracts; namespace MoviesService { [ServiceContract] public interface IMoviesService { [OperationContract] Movie[] GetAllMovies(); [OperationContract...
25.73913
128
0.673986
[ "MIT" ]
jonathanconway/cbamovieexercise
MoviesService/IMoviesService.cs
594
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class NoController : MonoBehaviour { protected OVRInput.Controller left = OVRInput.Controller.LTrackedRemote; protected OVRInput.Controller right = OVRInput.Controller.RTrackedRemote; protected Canvas canvas = null; private bo...
25.4
107
0.777278
[ "MIT" ]
PickardChilton/GoVR
ArcTeleporter/Scripts/Menu/NoController.cs
891
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Linq; using System.Web.Http.Description; using System.Web.Http.Dispatcher; using Microsoft.TestCommon; namespace System.Web.Http.ApiExplorer { public class ParameterSo...
63.1
198
0.722134
[ "Apache-2.0" ]
charliefr/aspnetwebstack
test/System.Web.Http.Integration.Test/ApiExplorer/ParameterSourceTest.cs
3,788
C#
namespace UblTr.Common { [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oa...
53.083333
175
0.77551
[ "MIT" ]
canyener/Ubl-Tr
Ubl-Tr/Common/CommonBasicComponents/PaymentFrequencyCodeType.cs
637
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Org.DotNetToscana.CosmosDBGlobalDistribution.Models; using Org.DotNetToscana.CosmosDBGlobalDistribution.Services; using Microsoft.Extensions.Options; using Or...
27.925926
103
0.811671
[ "MIT" ]
DotNetToscana/CosmosDB-GlobalDistribution
CosmosDBGlobalDistribution/Controllers/HomeController.cs
756
C#
using Riven.AspNetCore.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Riven.AspNetCore.Models { /// <summary> /// This class is used to create standard responses for AJAX/remote requests. /// </summary> [Serializable] public class...
28.434783
115
0.58945
[ "Apache-2.0" ]
rivenfx/Framework
src/Riven.AspNetCore/AspNetCore/Models/AjaxResponseOfObject.cs
1,310
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class TargetDelagate { public GameObject target; public string action; public void runAction() { target.SendMessage(action); } }
15.764706
35
0.716418
[ "MIT" ]
KenMunk/CSC131_Project-Autism-Target-Learning
01_FrontEnd/Project_AutismTargetLearning/Assets/Scripts/UtilityScripts/MultiClick/TargetDelagate.cs
268
C#
using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Web.Http; namespace System.Net.Http { /// <summary> /// Provides extension methods for the <see cref="HttpRequestMessage"/> class. /// </summary> [EditorBrowsable(EditorBrowsableState.Never)] public static class HttpR...
37.962963
135
0.607317
[ "Apache-2.0" ]
douchedetector/mvc-razor
src/System.Net.Http.Formatting/HttpRequestMessageExtensions.cs
2,052
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Resources.Models { internal partial class ResourceListResult { ...
34.425532
104
0.55377
[ "MIT" ]
EitanGayor/azure-sdk-for-net
sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/ResourceListResult.Serialization.cs
1,618
C#
using System; namespace GadzhiCommon.Extensions.Functional { /// <summary> /// Методы расширения для функций высшего порядка /// </summary> public static class CurryExtensions { /// <summary> /// Преобразование функции высшего порядка для одного аргумента /// </summary> ...
35.3
144
0.577337
[ "MIT" ]
rubilnik4/GadzhiResurrected
GadzhiCommon/Extensions/Functional/CurryExtensions.cs
2,016
C#
using UnityEngine; public enum AudioPlayState { Playing, Pause, Stoping, Stop, } /// <summary> /// 音乐资源类型,音乐还是音效 /// </summary> public enum AudioSourceType { Music, SFX, } public class AudioAsset { public AudioSource audioSource; public AudioSourceType sourceType; public string fl...
19.857143
97
0.568345
[ "MIT" ]
lost-home/CiGA2020
Assets/Scripts/Audio/AudioAsset.cs
3,510
C#
using HEAL.Entities.DataAccess.Dwh.DataVaultV2.Abstractions; using HEAL.Entities.DataAccess.Caching.Abstractions; using HEAL.Entities.DataAccess.EFCore.Caching; using HEAL.Entities.DataAccess.EFCore.Dwh.DataVaultV2.Generic; using HEAL.Entities.Objects.Dwh.DataVaultV2; using Microsoft.Extensions.Logging; namespace HEA...
45.181818
103
0.679074
[ "MIT" ]
florianBachinger/HEAL.Entities
src/HEAL.Entities.DataAccess.EFCore/Dwh/DataVaultV2/LinkRepository.cs
996
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("DataStreams.UnitTest")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("DataStreams.UnitTest")] [assembly...
30.47619
56
0.757813
[ "Apache-2.0" ]
mantis1262/TP
ExDataManagement/P03.DataStreams/DataStreams.UnitTest/Properties/AssemblyInfo.cs
641
C#
using System; using System.Linq; using System.Reflection; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Supabase.Realtime { /// <summary> /// A custom resolver that handles mapping column names and property names as well /// as handling the conversion of Postgrest Ranges to a C# `R...
29.357143
114
0.6691
[ "MIT" ]
elrhomariyounes/realtime-csharp
Realtime/CustomContractResolver.cs
824
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> //--...
34.258065
151
0.580038
[ "MIT" ]
js94766524/Win_Imitate
Imitate/Properties/Settings.Designer.cs
1,064
C#
using GraphQL.Samples.Schemas.Chat; using GraphQL.Server.Transports.AspNetCore; using GraphQL.Server.Transports.Subscriptions.Abstractions; using GraphQL.Server.Transports.WebSockets; using GraphQL.Server.Ui.GraphiQL; using GraphQL.Server.Ui.Playground; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hos...
35.554054
106
0.633219
[ "MIT" ]
BenjaBobs/server
samples/Samples.Server/Startup.cs
2,631
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Clase_05.Entidades; //using Lucchettinni; namespace Clase_05 { class Program { static void Main(string[] args) { string b; Tinta tintita = new Tint...
22.423077
79
0.61235
[ "MIT" ]
Luchettinni/Segundo-Cuatrimestre
Aranda.Luciano/Clase_05/Program.cs
585
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Cognitive Services: http://www.microsoft.com/cognitive // // Microsoft Cognitive Services Github: // https://github.com/Microsoft/Cognitive // // Copyright (c) Microsoft Corporation // All rights reserved. // //...
38.268817
145
0.663951
[ "MIT" ]
oasalonen/passport-picture
Sentiment/RealTimeFaceIdentificationBorder.xaml.cs
3,561
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; namespace Avast.SmsConnectorClient { /// <summary> /// SMS connector client. /// </summary> public class SmsConnector { private static rea...
41.862385
199
0.600044
[ "MIT" ]
LaudateCorpus1/sms-connector-client
src/Avast.SmsConnectorClient/SmsConnector.cs
4,565
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CurrencyConversion.Service { public class CurrencyConversion { private class TripletBlock { public int Index { get; private set; }...
31.821782
153
0.478376
[ "MIT" ]
Jurgler321/CodingTask_Qoniac
CurrencyConversion/CurrencyConversion.Service/CurrencyConversion.cs
6,430
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using SF.Core.QueryExtensions.SearchExtensions.Helpers.ExpressionBuilders.EqualsExpressionBuilder; namespace SF.Core.QueryExtensions.SearchExtensions { public class QueryableChildSearch<TParent, TChild, TProperty> : Q...
46.837209
246
0.666336
[ "Apache-2.0" ]
ZHENGZHENGRONG/SF-Boilerplate
SF.Core/Extensions/QueryExtensions/SearchExtensions/QueryableChildSearch.cs
4,028
C#
using SpiceSharp.ParameterSets; using SpiceSharp.Attributes; namespace SpiceSharp.Components.Mosfets.Level2 { /// <summary> /// Base parameters for a <see cref="Mosfet2Model" /> /// </summary> /// <seealso cref="Mosfets.ModelParameters" /> [GeneratedParameters] public partial class ModelParamet...
35.783505
95
0.594641
[ "MIT" ]
Neos-Metaverse/SpiceSharp
SpiceSharp/Components/Semiconductors/Mosfets/Level2/ModelParameters.cs
3,471
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _005FanShop { class Program { static void Main(string[] args) { int budget = int.Parse(Console.ReadLine()); int n = int.Parse(Console.ReadLine()...
25.724138
97
0.410188
[ "MIT" ]
kalintsenkov/SoftUni-Software-Engineering
CSharp-Programming-Basics/Exams/ExamJuly2018/005FanShop/Program.cs
1,494
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace GRA.Data.Model { public class DrawingCriterion : Abstract.BaseDbEntity { [Required] public int SiteId { get; set; } [Required] public int RelatedSystemId { get; set; } ...
33.5
83
0.615452
[ "MIT" ]
MCLD/greatreadingadventure
src/GRA.Data/Model/DrawingCriterion.cs
1,141
C#
using System; using PlanetWars.Contracts.AlienContracts.Serialization; namespace Tools { class Program { static int Main(string[] args) { if (args.Length == 0) { Console.Error.WriteLine("No command provided. Use --help."); return -1; ...
30.913043
100
0.372363
[ "MIT" ]
icfpcontest2020/galaxy
src/Tools/Program.cs
2,846
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
26.548387
94
0.72661
[ "MIT" ]
ratishphilip/CompositeHomeScreen
CompositeHomeScreen/Pages/iBooksPage.xaml.cs
825
C#
using System; using System.Collections.Generic; namespace Nuve.Lexicon { /// <summary> /// Search through a trie for all the strings which have a given prefix which will be entered character by character. /// </summary> /// <typeparam name="V">Order of the value stored in the trie.</typeparam> cla...
24.752809
121
0.507036
[ "MIT" ]
celikmustafa89/nuve
Nuve/Lexicon/PrefixMatcher.cs
2,205
C#
namespace interfaces_example { public enum Marka{ Ford, Toyota, Honda } public enum Renk{ Beyaz, Gri } }
12.384615
28
0.490683
[ "MIT" ]
bkalenderoglu/Patika_C_Sharp_101
practices/interfaces_example/Sabitler.cs
161
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Ros { /// <summary>Properties for defining a `ALIYUN::ROS::WaitConditionHandle`.</summary> [JsiiByValue(fqn: "@alicloud/ros-cdk-ros.WaitConditionHandleProps")] public class WaitConditionHandle...
52.47619
331
0.646098
[ "Apache-2.0" ]
piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Ros/AlibabaCloud/SDK/ROS/CDK/Ros/WaitConditionHandleProps.cs
2,204
C#
using Verse; namespace ArchotechPlus { public class HediffCompProperties_Regeneration : HediffCompProperties { public HediffCompProperties_Regeneration() { compClass = typeof (HediffComp_Regeneration); } } }
21.416667
73
0.673152
[ "MIT" ]
Aneduna/ArchotechPlus
Source/ArchotechPlus/HediffCompProperties_Regeneration.cs
259
C#
using EPiServer.Shell.ObjectEditing; using System.Collections.Generic; namespace Foundation.Features.Blocks.CallToActionBlock { class BackgroundImageSelectionFactory : ISelectionFactory { public IEnumerable<ISelectItem> GetSelections(ExtendedMetadata metadata) { return new List<Sel...
36.619048
83
0.594278
[ "Apache-2.0" ]
Beerwulf/foundation-mvc-cms
src/Foundation/Features/Blocks/CallToActionBlock/CallToActionBlockSelectionFactory.cs
771
C#
using Core.Entity; using Core.Queries; namespace DAL.Queries.GetAllEmployees { public class GetAllEmployeesQuery : IQuery<IList<Employee>> { } }
15.9
63
0.72327
[ "MIT" ]
mustaphash/HomeBuilding
src/DAL/Queries/GetAllEmployees/GetAllEmployeesQuery.cs
161
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.568182
81
0.667658
[ "Apache-2.0" ]
tencentcloudapi-test/tencentcloud-sdk-dotnet
TencentCloud/Tdcpg/V20211118/Models/ModifyClustersAutoRenewFlagResponse.cs
1,403
C#
using System; using System.IO; using System.Linq; using MongoDB.Bson; using MongoDB.Bson.IO; using MongoDB.Bson.Serialization; using MongoDB.Bson.Serialization.Conventions; using JsonConvert = Newtonsoft.Json.JsonConvert; namespace Sining.Tools { public static class SerializationHelper { private static...
28.819444
109
0.604819
[ "MIT" ]
qq362946/Sining
Server/Model/Base/Tools/SerializationHelper.cs
2,083
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; namespace Platformer { public interface IPosition { Vector2 Position { get; set; } } }
16.142857
38
0.707965
[ "BSD-3-Clause" ]
blackdragon723/RandomPlatformer
Platformer/Platformer/IPosition.cs
228
C#
// Assembly TeamAgile.RegexKit.Common, Version 1.0.0.0 [assembly: System.Reflection.AssemblyVersion("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersion("1.0.0.0")] [assembly: System.Runtime.InteropServices.Guid("b7f6e823-fd10-4e2a-ad8c-4f0afe48ee34")] [assembly: System.Runtime.InteropServices.ComVisible(...
60.722222
129
0.806038
[ "Apache-2.0" ]
UNIVERSAL-IT-SYSTEMS/dotnet-regex-tools
RegexVisualizers/TeamAgile.RegexKit.Common_Source/AssemblyInfo.cs
1,093
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...
42.378205
135
0.595825
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Cache/V20200601/LinkedServer.cs
6,611
C#
// Copyright 2018 Benjamin Moir // // 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 ...
29.411765
75
0.723
[ "Apache-2.0" ]
GamePluginKit/CSharpPluginLoader
CSharpPluginLoader.Compiler/CompilerContext.cs
1,002
C#
using System; using System.ComponentModel; using System.Reflection; using System.Linq; using System.Diagnostics; namespace Bindings { /// <summary> /// Creates a binding between the property on the source object and a property on the destination object. /// /// For one way or two bindings, the destination proper...
33.67591
187
0.718285
[ "MIT" ]
MortInfinite/DesktopApplicationHelpers
BindingsFramework/HierarchicalBinding.cs
19,433
C#
// ----------------------------------------------------------------------- // <copyright file="MigrationPackBase.cs" company="OSharp开源团队"> // Copyright (c) 2014-2019 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor> // <last-date>2019-01-03 0...
35.806122
133
0.581647
[ "Apache-2.0" ]
1051324354/osharp
src/OSharp.EntityFrameworkCore/MigrationPackBase.cs
3,751
C#
/* Copyright (c) 2018-2020 Rossmann-Engineering 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, merge, publish...
46.644868
299
0.524087
[ "MIT" ]
CameronMease/Pinknose.DistributedWorkers
Pinknose.DistributedWorkers.XBee/Modbus/ModbusClient.cs
102,714
C#
namespace Paseto.Cryptography.Internal.Ed25519Ref10; internal static partial class GroupOperations { /* r = p + q */ internal static void ge_madd(out GroupElementP1P1 r, ref GroupElementP3 p, ref GroupElementPreComp q) { /* qhasm: enter ge_madd */ /* qhasm: fe X1 */ /* qh...
29.10101
105
0.4731
[ "MIT" ]
idaviddesmet/paseto-dotnet
src/Paseto/Cryptography/Internal/Ed25519Ref10/ge_madd.cs
2,883
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.CodeCommit")] [assembly: AssemblyDe...
47.21875
246
0.753144
[ "Apache-2.0" ]
aws/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/CodeCommit/Properties/AssemblyInfo.cs
1,511
C#
using Bit.Core.Contracts; using Bit.Core.Models; using Bit.ViewModel.Contracts; using Prism.Navigation; using Prism.Regions; using Prism.Regions.Navigation; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Bi...
30.519553
141
0.55281
[ "MIT" ]
RezaKargar/bitframework
src/Client/Xamarin/Bit.Client.Xamarin.Prism/ViewModel/BitViewModelBase.cs
5,465
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public struct FSFloat { public const int precision = 10000; int val; public FSFloat(int v) { val = v; } public int GetValue() { return val; } public float ToFloat() { return val * 0.0...
21.178571
58
0.591062
[ "MIT" ]
Rafe100/FrameSync
Client/Assets/Script/FSFloat.cs
1,188
C#
using System; namespace CHD.Tests.ExtendedContext.StatRecord { public interface IStatisticRecord : IDisposable { void Log(); } }
17.444444
52
0.649682
[ "MIT" ]
lsoft/CHD
CHD.Tests/ExtendedContext/StatRecord/IStatisticRecord.cs
157
C#
using System.Collections.Generic; using System.Linq; namespace Millarow.Rest { public class RequestMultipartContent : RequestContent { private List<RequestFile> _parts; public RequestMultipartContent(string charSet) : base(new ContentType(MimeTypes.Multipart.FormData, c...
25.105263
92
0.552411
[ "MIT" ]
mcculic/millarowframework
src/Millarow.Rest/RequestMultipartContent.cs
956
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2017 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtainin...
41.754717
190
0.667872
[ "MIT" ]
DFihnn/dotnetrdf
Libraries/dotNetRDF/Query/Operators/DateTime/BaseTimeSpanOperator.cs
2,213
C#
namespace TeamBuilder.Models.Validation.RegisterUser { using System; using System.ComponentModel.DataAnnotations; using System.Linq; [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)] public class PasswordAttribute : ValidationAttribute { private const string DefaultMess...
32.85
102
0.617199
[ "MIT" ]
HristoSpasov/Databases-Advanced-Entity-Framework-Core
13. Workshop/TeamBuilder.App/ModelDto/Validation/RegisterUser/PasswordAttribute.cs
1,316
C#
using System; using System.Runtime.Serialization; using GeneticSharp.Infrastructure.Framework.Texts; namespace GeneticSharp.Domain.Reinsertions { /// <summary> /// Exception throw when an error occurs during the execution of reinsert. /// </summary> [Serializable] public sealed class ReinsertionExc...
48.56
219
0.646829
[ "MIT" ]
raminrahimzada/GeneticSharp
src/GeneticSharp.Domain/Reinsertions/ReinsertionException.cs
4,856
C#
namespace NetEscapades.AspNetCore.SecurityHeaders.Headers.PermissionsPolicy { /// <summary> /// Controls whether the current document is allowed to use the Web MIDI API. /// If disabled in a document, the promise returned by <code>requestMIDIAccess()</code> /// must reject with a DOMException parameter...
38.111111
104
0.683673
[ "MIT" ]
Rtalos/NetEscapades.AspNetCore.SecurityHeaders
src/NetEscapades.AspNetCore.SecurityHeaders/Headers/PermissionsPolicy/MidiPermissionsPolicyDirectiveBuilder.cs
688
C#
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; namespace UE4.Engine.Native...
25.727273
59
0.763251
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/Engine/Native/EngineCustomTimeStep.cs
566
C#
using System; namespace Paket.Bootstrapper { public static class DateTimeProxy { public static Func<DateTime> GetNow { get { return _getNow ?? (_getNow = () => DateTime.Now); } set { _getNow = value;} } private static Func<DateTime> _getNow; p...
19.368421
69
0.5625
[ "MIT" ]
pspesivt/Paket
src/Paket.Bootstrapper/HelperProxies/DateTimeProxy.cs
368
C#
// Author: Mathias Soeholm // Date: 05/10/2016 // No license, do whatever you want with this script using UnityEngine; using UnityEngine.Serialization; //[ExecuteInEditMode] [RequireComponent(typeof(MeshRenderer))] [RequireComponent(typeof(MeshFilter))] public class TubeRenderer : MonoBehaviour { public Material lmat...
23.012931
113
0.655553
[ "MIT" ]
Rowl1ng/SketchyVR
Sketch_VR/Assets/TubeRenderer.cs
5,339
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Xml;...
34.927562
193
0.639284
[ "MIT" ]
ntovas/vstest
src/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector/EventLogDataCollector.cs
19,771
C#
using System; using System.Collections.Generic; namespace EncompassRest.Loans { /// <summary> /// EdmLog /// </summary> public sealed partial class EdmLog : DirtyExtensibleObject, IIdentifiable { private DirtyList<LogAlert> _alerts; private DirtyList<LogComment> _commentList; ...
35.784314
141
0.595068
[ "MIT" ]
PLoftis02/EncompassRest
src/EncompassRest/Loans/EdmLog.cs
3,650
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framework....
32.540984
152
0.490344
[ "MIT" ]
e8035669/osu-framework
osu.Framework.Tests/Visual/TestCaseLayoutDurations.cs
5,775
C#
namespace Raiding { public class Paladin : BaseHero { public override int Power => 100; public Paladin(string name) : base(name) { } public override string CastAbility() { return $"{GetType().Name} - {this.Name} healed for {this.Power}"; } ...
20.375
77
0.527607
[ "MIT" ]
NIKONaaaaa/Basic
04OOP/04PolymorphismExercise/Raiding/Classes/Paladin.cs
328
C#
 namespace xLog { public struct RawLogLine { /// <summary> /// The source of this line /// </summary> public string Source; /// <summary> /// The format of this line /// </summary> public string Format; /// <summary> /// The argu...
22.457143
70
0.489822
[ "MIT" ]
dsisco11/xLog
xLog/Structs/RawLogLine.cs
788
C#
using System; using System.Collections.Generic; using System.Text; using CGALDotNetGeometry.Numerics; using CGALDotNetGeometry.Shapes; namespace CGALDotNet.Triangulations { public enum TRIANGULATION2 { TRIANGULATION, DELAUNAY, CONSTRAINED, CONSTRAINED_DELAUNAY } /// ...
35.509338
110
0.529237
[ "MIT" ]
unitycoder/CGALDotNet
CGALDotNet/Triangulations/BaseTriangulation2.cs
20,917
C#
using System; namespace AndroidUsbSerial { public class UsbSerialException : Exception { public UsbSerialException() : base() { } public UsbSerialException(string message, Exception innerException) : base(message, innerException) { } public UsbSerialException(string message) : base(...
28.235294
137
0.708333
[ "MIT" ]
ellisnet/AndroidUsbSerial
source/AndroidUsbSerial/UsbSerialException.cs
482
C#
using System; namespace Generated.Builders; [AttributeUsage(AttributeTargets.Class)] public class OrderedBuilderAttribute : Attribute { }
15.555556
48
0.821429
[ "MIT" ]
zarnor/Generated
src/Generated.Builders/Attributes/OrderedBuilderAttribute.cs
140
C#
namespace TransformTemplateView.Models; public class Section : BookComposite { public Section(string name) : base(name) { } }
18.857143
48
0.742424
[ "MIT" ]
PacktPublishing/An-Atypical-ASP.NET-Core-6-Design-Patterns-Guide
C17/src/TransformTemplateView/Models/Section.cs
134
C#
/** * Copyright 2015 IBM Corp. 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 required by applicable law ...
37.739837
257
0.579276
[ "MIT" ]
RealityVirtually2019/heAR
TestML/Assets/Watson/Scripts/Services/ToneAnalyzer/v3/ToneAnalyzer.cs
9,286
C#
using Newtonsoft.Json; namespace TheMovie.Service.ViewModel { public class AuthViewModel { [JsonProperty("request_token")] public string RequestToken { get; set; } } }
18
48
0.661616
[ "MIT" ]
DarkSideMoon/TheMovie
TheMovie.Service/ViewModel/AuthViewModel.cs
200
C#
using BarcodeLib; using EasyKeys.Extensions.Images; using EasyKeys.Extensions.Images.Services; using Polly; namespace Microsoft.Extensions.DependencyInjection { public static class ImageServiceCollectionExtensions { /// <summary> /// Adds image processing i.e. resize. Also add image download...
29.794872
113
0.623064
[ "MIT" ]
easykeys/EasyKeys.Extensions
src/EasyKeys.Extensions.Images/DependencyInjection/ImageServiceCollectionExtensions.cs
1,164
C#
//IntakeHelpers.cs // // Copyright © 2016-2021 Mavidian Technologies Limited Liability 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....
37.740113
157
0.622904
[ "Apache-2.0" ]
mavidian/DataConveyer
DataConveyer/Intake/IntakeHelpers.cs
6,683
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("02...
38.243243
84
0.742756
[ "MIT" ]
NinoSimeonov/Telerik-Academy
Programming with C#/3. C# Object-Oriented Programming/03. Extension Methods, Lambda Expressions and LINQ/02. Set of Extensions/Properties/AssemblyInfo.cs
1,418
C#
// AIWorld // Copyright 2015 Tim Potze // // 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 applicabl...
32.613636
92
0.606969
[ "Apache-2.0" ]
ikkentim/AIWorld
src/AIWorld/Events/MouseClickEventArgs.cs
1,437
C#
namespace Fonet.Pdf { /// <summary> /// Class representing a document information dictionary. /// </summary> /// <remarks> /// Document information dictionaries are described in section 9.2.1 of the /// PDF specification. /// </remarks> public class PdfInfo : PdfDictionary ...
29.111111
83
0.549073
[ "Apache-2.0" ]
DaveDezinski/Fo.Net
src/Pdf/PdfInfo.cs
1,834
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Entities; namespace Repositories.Interfaces { public interface ITestRepository { Task<IEnumerable<Test>> GetAll(); Task Add(Test test); Task<Test> Find(Guid id); void Update(Test newTest, Test ol...
22.9375
48
0.673025
[ "MIT" ]
europ/MUNI-FI-PA181
src/src/Repositories/Interfaces/ITestRepository.cs
367
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> //--...
38.902778
188
0.606212
[ "MIT" ]
ATimko/ChuckNorris-DotNetAPI
ChuckNorrisMutiProject/Properties/Resources.Designer.cs
2,803
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
61.312977
200
0.68999
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IAgreementFilePropertiesRequest.cs
8,032
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> //--...
33.763889
162
0.689428
[ "MIT" ]
youda97/Stock-Market
StockMarket/Properties/Resources.Designer.cs
2,433
C#
using Microsoft.AspNetCore.Identity; using System; using System.Threading; using System.Threading.Tasks; namespace Project.Hub.Services { public class StubRoleStore : IRoleStore<IdentityRole> { public Task<IdentityResult> CreateAsync(IdentityRole role, CancellationToken cancellationToken) { ...
31.307692
125
0.672727
[ "MIT" ]
mishani0x0ef/Project.Hub
src/Project.Hub/Services/StubRoleStore.cs
2,037
C#
namespace SoManyBooksSoLittleTime.Web.ViewModels.Articles { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Http; public class CreateArticleInputModel { [Required(ErrorMessage = "Title is required")] [StringLength(200, Erro...
34.516129
115
0.641121
[ "MIT" ]
RadostinaPetrova/SoManyBooksSoLittleTime
Web/SoManyBooksSoLittleTime.Web.ViewModels/Articles/CreateArticleInputModel.cs
1,072
C#
using System; using System.Collections; using System.Collections.Specialized; using Telerik.Core; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Data; namespace Telerik.UI.Xaml.Controls.Chart { /// <summary> /// Represents a logical object that may be used to feed a <see cr...
33.907186
205
0.585077
[ "Apache-2.0" ]
ChristianGutman/UI-For-UWP
Controls/Chart/Chart.UWP/Visualization/DataBinding/DynamicSeries/ChartSeriesProvider.cs
11,327
C#
namespace RJCP.Diagnostics.Config { using System.Configuration; [System.Diagnostics.CodeAnalysis.SuppressMessage("Maintainability", "CA1507:Use nameof to express symbol names", Justification = "There isn't a strict relationship")] internal class XmlCrashDumper : ConfigurationSection { [Configu...
33.866667
170
0.698819
[ "MIT" ]
jcurl/CrashReporter
CrashReporter/Config/XmlCrashDumper.cs
510
C#
using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace KennUwareHR.Migrations { public partial class AddedNeModels : Migration { protected override void Up(MigrationBuilder migrationBuilder) { ...
33.927928
114
0.519649
[ "MIT" ]
Zach-DiPasquale/Enterprise
KennUwareHR/Migrations/20180303181428_AddedNeModels.cs
3,768
C#
using System; namespace Tests.Entities { public class Blog { public int Id { get; set; } public string Title { get; set; } public string Author { get; set; } public DateTime CreatedDate { get; set; } public DateTime? ModifiedDate { get; set; } } }
21.076923
46
0.638686
[ "Apache-2.0" ]
gbrunton/CacheRepository
Tests/Entities/Blog.cs
276
C#
using System.Runtime.InteropServices; namespace Vulkan { [UnmanagedFunctionPointer(CallingConvention.Cdecl)] public unsafe delegate void PFN_vkDestroyDevice([NativeTypeName("VkDevice")] VkDevice device, [NativeTypeName("const VkAllocationCallbacks *")] ...
40.6
101
0.605911
[ "BSD-3-Clause" ]
trmcnealy/Vulkan
Vulkan/Delegates/PFN_vkDestroyDevice.cs
406
C#
using System; namespace SkbKontur.Excel.TemplateEngine.ObjectPrinting.Helpers { internal static class JaggedArrayHelper { public static T CreateJaggedArray<T>(params int[] lengths) { return (T)InitializeJaggedArray(typeof(T).GetElementType(), 0, lengths); } private ...
29.206897
88
0.541913
[ "MIT" ]
aldobrynin/Excel.TemplateEngine
Excel.TemplateEngine/ObjectPrinting/Helpers/JaggedArrayHelper.cs
847
C#
using UnityEngine; namespace EC2019.Utility { public static class ColorPalette { // Entelect colours - Hex - RGB - RBG_norm // Blue - #2196f3 - 33, 150, 243 - 0.13, 0.59, 0.95 // Red - #f44336 - 244, 67, 54 - 0.96, 0.26, 0.21 // Yellow - #fee50...
44.111111
70
0.556675
[ "MIT" ]
dlweatherhead/entelect-challenge-2019-visualiser
Entelect Challenge 2019 Visualiser/Assets/Scripts/EC2019/Utility/ColorPalette.cs
1,193
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 Internal.Cryptography; using Internal.Cryptography.Pal; namespace System.Security.Cryptography.X509Certificat...
40.244604
136
0.629782
[ "MIT" ]
WonyoungChoi/runtime
src/libraries/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509SubjectKeyIdentifierExtension.cs
5,594
C#
using CrytonCore.Infra; using CrytonCore.Model; using CrytonCore.PdfService; using System.Collections.Generic; using System.Collections.ObjectModel; namespace CrytonCore.ViewModel { public class PasswordProviderViewModel : NotificationClass { public ObservableCollection<PdfPasswordBase> Passwords { ge...
26.666667
76
0.703125
[ "Apache-2.0" ]
ToxicSkill/CrytonCore
ViewModel/PasswordProviderViewModel.cs
642
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
41.25641
128
0.600373
[ "MIT" ]
TruyenLam/C-WPF
QuanLyKho/QuanLyKho/QuanLyKho/Model/Object.cs
1,609
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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> //-------------...
34.482736
1,403
0.743529
[ "MIT" ]
Gaomengkai/Wzjqd
Wzjqd/Resources/Resource.designer.cs
318,586
C#
using Newtonsoft.Json; using System.Collections.Generic; namespace Hardstuck.GuildWars2.Builds.APIClasses { internal class CharacterEquipmentStats { [JsonProperty("id")] public int Id { get; set; } [JsonProperty("name")] public string Name { get; set; } [JsonProperty(...
22.611111
63
0.638821
[ "Apache-2.0" ]
HardstuckGuild/Hardstuck.GuildWars2.Builds
src/APIClasses/CharacterEquipmentStats.cs
409
C#