content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Text; using System.Collections.Generic; using System.Linq; using UnityEditor.VFX; using UnityEngine; using UnityEngine.VFX; using UnityEngine.Profiling; using UnityEngine.Rendering; using Object = UnityEngine.Object; namespace UnityEditor.VFX { struct VFXContextCompiledData { ...
47.469124
255
0.540443
[ "MIT" ]
Clear-Voiz/Spell
SpellDuel/Library/PackageCache/com.unity.visualeffectgraph@7.7.1/Editor/Compiler/VFXGraphCompiledData.cs
51,504
C#
using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace FastFood.Data.Migrations { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
39.885714
122
0.477937
[ "MIT" ]
alexdimitrov2000/Fast-Food-Exam
FastFood/FastFood.Data/Migrations/20180804195031_Initial.cs
6,982
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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
44.585366
164
0.690372
[ "ECL-2.0", "Apache-2.0" ]
SteeltoeOSS/CircuitBreaker
src/Steeltoe.CircuitBreaker.HystrixBase/Strategy/Options/HystrixOptionsFactory.cs
3,658
C#
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Xe...
37.887324
146
0.583643
[ "MIT" ]
phr00t/xenko
sources/assets/Xenko.Core.Assets/CollectionIdGenerator.cs
5,380
C#
using System.Collections.Concurrent; namespace FastCSV.Converters.Collections { internal class ConcurrentStackOfTConverter<T> : IEnumerableOfTConverter<ConcurrentStack<T>, T> { public override void AddItem(ref ConcurrentStack<T> collection, int index, T item) { collection.Push(item...
26.611111
98
0.65762
[ "MIT" ]
Neo-Ciber94/FastCSV
FastCSV/Converters/Collections/ConcurrentStackOfTConverter.cs
481
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.O...
31.76
115
0.637909
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/ibmcloud-operator/dotnet/Kubernetes/Crds/Operators/IbmcloudOperator/Ibmcloud/V1Alpha1/Outputs/BindingSpecParameters.cs
1,588
C#
namespace Xilium.CefGlue { using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using Xilium.CefGlue.Interop; /// <summary> /// Class used to read data from a stream. The methods of this class may be /// called on any thread...
33.094118
90
0.573765
[ "Apache-2.0" ]
mcleo-d/SFE-Minuet-DesktopClient
minuet/CefGlue.Interop.Gen/Classes.Proxies.tmpl/CefStreamReader.tmpl.g.cs
2,813
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Diagnostics; using Microsoft.CodeAnalysis.CSharp.Symbols; namespace Microsoft.CodeAnalysis.CSharp { ///...
43.433372
245
0.558333
[ "Apache-2.0" ]
0x53A/roslyn
src/Compilers/CSharp/Portable/Lowering/DiagnosticsPass_Warnings.cs
37,485
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
27.384615
103
0.692416
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-datadog
sdk/dotnet/Inputs/DashboardWidgetChangeDefinitionRequestFormulaLimitGetArgs.cs
712
C#
using System.Collections; namespace QFramework { public interface IResDatas { /// <summary> /// 获取依赖 /// </summary> /// <param name="url"></param> /// <returns></returns> string[] GetAllDependenciesByUrl(string url); void LoadFromFile(string outRes); ...
32.130435
101
0.641407
[ "MIT" ]
JiYangJi/QFramework
Unity2019ILRuntime/Assets/QFramework/Framework/Plugins/Runtime/ResKit/AssetBundleSupport/ConfigFile/IResDatas.cs
747
C#
using UnityEngine; using System.Collections.Generic; #if UNITY_EDITOR #endif namespace Pathfinding { [AddComponentMenu("Pathfinding/Link2")] public class NodeLink2 : GraphModifier { protected static Dictionary<GraphNode,NodeLink2> reference = new Dictionary<GraphNode,NodeLink2>(); public static NodeLink2 G...
31.315789
189
0.681569
[ "MIT" ]
Warhead-Entertainment/OpenWorld
Assets/AstarPathfindingProject/Core/Misc/NodeLink2.cs
8,925
C#
/* * Alessandro Cagliostro, 2021 * * https://github.com/alecgn */ using CryptHash.Net.Hash; using CryptHash.Net.Hash.HashResults; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CryptHash.Net.Tests.Hash { [TestClass] public class HMAC_SHA_1_Tests { private readon...
26.244444
104
0.577477
[ "MIT" ]
alecgn/crypthash-net
src/CryptHash.Net/lib/CryptHash.Net.Tests/Hash/HMAC_SHA_1_Tests.cs
1,183
C#
using AutoMapper; using Crossroads.Models.Profile; using Crossroads.Web.Infrastructure.Mappings; using System; using System.Linq; namespace Crossroads.Web.ViewModels.ProfileViewModels.Comments { public class CommentViewModel : IMapFrom<ProfileComment>, IHaveCustomMappings { public int Id { get; set; }...
33.21875
108
0.647225
[ "MIT" ]
nevena-angelova/Crossroads
Source/Crossroads.Web/ViewModels/ProfileViewModels/Comments/CommentViewModel.cs
1,065
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.921569
145
0.694323
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
tests/Interop/Windows/Windows/um/MsHTML/ISVGAnimatedIntegerTests.cs
1,834
C#
namespace OmniXaml.ObjectAssembler.Commands { using System.Collections; public class GetObjectCommand : Command { public GetObjectCommand(StateCommuter stateCommuter) : base(stateCommuter) { } public override void Execute() { var previousMemb...
28.848485
82
0.598739
[ "MIT" ]
AvaloniaUI/OmniXAML
Source/OmniXaml/ObjectAssembler/Commands/GetObjectCommand.cs
952
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
29.162162
81
0.687674
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Dayu/V20180709/Models/DescribeUnBlockStatisRequest.cs
1,079
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class W3TrapSpawnEntity : W3Trap ...
37.054054
129
0.71116
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/W3TrapSpawnEntity.cs
1,371
C#
namespace Demo.Data { public class CategoryFindRequest : BaseFindRequest { public string Name { get; set; } } }
16.625
54
0.631579
[ "MIT" ]
trungnguyendlu/demo-asp-net-core
Demo.Data/Category/CategoryFindRequest.cs
135
C#
using FRED.Api.Tags.Arguments; namespace FRED.Api.Releases.Arguments { /// <summary> /// Provides argument properties for the ReleaseRelatedTags API facade. /// </summary> public class ReleaseRelatedTagsArguments : RelatedTagsArguments { #region properties public int release_id { get; set; } internal ove...
18.086957
72
0.723558
[ "MIT" ]
rcapel/FRED-API-Toolkit
Version 2.0/FREDApi/FREDApi/Releases/Arguments/ReleaseRelatedTagsArguments.cs
418
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.Google; using Microsoft.Owin.Security.OAuth; using Owin; using TinderChallenge....
26.964286
121
0.749669
[ "MIT" ]
aamdani/TinderChallenge
TinderChallenge/App_Start/Startup.Auth.cs
757
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...
34.51087
161
0.649134
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Shield/Generated/Model/Internal/MarshallTransformations/ProtectionLimitsUnmarshaller.cs
3,175
C#
using System; namespace MyFood.Domain.Core.Models { public abstract class Entity { public Guid Id { get; protected set; } public override bool Equals(object obj) { var compareTo = obj as Entity; if (ReferenceEquals(this, compareTo)) return true; if...
24.108696
70
0.519387
[ "MIT" ]
raphaelruedo/MyFood
MyFood.Domain/MyFood.Domain.Core/Models/Entity.cs
1,111
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; namespace NuGet.Services.Validation { public class ValidatorIssue : BaseValidationIssue { /// <summary> /// The ...
31.636364
119
0.636494
[ "Apache-2.0" ]
DalavanCloud/ServerCommon
src/NuGet.Services.Validation/Entities/ValidatorIssue.cs
698
C#
using System; using System.Net; using Ruffles.Connections; using Ruffles.Memory; using Ruffles.Time; namespace Ruffles.Core { /// <summary> /// Struct representing a network event. /// </summary> public struct NetworkEvent { /// <summary> /// Gets the event type. /// </summ...
34.828947
97
0.56479
[ "MIT" ]
dungeon2567/Ruffles
Ruffles/Core/NetworkEvent.cs
2,649
C#
namespace P01_HospitalDatabase.Data.Models { public class Diagnose { public int DiagnoseId { get; set; } public string Name { get; set; } public string Comments { get; set; } public int PatientId { get; set; } public Patient Patient { ge...
21.5
50
0.526163
[ "MIT" ]
AntoniyaIvanova/SoftUni
C#/C# DB/Entity Framework Core/02. Code-First/01.HospitalDatabase/Data/Models/Diagnose.cs
346
C#
// <auto-generated /> using System; using A0007_EF_QueryFilter.DataAccess; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace A0007_EF_QueryFilter.Migrations { ...
37.669118
125
0.500293
[ "MIT" ]
wangzhiqing999/my-dotnetcore-sample
A0007_EF_QueryFilter/A0007_EF_QueryFilter/Migrations/TestContextModelSnapshot.cs
5,125
C#
using Microsoft.AspNetCore.Identity; namespace WebWallet.Web.ConfigurationOptions { public static class IdentityConfiguration { public static void Options(IdentityOptions options) { options.Stores.MaxLengthForKeys = 128; options.SignIn.RequireConfirmedEmail = true; ...
34.368421
59
0.663093
[ "MIT" ]
VangelHristov/WebWallet
WebWallet.Web/ConfigurationOptions/IdentityConfiguration.cs
653
C#
//------------------------------------------------------------------------------ // <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> //------------------------------------------...
29.111111
80
0.575064
[ "Unlicense" ]
DEFRA/license-and-permitting-dynamics
Crm/LicensingandPermitting/Defra.Lp/Model.Lp/EarlyBound/OptionSets/PurchaseProcess.cs
786
C#
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; // Put into the same namespace of Entities to skip using its reference namespace on inherit namespace ThreeLayerSample.Domain.Entities { public interface IEntityBase<TKey> { TKey Id { get; set; } } ...
27.157895
91
0.707364
[ "MIT" ]
uyen-luu/3-layer
ThreeLayerSample.Domain/Base/EntityBase.cs
518
C#
// Copyright (C) 2010-2011 Anders Gustafsson and others. All Rights Reserved. // This code is published under the Eclipse Public License. // // Author: Anders Gustafsson, Cureos AB 2011-12-14 namespace FuncLib.Optimization.Ipopt.Cureos { /// <summary> /// Enumeration of the available index styles for the Jacobian ...
24.823529
89
0.720379
[ "MIT" ]
lionpeloux/FuncLib
src/FuncLibIpopt/Ipopt/Cureos/IpoptIndexStyle.cs
424
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...
69.367925
301
0.697946
[ "MIT" ]
Agazoth/azure-powershell
src/Resources/Authorization.Autorest/generated/api/Models/Api20201001Preview/CloudError.json.cs
7,248
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; namespace Azure.Analytics.Synapse.Artifacts.Models { /// <summary> The connection used to execute the S...
46.616279
170
0.643303
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlConnection.cs
4,009
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FoodOrdering.BLL.Requests.DTO { public class MenuMeal { public long MenuId { get; set; } public long MealId { get; set; } public string DayOfWeek { get; set; } } }
18.8125
39
0.730897
[ "Apache-2.0" ]
nikola-jovic/FoodOrdering
FoodOrdering.BLL/Requests/DTO/MenuMeal.cs
303
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; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.At...
58.233056
330
0.614976
[ "MIT" ]
Ar37-rs/Silk.NET
src/Microsoft/Silk.NET.Direct3D12/Structs/ID3D12GraphicsCommandList.gen.cs
209,639
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerLaserController : ExecutableController, IAwakable, IEnableable, IDisaable, IUpdatable, ILateUpdatable { [SerializeField] private GameObject leftLaser; [SerializeField] private GameObject ri...
24.960784
120
0.650432
[ "MIT" ]
kamcio819/OrbLAG2019
Assets/Scripts/PlayerLaserController.cs
1,275
C#
using UnityEngine; using UnityEngine.UIElements; using UnityEditor.UIElements; using Unity.Jobs; public class RawTextureDataProcessingExamplesWindow : UnityEditor.EditorWindow { Texture2D _texture; void OnEnable () { rootVisualElement.Clear(); var PREVIEW = new Image(); { PREVIEW.image = _texture; ...
29.740181
164
0.693011
[ "MIT" ]
andrew-raphael-lukasik/RawTextureDataProcessingExamples
Editor/RawTextureDataProcessingExamplesWindow.cs
9,846
C#
using System; using System.Collections.Generic; namespace WebApplication.Models { public partial class SourceAndTargetSystemsJsonSchema { public string SystemType { get; set; } public string JsonSchema { get; set; } } }
20.833333
57
0.7
[ "MIT" ]
hboiled/azure-data-services-go-fast-codebase
solution/WebApplication/WebApplication/Models/SourceAndTargetSystemsJsonSchema.cs
252
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...
30.56962
107
0.636439
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/RoboMaker/Generated/Model/DeleteRobotApplicationRequest.cs
2,415
C#
using System.IO; using JsonLite.Ast; namespace Hypermedia.JsonApi.Tests { internal static class JsonContent { internal static JsonObject GetObject(string name) { using (var stream = File.OpenRead($"..\\..\\{name}.json")) { return (JsonObject)JsonLite.Jso...
23.25
70
0.564516
[ "MIT" ]
cosullivan/Hypermedia
Src/Hypermedia.JsonApi.Tests/Json.cs
374
C#
namespace SdlSharp.Touch { /// <summary> /// The type of a haptic effect. /// </summary> public enum HapticEffectType { /// <summary> /// Applies a constant force in the specified direction to the joystick. /// </summary> Constant, /// <summary> /// ...
21.478261
80
0.464912
[ "MIT" ]
Ciastex/sdl-sharp
src/SdlSharp/Touch/HapticEffectType.cs
1,484
C#
using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using DevExpress.XtraEditors; namespace Smart.Win.Controls { /// <summary> /// ButtonEdit控件 /// </summary> public class ButtonEditUC : ButtonEdit { /// <summary> /// 设置响应删除事件 /// </summary> ...
28.701493
110
0.48986
[ "Apache-2.0" ]
chartsoft/SmartPublic
AppPublic/Smart.Win/Controls/ButtonEditUC.cs
4,082
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.564103
153
0.587101
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WorkbookWorksheetTablesCollectionPage.cs
1,504
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
48.735632
463
0.650943
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/RegressionTest/PostMSI/PostMSIApp1/Properties/Resources.Designer.cs
4,240
C#
// <copyright file="AssemblyContentManager.cs" company="natsnudasoft"> // Copyright (c) Adrian John Dunstan. 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 // // ...
43.504348
100
0.640416
[ "Apache-2.0" ]
natsnudasoft/EgamiFlowScreensaver
src/EgamiFlowScreensaver/AssemblyContentManager.cs
5,005
C#
using NicoV3.Common; using WpfUtilV1.Mvvm.Service; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using WpfUtilV1.Common; namespace NicoV3.Mvvm.Model { public class LoginModel : HttpModel ...
30.244344
101
0.512717
[ "MIT" ]
twinbird827/NicoV3
Mvvm/Model/LoginModel.cs
8,056
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace Chapter13CardLib { public class Deck : ICloneable { public event EventHandler LastCardDrawn; private Cards cards = new Cards(); public Deck() ...
30.433962
124
0.420955
[ "MIT" ]
laoling/C-sharp-note-StepByStep
Projects/Chapter13CardLib/Chapter13CardLib/Deck.cs
3,228
C#
// Copyright (c) 2019 Jon P Smith, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/ // Licensed under MIT license. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.EntityFrameworkCore; using St...
55.924051
145
0.687189
[ "MIT" ]
benmccallum/EfCore.GenericEventRunner
GenericEventRunner/ForSetup/IGenericEventRunnerConfig.cs
4,420
C#
using CommandLine; using CommandLine.Text; namespace LogConverter.Operations { public class AllOperations { [VerbOption("convert", HelpText = "Convert compact JSON formatted structured log to old txt format.")] public ConvertOptions ConvertVerb { get; set; } [VerbOption("install", Hel...
33.038462
128
0.66007
[ "MIT" ]
V0v1kkk/StructuredLogsConverter
src/LogConverter/Operations/AllOperations.cs
861
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace MetroRadiance.Interop.Win32 { public static class NativeExtensions { public static ushort ToLoWord(this IntPtr dword) { return (ushort)((uint)dword & 0xf...
23.518519
88
0.607874
[ "MIT" ]
Grabacr07/ResinTimer
src/MetroRadiance/MetroRadiance.Core/Interop/Win32/NativeExtensions.cs
637
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
35.3125
232
0.669027
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/Ecs/Inputs/ServiceDeploymentCircuitBreakerArgs.cs
1,130
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace AppEmailParaVoce.Droid { [Activity(Label = "AppEmailParaVoce", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = Co...
38.878788
191
0.717069
[ "MIT" ]
dfilitto/ProjetosXamarinForms
AppEmailParaVoce/AppEmailParaVoce/AppEmailParaVoce.Android/MainActivity.cs
1,285
C#
using System.Runtime.Serialization; namespace InnerCore.Api.DeConz.Models.Bridge { public enum UpdateChannel { [EnumMember(Value = "stable")] Stable, [EnumMember(Value = "alpha")] Alpha, [EnumMember(Value = "beta")] Beta, } }
19.2
44
0.583333
[ "MIT" ]
Denifia/InnerCore.Api.DeConz
InnerCore.Api.DeConz/Models/Bridge/UpdateChannel.cs
290
C#
namespace FormulaEdit.UI_Elements.Script_Action_Editors { partial class ScriptActionControlListRemove { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any reso...
45.885246
168
0.611826
[ "BSD-3-Clause" ]
apoch/formula-engine
FormulaEdit/FormulaEdit/UI Elements/Script Action Editors/ScriptActionControlListRemove.Designer.cs
5,600
C#
// <copyright file="BmpEncoderTests.cs" company="James Jackson-South"> // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // </copyright> using ImageSharp.Formats; namespace ImageSharp.Tests { using Xunit; public class BmpEncoderTests : FileTestBase ...
30.405405
112
0.611556
[ "Apache-2.0" ]
ststeiger/ImageSharpTestApplication
tests/ImageSharp.Tests/Formats/Bmp/BmpEncoderTests.cs
1,127
C#
using System; namespace Demo { public static class Constants { public static string AlertButtonText = "Cancel"; } }
11.272727
50
0.717742
[ "MIT" ]
chrisriesgo/making-mobile-click
Demo/Constants.cs
126
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TradeAndTravel { public class Armor : Item { const int GeneralArmorValue = 5; public Armor(string name, Location location = null) : base(name, Armor.GeneralArmorValue, ItemType.Armor, l...
21.478261
75
0.617409
[ "Apache-2.0" ]
iliantrifonov/TelerikAcademy
OOP/ExamPreparation/2.TradeAndTravel/TradeAndTravel-MySolution/TradeAndTravel/Armor.cs
496
C#
using MvvmHelpers; using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace AtividadesVeiculoColeta.ViewModels { public class NovoVeiculoViewModel : ObservableObject { public NovoVeiculoViewModel() { } private string _nome; ...
17.840909
56
0.464968
[ "MIT" ]
perfeito/AtividadesVeiculoColeta
src/AtividadesVeiculoColeta/AtividadesVeiculoColeta/ViewModels/NovoVeiculoViewModel.cs
787
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Xunit; namespace System.Windows.Forms.Tests { public class SplitContainerTests : IClassFixture<ThreadExc...
30.04
76
0.644474
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms/tests/UnitTests/SplitContainerTests.cs
753
C#
namespace SKIT.FlurlHttpClient.ByteDance.TikTok.Models { /// <summary> /// <para>表示 [GET] /data/external/poi/user 接口的请求。</para> /// </summary> public class DataExternalPOIUserRequest : TikTokRequest { /// <summary> /// 获取或设置 POI ID。 /// </summary> [Newtonsoft.Json.Js...
28.173913
60
0.580247
[ "MIT" ]
JohnZhaoXiaoHu/DotNetCore.SKIT.FlurlHttpClient.ByteDance
src/SKIT.FlurlHttpClient.ByteDance.TikTok/Models/DataExternalPOI/DataExternalPOIUserRequest.cs
698
C#
using System; using Newtonsoft.Json; namespace TownSuite.Web.SSV3Facade { public partial class RootInfo { [JsonProperty("swagger")] public string Swagger { get; set; } [JsonProperty("info")] public Info Info { get; set; } [JsonProperty("host")] public string H...
22.885496
68
0.574049
[ "BSD-3-Clause" ]
TownSuite/TownSuite.Web.SSV3Facade
TownSuite.Web.SSV3Facade/SwaggerHelpers.cs
3,000
C#
// Copyright (c) 2013-2015 Robert Rouhani <robert.rouhani@gmail.com> and other contributors (see CONTRIBUTORS file). // Licensed under the MIT License - https://raw.github.com/Robmaister/SharpNav/master/LICENSE using System; using System.Collections.Generic; using SharpNav.Geometry; #if MONOGAME using Vector3 = Micr...
26.324324
149
0.598326
[ "MIT" ]
AngelKyriako/SharpNav
Source/SharpNav/PolyMesh.cs
37,986
C#
// ----------------------------------------------------------------------- // <copyright file="ICostEstimationManager.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ----------------------------------------------------------------------- using Syste...
32.047619
79
0.579495
[ "MIT" ]
Azure/ccme
src/shared/Common/Managers/ICostEstimationManager.cs
675
C#
/* Copyright 2010-present MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
33.25
90
0.680201
[ "Apache-2.0" ]
BorisDog/mongo-csharp-driver
src/MongoDB.Driver/Linq/Linq3Implementation/Ast/Expressions/AstAndExpression.cs
1,997
C#
using System; namespace NAdapter { /// <summary> /// An error was made during the specification of a type /// </summary> public class InvalidTypeSpecificationException : Exception { /// <summary> /// Constructor. /// </summary> /// <param name="errors">The errors fo...
28.473684
97
0.606285
[ "MIT" ]
keith-anders/NAdapter
src/NAdapter/Exceptions/InvalidTypeSpecificationException.cs
543
C#
using System.IO; namespace Unity.VisualScripting { [Plugin(BoltFlow.ID)] public class BoltFlowPaths : PluginPaths { public BoltFlowPaths(Plugin plugin) : base(plugin) { } public string unitOptions => Path.Combine(transientGenerated, "UnitOptions.db"); } }
22.307692
88
0.686207
[ "MIT" ]
2PUEG-VRIK/UnityEscapeGame
2P-UnityEscapeGame/Library/PackageCache/com.unity.visualscripting@1.6.1/Editor/VisualScripting.Flow/Plugin/BoltFlowPaths.cs
290
C#
using SimpleJSON; using System.Linq; using UnityEngine; namespace ToySerialController.Utils { public static class Extensions { public static Rigidbody GetRigidBodyByName(this Atom atom, string name) => ComponentCache.GetRigidbody(atom, name); public static T GetComponentByName<T>(this Componen...
31.77193
156
0.594147
[ "MIT" ]
Yoooi0/ToySerialController
src/Utils/Extensions.cs
1,813
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
37.192308
178
0.7394
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementNotStatementStatementNotStatementStatementOrStatementStatementSizeConstraintStatementFieldToMatchSingleHeaderArgs.cs
967
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections; using System.Runtime.InteropServices; namespace System.Management { //CCCCCCCCCCCCCCC...
40.966102
253
0.523414
[ "MIT" ]
Geotab/corefx
src/System.Management/src/System/Management/ManagementObjectCollection.cs
26,587
C#
using System; using System.Text.Json; using System.Text.Json.Serialization; using Xunit; namespace Dahomey.Json.Tests { public class JsonIgnoreTests { public class WeatherForecastWithJsonIgnore { public WeatherForecastWithJsonIgnore() { Summary = "No sum...
30.960396
107
0.579149
[ "MIT" ]
transdevnl/Dahomey.Json
src/Dahomey.Json.Tests/JsonIgnoreTests.cs
3,129
C#
namespace DotsGame { // Возможные типы обработки пустых баз. public enum SurroundCondition { /// <summary> /// Классическая. /// </summary> Standart, /// <summary> /// Всегда захватывает тот игрок, в чье пустое окружение поставлена точка. /// </summa...
20.863636
82
0.525054
[ "Apache-2.0" ]
KvanTTT/Dots-Game-AI
DotsGame/SurroundCondition.cs
591
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Quartzmin; namespace AspNetCore3...
20.076923
74
0.707535
[ "MIT" ]
evgenykorolyuk/QuartzminNet5.0
Source/Examples/AspNetCore3/Program.cs
785
C#
using System; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Text; using DotNetNote.Models; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microso...
29.859375
96
0.562533
[ "MIT" ]
VisualAcademy/DotNetNoteV21
DotNetNote/DotNetNote/Controllers/Sign/SignServicesController.cs
4,074
C#
// Copyright (C) 2011, 2012 Zeno Gantner // Copyright (C) 2010 Steffen Rendle, Zeno Gantner // // This file is part of MyMediaLite. // // MyMediaLite is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either ve...
34.613636
101
0.745896
[ "BSD-3-Clause" ]
466152112/MyMediaLite
src/MyMediaLite/Correlation/ConditionalProbability.cs
1,523
C#
using System.Collections.Generic; using System.Linq; using DaData.Models.Suggestions.Results; using DaData.Models.Suggestions.ShortResponses; using DaData.Models.Suggestions.ShortsResults; namespace DaData.Models.Suggestions.Responses { public class EmailResponse : BaseResponse { public List<EmailResu...
29.814815
74
0.590062
[ "MIT" ]
Xambey/DaData.ApiClient
Dadata/Models/Suggestions/Responses/EmailResponse.cs
807
C#
using System.Collections.Generic; using System.Linq; using Xunit; namespace aoc.csharp.tests { public class PermutationsTests { [Fact] public void Generate1() { var expected = new List<int[]>() { new [] { 0 } }; var actua...
22.672727
69
0.404972
[ "MIT" ]
zivkan/CodingForFun
AdventOfCode/aoc.csharp.tests/PermutationsTests.cs
1,249
C#
#pragma warning disable 162,168,649,660,661,1522 using System; using System.Text; using System.Collections.Generic; using System.Collections; using System.Collections.Concurrent; using System.Runtime.InteropServices; using System.Data; using System.IO; using System.Threading; using System.Threading.Tasks; us...
37.38113
323
0.55381
[ "MIT" ]
mwherman2000/TrustedDigitalWeb
TDW.Servers/TDW.TRAServer/obj/Debug/netcoreapp3.1/GeneratedCode/Cells/UBL21_Invoice2_Cell.cs
621,237
C#
#if (UNITY_STANDALONE_WIN && !UNITY_EDITOR) || UNITY_EDITOR_WIN //------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you kno...
38.052632
81
0.542185
[ "Apache-2.0" ]
Bellseboss-Studio/ProyectoPrincipal_JuegoDePeleas
Assets/Wwise/Deployment/API/Generated/Windows/AkAudioAPI_Windows.cs
723
C#
//------------------------------------------------------------------------------ // <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> //-----------------------------------------...
29.5
80
0.444915
[ "Apache-2.0" ]
ASCITSOL/asp.net
samples/aspnet/Identity/ChangePK/PrimaryKeysConfigTest/Account/ResetPasswordConfirmation.aspx.designer.cs
472
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.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Authentic...
39.89441
142
0.57263
[ "Apache-2.0" ]
benaadams/HttpAbstractions
src/Microsoft.AspNetCore.Authentication.Abstractions/TokenExtensions.cs
6,423
C#
using HurricaneVR.Framework.Core; using HurricaneVR.Framework.Core.Grabbers; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerSword : MonoBehaviour { public PlayerDamageEventChannel playerDamageEventChannel; private HVRGrabbable hvrGrabba...
35.414286
133
0.666801
[ "MIT" ]
iamrequest/shattered-skies
Assets/Scripts/Player/PlayerSword.cs
2,481
C#
// ReSharper disable ClassNeverInstantiated.Global // ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedMember.Global // ReSharper disable InconsistentNaming // ReSharper disable SwitchExpressionHandlesSomeKnownEnumValuesWithExceptionInDefault // ReSharper disable RedundantNameQualifier namespace ...
37.495327
102
0.564307
[ "MIT" ]
DevTeam/Pure.DI
Pure.DI.UsageScenarios.Tests/OSSpecificImplementations.cs
4,014
C#
using Ayehu.Sdk.ActivityCreation.Extension; using Ayehu.Sdk.ActivityCreation.Helpers; using Ayehu.Sdk.ActivityCreation.Interfaces; using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Text; namespace Ayehu.Sdk.ActivityCreation { public class AzureResourceDelete : IA...
36.094937
252
0.550587
[ "MIT" ]
Ayehu/custom-activities
Azure/ConvertedAzureActivities/AzureResourceDelete/AzureResourceDelete.cs
5,703
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using another_auth.Interfaces; namespace another_auth.sample { class Program { static void Main(string[] args) { IAuthDb authDb = new AuthDb(); var pepper...
28.925
101
0.585134
[ "MIT" ]
gmunro/another-auth
another-auth.sample/Program.cs
1,159
C#
//namespace System.Collections //{ // /// <summary> // /// FullValueSource // /// </summary> // internal enum FullValueSource : short // { // /// <summary> // /// HasExpressionMarker // /// </summary> // HasExpressionMarker = 0x100, // /// <summary> // ...
26.351351
44
0.41641
[ "Apache-2.0", "MIT" ]
Grimace1975/bclcontrib
Core/System.CoreEx_/System.Core.Objects/Collections/Object/Extended_/FullValueSource.cs
977
C#
// WARNING // // This file has been generated automatically by Visual Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; namespace AppRopio.ECommerce.Products.iOS.Vie...
24.444444
84
0.551136
[ "Apache-2.0" ]
cryptobuks/AppRopio.Mobile
src/app-ropio/AppRopio.ECommerce/Products/iOS/Views/Catalog/Cells/BadgeCell.designer.cs
880
C#
using System; using HW.Core.Repositories; using HW.SF.Models.SYSModel; using HW.SF.Models; namespace HW.SF.IRepositories { public interface ILineRepository:IRepository<Sys_Line, String> { } }
18.545455
66
0.75
[ "MIT" ]
dahaideyu/HWPlatform
HW.SF.IRepositories/ILineRepository.cs
204
C#
using System.Collections.Generic; using System.Windows.Media; namespace System.Windows.Interactivity { public static class DependencyObjectHelper { public static IEnumerable<DependencyObject> GetSelfAndAncestors(this DependencyObject dependencyObject) { while (dependencyObject != null) { yield return d...
23.333333
105
0.783333
[ "MIT" ]
WertherHu/AYUI8Community
Ay/ay.contentcore/SharedCode/ui/System.Windows.Interactivity/DependencyObjectHelper.cs
420
C#
using Microsoft.AspNetCore.Mvc; using System.Text; namespace SampleWebApi_6_0.Controllers { [Route("api/[controller]")] [ApiController] public class ValuesController : ControllerBase { // GET api/values [HttpGet] public ActionResult<IEnumerable<string>> Get() { return new string[] { "value1", "value2" ...
18.6
50
0.658986
[ "MIT" ]
mihirdilip/Mihir.AspNetCore.Authentication.Basic
samples/SampleWebApi_6_0/Controllers/ValuesController.cs
653
C#
namespace Quarrel.ViewModels.Messages.Gateway.Guild { public class GatewayGuildUpdatedMessage { public GatewayGuildUpdatedMessage(DiscordAPI.Models.Guilds.Guild guild) { Guild = guild; } public DiscordAPI.Models.Guilds.Guild Guild { get; } } }
23.230769
79
0.655629
[ "Apache-2.0" ]
UWPCommunity/Quarrel
src/Quarrel.ViewModels/Messages/Gateway/Guild/GatewayGuildUpdatedMessage.cs
304
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.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Http.Features.Authent...
36.084034
138
0.662087
[ "Apache-2.0" ]
sebnema/HttpAbstractions-1.0.0-rc1-NoAuthHandler
src/Microsoft.AspNet.Http.Abstractions/Authentication/AuthenticationManager.cs
4,294
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved.​ // Licensed under the MIT License (MIT). See License.txt in the repo root for license information.​ // ------------------------------------------------------------ using System.Collections.G...
33.5
100
0.608624
[ "MIT" ]
CNILearn/iot-guidance
src/WarmPath/WarmPathUI/WarmPathUI/Services/IDeviceEventsRepository.cs
607
C#
using SFA.Apprenticeships.Web.Common.Mediators; namespace SFA.Apprenticeships.Web.Candidate.Mediators.Account { using System; using ViewModels.Account; using ViewModels.MyApplications; public interface IAccountMediator { MediatorResponse<MyApplicationsViewModel> Index(Guid candidateId, st...
42.734694
128
0.80086
[ "MIT" ]
BugsUK/FindApprenticeship
src/SFA.Apprenticeships.Web.Candidate/Mediators/Account/IAccountMediator.cs
2,096
C#
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. ///////////////////////////////////////////////////////...
35.774194
201
0.373309
[ "Apache-2.0" ]
AustinWise/Netduino-Micro-Framework
Test/Platform/Tests/CLR/System/IO/Path/FunctionalCases.cs
1,109
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using Microsoft.CodeAnalysis...
40.232525
161
0.571606
[ "Apache-2.0" ]
Mongooz/roslyn
src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/Symbols/EEMethodSymbol.cs
28,205
C#
using System.Collections.Generic; using System.ServiceModel.Syndication; using Sdl.Web.Common.Configuration; using Sdl.Web.Common.Models; using System; using Sdl.Web.Common.Interfaces; namespace Sdl.Web.Tridion.Tests.Models { [SemanticEntity(SchemaOrgVocabulary, "DataDownload", Prefix = "s", Public = true)] [...
45.930556
175
0.608709
[ "Apache-2.0" ]
ronnqvistandreas/dxa-web-application-dotnet
Sdl.Web.Tridion.Tests/Models/Entity/Download.cs
3,309
C#
using System; using System.IO; using System.Linq; using System.Threading.Tasks; using FluentAssertions; using joseki.db.entities; using Microsoft.VisualStudio.TestTools.UnitTesting; using webapp.Handlers; using webapp.Models; namespace tests.handlers { [TestClass] public class GetKnowledg...
31.033088
129
0.447577
[ "Apache-2.0" ]
deepnetworkgmbh/joseki
src/backend/joseki.be/tests/handlers/GetKnowledgebaseItemsHandlerTests.cs
8,443
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("Da...
38.416667
84
0.750542
[ "MIT" ]
nvdeveloper/UmbracoUpgrade-7.7.0-WordAround
src/DatabaseMigration_7.7.0/Properties/AssemblyInfo.cs
1,386
C#
using System; using System.Linq; using Telerik.Data.Core; using Telerik.UI.Xaml.Controls.Grid.Primitives; using Windows.Foundation; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Telerik.UI.Xaml.Controls.Grid.View { internal class XamlScrollableAdornerLayer : SharedUILayer { private ...
29.283333
157
0.593625
[ "Apache-2.0" ]
ChristianGutman/UI-For-UWP
Controls/Grid/Grid.UWP/View/Layers/XamlScrollableAdornerLayer.cs
1,759
C#
using System; using System.Runtime.InteropServices; using System.Windows.Forms; namespace Autoclicker { public partial class Form1 : Form { static int hHook = 0; NativeMethods.HookProc MouseHookProcedure; public Form1() { InitializeComponent(); } p...
26.660377
80
0.596603
[ "MIT" ]
jborza/autoclicker-adcomm
Autoclicker/Form1.cs
1,415
C#
// Copyright (c) 2017 Trevor Redfern // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace SilverNeedle.Equipment { using SilverNeedle.Treasure; using SilverNeedle.Serialization; public class Gear : IGear, IGatewayObject { public string Na...
27.2
62
0.575368
[ "MIT" ]
shortlegstudio/silverneedle-web
silverneedle/lib/Equipment/Gear.cs
1,088
C#