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.Diagnostics; namespace WhatNow.Essentials { public class BlockStopwatch : IDisposable { readonly Stopwatch stopwatch; readonly Action<TimeSpan> closeAction; public TimeSpan ElapsedTime => stopwatch.Elapsed; public BlockStopwatch() { ...
20.969697
68
0.572254
[ "Apache-2.0" ]
rbenes86/WhatNow
WhatNow/WhatNow.Essentials/BlockStopwatch.cs
694
C#
using System.Diagnostics; namespace Monorail.Debug { public static class Insist { [Conditional("DEBUG")] [DebuggerHidden] public static void Fail() { Log.Core.Error("Assertion failed."); Debugger.Break(); } [Conditional("DEBUG")] [DebuggerHidden] public static void Fail(string message,...
23.491429
99
0.638774
[ "MIT" ]
MissaelAnda/Monorail
Monorail/Debug/Insist.cs
4,113
C#
// <auto-generated /> using System; using Abp.VueTemplate.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Abp.VueTemplate.Migrations { ...
40.225537
99
0.466018
[ "MIT" ]
zhk0603/abp-vue
src/aspnet-core/src/Abp.VueTemplate.IdentityServer/Migrations/20200428132118_Initial.Designer.cs
33,711
C#
using DesignPatterns.GangOfFourPatterns.FactoryMethod.Ingredients; namespace DesignPatterns.GangOfFourPatterns.FactoryMethod.Burgers { public class DoubleCheeseburgerFactory : BurgerFactory { protected class DoubleCheeseburger : Burger { public override string DisplayName => "Double...
36.708333
83
0.603859
[ "MIT" ]
catman0745/DesignPatterns
src/DesignPatterns.GangOfFourPatterns/FactoryMethod/Burgers/DoubleCheeseburgerFactory.cs
881
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using Kore.Web; using Kore.Web.Infrastructure; using Kore.Web.Mvc; using Kore.Web.Security.Membership.Permissions; namespace KoreCMS.Areas.Admin.Controllers { [Authorize] [RouteArea(KoreWebConstants.Areas.Admi...
30.666667
95
0.537888
[ "MIT" ]
artinite21/KoreCMS
KoreCMS/Areas/Admin/Controllers/HomeController.cs
3,222
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using System.Data.Entity; using System.ComponentModel.DataAnnotations.Schema; namespace MvcThesis { [Table("webpages_Roles")] public class Role {...
25.166667
79
0.640177
[ "Apache-2.0" ]
KingsoChina/MvcThesis
MvcThesis/Models/Membership/Models/Role.cs
922
C#
// Decompiled with JetBrains decompiler // Type: WebView2.ICoreWebView2HttpHeadersCollectionIterator // Assembly: WebView2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 680EA815-80DF-438D-AA0D-D4F0EB9B8A6C // Assembly location: O:\webview2\V9538\WebView2.dll using System.Runtime.CompilerServices; us...
39.814815
129
0.796279
[ "MIT" ]
ITAgnesmeyer/Diga.WebView2
Archive/V9538/Diga.WebView2.Interop.V9538/ICoreWebView2HttpHeadersCollectionIterator.cs
1,077
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("Typ...
38.388889
84
0.755427
[ "MIT" ]
2718e/TypeAwesome
TypeAwesome.ExampleFrontend/Properties/AssemblyInfo.cs
1,385
C#
using Clarity.App.Worlds.Assets; using Clarity.Common.Infra.Files; using Clarity.Engine.Objects.WorldTree; namespace Clarity.App.Worlds.SaveLoad { public interface IFileLoadInfo { IFileSystem FileSystem { get; } string FilePath { get; } bool PreferReadOnly { get; } IAsset OnFou...
28.764706
57
0.693252
[ "MIT" ]
Zulkir/ClarityWorlds
Source/Clarity.App.Worlds/SaveLoad/IFileLoadInfo.cs
491
C#
using System.Collections.Generic; using System.Linq; using Xunit.Abstractions; using Xunit.Internal; using Xunit.v3; namespace Xunit.Runner.v2 { /// <summary> /// Provides a class which wraps <see cref="_IAssemblyInfo"/> instances to implement <see cref="IAssemblyInfo"/>. /// </summary> public class Xunit2Assembl...
33.46
123
0.738793
[ "Apache-2.0" ]
BruceForstall/xunit
src/xunit.v3.runner.utility/Frameworks/v2/Reflection/Xunit2AssemblyInfo.cs
1,675
C#
using UnityEngine; using UnityEngine.UI; public class SensitivityController : MonoBehaviour { [SerializeField] private Slider sensitivity; //Set value based on player prefs and saves it when value changes private void Awake() => sensitivity.value = PlayerPrefs.GetFloat(PlayerPrefsKeys.TapSensitivity, 8);...
36.166667
110
0.78341
[ "MIT" ]
SpeedyE1780/Brick-Breaker
Assets/Scripts/Utilities/SensitivityController.cs
436
C#
/* _BEGIN_TEMPLATE_ { "id": "ULD_135a", "name": [ "结识古树", "Befriend the Ancient" ], "text": [ "召唤一棵6/6并具有<b>嘲讽</b>的\n古树。", "Summon a 6/6 Ancient with <b>Taunt</b>." ], "cardClass": "DRUID", "type": "SPELL", "cost": 0, "rarity": null, "set": "ULDUM", "collectible": null, "dbfId": ...
18.517241
66
0.556797
[ "MIT" ]
chi-rei-den/Silverfish
cards/ULDUM/ULD/Sim_ULD_135a.cs
605
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CollisionAndDestruye : MonoBehaviour { //public GameObject Banana; public GameObject explosion; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnTrigge...
20.307692
66
0.700758
[ "MIT" ]
cheitovilla/ScriptsEssentials
Scripts IF/Assets/Scripts/CollisionAndDestruye.cs
794
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...
34.5
110
0.635543
[ "Apache-2.0" ]
Melvinerall/aws-sdk-net
sdk/src/Services/MediaConvert/Generated/Model/Internal/MarshallTransformations/VideoPreprocessorMarshaller.cs
4,209
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PerceptronLibrary { public class NumberFeatureExtractor : FeatureExtractor { private string _name = null; private bool _useAmount = true; private bo...
35.601504
228
0.502429
[ "MIT" ]
tilde-nlp/averaged-perceptron-classifier
PerceptronClassificationForAccounting/NumberFeatureExtractor.cs
4,737
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
38.064516
302
0.724576
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ServiceFabric/V20210701Preview/Outputs/VmManagedIdentityResponse.cs
1,180
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0.Vec { using System; using System.Runtime.CompilerServices; using static ...
25.81
79
0.437427
[ "BSD-3-Clause" ]
0xCM/z0
src/core/src/vectors/vN.cs
2,581
C#
// Copyright (c) zhenlei520 All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Newtonsoft.Json; namespace EInfrastructure.Core.AliYun.Tbk.Respose.Success { /// <summary> /// 淘宝客淘口令 /// </summary> public class TaobaoTbkTpwdCreateRe...
24.935484
95
0.538163
[ "MIT" ]
DavideYang125/System.Extension.Core
src/Marketing/AliMaMa/src/EInfrastructure.Core.AliYun.Tbk/Respose/Success/TaobaoTbkTpwdCreateResponseDto.cs
795
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using Bicep.Core.Diagnostics; using Bicep.Core.Extensions; namespace Bicep.Core.Parsing { public class ExpectedTokenException : Exception { public ExpectedTokenException(Token unexpectedToken, DiagnosticBuilder.Err...
32.185185
128
0.675489
[ "MIT" ]
Agazoth/bicep
src/Bicep.Core/Parsing/ExpectedTokenException.cs
869
C#
namespace brewjournal.Domain.Enums { public enum TemperatureUnit { DegreesCelsius, DegreesFarenheit } }
14.777778
35
0.646617
[ "MIT" ]
matt-goldman/brewjournal
src/Domain/Enums/TemperatureUnit.cs
135
C#
using System; class Program { static void Main(string[] args) { // input // 0.05, 0.10, 0.20, 0.50, and 1.00 double n1 = double.Parse(Console.ReadLine()); n1 *= 0.05; double n2 = double.Parse(Console.ReadLine()); n2 *= 0.10; double n3 = double.Parse...
26.736842
61
0.461614
[ "MIT" ]
kossov/Telerik-Academy
C#/C#1/ExamPrep/23June2013/01.VendingMachine/Program.cs
1,018
C#
using System.Web; using System.Web.Mvc; using HuiNet.Admin.Utils; namespace HuiNet.Admin { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleAjaxErrorAttribute()); } } }
19.666667
80
0.671186
[ "Apache-2.0" ]
ericktse/HuiNet.Admin
HuiNet.Admin/App_Start/FilterConfig.cs
297
C#
using System.Collections; using System.Collections.Generic; using Tools.BehaviourTree; using UnityEngine; public abstract class UnitTask : Task { protected AIController AIController { get; private set; } protected Unit Unit { get; private set; } protected UnitBlackboard UnitBlackboard { get; private set;...
27.142857
66
0.715789
[ "MIT" ]
AlexandrKlimkin/MilitaryStrategy-2.0
Assets/Scripts/Gameplay/AI/My/BehaviourTree/Tasks/UnitTask.cs
572
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; #nullable disable namespace ModBot.Models { [Table("anonbans")] public partial class AnonBan { [Key] [Colum...
22.130435
51
0.654224
[ "MIT" ]
scratchyone/ModBotSharp
DBModels/AnonBan.cs
511
C#
// ***************************************************************************** // // © Component Factory Pty Ltd, 2006 - 2016. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, PO Box 1504, // Glen Waverley, Vic...
38.572254
288
0.591338
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.451
Source/Demos/Non-NuGet/Krypton Workspace Examples/Workspace Persistence/Form1.cs
6,676
C#
namespace WinFormNorrisAPI { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
37.943182
116
0.575921
[ "MIT" ]
TannerDisney/ChuckNorris-DotNetAPI
WinFormNorrisAPI/Form1.Designer.cs
3,341
C#
using System; using System.Collections.Generic; using JetBrains.Annotations; using essentialMix.Comparers; namespace essentialMix.Collections; [Serializable] public class NumericRangeList<T> : List<NumericRange<T>>, IComparable<NumericRangeList<T>>, IComparable, IEquatable<NumericRangeList<T>> where T : struct, ICo...
33.702703
136
0.778669
[ "MIT" ]
asm2025/essentialMix
Standard/essentialMix/Collections/NumericRangeList.cs
1,249
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; namespace Microsoft.Diagnostics.Runtime.CorDebug { // Technically 0x40 is the only flag that coul...
35.031746
99
0.669234
[ "MIT" ]
TylerAP/clrmd
src/Microsoft.Diagnostics.Runtime/src/ICorDebug/CorDebugWrappers/CorElementType.cs
2,207
C#
using System.Collections.Generic; using System.Linq; namespace Lucene.Net.Search { /* * 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. ...
41.094388
258
0.589236
[ "Apache-2.0" ]
DiogenesPolanco/lucenenet
src/Lucene.Net/Search/BooleanScorer2.cs
16,109
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class PlayerHealth : MonoBehaviour { [Range(0.0f, 1.0f)] [Tooltip("How long the player can stay alive after being hit")] public float InvincibilitySeconds; private Rigidbody2D rb; ...
25.65
79
0.494152
[ "MIT" ]
MohamedAmin1996/Project_Mario-Clone
Assets/Scripts/PlayerHealth.cs
2,054
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Security.KeyVault.Storage.Models { public partial class DeletedStorageB...
40.732759
299
0.503492
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/keyvault/samples/sharelink/Generated/Models/DeletedStorageBundle.Serialization.cs
4,725
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; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization.Formatters.Tes...
37.038922
192
0.609732
[ "MIT" ]
lambdageek/mono-corefx
src/System.Runtime/tests/System/Reflection/ModuleTests.cs
12,371
C#
using System; namespace HPSocket { /// <summary> /// client 基础接口 /// </summary> public interface IClient : ISocket { #region 基础属性 /// <summary> /// 远程服务器地址 /// </summary> string Address { get; set; } /// <summary> /// 远程服务器端口 /// </...
24.004695
85
0.470761
[ "Apache-2.0" ]
Gao996/HPSocket.Net
src/HPSocket.Net/IClient.cs
5,909
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. namespace mshtml { using System.Runtime.InteropServices; [ComImport, Guid("3050F57F-98B5-11CF-BB82-00AA00BDCE0B"),] public interface HTCPropertyBehavior : DispHTCProp...
24.857143
84
0.735632
[ "MIT" ]
BobinYang/OpenLiveWriter
src/managed/OpenLiveWriter.Interop.Mshtml/mshtml/HTCPropertyBehavior.cs
348
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
38.229885
138
0.635298
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/RecoveryServices/V20201201/Inputs/AzureSQLAGWorkloadContainerProtectionContainerArgs.cs
3,326
C#
namespace FD.SampleData.Models.Production { public partial class ProductInventory { public int ProductID { get; set; } public short LocationID { get; set; } public string Shelf { get; set; } public byte Bin { get; set; } public short Quantity { get; set; } public...
31.176471
57
0.611321
[ "MIT" ]
araujofrancisco/FD.DataProvider
FD.SampleData/Models/Production/ProductInventory.cs
532
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------ using System; using System.Colle...
39.786667
110
0.558646
[ "MIT" ]
AndrewDessin/OpenAPI.NET.CSharpAnnotations
src/Microsoft.OpenApi.CSharpAnnotations.DocumentGeneration/OperationFilters/GroupToTagFilter.cs
2,984
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Bot Framework: http://botframework.com // // Bot Builder SDK Github: // https://github.com/Microsoft/BotBuilder // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: /...
35.610932
166
0.502092
[ "MIT" ]
BhagiSivaganesh/ChatBots
CSharp/Library/FormFlow/Steps.cs
33,227
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace MedManager { public class Program { ...
23.076923
61
0.661667
[ "MIT" ]
GT-rc/MedManager
MedManager/Program.cs
602
C#
/* * Copyright 2014 Splunk, 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 t...
35.752632
120
0.577653
[ "Apache-2.0" ]
codereflection/splunk-sdk-csharp-pcl
src/Splunk.Client/Splunk/Client/ServerMessage.cs
6,795
C#
using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using SharpShell.Pidl; using SharpShell.SharpNamespaceExtension; namespace GitHubNamespaceExtension { public class GitHubBranch : IShellNamespaceItem { public GitHubBranch() { ...
20.425
76
0.559364
[ "MIT" ]
0x4a616e/sharpshell
SharpShell/Samples/NamespaceExtension/GitHubNamespaceExtension/GitHubBranch.cs
819
C#
using System.ComponentModel.DataAnnotations; namespace Shared.ViewModels { public class OrderItemVM { [Required(ErrorMessage = "Attribute Id is required")] public int AttributeId { get; set; } public int ProductId { get; set; } public int? Quantity { get; set; } [Require...
31.529412
61
0.61194
[ "Unlicense" ]
vtoan/fashion-ecom-ns
src/Shared/ViewModels/OrderItemVM.cs
536
C#
using System; using System.Reflection; using FubuCore.Formatting; using FubuCore.Reflection; using NUnit.Framework; namespace FubuCore.Testing.Formatting { [TestFixture] public class StringifierTester { #region Setup/Teardown [SetUp] public void SetUp() { ...
31.721003
121
0.536219
[ "Apache-2.0" ]
DovetailSoftware/fubucore
src/FubuCore.Testing/Formatting/StringifierTester.cs
10,119
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; using Blockcore.AsyncWork; using Blockcore.Configuration; using Blockcore.Connection; using Blockcore.P2P.Peer; using Blockcore.Utilities; using Blockcore.Utilities.Extensions; usi...
42.663934
168
0.626225
[ "MIT" ]
dangershony/blockcore
src/Blockcore/P2P/PeerDiscoveryLoop.cs
10,412
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regener...
33.6
86
0.509524
[ "MIT" ]
nbiefeld/Site-MVC
Version 1/PHStudios/Models/VideoResource.cs
840
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...
38.119469
297
0.575624
[ "MIT" ]
MyPureCloud/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/OutboundMessagingMessagingCampaignProgressEventCampaignProgress.cs
8,615
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.Linq; using System.Management.Automation; using Microsoft.VisualStudio.Threading; using Nu...
34.364486
133
0.568942
[ "Apache-2.0" ]
MarkOsborneMS/NuGet.Client
src/NuGet.Clients/PackageManagement.PowerShellCmdlets/Cmdlets/FindPackageCommand.cs
7,356
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
38.965278
166
0.595081
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CloudWatch/Generated/Model/Internal/MarshallTransformations/PutInsightRuleResponseUnmarshaller.cs
5,611
C#
using System; using System.Collections.Generic; using System.Text; namespace Tensorflow.Keras.Regularizers { class L1L2 { } }
12.727273
39
0.714286
[ "Apache-2.0" ]
mahedee/TensorFlow.NET
src/TensorFlowNET.Keras/Regularizers/L1L2.cs
142
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace MovieDeckApi { public class Program { public ...
24.821429
70
0.644604
[ "MIT" ]
Iceto04/SoftUni
ASP.NET Core/05. Web API/MovieDeckApi/MovieDeckApi/Program.cs
695
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; using System.Diagnostics; namespace Microsoft.Languages.Core.Text { /// <summary> /// A collection of text ranges that are...
33.163636
110
0.607456
[ "MIT" ]
AlexanderSher/RTVS-Old
src/Languages/Core/Impl/Text/DisjointTextRangeCollection.cs
1,826
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.Globalization; using System.IO; using System.Runtime; namespace System.Serv...
34.908108
152
0.480644
[ "MIT" ]
Bencargs/wcf
src/System.Private.ServiceModel/src/System/ServiceModel/Security/InMemoryNonceCache.cs
6,458
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
29.131579
153
0.526649
[ "MIT" ]
Dakoni4400/MSGraph-SDK-Code-Generator
test/Typewriter.Test/TestDataCSharp/com/microsoft/graph2/callrecords/model/Photo.cs
1,107
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace ZAD_10 { public class Program { public static ...
25.481481
70
0.642442
[ "MIT" ]
S17918/PJATK
APBD/Zad_10_11/ZAD_10/ZAD_10/ZAD_10/Program.cs
688
C#
// ************************************************************************************* // SCICHART® Copyright SciChart Ltd. 2011-2020. All rights reserved. // // Web: http://www.scichart.com // Support: support@scichart.com // Sales: sales@scichart.com // // ChartLegendsExampleView.xaml.cs is part of the SC...
44.939655
145
0.644542
[ "MIT" ]
gwlund/SciChart.Wpf.Examples.v6
Examples/SciChart.Examples/Examples/CreateMultiseriesChart/ChartLegendsExampleView.xaml.cs
5,218
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Net.Http; using System.Net.Http.Headers; namespace PointOfInterestSkill.Services { /// <summary> /// Point of Interest skill helper class. /// </summary> public class ServiceHelper { ...
27.09375
83
0.605536
[ "MIT" ]
Yi-Coder/botframework-solutions
skills/csharp/pointofinterestskill/Services/ServiceHelper.cs
869
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/. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using FSO.Vitaboy; usi...
28
93
0.640977
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
francot514/FreeSims
SimsVille/ContentManager/AvatarAnimationProvider.cs
1,066
C#
class TKLjF0GW5RGFJc4sH63GQSsgx8_nsssRvm6gWzT { public bool I8uzJ0EdVrxRFgKW1XN8qHYxObOES2ZrwIerr = false; public string GaB905q4fsO_wO7zAE0jkYPm3O9LLBz = null; int K9KadQaurGm = 0; string bg327eVJDKiTt40DKCso6m = null; private bool mYH1VIWj6vllki0nUbxdaTnhL40f5 = false; public float E4kE9be0...
48.390476
126
0.747171
[ "MIT" ]
1174290471/HotUpdateSolution
Assets/Scripts/Core/TKLjF0GW5RGFJc4sH63GQSsgx8_nsssRvm6gWzT.cs
40,648
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; using BrawlLib.OpenGL; using BrawlLib.SSBB.ResourceNodes; namespace BrawlCostumeManager { public partial class Model...
45.662921
668
0.653871
[ "MIT" ]
jeffnwarner/BrawlManagers
CostumeManager/ModelManager.cs
12,194
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.269 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----...
43.640625
182
0.614393
[ "Apache-2.0" ]
bvierra/GnomoriaEnhanced
Gnomoria Enhanced/Properties/Resources.Designer.cs
2,795
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.Extensions.DependencyInjection; using Microsoft...
41.325342
112
0.564598
[ "MIT" ]
wdichler/Stl.Fusion
tests/Stl.Fusion.Tests/FusionTestBase.cs
12,067
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.IO; using System.Collections.Generic; using System.Diagnostics; using Eto.Forms; using Eto.Drawing; using System.Ref...
31.657658
164
0.568678
[ "MIT" ]
BlueElectivire/MonoGame
Tools/MonoGame.Content.Builder.Editor/MainWindow.cs
21,086
C#
#if !NOSOCKET using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoin.Protocol.Behaviors { public class NodeBehaviorsCollection : ThreadSafeCollection<INodeBehavior> { Node _Node; pub...
19
155
0.647556
[ "MIT" ]
AkioNak/NElements
NBitcoin/Protocol/Behaviors/NodeBehaviorsCollection.cs
1,066
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace TwilightSparkle.Forum.Repository.Migrations { public partial class Threads : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Sections", ...
36.633803
71
0.467897
[ "Apache-2.0" ]
pavvlik777/TwilightSparkleForum
src/TwilightSparkle.Forum.Repository/Migrations/20200601005735_Threads.cs
2,603
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("L_...
37.918919
84
0.746258
[ "MIT" ]
mayapeneva/Programming-Fundamentals
10.RegularExpressions/L_ExtractEmails/Properties/AssemblyInfo.cs
1,406
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("02...
37.648649
84
0.741565
[ "MIT" ]
Hmmrpss/Exam-Preps
00.Programming_Basics_Exam_jan_2016/02. Bricks/Properties/AssemblyInfo.cs
1,396
C#
using Chireiden.Silverfish; using HearthDb; /* _BEGIN_TEMPLATE_ { "id": "KAR_710", "name": [ "奥能铁匠", "Arcanosmith" ], "text": [ "<b>战吼:</b>召唤一个0/5并具有<b>嘲讽</b>的随从。", "<b>Battlecry:</b> Summon a 0/5 minion with <b>Taunt</b>." ], "cardClass": "NEUTRAL", "type": "MINION", "cost": 4, "rari...
21.921053
99
0.609844
[ "MIT" ]
chi-rei-den/Silverfish
cards/KARA/KAR/Sim_KAR_710.cs
873
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...
66.084337
404
0.680675
[ "MIT" ]
AlanFlorance/azure-powershell
src/Kusto/generated/api/Models/Api20220201/AzureCapacity.PowerShell.cs
10,805
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace SimpleSoft.Database { /// <summary> /// Represents an entity query /// </summary> /// <typeparam name="TEntity">The entity type</typeparam> public class EFCoreQuery...
28.088889
86
0.61788
[ "MIT" ]
estouaway/Database
src/SimpleSoft.Database.EFCore/EFCoreQueryable.cs
1,266
C#
namespace ArtGallery.Orders.Models { using System; using System.Collections.Generic; using System.Text; public class OrderOtuputModel { } }
15.090909
37
0.680723
[ "MIT" ]
vanya-ant/ArtGallery2.0
Server/ArtGallery.Orders/Models/OrderOtuputModel.cs
168
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public static GameManager Instance { get; private set; } public GameObject m_objMainPlayer; void Awake() { if (Instance != null) { Destroy(gameObject); } ...
16.32
60
0.607843
[ "MIT" ]
jsham0414/QuarterviewShootingGame
Assets/GameManager.cs
410
C#
using Microsoft.Maui.Controls.Xaml; namespace Microsoft.Maui.Controls.Compatibility.ControlGallery.GalleryPages { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class IndicatorsSample : ContentPage { public IndicatorsSample() { InitializeComponent(); BindingContext = new GalleryPages.Co...
29.785714
127
0.817746
[ "MIT" ]
10088/maui
src/Compatibility/ControlGallery/src/Core/GalleryPages/IndicatorViewGalleries/IndicatorsSample.xaml.cs
419
C#
/* * Copyright 2012-2021 The Pkcs11Interop Project * * 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 app...
33.787234
176
0.593829
[ "Apache-2.0" ]
Pkcs11Interop/Pkcs11Interop
src/Pkcs11Interop/HighLevelAPI40/MechanismParams/CkKipParams.cs
4,764
C#
using PrimeInputActions; using ProTrans; using UniInject; using UniRx; using UnityEngine; using UnityEngine.UIElements; // Disable warning about fields that are never assigned, their values are injected. #pragma warning disable CS0649 public class OptionsOverviewSceneControl : MonoBehaviour, INeedInjection, ITranslat...
44.560976
127
0.759898
[ "MIT" ]
achimmihca/Play
UltraStar Play/Assets/Scenes/Options/OptionsOverview/OptionsOverviewSceneControl.cs
5,481
C#
using products_api.Dtos; using products_api.Models; namespace products_api.Data.Repository { public interface IBackMaterialRepository : IRepository<BackMaterial> { } }
18.2
72
0.769231
[ "MIT" ]
saqibrazzaq/SalesSystem
src/services/products-api/Data/Repository/IBackMaterialRepository.cs
184
C#
//----------------------------------------------------------------------- // <copyright file="SynchronizationContextSwitcher.cs" company="Akka.NET Project"> // Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net> /...
42.484375
174
0.613829
[ "Apache-2.0" ]
Aaronontheweb/akka.net
src/core/Akka.Tests.Shared.Internals/AsyncContext/SynchronizationContextSwitcher.cs
2,721
C#
using System; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Azure.EventGrid.Models; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.EventGrid; using Microsoft.Extensions.Logging; namespace CollectCurrentWeather { public static class Collector { // HttpClie...
46.2
219
0.739394
[ "MIT" ]
whiteducksoftware/ServerlessCloudNativeWorkshop
Exercises/Challenge-2-Event-Grid/Final/Collector.cs
1,155
C#
// Copyright 2016 Esri // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writin...
36.680328
153
0.605922
[ "Apache-2.0" ]
rjones0/distance-direction-addin-dotnet
source/DistanceAndDirection/DistanceAndDirectionLibrary/Helpers/Wpf.cs
8,952
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...
36.34
196
0.640066
[ "ECL-2.0", "Apache-2.0" ]
ScriptBox99/pulumi-azure
sdk/dotnet/Media/Inputs/StreamingLocatorContentKeyArgs.cs
1,817
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Rapidity.Http.Configurations; using Rapidity.Http.Serializes; using System; using System.Linq; using Rapidity.Http.Attributes; using System.Reflection; using Rapidity.Http.DynamicProxies; namespace Rapidit...
39.290323
146
0.591133
[ "MIT" ]
letmego9go/RapidityHttp
src/Extensions/RapidityHttpExtension.cs
6,206
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MonoDroid.Generation { public class GenericSymbol : ISymbol { bool is_concrete; GenBase gen; string [] java_params; string tps; ISymbol [] type_params; public GenericSymbol (GenBase gen, string type_params) ...
25.091954
137
0.66743
[ "MIT" ]
Wivra/java.interop
tools/generator/Java.Interop.Tools.Generator.ObjectModel/Symbols/GenericSymbol.cs
4,366
C#
using System; using TS3QueryLib.Net.Core.Common; using TS3QueryLib.Net.Core.Common.CommandHandling; using TS3QueryLib.Net.Core.Common.Entities; namespace TS3QueryLib.Net.Core.Server.Entitities { public abstract class ChannelListEntryBase : IDump { #region Non Public Members private bool _spac...
35.442478
126
0.667416
[ "MIT" ]
Pandry/TS3QueryLib.Net.Core
TS3QueryLib.Net.Core/Server/Entitities/ChannelListEntryBase.cs
4,007
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.Generic; using Microsoft.Spark.Interop.Ipc; using Microsoft.Spark.Sql.Expressions; namespa...
37.233173
99
0.562464
[ "MIT" ]
HuangHuiAAA/doNetSpark
src/csharp/Microsoft.Spark/Sql/Column.cs
30,978
C#
using AutoMapper; using PeopleSearch.Application.Common.Behaviours; using MediatR; using Microsoft.Extensions.DependencyInjection; using System.Reflection; namespace PeopleSearch.Application { public static class DependencyInjection { public static IServiceCollection AddApplication(this IServiceCollec...
33.454545
104
0.728261
[ "MIT" ]
RandallHoffpauir/PeopleSearch
src/Application/DependencyInjection.cs
738
C#
using System.Collections.Generic; namespace TimeCalc.Models { public class PersonalBestResults { public string WcaId { get; set; } public string Name { get; set; } public string AvatarUrl { get; set; } public List<PersonalBest> PersonalBests { get; set; } } }
25.333333
61
0.641447
[ "MIT" ]
michaelrp/TimeCalc
src/TimeCalc/Models/PersonalBestResults.cs
304
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Database { public class Class1 { } }
13.615385
33
0.728814
[ "MIT" ]
LucasEmanuel005/PI_3-TecInformatica
Database/Class1.cs
179
C#
 using Orleans.Runtime; using Orleans.Streams; using System; namespace Orleans.Configuration { /// <summary> /// EventHub settings for a specific hub /// </summary> public class EventHubOptions { /// <summary> /// EventHub connection string. /// </summary> [Redact] ...
40.612245
183
0.657035
[ "MIT" ]
DarkCow/orleans
src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubStreamOptions.cs
3,982
C#
// Copyright (c) Microsoft Corporation. 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.Linq; using System.Threading.Tasks; using Azure.Core.Testing; using Azure.Storage.Blobs.Models; u...
36.246418
175
0.567431
[ "MIT" ]
Only2125/azure-sdk-for-net
sdk/storage/Azure.Storage.Blobs/tests/ServiceClientTests.cs
12,652
C#
/* The MIT License (MIT) Copyright (c) 2012-2019 Syoyo Fujita and many contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
26.321372
217
0.574991
[ "MIT" ]
bazoocaze/VulkanCpu
tinyobjloaderLib/tinyobj.cs
49,881
C#
using System; using System.IO; using System.Text; using System.Xml.Serialization; using FieldDataPluginFramework; using SxSPro.Schema; namespace SxSPro { public class SectionBySectionSerializer { public static XmlRoot DeserializeNoThrow(Stream stream, ILog logger) { try ...
30.222222
98
0.566176
[ "Apache-2.0" ]
AquaticInformatics/sxs-pro-field-data-plugin
src/SxSPro/SectionBySectionSerializer.cs
1,090
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; namespace PeerCastStation.Core { public static class IPAddressExtension { static public bool IsSiteLocal(this IPAddress addr) { switch (addr.AddressFamily) { case System.Net.Sockets.AddressFamily.InterNetwork:...
30.058824
96
0.619048
[ "Apache-2.0" ]
mozsh/peercaststation
PeerCastStation/PeerCastStation.Core/IPAddressExtension.cs
1,535
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; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System....
56.507229
239
0.683312
[ "MIT" ]
Avid29/dotnet
CommunityToolkit.Mvvm/ComponentModel/ObservableValidator.cs
46,901
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RotateRoom : MonoBehaviour { public Vector3 RotateAmountMax; // Update is called once per frame void Update() { Vector3 RandomRotate = new Vector3(Random.Range(0, RotateAmountMax.x), Random.Range(0, Ro...
27.5
151
0.722727
[ "MIT" ]
KevinWagenvoort/R-D_VR_Sickness_Game
Assets/RotateRoom.cs
442
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview { using static Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.Extensions; /// <summary>The common properties that are associated with Event Hub data sources.</summary> public partial class EventHubDataSo...
71.106796
298
0.701256
[ "MIT" ]
Agazoth/azure-powershell
src/StreamAnalytics/generated/api/Models/Api20170401Preview/EventHubDataSourceProperties.json.cs
7,222
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("01....
37.621622
84
0.743534
[ "MIT" ]
PhilipYordanov/Software-University-C-Fundamentals-track
CSharpAdvance/LINQ - Lab/LINQ - Lab/01. Take Two/Properties/AssemblyInfo.cs
1,395
C#
namespace Keras.Layers { /// <summary> /// Turns positive integers (indexes) into dense vectors of fixed size. eg. [[4], [20]] -> [[0.25, 0.1], [0.6, -0.2]] /// This layer can only be used as the first layer in a model. /// </summary> /// <seealso cref="Keras.Layers.BaseLayer" /> public class E...
73.95
463
0.677147
[ "MIT" ]
BHoM/Keras.NET
Keras/Layers/Embedding.cs
2,978
C#
/* © Cutter Systems spol. s r.o., 2018 Author: Petr Kalandra (kalandra@cutter.cz) 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 app...
29.744186
73
0.770915
[ "Apache-2.0" ]
kaldap/ros-sharp
Libraries/RosBridgeClient/Messages/Actionlib/TwoIntsActionResult.cs
1,280
C#
public SimpleStepBuilder<I, O> chunk<I, O>(int chunkSize) => new SimpleStepBuilder<I, O>(this).chunk(chunkSize); //https://pt.stackoverflow.com/q/414132/101
39.5
112
0.740506
[ "MIT" ]
dilsondeveloper/SOpt
CSharp/Generics/SyntaxReturn.cs
158
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RavenGallery.Core.Views { public class ImageTagCollectionItem { public string Name { get; set; } public int Count { get; set; } } }
18.428571
40
0.678295
[ "Unlicense" ]
codeinpeace/RavenGallery
RavenGallery.Core/Views/ImageTagCollectionItem.cs
260
C#
using Microsoft.Extensions.Logging; using TopModel.Utils; namespace TopModel.Generator.Ssdt; /// <summary> /// Writer pour l'écriture de fichier. /// Spécifique pour les fichiers SQL (usage du token commentaire SQL). /// </summary> public class SqlFileWriter : FileWriter { public SqlFileWriter(string ...
29.5
86
0.66718
[ "MIT" ]
JabX/topmodel
TopModel.Generator/Ssdt/SqlFileWriter.cs
655
C#