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
/******************************************************* * Tic Tac Toe Pro * * Creator: Augusto Lange * * Last Change: 07/03/2012 * Version: 1.03 * * ****************************************************/ /***************************************************** * Version 1.01: * * Date: 15/04/2011 * ...
30.513514
180
0.451601
[ "Apache-2.0" ]
aslange/TIC_TAC_TOE_Win-CE
Form1.cs
15,808
C#
namespace ClearHl7.Codes.V260 { /// <summary> /// HL7 Version 2 Table 0544 - Container Condition. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0544</remarks> public enum CodeContainerCondition { /// <summary> /// ... - No suggested values. /// </summary> ...
24.857143
59
0.563218
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7.Codes/V260/CodeContainerCondition.cs
350
C#
using TGC.Core.Camara; using TGC.Core.Input; using TGC.Core.Mathematica; namespace TGC.Examples.Camara { /// <summary> /// Camara que permite rotar y hacer zoom alrededor de un objeto central /// </summary> public class TgcRotationalCamera : TgcCamera { public static float DEFAULT_ZOOM_...
34.852018
131
0.537957
[ "MIT" ]
AVinitzca/tgc-viewer
TGC.Examples/Camara/TgcRotationalCamera.cs
7,772
C#
using System; using Couchbase.Core.Buckets; using Couchbase.Core.Transcoders; using Couchbase.IO.Converters; using Couchbase.IO.Operations; using Moq; using NUnit.Framework; namespace Couchbase.UnitTests.CouhbaseBucketTests { [TestFixture] public class DecrementTests { private readonly IByteConvert...
32.255892
105
0.567015
[ "Apache-2.0" ]
andrassebo/couchbase-net-client
Src/Couchbase.UnitTests/CouchbaseBucketTests/DecrementTests.cs
9,580
C#
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at // // http://www.apache.org/licenses/LICENSE-2.0...
35.40625
83
0.651368
[ "Apache-2.0" ]
zengdl/MassTransit
src/MassTransit/ExceptionConsumerConsumeContext.cs
1,135
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace VkApi.Wrapper.Objects { public class AccountUserSettingsInterest { [JsonProperty("title")] public String Title { get; set; } [JsonProperty("value")] public String Value { get; set; } } }
22.285714
44
0.657051
[ "MIT" ]
FrediKats/VkLibrary
VkApi.Wrapper/Objects/Account/AccountUserSettingsInterest.cs
312
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
51.765823
144
0.601663
[ "MIT" ]
DaeunYim/azure-powershell
src/ManagedServices/ManagedServices/Commands/NewAzureRmManagedServicesDefinition.cs
8,024
C#
namespace Patterns.Playground.AbstractFactory.Nutrition { public interface IHasCalories { double Calories { get; } } }
19.714286
55
0.688406
[ "MIT" ]
paulroho/Patterns.Playground
Patterns.Playground.AbstractFactory/Nutrition/IHasCalories.cs
138
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...
42.669565
192
0.654371
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/WorkLink/Generated/Model/Internal/MarshallTransformations/DisassociateWebsiteCertificateAuthorityResponseUnmarshaller.cs
4,907
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.475
84
0.652248
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Cdn/V20190615/Outputs/DeliveryRuleIsDeviceConditionResponse.cs
1,179
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
38.421875
192
0.664498
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/CostManagement/V20190101/Outputs/QueryDatasetResponse.cs
2,459
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...
36.609091
173
0.619568
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/ServiceCatalog/Generated/Model/Internal/MarshallTransformations/ProvisioningArtifactUnmarshaller.cs
4,027
C#
using System; using Build.DomainModel.MSBuild; namespace Build.TaskEngine.Tasks { internal sealed class PropertyGroupTask : ITaskRunner { private readonly ExpressionEngine.ExpressionEngine _expressionEngine; public PropertyGroupTask(ExpressionEngine.ExpressionEngine expressionEngine) { if (expressionEng...
25.72
105
0.785381
[ "MIT" ]
Kittyfisto/.NETBuild
Build/TaskEngine/Tasks/PropertyGroupTask.cs
645
C#
namespace Toggl.Foundation.MvvmCross.Helper { public enum UpcomingEventsOption { Disabled, WhenEventStarts, FiveMinutes, TenMinutes, FifteenMinutes, ThirtyMinutes, OneHour } }
17.428571
43
0.602459
[ "BSD-3-Clause" ]
AzureMentor/mobileapp
Toggl.Foundation.MvvmCross/Helper/UpcomingEventsOption.cs
244
C#
using Nssol.Platypus.Infrastructure; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Nssol.Platypus.Models.TenantModels { /// <summary> /// 前処理履歴用添付ファイル /// </summary> public class PreprocessHistoryAttachedFile : TenantModelBase ...
28.014925
157
0.533831
[ "Apache-2.0" ]
yonetatuu/kamonohashi
web-api/platypus/platypus/Models/TenantModels/PreprocessingHistoryAttachedFile.cs
1,983
C#
namespace FoodControl.Model { using System; public class NutrientAggregation { public decimal KiloCalories { get; set; } public decimal Fat { get; set; } public Nullable<decimal> Saturates { get; set; } public decimal Protein { get; set; } public decimal Carbohydrat...
28.352941
56
0.603734
[ "MIT" ]
MatthiasHoldorf/FoodControl
FoodControl/Model/ViewModel/NutrientAggregation.cs
484
C#
/** * $File: JCS_2DSideScrollerPlayer.cs $ * $Date: $ * $Revision: $ * $Creator: Jen-Chieh Shen $ * $Notice: See LICENSE.txt for modification and distribution information * Copyright (c) 2016 by Shen, Jen-Chieh $ */ using System; using UnityEngine; namespace JCSUnity { /// <summary> ...
29.788782
138
0.502604
[ "MIT" ]
jcs090218/JCSUnity
Assets/JCSUnity/Scripts/GameObject/2D/2DPlayer/JCS_2DSideScrollerPlayer.cs
34,029
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. namespace Mosa.Test.Collection { public static class Int8Tests { public static int AddI1I1(sbyte first, sbyte second) { return (first + second); } public static int SubI1I1(sbyte first, sbyte second) { return (first - second); } ...
18.70229
76
0.65102
[ "BSD-3-Clause" ]
Kintaro/MOSA-Project
Source/Mosa.Test.Collection/Int8Tests.cs
2,452
C#
using CodeWars; using NUnit.Framework; namespace CodeWarsTests { [TestFixture] public class SimpleFun131LearnCharitableGameTests { [Test] public void BasicTests() { var kata = new SimpleFun131LearnCharitableGame(); Assert.AreEqual(false, kata.LearnCharitabl...
29.36
101
0.615804
[ "MIT" ]
a-kozhanov/codewars.com_csharp
CodeWarsTests/7kyu/SimpleFun131LearnCharitableGameTests.cs
736
C#
using System.Collections.Generic; using System.Linq; using Blockfrost.Api.Generate.Contexts; using Microsoft.OpenApi.Models; namespace Blockfrost.Api.Generate { public class OpenApiDocumentContext : OpenApiContext { public OpenApiDocumentContext(System.IO.DirectoryInfo outputDir, OpenApiDocument specs...
34.546875
136
0.598824
[ "Apache-2.0" ]
blockfrost/blockfrost-donet
tools/Blockfrost.Api.Generate/OpenApiDocumentContext.cs
2,213
C#
using FontStashSharp; using Microsoft.Xna.Framework; using OlympUI; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Olympus { public partial class HeaderBig : Label { public static readonl...
21.948718
63
0.584112
[ "MIT" ]
0x0ade/Olympus.FNA
Olympus.FNA/Elements/LabelStyles.cs
1,714
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azur...
49.737316
499
0.586058
[ "MIT" ]
damodaravadhani/azure-sdk-for-net
sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/FarmsClient.cs
60,779
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
33.677419
153
0.58908
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IWorkbookFunctionsIsLogicalRequest.cs
2,088
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace kubernetes_hello_world_demo { public class Prog...
27.222222
71
0.629932
[ "MIT" ]
cloudblockandbeyond/kubernetes-hello-world-demo
kubernetes-hello-world-demo/Program.cs
735
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; namespace HashMapImplementation { /* * Reviewing what a hashmap actually is, I use it all the time, * but don't actually understand wha...
37.994819
157
0.602891
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
JayGarxP/InterviewPrep
CtCI/1_Arrays_Strings/HashMapandTableComparisons-C#-VS/HashMapImplementation/Program.cs
7,335
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace BSMatchMaker { static class Program { /// <summary> /// アプリケーションのメイン エントリ ポイントです。 /// </summary> [STAThread] static void Main() { Application.EnableVisualSty...
24
65
0.611842
[ "Apache-2.0" ]
hhosaka/BSMatchMaker
Program.cs
504
C#
using System; using System.Collections.Generic; using System.Windows.Input; using Xamarin.Essentials; using Xamarin.Forms; using UpcomingMoviesMob.Core; using UpcomingMoviesMob.Models; using System.Collections.ObjectModel; using UpcomingMoviesMob.Views; namespace UpcomingMoviesMob.ViewModels { public class AboutV...
33.223529
136
0.551346
[ "MIT" ]
catsbyy/movies-are-coming-android
UpcomingMoviesMob/ViewModels/AboutViewModel.cs
2,826
C#
/* * MundiAPI.Standard * * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). */ using System; using System.Collections.Generic; using System.Dynamic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using MundiAPI.Standard; using MundiAP...
34.078947
98
0.693436
[ "MIT" ]
mundipagg/MundiAPI-NetStandard
MundiAPI.Standard/Controllers/ITransactionsController.cs
1,295
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SamuraiApp.Data; namespace Samur...
35.638554
125
0.478026
[ "MIT" ]
DiracSpace/EF-Core
SamuraiApp.Data/Migrations/20210211201748_battledates.Designer.cs
5,918
C#
using System; using System.Linq; using Android.Content; using Toggl.Foundation.Services; using Toggl.PrimeRadiant.Settings; namespace Toggl.Giskard.Services { public sealed class SharedPreferencesStorageAndroid : KeyValueStorage { private readonly ISharedPreferences sharedPreferences; public ...
28.91358
84
0.595645
[ "BSD-3-Clause" ]
AzureMentor/mobileapp
Toggl.Giskard/Services/SharedPreferencesStorageAndroid.cs
2,344
C#
namespace Piranha.Jawbone.Sqlite { // https://www.sqlite.org/lang_conflict.html public enum ConflictResolution { Default = 0, Replace = 1, Rollback = 2, Abort = 3, Fail = 4, Ignore = 5 } }
18.071429
48
0.529644
[ "Unlicense" ]
ObviousPiranha/Jawbone
Piranha.Jawbone/Sqlite/ConflictResolution.cs
253
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.574468
97
0.633094
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Cdn/V20171012/Outputs/CacheExpirationActionParametersResponse.cs
1,390
C#
using System.Collections.Generic; using System.Reflection; using System.Runtime.Serialization; using System.Diagnostics; using System.Globalization; using Macross.Json.Extensions; namespace System.Text.Json.Serialization { #pragma warning disable CA1812 // Remove class never instantiated internal class JsonStringEn...
29.883162
147
0.693307
[ "MIT" ]
tsvx/core
ClassLibraries/Macross.Json.Extensions/Code/System.Text.Json.Serialization/JsonStringEnumMemberConverter{T}.cs
8,698
C#
using System; namespace Elreg.GhostCarService.Replay { public interface IPlayer { void Start(); void Stop(); void Finish(); void Pause(); void Restart(); int LapCount { get; } DateTime? TimeStampOfLastLap { get; } event EventHandler L...
25
52
0.56
[ "MIT" ]
Heinzman/DigiRcMan
VisualStudio/Sources/GhostCarService/Replay/IPlayer.cs
475
C#
/* ######### ############ ############# ## ########### ### ###### ##### ### ####### #### ### ########## #...
27.893333
95
0.294216
[ "Apache-2.0" ]
13751742405/Miku-LuaProfiler
LuaProfiler/Tools/InjectAPKTool/InjectToLua/DLL/Core/Driver/List.cs
4,224
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Core.Entities.Concrete { public class UserOperationClaim : IEntity { [Key] public int Id { get; set; } public int ...
22.166667
49
0.681704
[ "MIT" ]
tuncerrstm/ReCapProject
Core/Entities/Concrete/UserOperationClaim.cs
401
C#
using System.Collections.Generic; using System.Linq; using MapzenGo.Helpers; using MapzenGo.Models.Factories; using MapzenGo.Models.Settings; using UnityEngine; using UnityEngine.UI; namespace MapzenGo.Models { public class PoiFactory : Factory { [SerializeField] private GameObject _labelPrefab; ...
38.063291
128
0.586299
[ "MIT" ]
Galahaddruid/MapzenGo
Assets/MapzenGo/Models/Factories/PoiFactory.cs
3,009
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Http.Features { /// <summary> /// Provides information regarding TLS token binding parameters. /// </summary> /// <remarks> /// TLS...
46
89
0.669686
[ "MIT" ]
48355746/AspNetCore
src/Http/Http.Features/src/ITlsTokenBindingFeature.cs
1,656
C#
using GaiaProject.Engine.Enums; using MongoDB.Bson.Serialization.Attributes; namespace GaiaProject.Engine.Model.Actions { [BsonDiscriminator(nameof(RescoreFederationTokenAction))] public class RescoreFederationTokenAction : PlayerAction { public override ActionType Type => ActionType.RescoreFederationToken; pu...
28.117647
71
0.788703
[ "MIT" ]
Etchelon/gaiaproject
Backend/Libraries/Engine/Model/Actions/RescoreFederationTokenAction.cs
480
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; namespace Nest { [MapsApi("g...
42.634615
146
0.77041
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
src/Nest/XPack/Graph/Explore/GraphExploreRequest.cs
2,217
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; namespace UserTestsModels { public class User { public User() { } public string Auth0Id { get; set; } public int Revap...
20.411765
44
0.674352
[ "MIT" ]
210503-Reston-KwikKoder/Back-End-Tests
UTBE/UserTestsModels/User.cs
347
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. #nullable disable using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; ...
41.160083
178
0.499697
[ "MIT" ]
JS-SiL/roslyn
src/Compilers/CSharp/Test/Semantic/Semantics/OverloadResolutionPerfTests.cs
19,800
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Umbraco.ModelsBuilder v3.0.10.102 // // Changes to this file will be lost if the code is regenerated. // </auto-generated> //-------------------------------------------...
35.085106
157
0.728017
[ "MIT" ]
jncc/jncc-website
src/JNCC.PublicWebsite.Core/Models/ScienceDetailsIndividualSectionSliderSchema.generated.cs
3,298
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...
40.805556
177
0.641026
[ "ECL-2.0", "Apache-2.0" ]
johnktims/pulumi-aws
sdk/dotnet/RedShift/SnapshotScheduleAssociation.cs
4,407
C#
/**************************************************************************** * GenBankFeaturesBvtTestCases.cs * * This file contains the GenBank Features Bvt test cases. * ***************************************************************************/ using System; using System.Collections.Generic; using System...
48.226287
131
0.590894
[ "Apache-2.0" ]
jdm7dv/Microsoft-Biology-Foundation
Tests/Bio.TestAutomation/IO/GenBank/GenBankFeaturesBvtTestCases.cs
71,184
C#
// Cinema Suite using UnityEngine; namespace CinemaDirector { /// <summary> /// A helper class for Unity's AnimationCurve class. /// Made to account for tangent mode of keys when adding/changing/removing keys. /// </summary> public static class AnimationCurveHelper { /// <summary> ...
34.426332
109
0.460025
[ "MIT" ]
craftweak/ChaoHsiang_desktop
Assets/Cinema Suite/Cinema Director/System/Runtime/Helpers/AnimationCurveHelper.cs
10,984
C#
namespace EA.Weee.RequestHandlers.Tests.Unit.AatfReturn { using Core.AatfReturn; using Domain.AatfReturn; using EA.Weee.RequestHandlers.Security; using EA.Weee.Tests.Core; using FakeItEasy; using FluentAssertions; using Prsd.Core.Mapper; using RequestHandlers.AatfReturn; using Reque...
34.761905
178
0.627671
[ "Unlicense" ]
DEFRA/prsd-weee
src/EA.Weee.RequestHandlers.Tests.Unit/AatfReturn/GetAatfInfoByOrganisationRequestHandlerTests.cs
3,652
C#
using UnityEngine; namespace Assets.Script { public class Jogador : MonoBehaviour { private Rigidbody2D _rigidbody2D; private Vector3 _posicaoInicial; private bool _deveImpulsionar; private Animator _animator; public Diretor Diretor; public float Forca; ...
24.4
96
0.53657
[ "MIT" ]
flaviogf/Cursos
alura/curso_unity2d/Assets/Script/Jogador.cs
1,588
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using HelloRandom.Service; using Microsoft.AspNetCore.Mvc; namespace HelloRandom.Controllers { [Route("api/[controller]")] public class Random2Controller : Controller { // GET api/values [HttpG...
19.26087
55
0.65237
[ "Apache-2.0" ]
ElandGroup/HelloRandom
src/HelloRandom/Controllers/Random2Controller.cs
445
C#
using Mitigate.Utils; using System; using System.Collections.Generic; namespace Mitigate.Enumerations { class UnknownDLLs : Enumeration { public override string Name => "Prevent Execution of Unknown DLLs"; public override string MitigationType => MitigationTypes.ExecutionPrevention; ...
38.142857
293
0.571629
[ "MIT" ]
moullos/Mitigate
Mitigate/Enumerations/ExecutionPrevention/UnknownDLLs.cs
2,138
C#
using System; using System.Linq; using System.Threading.Tasks; using AsyncOAuth; using Fitbit.Models; using RequestToken = Fitbit.Models.RequestToken; namespace Fitbit.OAuth1Migration { public class Authenticator { public string ConsumerKey { get; private set; } public string ConsumerSecret { ...
41.593407
166
0.637781
[ "MIT" ]
NagendraSUVCE/Fitbit.NET
OAuth1Migration/Fitbit.OAuth1Migration/Authenticator.cs
3,787
C#
using System.Collections.Generic; namespace GTA.Plugins.Common { public sealed class PointTypeCheckpoint : BasePointType<PointTypeCheckpoint> { internal Dictionary<int, int> pointT; // ------------------------------------------------------------------------------------------------------...
34.695652
135
0.393484
[ "Apache-2.0" ]
wmysterio/gta-script-generator
GTA.SA/Plugins/Common/Races/Points/PointTypeCheckpoint.cs
800
C#
using netDxf; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Forms; using System.Windows.Media; namespace NetDXFvi...
32.559783
167
0.599566
[ "Apache-2.0" ]
HuLiangGit/Media_AramToHandPro001
NetDXFviwerWinform/Form1.cs
5,993
C#
// This file is licensed to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Runtime.Serialization; namespace Spines.Hana.Blame.Services.ReplayManager { [DataContract] public class Agari { /// <summary> /// The pl...
26.380952
86
0.604693
[ "MIT" ]
spinesheath/HanaMahjong
Spines.Hana.Blame/Spines.Hana.Blame/Services/ReplayManager/Agari.cs
1,108
C#
namespace MoogleEngine; // This class contains all utility methods used in the proyect. internal static class Utils { /// <summary> /// Computes the TF of an entire document. /// </summary> /// <param name="rawDocument">The raw frequencies of each term in the document.</param> /// <returns>An array...
40.045845
143
0.596666
[ "MIT" ]
leoamaro01/moogle-2021
MoogleEngine/Utils.cs
13,978
C#
using Assets.Gamelogic.Core; using UnityEngine; using UnityEngine.UI; namespace Assets.Gamelogic.UI { public class SpellsPanelController : MonoBehaviour { private static Image lightningCircleIcon; private static Image rainCircleIcon; private static Image lightningSpellIcon; priv...
37.885714
120
0.674962
[ "MIT" ]
JoshuaSmith117/HelloWorldSOS
workers/unity/Assets/Gamelogic/UI/SpellsPanelController.cs
1,326
C#
// (c) Copyright Crainiate Software 2010 using System; using System.Drawing; namespace Crainiate.Diagramming { [Serializable] public class Controller { //Property variables private Views _views; private Model _model; private ClipboardCommand _command; private Clipboard _clipboard;...
27.40378
293
0.510063
[ "BSD-3-Clause" ]
Mohllal/FlowchartConverter
Crainiate.Diagramming/Controller.cs
15,949
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("Un...
38.459459
84
0.749824
[ "MIT" ]
Maxtorque/Datatype-and-Variables2
UnicodeCharacter/UnicodeCharacter/Properties/AssemblyInfo.cs
1,426
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. namespace IdentityServer.AuthIdentity.Quickstart.Consent { public class ConsentOptions { public static bool EnableOfflineAcce...
43.470588
127
0.753721
[ "MIT" ]
Olek-HZQ/IdentityServerManagement
src/IdentityServer.AuthIdentity/Quickstart/Consent/ConsentOptions.cs
741
C#
using System; namespace OCP.Migration { /** * Repair step * @since 9.1.0 */ public interface IRepairStep { /** * Returns the step's name * * @return string * @since 9.1.0 */ string getName(); /** * Run repair ste...
16.8125
48
0.449814
[ "MIT" ]
mindfocus/nextcloud_net
publicApi/OCP/Migration/IRepairStep.cs
540
C#
#nullable enable using System.Threading; using System.Threading.Tasks; using BTCPayServer.Abstractions.Contracts; using BTCPayServer.Data; using BTCPayServer.Events; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Caching.Memory; using Newtonsoft.Json; namespace BTCPayServer.Services { public class...
36.411111
136
0.600549
[ "MIT" ]
BTCparadigm/btcpayserver
BTCPayServer/Services/SettingsRepository.cs
3,277
C#
// // Copyright (c) 2012-2016 Krueger Systems, Inc. // // 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...
24.929119
151
0.655037
[ "MIT" ]
jsdelivrbot/mpos-net-sdk
PagarMe.Mpos/Tms/SQLiteAsync.cs
13,013
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using Azure.Core.Http; using Azure.Core.Pipeline; namespace Azure.Core.Testing { public class RecordMatch...
38.617778
211
0.577627
[ "MIT" ]
Only2125/azure-sdk-for-net
sdk/core/Azure.Core/tests/TestFramework/RecordMatcher.cs
8,691
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 16.05.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
27.421429
138
0.544152
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/NotEqual/Complete2__objs/TimeOnly/String/TestSet_504__param__02__VN.cs
3,841
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.VisualStudio.Editors.Pr...
39.520619
190
0.654754
[ "Apache-2.0" ]
jasonmalinowski/project-system
src/Microsoft.VisualStudio.Editor.UnitTests/PropertyPages/Mocks/FakePropertyPageHosting/FakePropertyPageHosting_Base.cs
7,667
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using JsonPatch.Paths; namespace JsonPatch { public class JsonPatchDocument<TEntity> : IJsonPatchDocument where TEntity : class, new() { private List<JsonPatchO...
38.460674
148
0.569968
[ "MIT" ]
mindingdata/JsonPatch
src/JsonPatch/JsonPatchDocument.cs
3,425
C#
/* Copyright (C) 2019 Alex Watt (alexwatt@hotmail.com) This file is part of Highlander Project https://github.com/alexanderwatt/Hghlander.Net Highlander is free software: you can redistribute it and/or modify it under the terms of the Highlander license. You should have received a copy of the license along wit...
30.684932
87
0.591071
[ "BSD-3-Clause" ]
mmrath/Highlander.Net
Metadata/FpML.V5r10/FpML.V5r10.Reporting.Models/Futures/IFuturesAssetParameters.cs
2,242
C#
using System.Collections.Generic; namespace TestNinja.Fundamentals { public class Math { public int Add(int a, int b) { if (a == b) { return a; } return a + b; } public int Sub(int a, int b) { ...
18.863636
57
0.330924
[ "MIT" ]
mdaniyalkhann/SampleTests
TestNinjaCore/Fundamentals/Math.cs
1,245
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public const float JUMP_FORCE = 8f; private Rigidbody2D rigidBody; public LayerMask groundMask; //Creamos una variable LayerMask que referiense a la capa del suelo private Ani...
29.477707
134
0.583405
[ "MIT" ]
alexFiorenza/SpaceMan-Game
SpaceMan Platzi/Assets/Scripts/PlayerController.cs
4,630
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.132075
81
0.61658
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20200301/Outputs/ConnectionMonitorEndpointResponse.cs
1,544
C#
using System.Threading; using System.Threading.Tasks; using Mediator.Net.Context; using Mediator.Net.Contracts; using Mediator.Net.TestUtil.Messages; using Mediator.Net.TestUtil.TestUtils; namespace Mediator.Net.TestUtil.Handlers.EventHandlers { public class DerivedEventHandler : IEventHandler<DerivedEvent> {...
29.210526
102
0.740541
[ "Apache-2.0" ]
JiaZhenLin/Mediator.Net
src/Mediator.Net.TestUtil/Handlers/EventHandlers/DerivedEventHandler.cs
557
C#
using Catalog.API.Entities; using Catalog.API.Repositories; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Catalog.API.Controllers { [ApiController] ...
34.752941
100
0.652674
[ "MIT" ]
GC-Learning/netcore-microservices
src/Services/Catalog/Catalog.API/Controllers/CatalogController.cs
2,956
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Remutable.Tests { [TestClass] public class InheritedPropertiesTests { [TestMethod] public void TestBaseInheritedProperty1_Success() { var instance = new InheritedType4("prop1", "prop2", "prop3", "prop4"); ...
41.090909
104
0.606195
[ "MIT" ]
ababik/Remute
Remute.Tests/InheritedPropertiesTests.cs
1,808
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...
35.683698
172
0.609573
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/RecoveryServices/Outputs/InMageAzureV2ReplicationDetailsResponse.cs
14,666
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://www.apache.org/licenses/LICENSE-2.0 * * or in the...
40.506494
111
0.641552
[ "Apache-2.0" ]
costleya/ion-dotnet
Amazon.IonDotnet.Tests/Internals/TextReaderTimestampTest.cs
3,121
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Havit.Diagnostics.Contracts; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Forms; using Microsoft.AspNetCore.Co...
34.632075
187
0.726369
[ "MIT" ]
robertmclaws/Havit.Blazor
Havit.Blazor.Components.Web/Files/HxInputFileCore.cs
7,344
C#
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unle...
42.026087
135
0.63832
[ "MIT" ]
AzureDataBox/azure-powershell
src/ResourceManager/Network/Commands.Network/RouteTable/GetAzureRMRouteTableCommand.cs
4,719
C#
using DiabloSharp.Attributes; namespace DiabloSharp.Models { public enum ItemEquipmentSlot { [LocalizationEnUs("Head")] Head, [LocalizationEnUs("Shoulders")] Shoulders, [LocalizationEnUs("Neck")] Neck, [LocalizationEnUs("Torso")] Torso, [L...
23.735294
42
0.55886
[ "MIT" ]
leardev/DiabloSharp
src/DiabloSharp/Models/ItemEquipmentSlot.cs
807
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using NodaTime; using PluralKit.Core; namespace PluralKit.API { public struct MessageReturn { [JsonProperty("timestamp")] public Instant Timestamp; [JsonProperty("id")] public st...
30.551724
109
0.606659
[ "Apache-2.0" ]
PrincessAmi/ModdedPluralKit
PluralKit.API/Controllers/MessageController.cs
1,772
C#
using System; namespace Tamir.SharpSsh.jsch { /* -*-mode:java; c-basic-offset:2; -*- */ /* Copyright (c) 2002,2003,2004 ymnk, JCraft,Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
37.24
79
0.723237
[ "BSD-3-Clause" ]
3rdandUrban-dev/Nuxleus
linux-distro/package/nuxleus/Source/Vendor/sharpssh/SharpSSH/jsch/RequestWindowChange.cs
2,793
C#
using System.Collections.Generic; namespace Unleash.Communication { internal class UnleashApiClientRequestHeaders { public string AppName { get; set; } public string InstanceTag { get; set; } public Dictionary<string,string> CustomHttpHeaders { get; set; } } }
27.909091
75
0.67101
[ "Apache-2.0" ]
AndreasChristianson/unleash-client-core
src/Unleash/Communication/UnleashApiClientRequestHeaders.cs
309
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...
31.338235
112
0.607227
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/databox/Microsoft.Azure.Management.DataBox/src/Generated/Models/TransferConfigurationTransferAllDetails.cs
2,131
C#
using Movement; using Editions; using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public static class DirectionsMenu { private static readonly float WarningPanelHeight = 55f; public static bool IsVisible { get { return DirectionsWindow != null && DirectionsW...
38.598007
261
0.597005
[ "MIT" ]
nickell-andrew/FlyCasual
Assets/Scripts/View/UI/DirectionsMenu.cs
11,620
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Globalization; using System.Linq; using System.Text; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Text...
45.168807
243
0.601454
[ "Apache-2.0" ]
acesiddhu/roslyn
src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxFactoryTests.cs
24,619
C#
using System; using System.Collections.Generic; using System.IO; using System.IO.MemoryMappedFiles; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; using System.Threading; namespace lxssex.RPC { public class Channel : IDis...
46.102981
240
0.552375
[ "MIT" ]
DjArt/lxssex
src/Shared/lxssex.RPC/Channel.cs
17,014
C#
using System; using Ncqrs.Eventing.Sourcing; namespace Events { [Serializable] public class NoteTextChanged : SourcedEvent { public Guid NoteId { get; set; } public String NewText { get; set; } } } ...
15.285714
48
0.464174
[ "Apache-2.0" ]
SzymonPobiega/ncqrs
Samples/MyNotes/src/Events/NoteTextChanged.cs
323
C#
// Copyright (c) Amer Koleci and contributors. // Distributed under the MIT license. See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; using SharpGen.Runtime; using Vortice.Direct2D1; namespace Vortice.DirectWrite { internal class IDWriteTextRender...
56.791045
304
0.583837
[ "MIT" ]
Ethereal77/Vortice.Windows
src/Vortice.Direct2D1/DirectWrite/IDWriteTextRendererShadow.cs
7,612
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace gcl2 { public class GrammaticException : SintacticParserException { public Symbol Producer { get; private set; } public List<LinkedList<Symbol>> Productions { get; private set; } public Gra...
27
111
0.643347
[ "MIT" ]
Isracg/GCL
gcl2/GrammaticException.cs
731
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 w...
42.428571
98
0.709175
[ "MIT" ]
readerboy17/SE-4220_UI-elementsWPF
UI-elementsWPF/Properties/AssemblyInfo.cs
2,379
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using AppNetDotNet.Model; using Newtonsoft.Json; namespace AppNetDotNet.ApiCalls { public class Broadcasts { // public Broadcast.Channel create_channel(string title, string description, List<string> editor...
45.301724
149
0.630067
[ "BSD-3-Clause" ]
liGhun/AppNet.NET
AppNetDotNet/ApiCalls/Broadcasts.cs
5,257
C#
/* BehaviourTreeDesigner Copyright (c) 2021 David McDonagh 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, modif...
43.331633
113
0.709172
[ "MIT" ]
toastisme/BehaviourTreeDesigner
Tests/Runtime/BehaviourTreeStructureTests.cs
8,493
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.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; namespace System.Reflection.Emit { public partial class ILGenerator { internal ILGenera...
22.061798
161
0.564808
[ "MIT" ]
LoopedBard3/runtime
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Reflection/Emit/ILGenerator.cs
3,929
C#
// Copyright (c) 2020, UW Medicine Research IT, University of Washington // Developed by Nic Dobbins and Cliff Spital, CRIO Sean Mooney // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://moz...
29.944444
79
0.653061
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
BayesianGraph/leaf
src/server/API/DTO/Cohort/DatasetDTO.cs
1,080
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Internal { using System.Collections; using System.ComponentModel; using System.Data.Entity.Infrastructure; using System.Data.Entity.Resource...
29.65
133
0.581547
[ "Apache-2.0" ]
CZEMacLeod/EntityFramework6
src/EntityFramework/Internal/InternalSqlQuery.cs
4,153
C#
namespace CityBreaks.Models { public class Property { } }
11.666667
28
0.628571
[ "MIT" ]
mikebrind/Razor-Pages-In-Action
Chapter07/DependencyInversionPrincipal/CityBreaks/Models/Property.cs
72
C#
using System.Collections.Generic; using UnityEngine; namespace Oxide.Plugins { [Info("Bye Fireballs", "Ryz0r", "1.0.2")] [Description("Removes fireballs from MiniCopter crashes.")] public class ByeFireballs : RustPlugin { private void OnEntitySpawned(BaseHelicopterVehicle m) { ...
24.266667
63
0.648352
[ "MIT" ]
nackerr/uMod-Plugins
Plugins/ByeFireballs.cs
364
C#
namespace BabelBot.Receiver.Commands; public class NoDefaultCommandException : Exception { public NoDefaultCommandException() : base("No default command set up") { } }
24.714286
78
0.774566
[ "MIT" ]
RauchF/BabelBot
src/BabelBot.Receiver.Commands/Exceptions/NoDefaultCommandException.cs
173
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Text; using Silk.NET.Core.Native; using Ultz.SuperInvoke; #pragma warning disable 1591 namespace S...
26.025641
85
0.681773
[ "MIT" ]
AzyIsCool/Silk.NET
src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCompilerControlCreateInfoAMD.gen.cs
1,015
C#
// Copyright 2016 Esri // // 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 writin...
31.024691
142
0.632312
[ "Apache-2.0" ]
ArcGIS/distance-direction-addin-dotnet
source/addins/ArcMapAddinDistanceAndDirection/ArcMapAddinDistanceAndDirection/ViewModels/MainViewModel.cs
2,515
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using XiaoQi.EFCore; using XiaoQi.EFCore.Models; using XiaoQi.IService; using XiaoQi.Model; namespace XiaoQi.Contro...
31.707071
93
0.503345
[ "Apache-2.0" ]
xiaoqiyaozou1/XiaoQi
XiaoQi/Controllers/XqArticleLookController .cs
3,179
C#