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
//------------------------------------------------------------------------------ // <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.561205
208
0.660384
[ "MIT" ]
fernandonobrega89/backend-developer-test
Rakuten.Test/Rakuten.Test.Web/Service References/UserService/Reference.cs
74,174
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...
35.474359
129
0.64944
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.SimpleWorkflow/Model/CompleteWorkflowExecutionDecisionAttributes.cs
2,767
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Reactive { using System.Reactive.Concurrency; /// <summary> /// Contract for demiltiplexors providing sequences of events of specific types. /// </summ...
27.785714
133
0.645244
[ "Apache-2.0" ]
Microsoft/Tx
Source/Tx.Core/IPlayback.cs
780
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/. * * Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com */ using System.Collections.Generic...
29.37931
102
0.55223
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
pabloengine/pablo
Pablo/Graphics/Shape/Rectangle.cs
1,706
C#
using System; using System.Collections; using UnityEngine; using UnityEngine.Networking; namespace RestClient { public class Singleton<T> : MonoBehaviour where T: MonoBehaviour{ private static T _instance; public static T Instance { get { if (_instan...
37.755556
109
0.49588
[ "MIT" ]
sebastien6/UnityFullStackSample
unity/Assets/Scripts/Runtime/RestClient/RestClient.cs
3,398
C#
using BookmarkManager.Application.Common; using BookmarkManager.Domain.Entities; namespace BookmarkManager.Application.Dto { public class CategoryDto: IMapFrom<Category> { public int Id { get; set; } public string Title { get; set; } } }
22.333333
48
0.697761
[ "MIT" ]
uthmanrahimi/BookmarkManager
src/BookmarkManager.Application/Dto/Category/CategoryDto.cs
270
C#
//---------------------- // <auto-generated> // Generated by stidgen // </auto-generated> //---------------------- using System; using System.CodeDom.Compiler; using System.Diagnostics; using System.Runtime.CompilerServices; [DebuggerDisplay("{value,nq}")] public partial struct UserId : IEquatable<UserId>, ICompar...
30.195938
143
0.613753
[ "MIT" ]
pirrmann/stidgen
samples/Simple.Generated.cs
25,274
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; namespace SchoolBusAPI.Seeders { public abstract class Seeder<T> where T : DbContext { ...
40.163636
209
0.66048
[ "Apache-2.0" ]
BcGovBrian/schoolbus
Server/src/SchoolBusAPI/Seeders/Seeder.cs
2,211
C#
namespace digitalClock { partial class clock { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
36.439394
149
0.55343
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
gabboraron/CSharp_alapok
GUI-apps/first-v2/digitalClock/digitalClock/Form1.Designer.cs
2,407
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotJEM.Json.Storage.Queries.Builders { public static class Tester { public static void Testing() { SqlDatabaseBuilder db = new SqlDatabas...
35.617284
149
0.631889
[ "MIT" ]
dotJEM/json-storage
DotJEM.Json.Storage/Queries/Builders/TableBuilder.cs
2,887
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.Runtime.CompilerServices; namespace System.Reflection { internal partial class ConstructorInvoker { [MethodImpl(MethodImplOptions.AggressiveInlining)] ...
27.319149
106
0.475078
[ "MIT" ]
ChaseKnowlden/runtime
src/mono/System.Private.CoreLib/src/System/Reflection/ConstructorInvoker.Mono.cs
1,286
C#
using System.Collections.Generic; using FSharp.Compiler.SourceCodeServices; using JetBrains.Annotations; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.Pointers; namespace JetBrains.ReSharper.Plugins.FSharp.Psi { public interface IFSharpTypeMember : IFSharpTypeParametersOwner, ITypeMember { [Can...
27.277778
78
0.767821
[ "Apache-2.0" ]
mcon/fsharp-support
ReSharper.FSharp/src/FSharp.Psi/src/IFSharpTypeMember.cs
984
C#
using CmdLine; using Microsoft.Diagnostics.Runtime; using Microsoft.Diagnostics.Runtime.Interop; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace msos { class TriageInformation { public i...
47.554795
155
0.664842
[ "MIT" ]
goldshtn/msos
msos/Triage.cs
6,945
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("Ma...
38.135135
84
0.745571
[ "BSD-3-Clause" ]
mikeminutillo/magicaltrevor
Magical.Trevor/Properties/AssemblyInfo.cs
1,414
C#
/* * Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty */ using System; using System.Diagnostics; using System.Runtime.CompilerServices; // Image 46: Assembly-CSharp.dll - Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null - Types 4339-9572 pu...
36.566667
133
0.758432
[ "Unlicense" ]
tech-ticks/RTDXTools
Assets/Scripts/Stubs/Generated/Assembly-CSharp/UISelectorWarehouse.cs
1,099
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric.Query ...
39.014925
155
0.609028
[ "MIT" ]
AlkisFortuneFish/service-fabric
src/prod/src/managed/Api/src/System/Fabric/query/ApplicationList.cs
2,614
C#
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using MS.Core; namespace System.Reflection { public static class __AssemblyAlgorithmIdAttribute { public static IObservable<System.UInt32> get_AlgorithmId( this IObservable<Sys...
34.111111
114
0.757329
[ "MIT" ]
RixianOpenTech/RxWrappers
Source/Wrappers/mscorlib/System.Reflection.AssemblyAlgorithmIdAttribute.cs
614
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading; namespace EasyTest { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { Assert.IsTrue(true); //Assert.AreEqual(ApartmentState.STA, Thread.CurrentThread.GetA...
20.941176
92
0.634831
[ "MIT" ]
diginsight/telemetry
Tests/EasyTest/UnitTest1.cs
356
C#
using Project2D.Control; using Project2D.Core; using UnityEngine; namespace Project2D.Interactables { public class Coin : MonoBehaviour { [Header("Coin Values")] [SerializeField] private AudioClip pickupSound; [SerializeField] private int coinValue; [SerializeField] private Ga...
27.71875
60
0.612176
[ "MIT" ]
theADAMJR/PROJECT-2D
Assets/Scripts/Interactables/Coin.cs
889
C#
using System; using System.Collections.Generic; namespace ET { //枚举值一定要对应界面表(UIConfig)中的id!!!!! public enum UIType { UILogin = 1, UILobby = 2, } }
14.75
36
0.59887
[ "MIT" ]
benboerbadebaboerben/GEFramework
Unity/Codes/ModelView/Module/UI/UIType.cs
219
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...
38.808511
115
0.640899
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/CodeDeploy/Generated/Model/MinimumHealthyHosts.cs
3,648
C#
using System; using System.Collections.Generic; using System.Text; using Windows.UI.Xaml.Media; using Windows.UI; #if XAMARIN_IOS_UNIFIED using GenericColor = UIKit.UIColor; using UIKit; #elif XAMARIN_IOS using GenericColor = MonoTouch.UIKit.UIColor; using MonoTouch.UIKit; #elif XAMARIN_ANDROID using GenericColor = A...
40.482353
128
0.744164
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI/UI/Xaml/SolidColorBrushHelper.cs
20,648
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ElectronicObserver.Data { /// <summary> /// 基地航空隊のデータを扱います。 /// </summary> public class BaseAirCorpsData : APIWrapper, IIde...
22.2
129
0.645817
[ "MIT" ]
SkywalkerJi/ElectronicObserver
ElectronicObserver/Data/BaseAirCorpsData.cs
4,003
C#
namespace EnvironmentMapDemo { using System; using System.Windows.Controls; using System.Windows.Data; using HelixToolkit.Wpf.SharpDX; /// <summary> /// Interaction logic for MaterialControl.xaml /// </summary> public partial class MaterialControl : UserControl { ...
27.8
125
0.589928
[ "MIT" ]
smallholexu/helix-toolkit
Source/Examples/WPF.SharpDX/EnvironmentMapDemo/MaterialControl.xaml.cs
975
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.Net; namespace Contoso.GameNetCore.Proto.Features { public class ProtoConnectionFeature : IProtoConnectionFeature { ...
29.05
112
0.667814
[ "Apache-2.0" ]
bclnet/GameNetCore
src/Proto/Proto/src/Features/HttpConnectionFeature.cs
581
C#
using System; using BashIm; namespace BashImExample2 { class Program { static void Main(string[] args) { while (true) { Console.Write("Введите номер цитаты, чтобы загрузить её: "); var quoteIdStr = Console.ReadLine(); ...
30.111111
77
0.440037
[ "MIT" ]
CrazyHackGUT/bashim
BashImExample2/Program.cs
1,178
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Text2 : MonoBehaviour { //进入宿主后的颜色变化 private GUIText m_GUIText; private Transform m_Transform; private Color m_Color; void Start() { m_GUIText = gameObject.GetComponent<GUIText>(); m_T...
21.2
59
0.626685
[ "MIT" ]
zzf/ShaderProgramProj
Assets/Scripts/Text2.cs
764
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...
35.77551
188
0.644039
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/SimpleWorkflow/Generated/Model/Internal/MarshallTransformations/TimerFiredEventAttributesUnmarshaller.cs
3,506
C#
using System; using System.Collections.Generic; using System.Text; namespace LessPaper.Shared.Enums { public enum TagSource { User, Auto, } }
13.230769
33
0.645349
[ "MIT" ]
ChristianHellwig/LessPaper.Shared
LessPaper.Shared/Enums/TagSource.cs
174
C#
using System.Net.Http; using System.Web.Http; namespace MvcRouteTester.Test.ApiControllers { public class WithNullableController : ApiController { public HttpResponseMessage Get(int? id) { return new HttpResponseMessage(); } } }
17.357143
52
0.757202
[ "Apache-2.0" ]
AnthonySteele/MvcRouteTester
src/MvcRouteTester.Test/ApiControllers/WithNullableController.cs
245
C#
namespace CohesionAndCoupling { using System; public static class FileUtils { public static string GetFileExtension(string fileName) { int indexOfLastDot = fileName.LastIndexOf(".", StringComparison.Ordinal); if (indexOfLastDot == -1) { ...
24.055556
85
0.555427
[ "MIT" ]
jsdelivrbot/Telerik-Academy-Homeworks
Module 2/01_High Quality Code/08. High-quality Classes/Cohesion-and-Coupling/FileUtils.cs
868
C#
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
30.338384
148
0.488097
[ "MIT" ]
F-V-L/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/AuditChange.cs
6,007
C#
using System; using System.Collections.Generic; using System.Linq; using Spectre.Console.Cli; namespace Cake.Tests.Fakes { public sealed class FakeRemainingArguments : IRemainingArguments { public ILookup<string, string> Parsed { get; } public IReadOnlyList<string> Raw => throw new NotImpleme...
28.52381
86
0.671119
[ "MIT" ]
AdaskoTheBeAsT/cake
src/Cake.Tests/Fakes/FakeRemainingArguments.cs
601
C#
using Discord.Commands; using DEA.Extensions.Discord; using System; using System.Threading.Tasks; namespace DEA.Preconditions.Parameter { public sealed class MinimumHoursAttribute : ParameterPreconditionAttribute { private readonly double _minimumHours; public MinimumHoursAttribute(double mini...
32.333333
134
0.701031
[ "MIT" ]
Lunerr/dea2cs
src/Preconditions/Parameter/MinimumHours.cs
873
C#
using System; namespace RockSweeper.Attributes { /// <summary> /// Defines the user friendly name of the object. /// </summary> /// <seealso cref="System.Attribute" /> public class TitleAttribute : Attribute { /// <summary> /// Gets or sets the title. /// </summary> ...
24.241379
81
0.513514
[ "MIT" ]
cabal95/RockSweeper
RockSweeper/Attributes/TitleAttribute.cs
705
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("He...
37.810811
84
0.744103
[ "CC0-1.0" ]
Jorch72/CS-StartingWithAstrid
Hello/Hello.Windows/Properties/AssemblyInfo.cs
1,402
C#
 /* * Notes */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SpatialSlur.Meshes; using SpatialSlur.Meshes.Impl; namespace SpatialSlur { /// <summary> /// /// </summary> public static partial class Matrix { //...
30.423567
160
0.45012
[ "MIT" ]
daveReeves/SpatialSlur
SpatialSlur/Meshes/Matrix.cs
9,555
C#
using System; namespace KCSystem.Api.Extensions { public class BirthdayHelper { public static BirthdayAgeSex GetBirthdayAgeSex(string identityCard) { if (string.IsNullOrEmpty(identityCard)) { return null; } else { ...
30.065217
150
0.459388
[ "MIT" ]
kcomking1/KCON
KCSystem.Api/Extensions/BirthdayHelper.cs
4,397
C#
using UniRx; using UnityEngine; using UnityEngine.UI; namespace UniRxSample.MVRP { // ModelとView(uGUI)を繋ぐオブジェクト public class Presenter : MonoBehaviour { // Modelオブジェクト [SerializeField] private Model _model; // 各UI要素 [SerializeField] private Text _text; [SerializeFie...
24.538462
58
0.530825
[ "Unlicense", "CC0-1.0", "MIT" ]
Itu-tree/ProgrammingBible_UniRxSampleGame
Assets/UniRxSample/MVRP/Presenter.cs
1,045
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
45.233766
164
0.661499
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.OsConfig.V1/Google.Cloud.OsConfig.V1.GeneratedSnippets/OsConfigZonalServiceClient.ListVulnerabilityReportsResourceNamesAsyncSnippet.g.cs
3,483
C#
/** * $File: JCS_EchoGamePadButton.cs $ * $Date: 2017-10-23 15:23:06 $ * $Revision: $ * $Creator: Jen-Chieh Shen $ * $Notice: See LICENSE.txt for modification and distribution information * Copyright (c) 2017 by Shen, Jen-Chieh $ */ using System.Collections; using System.Collections.Generic; us...
24.727273
74
0.623775
[ "MIT" ]
edwin-channel/JCSUnity
Assets/JCSUnity/Scripts/GUI/Button/JCS_EchoGamePadButton.cs
816
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.AspNetCore.H...
51.895161
264
0.680932
[ "Apache-2.0", "MIT" ]
ConnectionMaster/azure-functions-host
test/WebJobs.Script.Tests/Workers/Rpc/RpcFunctionInvocationDispatcherTests.cs
32,177
C#
#region License /* Copyright © 2014-2021 European Support Limited 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 a...
29.451613
86
0.762322
[ "Apache-2.0" ]
Ginger-Automation/Ginger
Ginger/GingerPluginCore/Attributes/IActionParamProperty.cs
914
C#
/* * Copyright (c) 2016 Samsung Electronics Co., Ltd 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 a...
27.506667
115
0.581677
[ "Apache-2.0", "MIT" ]
AchoWang/TizenFX
src/Tizen.Uix.Stt/Tizen.Uix.Stt/EngineChangedEventArgs.cs
2,065
C#
using System.Reflection; [assembly: AssemblyTitle("Luminous.Code.Core")] [assembly: AssemblyDescription("Base classes, objects and extension methods for Luminous Code")]
34.4
96
0.796512
[ "MIT" ]
luminous-software/luminous-code
src/core/Properties/AssemblyInfo.cs
174
C#
using System; using System.Diagnostics; using System.Drawing; using System.Numerics; using System.Threading; using Iot.Device.CpuTemperature; using Iot.Device.SenseHat; namespace dotnet.core.iot { class Program { static Color[] pixels = new Color[]{ Color.FromArgb(255, 0, 0), Color.From...
40.6
241
0.473442
[ "MIT" ]
TheRiflesSpiral/Create-RaspberryPi-dotNET-Core-C-Sharp-IoT-Applications
samples/dotnet.core.iot.csharp.sense.hat/Program.cs
9,340
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; using DG.Tweening; public class SlimeCard : MonoBehaviour { [SerializeField] SpriteRenderer character; [SerializeField] TMP_Text valueTMP; public SlimeItem SlimeItem; public PRS originPRS; public void Set...
24.3
78
0.638889
[ "MIT" ]
Q-holi/CrossRoad
Assets/Scripts/Slime/SlimeCard.cs
972
C#
//----------------------------------------------------------------------- // <copyright file="LogInDialog.cs" company="Lost Signal LLC"> // Copyright (c) Lost Signal LLC. All rights reserved. // </copyright> //----------------------------------------------------------------------- #if USING_PLAYFAB_SDK namespace...
34.121951
140
0.575554
[ "Unlicense", "MIT" ]
LostSignal/Lost-Library
Lost/Lost.PlayFab/Runtime/Dialogs/LogInDialog.cs
6,997
C#
using Dahomey.Json.Util; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.Json; namespace Dahomey.Json.Serialization.Converters.DictionaryKeys { public class EnumDictionaryKeyConverter<T> : IDictionaryKeyConverter<T> { private readonly ByteBufferD...
30.596774
119
0.583553
[ "MIT" ]
vova-lantsov-dev/Dahomey.Json
src/Dahomey.Json/Serialization/Converters/DictionaryKeys/EnumDictionaryKeyConverter.cs
1,899
C#
using System.Web.Mvc; using Umbraco.Web.Models; using Umbraco.Web.Mvc; namespace UmbracoDev.Controllers.Login { public class LoginPageController : RenderMvcController { public override ActionResult Index(ContentModel content) { var model = new LoginPageModel(); return ...
22.5625
64
0.66759
[ "MIT" ]
RyanHelmn/UmbracoDev
UmbracoDev/Controllers/Login/LoginPageController.cs
363
C#
using System; using System.Collections.Generic; using System.Text; namespace AccountTest { class Account { private string name; //instance variable // method that sets the account name in the object public void SetName(string accountName) { name = accountName; //st...
24.75
85
0.622896
[ "MIT" ]
venetsia/CSharpRevise
C#/AccountTest-master/Account.cs
596
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("Pro...
37.722222
84
0.752577
[ "MIT" ]
AndersonAluiz12/GitC
ProjetoTccHBSIS/ProjetoTccHBSIS/Properties/AssemblyInfo.cs
1,361
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.IO; using System.Linq; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Options; using Moq; using Xunit; namesp...
43.719231
114
0.567168
[ "MIT" ]
48355746/AspNetCore
src/Mvc/Mvc.Razor.RuntimeCompilation/test/FileProviderRazorProjectFileSystemTest.cs
11,369
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 System.Composition; using System.Diagnostics.CodeAnalysis; using System.Linq; using Micros...
53.780702
194
0.629914
[ "MIT" ]
BrianFreemanAtlanta/roslyn
src/VisualStudio/Core/Def/Implementation/HierarchyItemToProjectIdMap.cs
6,133
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...
33.951613
128
0.695012
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Comprehend/Generated/Model/Internal/MarshallTransformations/EntityRecognizerAnnotationsMarshaller.cs
2,105
C#
using Microsoft.Xna.Framework; using Nez.PhysicsShapes; namespace Nez.Particles { /// <summary> /// the internal fields are required for the ParticleEmitter to be able to render the Particle /// </summary> public class Particle { /// <summary> /// shared Circle used for collisions checks /// </summary> ...
40.083045
134
0.721685
[ "Apache-2.0", "MIT" ]
Paramecium13/Nez
Nez.Portable/ECS/Components/Renderables/Particles/Particle.cs
11,586
C#
using Microsoft.EntityFrameworkCore; using PeopleViewer.Common; namespace PersonDataReader.SQL { public class PersonContext : DbContext { public PersonContext(DbContextOptions<PersonContext> options) : base(options) { } public DbSet<Person> People { get; set; } } }
21.133333
69
0.66877
[ "MIT" ]
filipjohnsson1989/dependency-injection-resources
core22/module4/after/PersonDataReader.SQL/PersonContext.cs
319
C#
/* * Marketplace * * API Cloud Loyalty LTM - Webpremios * * OpenAPI spec version: 1.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collection...
35.966667
578
0.480769
[ "MIT" ]
ltm-arquitetura/webpremios-csharp-sdks
src/IO.Swagger/Models/Participant.cs
17,269
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...
41.626866
188
0.639118
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/Internal/MarshallTransformations/BatchSuspendUserResponseUnmarshaller.cs
5,578
C#
//****************************** // Written by Peter Golde // Copyright (c) 2004-2005, Wintellect // // Use and restribution of this code is subject to the license agreement // contained in the file "License.txt" accompanying this file. //****************************** using System; using System.Diagnostics;...
39.822041
139
0.519536
[ "EPL-1.0" ]
NetTopologySuite/PowerCollections
Source/PowerCollections/RedBlack.cs
48,782
C#
using MyJetWallet.Sdk.Service; using MyYamlParser; namespace Service.MatchingEngine.EventBridge.Settings { public class SettingsModel { [YamlProperty("MatchingEngineEventBridge.SeqServiceUrl")] public string SeqServiceUrl { get; set; } [YamlProperty("MatchingEngineEventBridge.ServiceB...
34.413793
77
0.709419
[ "MIT" ]
MyJetWallet/Service.MatchingEngine.EventBridge
src/Service.MatchingEngine.EventBridge/Settings/SettingsModel.cs
1,000
C#
// <copyright file="ItemCountViewModel.cs" company="Dark Bond, Inc."> // Copyright © 2016-2018 - Dark Bond, Inc. All Rights Reserved. // </copyright> // <author>Donald Roy Airey</author> namespace DarkBond.ViewModels { using System.Globalization; using DarkBond.ViewModels.Strings; /// <summary> //...
28.954545
85
0.52224
[ "MIT" ]
DonaldAirey/dark-bond-main
DarkBond.ViewModels/Metadata/ItemCountViewModel.cs
1,914
C#
using System; using System.Net.Http; using System.Text.Json; namespace Front { public static class RequestHelper { public static HttpRequestMessage CreateRequest(string uri, string method) => new HttpRequestMessage(method.ToHttpMethod(), new Uri(uri, UriKind.RelativeOrAbsolute)); ...
30.655172
103
0.611924
[ "MIT" ]
niccou/hateoas-talk
demo/src/Front/RequestHelper.cs
891
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNet.Http.Internal; using Microsoft.AspNet.Mvc.ModelBinding; using...
36.265823
111
0.633508
[ "Apache-2.0" ]
corefan/Mvc
test/Microsoft.AspNet.Mvc.WebApiCompatShimTest/HttpRequestMessage/HttpRequestMessageModelBinderTest.cs
2,867
C#
using FubuTestingSupport; using NUnit.Framework; using NuGet; using ripple.Commands; using ripple.Model; namespace ripple.Testing.Integration { [TestFixture] public class restore_dependencies_case_insensitive { private SolutionGraphScenario theScenario; private Solution theSolution; ...
26.982143
88
0.529451
[ "Apache-2.0" ]
danielHalan/ripple
src/ripple.Testing/Integration/restore_dependencies_case_insensitive.cs
1,513
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; namespace MvcMovieSampleApp.Models { public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Logins { get; set;...
30.94186
110
0.626832
[ "Apache-2.0" ]
adityap/Infuse
test/MvcMovieSampleApp/Models/ManageViewModels.cs
2,663
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Addless20useClasslibrary")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany...
27.918919
61
0.701839
[ "Apache-2.0" ]
sunlupeng2020/addless20
Addless20useClasslibrary/Properties/AssemblyInfo.cs
1,400
C#
using System; using System.Linq; using System.Collections.Generic; using System.Reflection; namespace Goofy.Core.Infrastructure { public class GoofyResourcesLocator : IResourcesLocator { private readonly IAssembliesProvider _assembliesProvider; public GoofyResourcesLocator(IAssembliesProvider...
28.794872
118
0.570793
[ "MIT" ]
GoofyCMS/Backend
libs/Goofy.Core/Infrastructure/ResourcesManagement/GoofyResourcesLocator.cs
1,125
C#
using FluentAssertions; using Kros.KORM.Materializer; using Kros.KORM.Metadata; using Kros.KORM.Metadata.Attribute; using Kros.KORM.UnitTests.Helper; using NSubstitute; using System; using System.Collections.Generic; using System.Data; using System.Linq; using Xunit; namespace Kros.KORM.UnitTests.Materializer { p...
32.908696
116
0.50403
[ "MIT" ]
JardoHornak/Kros.Libs
Kros.KORM/tests/Kros.KORM.UnitTests/Materializer/ModelBuilderShould.cs
7,571
C#
namespace CodeGeneration { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
34.306667
107
0.551496
[ "Apache-2.0" ]
Infosys/Script-Control-Center
ScriptDevelopmentTool/CodeGeneration/Form1.Designer.cs
2,575
C#
//----------------------------------------------------------------------- // <copyright file="RuntimeTool.cs" company="Sphere 10 Software"> // // Copyright (c) Sphere 10 Software. All rights reserved. (http://www.sphere10.com) // // Distributed under the MIT software license, see the accompanying file // LICENSE or vis...
38.87619
191
0.569819
[ "MIT" ]
Sphere10/Framework
src/Sphere10.Framework/Environment/RuntimeTool.cs
4,082
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.42 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----...
43.369231
191
0.614757
[ "Apache-2.0" ]
bmingles/emeraldwalk
Emeraldwalk.VsPackages/Emeraldwalk.VsFileMirror/Resources.Designer.cs
2,821
C#
using System; namespace MessageSerializer { public class TypeSelectorDateTime : ITypeSelector { public Type CheckType(MessageSerializedPropertyInfo propertyInfo) { if (propertyInfo.ElementType.FullName == typeof(DateTime).FullName && propertyInfo.MessagePropertyAttr...
24.210526
78
0.61087
[ "MIT" ]
jacknino/MessageSerializer
MessageSerializer/TypeSelectorDateTime.cs
462
C#
using System.Collections.Generic; using Tanks.App.Globals; using Tanks.App.Inputs; using Tanks.App.Players; using UnityEngine; using UnityEngine.InputSystem; namespace Tanks.App.Lobbies { public class Lobby : MonoBehaviour { [SerializeField] private PlayerJoinedGameChannel playerJoinedGameChannel; ...
30.767857
89
0.665699
[ "MIT" ]
george-vasilchenko/tanks
Assets/App/Lobbies/Lobby.cs
1,723
C#
namespace Gu.State { using System.Collections.Concurrent; internal static class ConcurrentDictionaryPool<TKey, TValue> { private static readonly ConcurrentQueue<ConcurrentDictionary<TKey, TValue>> Cache = new(); internal static IBorrowed<ConcurrentDictionary<TKey, TValue>> Borrow() ...
28.615385
98
0.620968
[ "MIT" ]
JohanLarsson/Gu.ChangeTracking
Gu.State/Internals/Pools/ConcurrentDictionaryPool.cs
744
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
35.987805
153
0.57472
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/WorkbookFunctionsXirrRequest.cs
2,951
C#
using FluentAssertions; using RoadCaptain.GameStates; using Xunit; namespace RoadCaptain.App.Runner.Tests.Unit.Engine { public class WhenNotLoggedInStateIsReceived : EngineTest { public WhenNotLoggedInStateIsReceived() { GivenTaskIsRunning("_initiatorTask"); GivenTaskIs...
25.174603
60
0.566835
[ "Artistic-2.0" ]
sandermvanvliet/RoadCaptain
test/RoadCaptain.App.Runner.Tests.Unit/Engine/WhenNotLoggedInStateIsReceived.cs
1,588
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...
28.107143
106
0.64676
[ "Apache-2.0" ]
UpendoVentures/aws-sdk-net
sdk/src/Services/GameLift/Generated/Model/UpdateBuildResponse.cs
1,574
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
53.306958
574
0.667119
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V9/Services/CustomerNegativeCriterionServiceClient.g.cs
39,074
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
37.060606
128
0.696648
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V9/Services/AgeRangeViewServiceResourceNames.g.cs
1,223
C#
using System; using System.Collections.Generic; using System.Linq; using Daihenka.AssetPipeline.Filters; using Daihenka.AssetPipeline.Import; using Daihenka.AssetPipeline.Processors; using UnityEditor; using UnityEngine; using UnityEngine.Rendering; namespace Daihenka.AssetPipeline.PropertyDrawers { [CustomProper...
55.95671
246
0.638945
[ "MIT" ]
bpastoors/asset-pipeline
Editor/Interface/PropertyDrawers/MaterialSetupPropertyDrawer.cs
12,928
C#
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; ...
41.553571
150
0.758058
[ "Apache-2.0" ]
luizfbicalho/Camunda.NET
camunda-bpm-platform-net/examples/invoice/src/main/java/org/camunda/bpm/example/invoice/service/ArchiveInvoiceService.cs
2,329
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using Newtonsoft.Json; using UiPath.Orchestrator.Extensibility.Configuration; using UiPath.Orchestrator.Extensibility.SecureStores; namespace DevOpsVault.SecureStore { public class DevOpsVaultSecureStore : ISec...
39.265306
117
0.605163
[ "Apache-2.0" ]
thycotic/uipath-orchestrator
DevOpsVault.SecureStore/DevOpsVaultSecureStore.cs
5,774
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 // // Unless ...
42.692982
144
0.567906
[ "MIT" ]
Acidburn0zzz/azure-powershell
src/ResourceManager/Compute/Commands.Compute/Generated/Snapshot/SnapshotGetMethod.cs
4,754
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
36.542857
84
0.756059
[ "MIT" ]
DamienDoumer/freechat
FreeChat/FreeChat.Android/Properties/AssemblyInfo.cs
1,282
C#
namespace PcapNgNet.Options; public class StringOption : Option { [SerializeAs(SerializedType.SizedString)] public string Value { get; set; } }
19.25
45
0.733766
[ "MIT" ]
jefffhaynes/PcapNgNet
PcapNgNet/Options/StringOption.cs
156
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Data.Common; using Microsoft.TestCommon; using Moq; using WebMatrix.Data.Test.Mocks; name...
35.39823
111
0.60675
[ "Apache-2.0" ]
belav/AspNetWebStack
test/WebMatrix.Data.Test/DatabaseTest.cs
4,002
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Core.Mapping { using System.Data.Entity.Core.Metadata.Edm; // <summary> // Mapping metadata for all OC member maps. // </summary> intern...
32.655172
132
0.670539
[ "Apache-2.0" ]
CZEMacLeod/EntityFramework6
src/EntityFramework/Core/Mapping/ObjectAssociationEndMapping.cs
947
C#
/*------------------------------------------------------------------------ * (The MIT License) * * Copyright (c) 2008-2011 Rhomobile, 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...
36.035294
110
0.667646
[ "MIT" ]
abmahmoodi/rhodes
platform/wp7/RhoRubyExtGen/RhoConfig.cs
3,065
C#
using HarmonyLib; using Verse; namespace RimBank.Trade { [StaticConstructorOnStartup] internal static class DetourInjectorCompact { static DetourInjectorCompact() { var harmony = new Harmony("user19990313.RimBank-Unofficial"); harmony.PatchAll(); } } }
21.2
73
0.638365
[ "MIT" ]
emipa606/RimBank
Source/RimBank.Trade/DetourInjectorCompact.cs
320
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...
33.271739
149
0.6377
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Kafka/Generated/Model/Internal/MarshallTransformations/NodeExporterUnmarshaller.cs
3,061
C#
using System; using UniDecAPI; namespace UniDec.WSFTPLegacy.Codec { public class Codec : ICodec { public string FriendlyName { get { return "WS FTP Legacy"; } } public string CallName { get { return "wsftp-le"; } } public bool NeedsKey { get { return false; } } private string ...
30.513158
112
0.455369
[ "MIT" ]
parmik1/UniDec
UniDec.WSFTPLegacy.Codec/Codec.cs
2,321
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ReSharper disable CheckNamespace // ReSharper disable CommentTypo // ReSharper disable IdentifierTypo // ReSharper disable MemberCanBePrivate.Global // ReS...
23.791667
84
0.58669
[ "MIT" ]
amironov73/ManagedIrbis5
Source/Tests/FormsTests/Source/FormsTest.cs
2,311
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Yapp { [CreateAssetMenu(fileName = Constants.TemplateCollection_FileName, menuName = Constants.TemplateCollection_MenuName)] [System.Serializable] public class PrefabTemplateCollection : ScriptableObject { ...
31.882353
121
0.723247
[ "MIT" ]
TheWizardsCode/PrefabPainter
Assets/Yapp/Scripts/PrefabTemplateCollection.cs
544
C#
// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the foll...
39.6
101
0.75
[ "MIT" ]
Barallob/xbox-live-unity-plugin
CSharpSource/Source/Microsoft.Xbox.Services.UnitTests/Properties/AssemblyInfo.cs
1,587
C#
// GENERATED AUTOMATICALLY FROM 'Assets/Scripts/InputSystem/JoystickInputs.inputactions' using System; using System.Collections; using System.Collections.Generic; using UnityEngine.InputSystem; using UnityEngine.InputSystem.Utilities; public class @JoystickInputs : IInputActionCollection, IDisposable { public Inp...
47.64878
112
0.555999
[ "MIT" ]
Maestroymn/LoremIpsumJamProject
Assets/Scripts/InputSystem/JoystickInputs.cs
19,536
C#
using Catel.Windows; using PresetMagician.ViewModels; namespace PresetMagician.Views { public partial class CharacteristicView { public CharacteristicView(CharacteristicViewModel viewModel) : base(viewModel, DataWindowMode.OkCancel) { InitializeComponent(); } } }
24
111
0.705128
[ "MIT" ]
PresetMagician/PresetMagician
PresetMagician/Views/CharacteristicView.xaml.cs
312
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; static public class HalperLogs { static public string gatherDataHierarchyInfo(Transform tr) { string ct = ""; if (tr.parent != null) ct = tr.parent + "/" + tr.name; else ct = tr.name; ct += " (children " + tr.childCou...
21.354839
74
0.57855
[ "MIT" ]
Legogo/fwProtoss
Sources/halper/HalperLogs.cs
664
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
35.136364
145
0.69599
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/Windows/um/MsHTML/HTMLPopupTests.cs
1,548
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("Co...
37.648649
84
0.744436
[ "MIT" ]
MikaelGyth/Courses
CoursesiOS/Properties/AssemblyInfo.cs
1,396
C#