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
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Composition; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Editor.Implement...
36.387097
98
0.763298
[ "Apache-2.0" ]
HenrikWM/roslyn
src/VisualStudio/Core/Def/Implementation/NavigateTo/VisualStudioNavigateToPreviewServiceFactory.cs
1,130
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 __TypeFilter { public static IObservable<System.Boolean> Invoke(this IObservable<System.Reflection.TypeFilter> TypeFilterVa...
44.157895
120
0.700834
[ "MIT" ]
RixianOpenTech/RxWrappers
Source/Wrappers/mscorlib/System.Reflection.TypeFilter.cs
1,678
C#
using Duende.IdentityServer.Services; using ECommerce.Services.Identity.Identity.Services; using ECommerce.Services.Identity.Shared.Models; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; // Ref:https://www.scottbrady91.com/identity-server/getting-started-with-identityserver-4 names...
40.853659
120
0.734925
[ "MIT" ]
BuiTanLan/ecommerce-microservices
src/Services/ECommerce.Services.Identity/ECommerce.Services.Identity/Shared/Extensions/ServiceCollectionExtensions/ServiceCollection.IdentityServer.cs
1,677
C#
using Bb.Json.Jslt.Asts; using Bb.Json.Jslt.Services; using Newtonsoft.Json; using System; using System.IO; using System.Text; using System.Windows.Controls; using System.Windows.Documents; namespace AppJsonEvaluator { public static class Extensions { //public static void Load(this RichTextBox richT...
29.257143
154
0.622721
[ "MIT" ]
Black-Beard-Sdk/jslt
src/Black.Beard.JsltEvaluator/Extensions.cs
3,075
C#
using System.Collections.Generic; namespace Ryujinx.Graphics.Gal.Shader { class ShaderIrBlock { public int Position { get; set; } public int EndPosition { get; set; } public ShaderIrBlock Next { get; set; } public ShaderIrBlock Branch { get; set; } public List<Sha...
22.130435
64
0.522593
[ "Unlicense" ]
igorquintaes/Ryujinx
Ryujinx.Graphics/Gal/Shader/ShaderIrBlock.cs
1,018
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.IO; using System.Linq; using System.Net; using System.Runtime.InteropServices; using System.Threading.Tasks; using Microsoft....
46.680608
173
0.606581
[ "Apache-2.0" ]
jo262t/AspNetCore
src/ProjectTemplates/test/SpaTemplateTest/SpaTemplateTestBase.cs
12,277
C#
/* Copyright (c) Citrix Systems, 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: * * * Redistributions of source code must retain the above * copyright notice...
35.123288
98
0.597309
[ "BSD-2-Clause" ]
CraigOrendi/xenadmin
XenAdminTests/CompressionTests/CompressionStreamTests.cs
5,130
C#
 using UnityEngine; public class Shop : MonoBehaviour { public TurretBlueprint standardTurret; public TurretBlueprint missileLuncher; public TurretBlueprint laserBeamer; BuildManager buildManager; void Start() { buildManager = BuildManager.instance; } public void SelectStan...
22.323529
57
0.681159
[ "MIT" ]
VaiaIthilnaur/TowerDefenceAnimuConventGame
TowerDefence/Assets/Scripts/Shop.cs
761
C#
using System; using System.Linq.Expressions; using Bing.Expressions; namespace Bing.Data.Queries.Conditions { /// <summary> /// 与查询条件 /// </summary> /// <typeparam name="TEntity">实体类型</typeparam> public class AndCondition<TEntity> : ICondition<TEntity> where TEntity : class { /// <summ...
29.935484
136
0.590517
[ "MIT" ]
bing-framework/Bing.NetCode
framework/src/Bing.Data/Bing/Data/Queries/Conditions/AndCondition.cs
1,004
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...
57.843954
243
0.668112
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/FMS/Generated/_netstandard/IAmazonFMS.cs
70,802
C#
using System; namespace TestFu.Grammars { public delegate void ProductionTokenDelegate(IProductionToken token); }
17.428571
71
0.786885
[ "ECL-2.0", "Apache-2.0" ]
Gallio/mbunit-v2
src/mbunit/TestFu/Grammars/ProductionTokenDelegate.cs
122
C#
namespace Dashing.Tests.TestDomain { public class Order { public int OrderId { get; set; } public Delivery Delivery { get; set; } public Customer Customer { get; set; } } }
23
46
0.603865
[ "MIT" ]
Itzalive/dashing
Dashing.Tests/TestDomain/Order.cs
209
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft...
30.111111
110
0.680812
[ "MIT" ]
rafaelbarrelo/ServerApi
src/Startup.cs
1,086
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; namespace Chinook.API.Middleware { public static class UserKeyValidatorsExtension { public static IApplicationBuilder ApplyEntityValidation(this IApplicationBui...
40.196429
93
0.531764
[ "MIT" ]
cwoodruff/ChinookASPNETCore3APINTier
ChinookASPNETCore3APINTier/Chinook.API/Middleware/EntityValidationMiddleware.cs
2,251
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. // This file contains the IDN functions and implementation. // // This allows encoding of non-ASCII domain names in ...
46.321749
163
0.515259
[ "MIT" ]
Geotab/corefx
src/Common/src/CoreLib/System/Globalization/IdnMapping.cs
41,319
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
26.930233
63
0.721071
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-ecs/Ecs/Model/V20140526/DeleteDeploymentSetResponse.cs
1,158
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; /// <summary> /// code editor /// </summary> public class CodeEditor : State { protected List<LineInfo> m_buffer = new List<LineInfo>(); protected int m_curLine; protected int m_curIndex; ...
25.317221
134
0.474582
[ "MIT" ]
fancyblock/GVBASIC
GVBASIC/Assets/Script/State/CodeEditor/CodeEditor.cs
8,744
C#
namespace Cake.VsCode.Tests { internal sealed class VscePackagerFixture : VsceFixture<VscePackageSettings> { protected override void RunTool() { var tool = new VscePackager(FileSystem, Environment, ProcessRunner, Tools); tool.Run(Settings); } } }
25.666667
87
0.636364
[ "MIT" ]
cake-contrib/Cake.VsCode
Source/Cake.VsCode.Tests/VscePackagerFixture.cs
310
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class EditorModeUI : MonoBehaviour { public TabButton mapButton; public TabButton propButton; public TabButton encounterButton; private UIManager _uiManager; private void Awa...
23.052632
77
0.643836
[ "MIT" ]
ambid17/PlanarWorlds
Assets/Scripts/UI/EditorModeUI.cs
876
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Kujikatsu043.Algorithms; using Kujikatsu043.Collections; using Kujikatsu043.Extensions; using Kujikatsu043.Numerics; using Kujikatsu0...
25.136364
78
0.533454
[ "MIT" ]
terry-u16/AtCoder
Kujikatsu043/Kujikatsu043/Kujikatsu043/Questions/QuestionC.cs
1,108
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: keyboard.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google...
35.387324
210
0.671841
[ "MIT" ]
iimcz/cmtoolbox
backend/Generated/Protobuf/Keyboard.cs
10,050
C#
namespace LearningSystem.Infrastructure { using LearningSystem.Core.Entities; using LearningSystem.Core.Repositories; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Query; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expr...
32.539216
148
0.600181
[ "MIT" ]
VGGeorgiev/LearningSystem
LearningSystem.Infrastructure/Repositories/Repository.cs
3,321
C#
using System; using System.Collections.Generic; namespace ReunionGet.Parser { public static class BEncoding { public static object Read(ReadOnlySpan<byte> content, bool strict = false) { var reader = new BEncodingReader(content); object obj = ReadCore(ref reader, strict...
29.571429
98
0.483629
[ "MIT" ]
huoyaoyuan/ReunionGet
Source/Portable/ReunionGet.Parser/BEncoding.cs
1,865
C#
using System; using System.Collections; using System.Xml; namespace Nessus.Data { public class NessusManager : IDisposable { NessusManagerSession _session; int RandomNumber { get { return new Random().Next(9999); } } /// <summary> /// Initializes a new instance of the <see cref="AutoAssess.Data.Nessus....
24.626302
116
0.592423
[ "Apache-2.0" ]
breakersall/Posh-SecMod
Nessus/nessus-sharp/NessusManager.cs
37,826
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...
26.438889
121
0.472158
[ "MIT" ]
maxwang/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/CampaignProgressNotificationUriReference.cs
4,759
C#
using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq.Expressions; using System.Reflection; using System.Threading.Tasks; using Orleans.CodeGeneration; using Orleans.Runtime.Configuration; u...
42.664612
220
0.585648
[ "MIT" ]
Horusiath/orleans
src/OrleansRuntime/Core/InsideRuntimeClient.cs
34,607
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
45.6
227
0.623684
[ "MIT" ]
PraganK/Crafty-Crew
EssentialUIKit/obj/Debug/netstandard2.0/Views/Shopping/PaymentSuccessPage.xaml.g.cs
1,140
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace CDFTesterProcessCreator { /// <summary> /// A class to handle the pretty printing of the console during CDFTester execution. /// </summary> public stati...
35.468085
112
0.544691
[ "MIT" ]
blaine91787/CDF-Tester
CDFTesterProcessCreator/ConsoleWriter.cs
5,003
C#
//--------------------------------------------------------------------------------------------------- // <auto-generated> // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. // Generated by DynamicsCrm.DevKit - https://github.com/phuocle/Dynamics-Crm-DevKit // </auto-gen...
32.409449
105
0.699466
[ "MIT" ]
Kayserheimer/Dynamics-Crm-DevKit
test/v.2.12.31/TestAllEntities/All-DEMO/Dev.DevKit.Shared/Entities/msdyn_ocprovisioningstate.generated.cs
16,466
C#
using UnityEngine; using UnityEngine.UI; namespace DaftAppleGames.UI { public class ActionPrompt : MonoBehaviour { [Header("Config")] public bool displayPrompt; public GameObject promptGameObject; [Header("UI Config")] public string promptText; public Text promp...
25.94
78
0.538165
[ "MIT" ]
mroshaw/3DForgeComponents
Assets/3D Forge Components/Scripts/DaftAppleGames/UI/ActionPrompt.cs
1,297
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.Linq; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Windows.Forms.DataVisualization.Charting; using Inaprop; namespace Inaprop { pu...
44.390244
100
0.517033
[ "MIT" ]
ina111/Inaprop
MainForm.Plot.cs
7,417
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) #pragma warning disable using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ocsp; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf { /// <remarks> /// RFC 3126: 4....
25.204819
99
0.710325
[ "MIT" ]
Bregermann/TargetCrack
Target Crack/Assets/Best HTTP/Source/SecureProtocol/asn1/esf/OcspIdentifier.cs
2,092
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace phirSOFT.Collections { /// <inheritdoc /> /// <summary> /// Provides a <see cref="T:System.Collections.Generic.IDictionary`2" /> that will create missing values when requested, /// but will n...
29.5
128
0.54318
[ "MIT" ]
phirSOFT/phirSOFT.Collections
phirSOFT.Collections/WeakLazyDictionary.cs
3,719
C#
using Pluto.Domain.Enums; using Pluto.Domain.Models.Common; using Pluto.Utils.Cryptography; namespace Pluto.Domain.Models { public class User : Entity { // -> Empty contructor for EF public User() { } public User(string name, string email, string password, UserProfile...
27.309524
85
0.592851
[ "MIT" ]
spaki/Pluto
Pluto.Domain/Models/User.cs
1,149
C#
using Plastic.Molding.Data; namespace Plastic.Molding.Cs.Data.EntityFramework { public class EfFieldMoldCollection : FieldMoldCollection<IEfFieldMold> { protected override void AddTypes() { AddType<EfCalculatedFieldMold>(); AddType<EfDecimalFieldMold>(); Add...
31.47619
74
0.615734
[ "Unlicense" ]
jonkeda/Plastic
Plastic/Molding/Cs/Data/EntityFramework/EfFieldMoldCollection.cs
663
C#
using Newbe.Mahua.Apis; using System; using Newbe.Mahua.NativeApi; namespace Newbe.Mahua.CQP.Apis { internal class RemoveBanGroupMemberApiMahuaMahuaCommandHandler : CqpApiMahuaCommandHandlerBase<RemoveBanGroupMemberApiMahuaCommand> { public RemoveBanGroupMemberApiMahuaMahuaCommandHandler( ...
30.434783
114
0.71
[ "MIT" ]
BOBO41/Newbe.Mahua.Framework
src/Newbe.Mahua.CQP/Apis/RemoveBanGroupMemberApiMahuaMahuaCommandHandler.cs
702
C#
using UnityEngine; using UnityEngine.UI; public class LoadLevelButton : MonoBehaviour { public LevelSlotDialog dialog; void Start() { GetComponent<Button>().onClick.AddListener(Clicked); dialog.gameObject.SetActive(false); } public void Clicked() { dialog.gameObject.SetActive(...
21.117647
60
0.665738
[ "BSD-3-Clause" ]
AvantTeam/MochiRun
Assets/UI/LevelSlot/LoadLevelButton.cs
359
C#
using UnityEngine; using System.Collections; public class Controls : MonoBehaviour { //How Sensitive/Fast the camera is public float controlSensitivity = 4F; //The Value that rotates the camera private float rotation = 0; //Runs once per frame void Update() { //Run this entire function every frame ...
32.608696
140
0.734667
[ "CC0-1.0" ]
Richetech/CosmicBounceTut
Milestones:Phases/Milestone1/CosmicBounceTut_Part_1/Assets/Scripts/Controls.cs
1,502
C#
namespace Grayscale.Kifuwarazusa.Entities.Features { public abstract class KomaSyurui14Array { #region 静的プロパティー類 /// <summary> /// 外字、後手 /// </summary> public static char[] GaijiGote { get { return KomaSyurui14Array.gaijiGote; } } protected static char[] gaij...
31.176344
132
0.273229
[ "MIT" ]
muzudho/201505-KifuWarabe-WCSC25-v1-14
Sources/Entities/Features/P025KifuLarabe/KomaSyurui14Array.cs
15,490
C#
using System.Collections; using System.Collections.Generic; using System.Xml; using Renci.SshNet.Sftp; namespace CSLabs.Api.Util { public static class SftpExtensions { public static string GetExtension(this SftpFile file) { return file.Name.Substring(file.Name.LastIndexOf(".") + 1);...
24.538462
83
0.575235
[ "MIT" ]
ius-csg/cslabs-extension-2020
cslabs-backend/CSLabs.Api/Util/SftpExtensions.cs
638
C#
// MiddleMouseKeyChangeSpriteSystem.cs using UnityEngine; using Entitas; public class MiddleMouseKeyChangeSpriteSystem : IExecuteSystem { readonly IGroup<GameEntity> _sprites; // 获取所有拥有Sprite的组 public MiddleMouseKeyChangeSpriteSystem(Contexts contexts) { _sprites = contexts.game.GetGroup(Game...
23.357143
67
0.614679
[ "MIT" ]
WarrenMondeville/ECSFrameworkUnityExample
UnityProject/Assets/2_EntityViewAndMovement/Scripts/Systems/Input/MiddleMouseKeyChangeSpriteSystem.cs
702
C#
// =========== // DO NOT EDIT - this file is automatically regenerated. // =========== using System; using System.Collections.Generic; using Unity.Entities; using Unity.Collections; using Improbable.Gdk.Core; using Improbable.Gdk.Subscriptions; using Improbable.Worker.CInterop; using Entity = Unity.Entities.Entity; n...
40.814815
273
0.63132
[ "MIT" ]
gdk-for-unity-bot/gdk-for-unity
test-project/Assets/Generated/Source/improbable/gdk/tests/componentswithnofields/ComponentWithNoFieldsWithCommandsCommandSenderReceiver.cs
15,428
C#
using UnityEngine; using System.Collections; public class PlayWeaponSound : MonoBehaviour { [SerializeField] private AudioSource audioSource; public void Play() { this.audioSource.Play(); } public void Stop() { this.audioSource.Stop(); } }
14.181818
45
0.596154
[ "MIT" ]
mentalnote/OldHabitsDieHarder
Assets/Scripts/PlayWeaponSound.cs
314
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Rendering; using Microsoft.AspNetCore.Components.Web; n...
29.574468
116
0.722302
[ "MIT" ]
havit/Havit.Blazor
Havit.Blazor.Components.Web.Bootstrap/Icons/HxBootstrapIcon.cs
1,392
C#
using UnityEngine; using System.Collections; public class IOSImagePickResult : ISN_Result { private Texture2D _image = null; public IOSImagePickResult(string ImageData):base(true) { if(ImageData.Length == 0) { _IsSucceeded = false; return; } byte[] decodedFromBase64 = System.Convert.FromBase64Str...
20.882353
78
0.712676
[ "MIT" ]
Bregermann/TargetCrack
Target Crack/Assets/Extensions/IOSNative/Other/Camera/IOSImagePickResult.cs
712
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HoveringVehicle : Vehicle { [System.Serializable] public class Engine { public void Init (Rigidbody _rigidbody) { rigidbody = _rigidbody; } public Transform transform; pri...
33.226667
186
0.638443
[ "MIT" ]
Lomztein/Project-Incoming
Assets/Source/Enemies/HoveringVehicle.cs
2,494
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum CastDirection { Up, Down, Left, Right, Forward, Backward }
12.5
33
0.685714
[ "MIT" ]
JackEvans24/bug-racing
Assets/Scripts/Helpers/CastDirection.cs
175
C#
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using Microsoft.PowerT...
40.855932
137
0.546152
[ "MIT" ]
Fentaniao/PowerToys
src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Registry/Helper/RegistryHelper.cs
9,409
C#
namespace Telnyx.net.Entities.OutboundVoiceProfiles { using System.Collections.Generic; using Newtonsoft.Json; public class OutboundVoiceProfileCallRecording { /// <summary> /// Specifies which calls are recorded. /// </summary> [JsonProperty("call_recording_type")] ...
38.363636
182
0.651659
[ "MIT" ]
MValle21/telnyx-dotnet
src/Telnyx.net/Entities/OutboundVoiceProfiles/OutboundVoiceProfileCallRecording.cs
1,268
C#
using System.Windows.Forms; namespace Demo.Nehe { partial class Lesson16Form { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
33.92
107
0.560928
[ "Apache-2.0" ]
jdarc/webgl.net
Demo/Nehe/Lesson16Form.designer.cs
2,546
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Recognizers.Text.Sequence.English { public class EmailParser : BaseSequenceParser { private BaseSequenceConfiguration config; public EmailParser(BaseSequenceConfiguration confi...
22.647059
61
0.683117
[ "MIT" ]
17000cyh/Recognizers-Text
.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/EmailParser.cs
387
C#
using System; using System.IO; using System.Text; using Compress.Support.Compression.LZMA; namespace Compress.SevenZip.Structure { public class Header { public StreamsInfo StreamsInfo; public FileInfo FileInfo; public void Read(BinaryReader br) { for ...
32.648
121
0.410194
[ "Apache-2.0" ]
RomVault/RVWorld
Compress/SevenZip/Structure/Header.cs
4,083
C#
#region Using Directives using System; using System.Collections.Generic; using System.Collections.Immutable; #endregion namespace Pharmatechnik.Nav.Language.CodeGen { // ReSharper disable once InconsistentNaming sealed class IBeginWfsCodeModel : FileGenerationCodeModel { IBeginWfsCode...
47.605634
132
0.657101
[ "MIT" ]
IInspectable/Nav-Language-Extensions
Nav.Language/CodeGen/CodeModel/IBeginWfsCodeModel.cs
3,312
C#
using BuildVision.Contracts; namespace BuildVision.UI.Settings.Models.Columns { public class GridColumnSettings : BaseGridColumnSettingsAttribute { public static GridColumnSettings Empty { get; } = new GridColumnSettings { PropertyNameId = string.Empty, Header = Resourc...
25.75
80
0.576052
[ "MIT" ]
FroggieFrog/BuildVision
src/BuildVision.UI/Settings/Models/GridColumnSettings.cs
929
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime:4.0.30319.42000 // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si // se vuelve a gener...
41.578947
178
0.585021
[ "MIT" ]
AVinitzca/tgc-viewer
TGC.Examples/Properties/Resources.Designer.cs
4,754
C#
using System; using System.Collections.Generic; using System.Text; namespace Sanatana.DataGenerator.EntityFrameworkCoreSpecs.Tools.Samples.Entities { public class Post { public int Id { get; set; } public int CategoryId { get; set; } public string MarkerText { get; set; } } }
22.5
80
0.679365
[ "MIT" ]
RodionKulin/Sanatana.DataGenerator
Sanatana.DataGenerator.EntityFrameworkCoreSpecs/Tools/Samples/Entities/Post.cs
317
C#
using System; using System.Collections.Generic; namespace Orleans.Storage { public interface ILocalDataStore { string Etag { get; } string WriteRow(IList<Tuple<string, string>> keys, IDictionary<string, object> data, string eTag); IDictionary<string, object> ReadRow(IList<Tuple<string, ...
31.809524
106
0.687126
[ "MIT" ]
Drawaes/orleans
src/Orleans/Providers/ILocalDataStore.cs
668
C#
// WARNING // // This file has been generated automatically by Xamarin Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using Foundation; using System.CodeDom.Compiler; namespace CNotes { [Register ("CN...
22.634146
84
0.709052
[ "MIT" ]
colbylwilliams/C-Notes
CNotes/CNotes/ViewControllers/CNotesTvc.designer.cs
928
C#
/* * Elemental Annotations <https://github.com/takeshik/ElementalAnnotations> * Copyright © 2015 Takeshi KIRIYA (aka takeshik) <takeshik@tksk.io> * Licensed under the zlib License; for details, see the website. */ using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Sy...
31.978261
117
0.626445
[ "Apache-2.0", "MIT" ]
ruhiel/PresetViewerPlugin
PresetViewerPlugin/Annotations/ElementalAttribute.cs
2,943
C#
namespace Ifak.Fast.Mediator.Util { using System; internal sealed partial class RecyclableMemoryStreamManager { /// <summary> /// Arguments for the StreamCreated event /// </summary> public sealed class StreamCreatedEventArgs : EventArgs { /// <summary> ...
36.636156
151
0.512555
[ "MIT" ]
ifakFAST/Mediator.Net
Mediator.Net/MediatorLib/Util/RecyclableMemoryStream/EventArgs.cs
16,012
C#
using System; using System.Linq; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.WebUtilities; namespace KendoUI.Core.Samples.Utils { public static class KendoUtils { public static string GetJsonDataFromQueryString(this HttpContext httpContext) { var rawQueryString = htt...
32.722222
98
0.718166
[ "Apache-2.0" ]
VahidN/KendoUI.Core.Samples
src/KendoUI.Core.Samples/Utils/KendoUtils.cs
589
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WeddingBidders.Server.Services.Contracts { public interface IWeddingService { } }
17.076923
50
0.77027
[ "MIT" ]
QuinntyneBrown/wedding-bidders
Server/Services/Contracts/IWeddingService.cs
224
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Input; using System; using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; #if WINDOW...
31.266294
160
0.516796
[ "MIT" ]
Bhaskers-Blu-Org2/MRDL_Unity_PeriodicTable
Assets/MixedRealityToolkit.Examples/Demos/EyeTracking/DemoVisualizer/Scripts/UserInputPlayback.cs
16,792
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 NetPhlixDB.Data; namespace NetPh...
32.083333
125
0.450174
[ "MIT" ]
DimchoLakov/NetClixDB
src/Data/NetPhlixDB.Data/Migrations/20181224080259_InitialCreate.Designer.cs
15,787
C#
namespace Alpaca.Markets; /// <summary> /// Encapsulates request parameters for <see cref="IAlpacaTradingClient.UpdateWatchListByIdAsync(UpdateWatchListRequest,CancellationToken)"/> call. /// </summary> public sealed class UpdateWatchListRequest : Validation.IRequest { private readonly List<String> _assets = new(...
34.188679
147
0.666115
[ "Apache-2.0" ]
OlegRa/alpaca-trade-api-csharp
Alpaca.Markets/Parameters/UpdateWatchListRequest.cs
1,814
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using wiseapp.Business; namespace wiseapp.Repository { public interface IPersonRepository : IGenericRepository<Person> { Person GetById(long id); } }
19.2
67
0.75
[ "CC0-1.0" ]
onthebeachh/wiseapp
wiseapp.Repository/IPersonRepository.cs
290
C#
using System; using System.Threading.Tasks; namespace SqlRepoEx.Abstractions { public interface IExecuteSqlStatement<TReturn> { TReturn Go(); Task<TReturn> GoAsync(); IExecuteSqlStatement<TReturn> WithSql(string sql); IExecuteSqlStatement<TReturn> UseConnectionProvider(IConnecti...
27.615385
100
0.732591
[ "MIT" ]
AzThinker/SqlRepoEx
SqlRepo/Abstractions/IExecuteSqlStatement.cs
359
C#
// // System.Diagnostics.PerformanceCounterType.cs // // Authors: // Jonathan Pryor (jonpryor@vt.edu) // // (C) 2002 // // // 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 restri...
32.253521
73
0.787773
[ "Apache-2.0" ]
CRivlaldo/mono
mcs/class/System/System.Diagnostics/PerformanceCounterType.cs
2,290
C#
namespace SilverGym.Web.Tests { using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Testing; using Xunit; public class WebTests : IClassFixture<WebApplicationFactory<Startup>> { private readonly WebApplicationFactory<Startup> server; public WebTest...
33.605263
120
0.649961
[ "MIT" ]
SilverGym2020-21/SilverGym
Tests/SilverGym.Web.Tests/WebTests.cs
1,279
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------------...
32.659841
1,359
0.73596
[ "MIT" ]
capnmidnight/Juniper
src/Juniper.Veldrid.Android/Resources/Resource.designer.cs
177,049
C#
 // LICENCE: The Code Project Open License (CPOL) 1.02 // LICENCE TO DOWNLOAD: http://www.codeproject.com/info/CPOL.zip // AUTHOR(S): SACHA BARBER, IAN P JOHNSON // WHERE TO FIND ORIGINAL: http://www.codeproject.com/Articles/651464/Expression-API-Cookbook namespace RabbitDB.ChangeTracker { /// <summary> /// Defines...
24.310345
93
0.683688
[ "Apache-2.0" ]
PowerMogli/Rabbit.Db
src/RabbitDB.Entity/ChangeTracker/ComponentTrackerType.cs
707
C#
/* Copyright (C) 2008-2015 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * 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 t...
43.529412
82
0.742568
[ "MIT" ]
OpenDataSpace/AlphaFS
AlphaFS/Security/Structures/TokenPrivileges.cs
1,480
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace AvePoint.Migration.Api.Models { using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; public ...
35.896226
221
0.588436
[ "MIT" ]
AvePoint/FLY-Migration
WebAPI/CSharp/FLY 4.1/FLY/Models/BoxPlanSettingsModel.cs
3,805
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Utils; using osu.Game.Graphics; using osu.Game.Rulesets.Objects.Drawables; ...
31.396739
150
0.574
[ "MIT" ]
hornyyy/Osu-Toy
osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableDrumRoll.cs
5,779
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace AE_RemapExceed { public partial class OKDialog : Form { public OKDialog() { InitializeComponent(); } public in...
16.676056
68
0.654561
[ "MIT" ]
bryful/AE_Remap_Drei
sample/AE_RemapExceed/AE_RemapExceed/Dialog/OKDialog.cs
1,186
C#
namespace In.ProjectEKA.HipService.DataFlow { using HipLibrary.Patient; using Task = System.Threading.Tasks.Task; public class DataFlowMessageHandler { private readonly ICollect collect; private readonly DataFlowClient dataFlowClient; private readonly DataEntryFactory dataEntryF...
38.088235
97
0.658687
[ "MIT" ]
Ziyuan-TW/hip-service
src/In.ProjectEKA.HipService/DataFlow/DataFlowMessageHandler.cs
1,295
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
38.763889
183
0.604801
[ "MIT" ]
jhilgeman/OptimizeOfficeDoc
OptimizeOfficeDoc/Properties/Resources.Designer.cs
2,793
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // using Microsoft.AzureStack.Management.Update.Admin; using Models = Microsoft.AzureStack.Management.Update.Admin.Models; using System.Linq; using Xunit; na...
42.260417
110
0.589105
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/azurestack/Microsoft.AzureStack.Management.Update.Admin/tests/src/Updates.Test.cs
4,059
C#
using System; using System.Linq; using System.Collections.Generic; using System.Reactive.Concurrency; using FluentAssertions; using Microsoft.Reactive.Testing; using Xunit; using FsCheck.Xunit; using FsCheck; namespace Toggl.Foundation.Tests { public sealed class TimeServiceTests { public sealed class...
38.63964
126
0.579506
[ "BSD-3-Clause" ]
HectorRPC/Toggl2Excel
Toggl.Foundation.Tests/TimeServiceTests.cs
8,580
C#
using UnityEngine; using UnityEngine.UI; namespace SCore.Loading { /// <summary> /// Display servic loading information by image bar /// </summary> [RequireComponent(typeof(ServiceLoader))] public class ServiceLoaderProgressBar : MonoBehaviour { public Image progressBar; // Us...
25.258065
91
0.606641
[ "MIT" ]
AlekseySimonenko/SCore
ServiceLoader/View/ServiceLoaderProgressBar.cs
785
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...
30.478261
107
0.653352
[ "Apache-2.0" ]
ourobouros/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/BatchUpdateScheduleResponse.cs
2,103
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager; using Az...
54.538462
268
0.671368
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Extensions/SubscriptionResourceExtensionClient.cs
9,926
C#
using System.Collections.Generic; namespace EliteJournalReader.Events { public class CreateSuitLoadoutEvent : JournalEvent<CreateSuitLoadoutEvent.CreateSuitLoadoutEventArgs> { public CreateSuitLoadoutEvent() : base("CreateSuitLoadout") { } public class CreateSuitLoadoutEventArgs : JournalEvent...
34.473684
105
0.638168
[ "MIT" ]
WarmedxMints/EliteJournalReader
EliteJournalReader/Events/CreateSuitLoadoutEvent.cs
655
C#
namespace Demo.Core.Configuration { public class AppConfigurationService { public const string SectionName = "Configuration"; public string ConnectionString { get; set; } } }
17.25
58
0.671498
[ "MIT" ]
nikneem/generic-api-with-az-devops-pipeline-and-arm
src/Demo.Core/Configuration/AppConfigurationService.cs
209
C#
 namespace Tavis.OpenApi { using SharpYaml.Serialization; using System.IO; using System.Linq; public static class YamlHelper { public static string GetScalarValue(this YamlNode node) { var scalarNode = node as YamlScalarNode; if (scalarNode == null) throw ne...
23.78125
113
0.604468
[ "Apache-2.0" ]
tavis-software/Tavis.OpenApi
src/OpenApi/Nodes/YamlHelper.cs
763
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.513761
123
0.638078
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20200701/Outputs/VirtualNetworkTapResponse.cs
3,871
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...
49.734043
121
0.580107
[ "MIT" ]
athipp/azure-powershell
src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands/RemoveAzureRmDataLakeStoreItem.cs
4,584
C#
namespace PizzaMario.Models { public class BaseModel { public int Id { get; set; } } }
15.285714
35
0.579439
[ "MIT" ]
Yaaappee/PizzaMario
PizzaMario/Models/BaseModel.cs
109
C#
using AccidentalFish.Foundations.Resources.Abstractions.Blobs; namespace AccidentalFish.Foundations.Resources.Abstractions.Queues { /// <summary> /// A large message queue combines a blob store and a queue (with references to the blobs) to allow for the queueing /// of items of a greater size than typical...
45.310345
127
0.695586
[ "MIT" ]
JTOne123/AccidentalFish.Foundations
Source/AccidentalFish.Foundations.Resources.Abstractions/Queues/ILargeMessageQueue.cs
1,316
C#
using System; using System.Collections.Generic; using Networker.PacketHandlers; namespace Networker { public class ModuleBuilder : IModuleBuilder { private IModule _module; private readonly Dictionary<int, Type> _handlers; public ModuleBuilder() { _handlers = new D...
27.255814
117
0.611775
[ "MIT" ]
erictuvesson/Networker
Networker/ModuleBuilder.cs
1,174
C#
namespace OnlineStore.Models.Common { public class ModelConstants { public const string CategoryListPath = @"OnlineStore.Models\Common\CategoryList.json"; public const int CategoryNameMinLength = 3; public const int UsernameMinLength = 3; public const int UsernameMaxLength = 30...
42.55
130
0.689777
[ "MIT" ]
msotiroff/Online-Store
src/OnlineStore.Models/Common/ModelConstants.cs
853
C#
using System; using System.Collections.Generic; using Wikitools.Lib.Contracts; using Wikitools.Lib.Primitives; namespace Wikitools.AzureDevOps; public record ValidWikiPagesStatsForMonth(ValidWikiPagesStats Stats) : ValidWikiPagesStats(ValidStatsForMonth(Stats)) { public ValidWikiPagesStatsForMonth(IEnumerab...
42.717949
106
0.722089
[ "MIT" ]
konrad-jamrozik/dotnet-lib
azuredevops/ValidWikiPagesStatsForMonth.cs
1,668
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class Player : MonoBehaviour { // Start is called before the first frame update void Start() { sr = GetComponent<SpriteRenderer>(); anim = GetComponent<Animator>(); ...
29.852518
150
0.469334
[ "MIT" ]
rimorD/InfiniteRunner
Assets/Scripts/Player.cs
8,299
C#
using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Net.Http; using System.Threading.Tasks; namespace RuriLib.CaptchaServices { /// <summary> /// Represent a captcha-solving service. /// </summary> public abstract class CaptchaService { /// <summ...
38.039823
154
0.562522
[ "MIT" ]
541n7215/KickOff
RuriLib/CaptchaServices/CaptchaService.cs
8,599
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using com.freeclimb.api.call; using com.freeclimb.api; using com.freeclimb; using com.freeclimb.api.message; namespace freeclimb_cs_sdk_test.api.call { [TestClass] public class MessageTest { [TestMethod] public void MakeMessageFromJsonTes...
51.342857
591
0.670562
[ "MIT" ]
Anedumgottil/csharp-sdk
freeclimb-cs-sdk-test/api/message/MessageTest.cs
1,799
C#
using System; using System.Collections.Generic; using System.Linq; using Trady.Analysis.Infrastructure; namespace Trady.Analysis.Indicator { public class PositiveDifference<TInput, TOutput> : NumericAnalyzableBase<TInput, decimal?, TOutput> { public int PeriodCount { get; } private DifferenceB...
35.387097
146
0.682771
[ "Apache-2.0" ]
Partiolainen/Trady
Trady.Analysis/Indicator/PositiveDifference.cs
1,099
C#
using NUnit.Framework; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.Json; using DBInline.Classes; using NUnit.Framework.Internal.Execution; namespace DBInline.Test { public class TestBase { /// <summary> /// Place credentials in Environm...
36.209302
127
0.646757
[ "MIT" ]
NicoZweifel/DBInline
DBInline.Test/TestBase.cs
1,557
C#
using System; using HGMF2018.Core; using HGMF2018.Droid; using Xamarin.Forms; [assembly: Dependency(typeof(VersionRetrievalService))] namespace HGMF2018.Droid { public class VersionRetrievalService : IVersionRetrievalService { public string Version { get { ...
22.904762
97
0.634096
[ "MIT" ]
jsauve/HGMF2018
App/HGMF2018.Droid/Services/VersionRetrievalService.cs
481
C#
using System; namespace Deform { public enum Category : byte { Normal, Noise, Mask, Utility } /// <summary> /// Add this attribute to deformers to have them recognised by the deformer creation window. /// </summary> [AttributeUsage (AttributeTargets.Class, AllowMultiple = false, Inherited = false)] p...
20.222222
93
0.727106
[ "MIT" ]
NeatWolf/Deform
Code/Runtime/Core/DeformerAttribute.cs
548
C#
// Copyright 2017 the original author or authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
39.480769
75
0.655626
[ "ECL-2.0", "Apache-2.0" ]
qazuc88/Discovery
test/Steeltoe.Discovery.ConsulBase.Test/Discovery/ConsulDiscoveryOptionsTest.cs
2,055
C#