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 MSFramework.Application; using MSFramework.Shared; using Ordering.Domain.AggregateRoots; namespace Ordering.Application.Commands { public class ChangeOrderAddressCommand : IRequest { public Address NewAddress { get; set; } public ObjectId OrderId { get; set; } } }
20.428571
50
0.762238
[ "MIT" ]
jonechenug/MSFramework
src/Ordering.Application/Commands/ChangeOrderAddressCommand.cs
288
C#
// MIT License // Copyright (c) 2011-2016 Elisée Maurer, Sparklin Labs, Creative Patterns // Copyright (c) 2016 Thomas Morgner, Rabbit-StewDio Ltd. // 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 ...
34.085714
173
0.692205
[ "MIT" ]
RabbitStewDio/Steropes.UI
src/Steropes.UI/Components/Window/Events/MouseClickDetector.cs
5,968
C#
// // Klak - Utilities for creative coding with Unity // // Copyright (C) 2016 Keijiro Takahashi // // 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 l...
35.206612
91
0.612441
[ "MIT" ]
Adjuvant/videolab
Assets/Klak/Wiring/Editor/Output/MaterialColorOutEditor.cs
4,260
C#
using InfluxDB.Client.Core; using System; using System.Collections.Generic; using System.Reflection; using System.Text; using System.Text.Json; namespace NetCoreUtils.Database.InfluxDb { public class MeasurementBase { [Column(IsTimestamp = true)] public DateTime Time { get; set; } /// <summar...
30.987013
135
0.520536
[ "MIT" ]
li-rongcheng/NetCoreUtils
NetCoreUtils.Database/NetCoreUtils.Database.InfluxDb/MeasurementBase.cs
2,388
C#
using M5.BitArraySerialization; using ProtoBuf; using System; using static Pineapple.Common.Preconditions; namespace M5.BloomFilter.Serialization { [ProtoContract] public class BloomFilter { public BloomFilter() { } public BloomFilter(IBloomFilter bloomFilter) { ...
25
85
0.547368
[ "Apache-2.0" ]
MILL5/M5.BloomFilter
M5.BloomFilter.Serialization.ProtoBuf/BloomFilter.cs
1,427
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Threading; namespace Azure { /// <summary> /// Options that can be used to control the behavior of a request sent by a client. /// </summary> public class RequestContext : RequestOptions {...
32.975
126
0.605004
[ "MIT" ]
Kyle8329/azure-sdk-for-net
sdk/core/Azure.Core/src/RequestContext.cs
1,321
C#
using System; namespace CCLLC.Core { public interface ICache { void Add(string key, object data, TimeSpan lifetime); void Add(string key, object data, int seconds); void Add<T>(string key, T data, TimeSpan lifetime); void Add<T>(string key, T data, int seconds); obj...
18.666667
61
0.598214
[ "MIT" ]
ScottColson/CCLLCBusinessTransactionFramework
CDS/CCLLC.BTF.Process.CDSSolution/Plugins/App_Packages/CCLLC.Core.ProcessModel.1.1.5/Interfaces/ICache.cs
450
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...
39.028571
143
0.65715
[ "Apache-2.0" ]
Melvinerall/aws-sdk-net
sdk/src/Services/SageMakerRuntime/Generated/Model/Internal/MarshallTransformations/InvokeEndpointRequestMarshaller.cs
4,098
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { #pragma warning disable CS8618 [JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementOrStatementStatementOrStatementStatementAndStatementStatementSizeConstraintStatementFieldToMatchSingleHeader")] public class Wafv2We...
38.8
289
0.787371
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/Wafv2WebAclRuleStatementOrStatementStatementOrStatementStatementAndStatementStatementSizeConstraintStatementFieldToMatchSingleHeader.cs
776
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.52
81
0.634824
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataMigration/Outputs/ConnectToTargetSqlDbTaskOutputResponse.cs
1,476
C#
using System; namespace ToHUI { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
13.307692
46
0.50289
[ "Apache-2.0" ]
210215-USF-NET/I.G-code
code_week1/Firstcode/TourofHeroes/ToHUI/Program.cs
175
C#
using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Chasejyd.Rockstar { public class BlondeAmbitionCardController : RockstarCardController { public BlondeAmbitionC...
50.819672
359
0.609677
[ "MIT" ]
wrhyme29/ChasejydMods
Controller/Heroes/Rockstar/Cards/BlondeAmbitionCardController.cs
3,102
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> //---...
46
138
0.683946
[ "MIT" ]
tahmidradit/DNEBlazor
DNEBlazor/obj/Debug/net6.0/DNEBlazor.AssemblyInfo.cs
1,196
C#
/* Copyright 2011 repetier repetierdev@gmail.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
34.8375
117
0.457122
[ "ECL-2.0", "Apache-2.0" ]
KouOuchi/Repetier-Host
src/RepetierHost/model/IniManager.cs
5,576
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.CodeDom; using System.Linq; using Microsoft.TestCommon; namespace System.Web.Mvc.Test { public class ViewUserControlControlBuilderTes...
32.395349
111
0.630294
[ "Apache-2.0" ]
1508553303/AspNetWebStack
test/System.Web.Mvc.Test/Test/ViewUserControlControlBuilderTest.cs
1,395
C#
// Copyright (c) Huy Hoang. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Dash.Engine; using FluentAssertions; using Xunit; namespace Dash.Tests.Engine { public class BuildOutputTests { [Fact] public void...
26.129032
107
0.504938
[ "Apache-2.0" ]
dotnet-dash/dash
src/Dash/test/Dash.Tests/Engine/BuildOutputTests.cs
3,242
C#
using System.Collections.Generic; using System.Linq; using Duality.Editor.Plugins.Base.Properties; using Duality.Resources; namespace Duality.Editor.Plugins.Base.UndoRedoActions { public class ClearAtlasAction : UndoRedoAction { private Pixmap[] pixmaps = null; private List<Rect[]> originalRects = null; p...
23.45283
93
0.686243
[ "MIT" ]
AdamsLair/duality
Source/Plugins/EditorBase/UndoRedoActions/ClearAtlasAction.cs
1,245
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace ParticleEmitter { public struct ParticleGeneratorOptions { /// <summary> /// The Texture to use for the particles /// </summary> public Texture2D Texture; /// <summary> /// ...
27.412698
83
0.567458
[ "MIT" ]
manbeardgames/particle-emitter
source/ParticleEmitter/ParticleGeneratorOptions.cs
1,729
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Application.OrderForms.Queries.GetFormInformations { public class GetFormInformationDto { public string TemplateName { get; set; } public string Type { get; set; } ...
26
60
0.688034
[ "MIT" ]
hub-burgan-com-tr/bbt.endorsement
src/Application/OrderForms/Queries/GetFormInformations/GetFormInformationDto.cs
470
C#
using NUnit.Framework; using System; using System.Collections.Generic; namespace Exercise.Tests { [TestFixture] public class ListIteratorTests { private ListIterator listIterator; [SetUp] public void SetUp() { this.listIterator = new ListIterator(new List<strin...
21.41573
100
0.498426
[ "MIT" ]
Koceto/SoftUni
C# Fundamentals/C# OOP Advanced/Unit Testing/Exercise.Tests/ListIteratorTests.cs
1,908
C#
// Copyright (c) Microsoft Open Technologies, Inc. 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.Collections.Immutable; using System.Globalization; using System.Linq; usin...
46.533333
238
0.596154
[ "Apache-2.0" ]
codemonkey85/roslyn
Src/Compilers/CSharp/Test/Semantic/Diagnostics/DiagnosticAnalyzerTests.cs
18,148
C#
namespace OJS.Web { using System.Web.Optimization; public class BundleConfig { public static void RegisterBundles(BundleCollection bundles) { RegisterScripts(bundles); RegisterStyles(bundles); } private static void RegisterScripts(BundleCollection b...
42.030303
89
0.549748
[ "MIT" ]
SveGeorgiev/OpenJudgeSystem
Open Judge System/Web/OJS.Web/App_Start/BundleConfig.cs
2,776
C#
using System; namespace AstRoslyn { public class TypeIntent { public Type Type { get; set; } public int Intent { get; set; } } }
13.333333
39
0.56875
[ "MIT" ]
arise-project/iso3
AstGraphDbConnector/AstRoslyn/TypeIntent.cs
162
C#
using AskMe.API.Controllers; using AskMe.API.Models; using AskMe.Domain.Interfaces; using AskMe.Domain.Models; using AutoBogus; using AutoMapper; using FluentAssertions; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Moq; using System.Collections.Generi...
32.214876
124
0.608517
[ "MIT" ]
x17127271/AskMeAPI
AskMe.UnitTest/API/Controllers/ExamsControllerTests.cs
3,900
C#
// // ResolveAssemblyReference.cs: Searches for assembly files. // // Author: // Marek Sieradzki (marek.sieradzki@gmail.com) // Ankit Jain (jankit@novell.com) // // (C) 2006 Marek Sieradzki // Copyright 2009 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtai...
32.688615
119
0.709736
[ "Apache-2.0" ]
3-1415926/mono
mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/ResolveAssemblyReference.cs
23,830
C#
using Sokoban.Model; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace Sokoban { public class Parser { private Maze _maze; private int _level; public Parser(int level) { _level = level; ...
32.86747
107
0.375733
[ "Apache-2.0" ]
StijnvH00/modl3_Sokoban
Sokoban/Sokoban/ViewModel/Parser.cs
2,730
C#
using FluentValidation; using SyncTrayzor.Properties; using System; namespace SyncTrayzor.Pages.Settings { public class SyncthingAddressValidator : AbstractValidator<SettingItem<string>> { public SyncthingAddressValidator() { RuleFor(x => x.Value).NotEmpty().WithMessage(R...
38.25
159
0.595861
[ "MIT" ]
Bararie/SyncTrayzor
src/SyncTrayzor/Pages/Settings/SyncthingAddressValidator.cs
897
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #nullable enable #pragma warning disable CS0618 // Type or member is obsolete using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Framework; using DocumentFor...
47.787013
173
0.620394
[ "MIT" ]
929496959/Open-XML-SDK
src/DocumentFormat.OpenXml/GeneratedCode/schemas_openxmlformats_org_officeDocument_2006_custom-properties.g.cs
36,798
C#
// Copyright 2019 谭杰鹏. All Rights Reserved //https://github.com/JiepengTan using System; using Lockstep.Math; namespace Lockstep.PathFinding { public class Plane { private static long serialVersionUID = -1240652082930747866L; public LVector3 normal = new LVector3(); // 单位长度 public LFloat...
27.33
117
0.532748
[ "MIT" ]
XingHong/SimpleLockStepClient
Assets/Engine.LockstepEngine/Src/PathFinding/NavMesh/Geometry/Plane.cs
2,751
C#
 // Write a program to convert decimal numbers to their binary representation. using System; class DecimalToBinary { /// <summary> /// Check if the input data is valid /// </summary> /// <param name="numberString">String entered from the user</param> /// <returns>Valid integer</returns> stat...
28.196262
124
0.567783
[ "MIT" ]
PetarMetodiev/Telerik-Homeworks
C# Part 2/04.Numeral_Systems/NumeralSystems/01.DecimalToBinary/DecimalToBinary.cs
3,019
C#
namespace GameMath.Tests.Intersections { using NUnit.Framework; public class RectangleIntersectionTests { #region Public Methods and Operators [Test] public void TestNotRectangleIntersectsCircle() { // ARRANGE. var rectangle = new RectangleF(new Vec...
30.4
95
0.554426
[ "MIT" ]
npruehs/game-math
Source/GameMath.Tests/Intersections/RectangleIntersectionTests.cs
1,674
C#
namespace Lykke.OneSky.Json { public interface IProjectType { string Code { get; } string Name { get; } } }
15.222222
33
0.562044
[ "MIT" ]
LykkeCity/Lykke.OneSky
OneSky.CSharp/OneSky.CSharp/Json/Objects/IProjectType.cs
139
C#
#if !NETSTANDARD13 /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 ...
34.35
102
0.681951
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleWorkflow/Generated/Model/_bcl45+netstandard/IListClosedWorkflowExecutionsPaginator.cs
1,374
C#
using System; using System.Threading.Tasks; using EasyNetQ; using GISA.Core.Communication; using GISA.Core.DomainObjects; using Polly; using RabbitMQ.Client.Exceptions; namespace GISA.MessageBus { public class MessageBus : IMessageBus { private IBus _bus; private IAdvancedBus _advancedBus; ...
29.657895
103
0.580597
[ "MIT" ]
wellingtoong/GISA
src/building blocks/GISA.MessageBus/MessageBus.cs
3,383
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("Pa...
38.583333
84
0.75306
[ "MIT" ]
PaladinPOS/PharmacyCOMv1
Samples/PaladinPharmacyCOMv1.Example/Properties/AssemblyInfo.cs
1,392
C#
// ----------------------------------------------------------------------- // <copyright file="Double2KeyTests.cs" company="MagicKitchen"> // Copyright (c) MagicKitchen. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace MagicKitchen.SplitterSprit...
35.090909
88
0.436411
[ "MIT" ]
polyhedron2/SplitterSprite4
SplitterSprite4/Common.Test/Spec/Indexer/Dict/Key/Double2KeyTests.cs
4,248
C#
/*SFF*/ /************************************************ This class has been generated dynamically. Any changes you make here will be overwritten. ************************************************/ using System; using System.Collections.Generic; namespace TheSharpFactory.Entity.MainDb.Media { /// <summary> /...
23.458333
64
0.529307
[ "Apache-2.0" ]
TheSharpFactory/mvcsamples
DataAccess/TheSharpFactory.Entity/MainDb/Media/PropertyEnums/GenreProperty.cs
563
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...
26.652174
81
0.612561
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ApiManagement/V20191201Preview/Outputs/EmailTemplateParametersContractPropertiesResponse.cs
1,226
C#
using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windo...
31.835616
144
0.588855
[ "Apache-2.0" ]
MineEric64/Git4Nextop
Windows/Git/CloneWindow.xaml.cs
4,650
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System; using System.Drawing; using System.Windows.Forms; using OpenLiveWriter.CoreServices.UI; using OpenLiveWriter.Extensibility.ImageEditing; using OpenLiveWriter.HtmlEdi...
35.734694
125
0.717304
[ "MIT" ]
BobinYang/OpenLiveWriter
src/managed/OpenLiveWriter.PostEditor/PostHtmlEditing/ImageEditing/ImagePropertiesSidebarHostControl.cs
1,751
C#
namespace OpenSource.UPnP { partial class AutoUpdate { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
52.383784
179
0.60324
[ "Apache-2.0" ]
okertanov/Developer-Tools-for-UPnP-Technologies
Global/UPnP/AutoUpdate.designer.cs
9,693
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
52.664384
202
0.695539
[ "Apache-2.0" ]
QPC-database/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/ParameterMaxVersionLimitExceededException.cs
7,689
C#
using System; using System.Linq; namespace UiPathTeam.ActivityReader { public class TypeString { static public readonly string[] DEFAULT_NAMESPACES = { "System", "System.Activities", "System.Collections.Generic", "System.Data", }; ...
26.753623
132
0.299702
[ "MIT" ]
UiPathJapan/ActivityReader
TypeString.cs
7,386
C#
using System; using System.Collections.Generic; #nullable disable namespace api.Models.Ttv { public partial class BrKeywordDimFundingDecision { public int DimKeywordId { get; set; } public int DimFundingDecisionId { get; set; } public virtual DimFundingDecision DimFundingDecision { g...
23.411765
74
0.69598
[ "MIT" ]
CSCfi/research-fi-mydata
aspnetcore/src/api/Models/Ttv/BrKeywordDimFundingDecision.cs
400
C#
/* * Copyright 2020 Regan Heath * * 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.433333
75
0.699887
[ "Apache-2.0" ]
reganheath/Erlang.NET
Erlang.NET/Transport/IOtpServerTransport.cs
885
C#
/*---------------------------------------------------------- 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://mozilla.org/MPL/2.0/. ----------------------------------------------------------*/ u...
36.692308
131
0.643606
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
yukon39/dotRAC
src/dotRAC/ibis/swp/Internal/ServerHostContext.cs
956
C#
namespace bot_flash_cards_blip_sdk_csharp { using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Metadata; using Lime.Messaging.Contents; using Lime.Protocol; public class Game { public string Player { get; set; } public int Questio...
31.418803
117
0.432807
[ "Apache-2.0" ]
BeltrameJP/blip-sdk-csharp
src/Samples/FlashCards/Game.cs
3,676
C#
using System; using Moq; using NUnit.Framework; using SheepAspect.Core; using SheepAspect.MixinsAdvising; using SheepAspect.Pointcuts.Impl; using SheepAspect.UnitTest.TestHelper; using FluentAssertions; namespace SheepAspect.UnitTest.ImplementInterfaceTests { public class ImplementInterfaceTest: AspectTestBase ...
26.980769
124
0.637919
[ "MIT" ]
erhan0/aop
SheepAspect.UnitTest/ImplementInterfaceTests/ImplementInterfaceTest.cs
1,405
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CoolParking.BL.Services; namespace CoolParking.WebAPI { public...
26.9
70
0.640644
[ "MIT" ]
MishaHlushko/CoolParking
CoolParking/CoolParking.WebAPI/Program.cs
807
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
27.790323
78
0.517411
[ "MIT" ]
Appleseed/squidex
backend/tests/Squidex.Infrastructure.Tests/Json/Objects/JsonValuesSerializationTests.cs
3,448
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; namespace BNG { public class VRUISystem : BaseInputModule { [Header("XR Controller Options : ")] [Tooltip("This setting determines if LeftPointerTransform or RightPointerTransform will ...
37.937759
152
0.6126
[ "MIT" ]
AhmedFarouk1/GolfVR
Assets/BNG Framework/Scripts/UI/VRUISystem.cs
9,145
C#
/* ********************************************************************* * This Source Code Form is copyright of 51Degrees Mobile Experts Limited. * Copyright © 2015 51Degrees Mobile Experts Limited, 5 Charlotte Close, * Caversham, Reading, Berkshire, United Kingdom RG4 7BY * * This Source Code Form is the subj...
42.892857
159
0.555704
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
hl46000/dotNET-Device-Detection
FoundationV3/Mobile/Configuration/WebConfig.cs
6,008
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
26.8625
115
0.597022
[ "Apache-2.0" ]
Vfialkin/aws-sdk-net
sdk/src/Services/CodeGuruReviewer/Generated/AmazonCodeGuruReviewerConfig.cs
2,149
C#
// ReSharper disable StringLiteralTypo // ReSharper disable IdentifierTypo // ReSharper disable InconsistentNaming // ReSharper disable UnusedType.Global namespace InControl.NativeDeviceProfiles { // @cond nodoc [Preserve, NativeInputDeviceProfile] public class MadCatzSaitekAV8R02MacNativeProfile : Xbox360DriverMacN...
20.225806
81
0.716108
[ "MIT" ]
EstasAnt/Estsoul
Assets/InControl/Source/Native/DeviceProfiles/Generated/MadCatzSaitekAV8R02MacNativeProfile.cs
627
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using Ship; using ActionsList; namespace Arcs { public class ArcMobile : GenericArc { private Transform MobileArcPointer; GenericShip Host; private class MobileSubArc { public A...
36.705882
110
0.523601
[ "MIT" ]
MatthewBlanchard/FlyCasual
Assets/Scripts/Model/Ships/GenericShip/Arcs/ArcMobile.cs
6,866
C#
// 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 regenerated. namespace Mi...
75.106557
507
0.690131
[ "MIT" ]
AlanFlorance/azure-powershell
src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsContinuousExport_Get.cs
27,124
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...
61.182311
206
0.673751
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/WorkSpaces/Generated/_bcl35/IAmazonWorkSpaces.cs
180,549
C#
using Newtonsoft.Json.Serialization; using Seranet.Api.Areas.HelpPage; using Seranet.Api.Core; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Http.Cors; namespace Seranet.Api { public static class WebApiConfig { public stati...
32.478261
135
0.649264
[ "MIT" ]
99xt/seranet.api
Seranet.Api/App_Start/WebApiConfig.cs
1,496
C#
using System; using UnityEngine; namespace NueExtensions { public static class TransformExtensions { /// <summary> /// Makes the given game objects children of the transform. /// </summary> /// <param name="transform">Parent transform.</param> /// <param name="child...
42.707071
123
0.603359
[ "MIT" ]
Arefnue/NueExtensions
Assets/NueExtensions/TransformExtensions.cs
4,230
C#
using Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; using FluentAssertions; using Core.Operations.Errors; using Core.Operations.Errors.Extras; using System; using System.Collections.Generic; using System.Linq; using System.Net.Cache; using System.Text; using System.Threading.Tasks; using Core.Models.Loggi...
27.149254
64
0.592633
[ "MIT" ]
MiniverCheevy/spa-starter-kit
src/Tests/Operations/Errors/ErrorMappingTests.cs
1,819
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("SC_...
37.72973
84
0.748567
[ "MIT" ]
ninekorn/SCCoreSystems-rerelease
sc_impulse_physics/SC_Physiks_CSharp/SC_Console_APP/Properties/AssemblyInfo.cs
1,399
C#
using NBi.Xml.Items.Filters; using System; using System.Collections.Generic; using System.Linq; using System.Xml.Serialization; namespace NBi.Xml.Items { public class SetsXml : AbstractMembersItem, IPerspectiveFilter { [XmlAttribute("perspective")] public string Perspective { get; s...
28.25641
90
0.568966
[ "Apache-2.0" ]
CoolsJoris/NBi
NBi.Xml/Items/SetsXml.cs
1,104
C#
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3ABDE3CEC43883FB1567CB2D1609593523830BB5652CF0548E003F796486E97C" //------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000...
32.957746
142
0.629915
[ "Apache-2.0" ]
dv-lebedev/PairTradingView
PairTradingView.WpfApp/obj/Debug/App.g.cs
2,476
C#
using System.Collections.Generic; namespace TgBotPillar.Core.Scheme { public class State { public string Text { get; init; } public IList<Handler> TextParameters { get; init; } public Pager Pager { get; init; } public IList<Button> Buttons { get; init; } ...
22.64
59
0.533569
[ "MIT" ]
mkryuchkov/tg-bot-pillar
TgBotPillar.Core/Scheme/State.cs
566
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Casimodo.Lib { // TODO: Maybe move to type helper. public static class NumericHelper { public static bool IsInteger<T>(this T obj) where T : struct { ...
29.310345
77
0.504118
[ "Apache-2.0" ]
Casimodo72/Casimodo.Lib
src/Casimodo.Lib/Helpers/NumericHelper.cs
1,702
C#
using System; using System.Collections.Generic; using System.Linq; using CSharpier.DocTypes; using CSharpier.Utilities; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace CSharpier.SyntaxPrinter.SyntaxNodePrinters { // this is loosely based on p...
38.850575
119
0.517604
[ "MIT" ]
faktored/csharpier
Src/CSharpier/SyntaxPrinter/SyntaxNodePrinters/BinaryExpression.cs
6,760
C#
using log4net.Appender; using log4net.Core; using System; using System.IO; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace GatheringTimer { public class TextBoxAppender : AppenderSkeleton { public static TextBox _textBox; public string FormName { get...
25.453947
153
0.420522
[ "MIT" ]
ErinnerMO/FFXIV.GatheringTimer
Util/Logger.cs
3,871
C#
using System.Threading.Tasks; using Shouldly; using Xunit; namespace Bamboo.CRM.Samples { public class SampleAppService_Tests : CRMApplicationTestBase { private readonly ISampleAppService _sampleAppService; public SampleAppService_Tests() { _sampleAppService = GetRequiredS...
23.645161
72
0.61528
[ "MIT" ]
BlazorHub/bamboomodules
Bamboo.CRM/test/Bamboo.CRM.Application.Tests/Samples/SampleAppService_Tests.cs
735
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...
32.077586
197
0.568664
[ "Apache-2.0" ]
TallyUpTeam/aws-sdk-net
sdk/src/Services/GlobalAccelerator/Generated/Model/Accelerator.cs
7,442
C#
using System; using System.Collections.Generic; using UnityEngine; using System.Runtime.Serialization; using Network; namespace Pluton { [Serializable] public class Player : Entity { [NonSerialized] private BasePlayer _basePlayer; public readonly ulong GameID; ...
35.942505
105
0.555416
[ "MIT" ]
Notulp/Pluton
Pluton/Objects/Player.cs
17,506
C#
using Microsoft.Xna.Framework; using Quaver.API.Helpers; using Quaver.Shared.Database.Maps; using Quaver.Shared.Helpers; using Quaver.Shared.Modifiers; using Wobble.Bindables; namespace Quaver.Shared.Screens.Selection.UI.FilterPanel.MapInformation.Metadata { public class FilterMetadataBpm : TextKeyValue { ...
32
114
0.630319
[ "MPL-2.0" ]
bweekz/Quaver
Quaver.Shared/Screens/Selection/UI/FilterPanel/MapInformation/Metadata/FilterMetadataBpm.cs
1,504
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class EntityAttachementData : CVariable { [Ordinal(0)] [RED("attachementComponentName")] public CName AttachementComponentName { get; set; } [Ordinal(1)] [...
36.35
108
0.696011
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/EntityAttachementData.cs
708
C#
#if (NET_4_6 || NET_STANDARD_2_0) using System; using System.Text; namespace Unity.Properties.Codegen.CSharp { public enum BraceLayout { EndOfLine, EndOfLineSpace, NextLine, NextLineIndent } public class CodeStyle { public string Indent { get; set; } ...
26.222222
84
0.487288
[ "Apache-2.0" ]
ArttyOM/TsarJam
TsarJam/Library/PackageCache/com.unity.properties@0.4.0-preview/Unity.Properties.Codegen/CSharp/CodeWriter.cs
5,430
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; #pragma warning disable 1591 namespace Silk.NET.Vulkan { [Flags()] public enum SurfaceCounterFlagsEXT { SurfaceCounterVblankExt =...
17.473684
57
0.686747
[ "MIT" ]
AzyIsCool/Silk.NET
src/Vulkan/Silk.NET.Vulkan/Enums/SurfaceCounterFlagsEXT.gen.cs
332
C#
using Serilog.Configuration; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Sample.Enricher { public static class LoggingExtensions { public static Serilog.LoggerConfiguration WithReleaseNumber( this LoggerEnrichmentConfiguration ...
24.333333
68
0.677104
[ "Apache-2.0" ]
KeiranWDigital/serilog-aspnetcore
samples/Sample/Enricher/LoggingExtensions.cs
513
C#
namespace MyCalc { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param nam...
47.147826
156
0.589543
[ "Apache-2.0" ]
tanyong000/MyCalc
MyCalc/MyCalc/Form1.Designer.cs
10,848
C#
using System; using System.Collections.Generic; using dotnetCampus.Ipc.Messages; namespace dotnetCampus.Ipc.Context { /// <summary> /// 包含多条信息的上下文 /// </summary> /// 不开放,因为我不认为上层能用对 readonly struct IpcBufferMessageContext { /// <summary> /// 创建包含多条信息的上下文 /// </summary>...
36.067416
180
0.613084
[ "MIT" ]
dotnet-campus/dotnetCampus.Ipc
src/dotnetCampus.Ipc/Context/IpcBufferMessageContext.cs
3,612
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using Xamarin.Forms; using XamF.Controls.DataGrid.DataGridControl.Core.Enums; namespace XamF.Controls.DataGrid.Converters { public class OrderTypeToIconConverter : IValueConverter { public object Convert(obj...
29.027027
103
0.564246
[ "MIT" ]
abdoemad/XamF.Controls.DataGrid
XamF.Controls/XamF.Controls.DataGrid/XamF.Controls.DataGrid/Converters/OrderTypeToIconConverter.cs
1,076
C#
// (c) 2019 Manabu Tonosaki // Licensed under the MIT license. using System.Collections.Generic; using System.Linq; namespace Tono.Logic { /// <summary> /// solver for Traveling salesman problem /// all nodes are shuffled to try minimim cost /// </summary> /// <typeparam name="TUnit">node type</t...
27.660377
91
0.473397
[ "MIT" ]
mtonosaki/Tono
TonoLogic/TspResolverShuffle.cs
1,468
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("Web...
37.333333
84
0.75
[ "MIT" ]
Azure-Samples/cloud-services-dotnet-multiple-websites-in-one-webrole
CSharp/MultiWebsitesOneWebRole/WebRole1/Properties/AssemblyInfo.cs
1,347
C#
using System.Collections.Generic; using System; using System.Linq; public class CosineScoringFunction : ScoringFunction { public override Scorer CreateScorer() { return new CosineScorer(); } private class CosineScorer : Scorer { private readonly Scorer InnerProductScorer = new ...
31.6
102
0.594033
[ "MIT" ]
jag2j/capstone-wikidata-2021
tools/scores/functions/Cosine.cs
1,106
C#
using UnityEngine; namespace SimpleNodeEditor { public interface INode: IDrawer { Rect Rect { get; } } }
14
35
0.626984
[ "MIT" ]
jamcar23/SimpleNodeEditor
Assets/Simple Node Editor/Scripts/Interfaces/INode.cs
128
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...
33.114286
195
0.670406
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DocumentDB/V20210115/Inputs/VirtualNetworkRuleArgs.cs
1,159
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; namespace Simple_UI { /// <summary> /// Example Controller to illustrate how Simple_Login+Register works /// </summary> public class ExampleLoginRegisterController : Si...
30.6
114
0.563725
[ "MIT" ]
EricBatlle/SimpleUnityUtils
Assets/Simple_UI/Simple_Login+Register/ExampleLoginRegisterController.cs
2,450
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using RESTful_Testful.Controllers; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using RESTful_Testful.Models; using System.Net; using System.Net.Http; using System.Web.Http; using Syste...
29.633508
110
0.54311
[ "MIT" ]
LightReborn/TeamROM-Web-Crawler
RESTful_Testful/RESTful_Testful.Tests/Controllers/GameControllerTests.cs
5,662
C#
namespace HealthCare020.Core.Models { public class PregledDtoEL:PregledDto { public string Doktor { get; set; } public PacijentDtoEL Pacijent { get; set; } } }
21
51
0.645503
[ "MIT" ]
fahirmdz/HealthCare020
HealthCare020.Core/Models/PregledDtoEL.cs
191
C#
using CatsListingDemo.Domain; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace CatsListingDemo.BusinessInterfaces { /// <summary> /// Defines the contract methods for the business layer in order to process a <see cref="Domain.PetOwner"/> object. //...
35.434783
119
0.663804
[ "MIT" ]
mendezgabriel/cats-listing-demo-dotnet-core
CatsListingDemo.BusinessInterfaces/IPetOwnerService.cs
817
C#
// ReSharper disable InconsistentNaming // ReSharper disable ArrangeAccessorOwnerBody // ReSharper disable StringLiteralTypo using System; using Il2CppSystem.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using DataHelper; using UnhollowerBaseLib; using KeyNotFoundException = System.Coll...
24.241784
105
0.340757
[ "MIT" ]
ardittristan/GunfireMod
GunfireLib/Data/Classes/LevelConfigDataClass.cs
11,057
C#
/* This interfaces with the SteamVR input system, sending commands to the vehicle. Add this script to the main vehicle. */ using System.Collections; using System.Collections.Generic; using UnityEngine; using Valve.VR; public class ControllerVR : MonoBehaviour { // The main simulator private VehiclePr...
45.427273
162
0.68381
[ "Unlicense" ]
YaliWang2019/AK_ATV
AK_ATV_Simulator/Assets/Scripts/ControllerVR.cs
4,999
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using AuthJanitor.CryptographicImplementations; using AuthJanitor.Providers.Azure; using AuthJanitor.Providers.Capabilities; using Azure; using Azure.Security.KeyVault.Secrets; using Microsoft.Extensions.Logging; using System; using System.Coll...
46.664384
258
0.632467
[ "MIT" ]
ConnectionMaster/AuthJanitor
src/AuthJanitor.Providers.KeyVault/KeyVaultSecretRekeyableObjectProvider.cs
6,815
C#
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. /////////////////////////////////////////////////////////...
30.3
216
0.315732
[ "Apache-2.0" ]
Sirokujira/MicroFrameworkPK_v4_3
Framework/Subset_of_CorLib/System/SystemException.cs
909
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 WebPWrecover { public class Program { public s...
25.703704
70
0.645533
[ "MIT" ]
intrepion/microsoft-confirmation-password-recovery-tutorial
WebPWrecover/Program.cs
694
C#
using BeardedManStudios.Forge.Networking; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; namespace UnitTests.Source.UDP { [TestClass] public class MultiClientTests : BaseTest { private static ushort currentPort; private static UDPServer se...
25.637255
69
0.662715
[ "Apache-2.0" ]
BeardedManStudios/ForgeNetworkingRemastered
UnitTests/Source/UDP/MultiClientTests.cs
2,617
C#
using System; using System.Collections.Generic; using Microsoft.Maui.Controls; using NUnit.Framework; namespace Microsoft.Maui.Controls.Xaml.UnitTests { public partial class Unreported003 : ContentPage { public Unreported003() { InitializeComponent(); } public Unreported003(bool useCompiledXaml) { /...
19.1
63
0.732984
[ "MIT" ]
10088/maui
src/Controls/tests/Xaml.UnitTests/Issues/Unreported003.xaml.cs
573
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2020 Jiang Yin. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:ellan@gameframework.cn //------------------------------------------------------------ using GameFramework.Resource; using...
31.982857
134
0.563874
[ "Unlicense" ]
HelloWindows/AccountBook
client/game/Assets/GameFramework/Scripts/Runtime/Resource/DefaultResourceHelper.cs
5,804
C#
/* * PDF * * The PDF conversion API 'conversion2pdf' converts image, office and PDF files to (searcheable) PDF files. The flow is generally as follows: 1. First create a job using the /conversion2pdf/jobs POST endpoint. You will get back a job response that contains a job with its associated settings. 2. Uploa...
37.553398
1,513
0.629783
[ "Apache-2.0" ]
Sphereon-SDK/pdf-sdk
csharp-net35/src/Sphereon.SDK.Pdf.Test/Model/ErrorTests.cs
3,868
C#
using System; using System.Collections.Generic; using UnityEngine; public interface IProcessingModuleDatabaseEntry { Ubii.Processing.ProcessingModule GetSpecifications(); ProcessingModule CreateInstance(Ubii.Processing.ProcessingModule specs); } public class ProcessingModuleDatabase { private Dictionary<...
27.073529
134
0.671917
[ "BSD-3-Clause" ]
SandroWeber/ubii-node-unity3D
Ubi-Interact-Client/Assets/ubii/scripts/pm/ProcessingModuleDatabase.cs
1,841
C#
using System; using System.Web.UI.HtmlControls; using Discuz.Control; using Discuz.Entity; using Discuz.Forum; namespace Discuz.Web.Admin { public class combinationuser : AdminPage { protected HtmlForm Form1; protected pageinfo info1; protected TextBox username1; protected TextB...
36.065789
168
0.529004
[ "MIT" ]
NewLifeX/BBX
BBX.Web.Admin/combinationuser.cs
2,787
C#
using Timetable.Common; 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.Graphics.Display; using Windows.UI.ViewManagement; using Windows.UI.Xa...
39.721925
124
0.605412
[ "MIT" ]
limo1996/WindowsPhone-8.1-Windows-8.1-Apps
Timetable/WindowsPhone 8.1/GUI(.xaml and .xaml.cs)/LoginPage.xaml.cs
7,430
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...
43.720497
173
0.607331
[ "MIT" ]
SpillChek2/azure-powershell
src/ResourceManager/EventHub/Commands.EventHub/Cmdlets/Namespace/SetAzureEventHubNamespace.cs
6,881
C#