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.RegularExpressions; namespace AS { class Program { static void Main(string[] args) { static int Wurfel() { Random random = new Random(); int zufall = random.Next(1, 7); ...
32.321212
173
0.322708
[ "MIT" ]
BluefoxLP/Pasch-c-
Pasch_C#/AS/Program.cs
5,345
C#
namespace FubuMVC.Core.Runtime.Conditionals { public interface IConditional { bool ShouldExecute(); } }
18.428571
44
0.643411
[ "Apache-2.0" ]
DovetailSoftware/fubumvc
src/FubuMVC.Core/Runtime/Conditionals/IConditional.cs
129
C#
// <copyright file="ZipkinActivityConversionTest.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry 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...
36.721311
108
0.624554
[ "Apache-2.0" ]
ovebastiansen/opentelemetry-dotnet
test/OpenTelemetry.Exporter.Zipkin.Tests/Implementation/ZipkinActivityConversionTest.cs
4,480
C#
/* Copyright © 2020 Lee Kelleher. * 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 https://mozilla.org/MPL/2.0/. */ using System.Collections.Generic; using System.Globalization; using System.Lin...
36.156863
174
0.654555
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
CarlSargunar/umbraco-contentment
src/Umbraco.Community.Contentment/DataEditors/DataList/DataSources/CountriesDataListSource.cs
1,847
C#
namespace Aoc2018.Day15.Common { public static class MathUtil { public static int Abs(int a) { return a >= 0 ? a : -a; } } }
15.818182
36
0.482759
[ "MIT" ]
basverweij/aoc2018
Aoc2018.Day15/Common/MathUtil.cs
176
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Azure.AI.MetricsAdvisor.Administration; using Azure.AI.MetricsAdvisor.Models; using Azure.Core.TestFramework; using NUnit.Framework; ...
46.570983
163
0.65128
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/metricsadvisor/Azure.AI.MetricsAdvisor/tests/MetricsAdvisorAdministrationClient/NotificationHookLiveTests.cs
29,854
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ploeh.Samples.ProductManagement.WcfAgent { public interface ICircuitBreaker { void Guard(); void Trip(Exception e); void Succeed(); } }
16
50
0.676471
[ "MIT" ]
owolp/Telerik-Academy
Module-2/Design-Patterns/Materials/DI.NET/WpfProductManagementClient/ProductWcfAgent/ICircuitBreaker.cs
274
C#
namespace CsvReadLink { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
44.30303
164
0.610123
[ "Apache-2.0" ]
tborgesvieira/CsvReadLink
CsvReadLink/Form1.Designer.cs
4,388
C#
namespace World.GameActors.Tiles.Background { public class Background : StaticTile { public Background() : base (){ } public Background(int textureId) : base(textureId) { } public Background(string textureName) : base(textureName) { } } }
20.714286
65
0.617241
[ "Apache-2.0" ]
GoodAI/BrainSimulator
Sources/Modules/ToyWorld/World/GameActors/Tiles/Background/Background.cs
292
C#
using System; namespace Api.Dto.OAuth { public class OAuthToken { public string Accesstoken { get; set; } public string RefreshToken { get; set; } private int _expiresIn; public int ExpiresIn { get => _expiresIn; set { ...
21.78125
77
0.523673
[ "MIT" ]
Soneritics/Twinfield.API
Api/Dto/OAuth/OAuthToken.cs
699
C#
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.WindowsAzure.MobileServices; namespace Aptk.Plugins.AzureForMobile.Identity { public class AzureForMobilePlatformIdentityService : IAzureForMobilePlatformIdentityService { private readonly IMobileServiceClient _client; ...
34.727273
189
0.752618
[ "MIT" ]
Ideine/Apptracktive-Plugins
AzureForMobile/AzureForMobile.Uwp/Identity/AzureForMobilePlatformIdentityService.cs
766
C#
using Microsoft.VisualBasic.CompilerServices; using System; using System.Runtime.CompilerServices; namespace NoteApp { class Test { static void Main(string[] args) { Note note = new Note("",NoteCategory.Work,"Vse rabotaet"); Note note2 = new Note("Zametka 2", NoteCatego...
30.470588
90
0.574324
[ "MIT" ]
Dronee44/NoteApp
NoteApp/Test/Test.cs
1,038
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace ActionsProvider { public class ActionProviderFactory { public static IActionsProvider GetActionProvider(Microsoft.WindowsAzure.Storage.C...
32.772727
136
0.686546
[ "MIT" ]
MicrosoftDX/MB-ForensicWatermark
MB-ForensicWatermark/ActionsProvider/ActionProviderFactory.cs
723
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/strmif.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.Windows; ...
45.358491
145
0.71173
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/strmif/DVD_KARAOKE_DOWNMIX.cs
2,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("Mi...
38.083333
84
0.751276
[ "MIT" ]
Azure-Samples/mipsdk-fileapi-dotnet-onbehalfof
MipSdk-FileApi-DotNet-OnBehalfOf/MipSdk-FileApi-DotNet-OnBehalfOf/Properties/AssemblyInfo.cs
1,374
C#
namespace FlyweightGame.UI { internal class AssetPaths { internal const string ReaperImage = "../../Assets/reaper.png"; } }
18.125
70
0.634483
[ "MIT" ]
Supbads/Softuni-Education
03. HighQualityCode 12.15/Demos/18. Design-Patterns-Demo/Design Patterns/Structural/FlyweightGame/UI/AssetPaths.cs
147
C#
/** * Copyright 2015 Canada Health Infoway, 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...
47.665782
134
0.631608
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab-r02_04_03/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03/Pr/Prpm_mt306010ca/ParameterList.cs
17,970
C#
/* * Copyright 2018 JDCLOUD.COM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:#www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
24.816667
76
0.631296
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Streamcomputer/Client/QueryNamespacesExecutor.cs
1,603
C#
using System; using System.Collections.Generic; using System.Linq; using UnityEngine.Purchasing.Models; namespace UnityEngine.Purchasing.Utils { static class GooglePurchaseHelper { internal static GooglePurchase MakeGooglePurchase(IEnumerable<AndroidJavaObject> skuDetails, AndroidJavaObject purchase) ...
32.772727
128
0.661581
[ "MIT" ]
2PUEG-VRIK/UnityEscapeGame
2P-UnityEscapeGame/Library/PackageCache/com.unity.purchasing@3.1.0/Runtime/Stores/Android/GooglePlay/AAR/Utils/GooglePurchaseHelper.cs
721
C#
using StubbUnity.StubbFramework.Extensions; using StubbUnity.StubbFramework.View; using UnityEngine; namespace StubbUnity.Unity.Physics.Dispatchers { public class CollisionExitDispatcher : BasePhysicsDispatcher { void OnCollisionExit(Collision other) { Dispatcher.World.DispatchColli...
29.5
117
0.745763
[ "MIT" ]
VirtualMaestro/BubbleShooter
BubbleShooter/Assets/Libs/Stubb/StubbUnity/StubbUnity/Src/Unity/Physics/Dispatchers/CollisionExitDispatcher.cs
413
C#
/***************************************************************************** Copyright 2018 The TensorFlow.NET Authors. 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 Licen...
38.655172
110
0.539399
[ "Apache-2.0" ]
AhmedZero/TensorFlow.NET
src/TensorFlowNET.Core/Operations/NnOps/rnn_cell_impl.cs
3,365
C#
namespace Nancy.Tests.Unit { using System; using System.Globalization; using Cookies; using Xunit; public class NancyCookieFixture { [Fact] public void Should_stringify_a_simple_name_value() { // Given var cookie = new NancyCookie("le...
30.81768
173
0.534959
[ "MIT" ]
Adalyat/Nancy
src/Nancy.Tests/Unit/NancyCookieFixture.cs
5,578
C#
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.Common; using Accounting.Db; using Accounting.Db.Elements; namespace Accounting.Core.Sales { using System.Linq; using System.ComponentModel; public abstract class MiscSaleLineManager : EntityManager<Mis...
36.543779
111
0.583985
[ "MIT" ]
cschen1205/myob-accounting-plugin
Accounting/Core/Sales/MiscSaleLineManager.cs
7,930
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager;...
56.098361
214
0.684882
[ "MIT" ]
danielortega-msft/azure-sdk-for-net
sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteHostNameBinding.cs
10,266
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Net; using SuperSocket.ClientEngine; using SuperSocket.ClientEngine.Proxy; using WebSocket4Net; using XSocket.Engine.Client; using XSocket.Engine.Modules; using XSocket.Engine.Parser; namespace XSocket.Client.Transports {...
32.915423
118
0.515719
[ "Apache-2.0" ]
xksoft/xky
XSocket/Client/Transports/WebSocket.cs
6,618
C#
// ---------------------------------------------------------------------------- // <copyright file="IStubMethodGenerator.cs" company="MTCS"> // Copyright (c) MTCS 2018. // MTCS is a trading name of Meridian Technology Consultancy Services Ltd. // Meridian Technology Consultancy Services Ltd is registered in England an...
37.757576
80
0.574639
[ "MIT" ]
JTOne123/intersproc
Meridian.InterSproc/Meridian.InterSproc/Definitions/IStubMethodGenerator.cs
1,248
C#
/** * The MIT License * Copyright (c) 2016 Population Register Centre (VRK) * * 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 righ...
46.033898
210
0.745214
[ "MIT" ]
MikkoVirenius/ptv-1.7
src/PTV.Database.DataAccess/Translators/OpenApi/Channels/OpenApiServiceChannelEmailSupportTranslator.cs
2,718
C#
using System; using Swarmops.Common.Interfaces; namespace Swarmops.Basic.Types { public class BasicParleyOption : IHasIdentity { public BasicParleyOption (int parleyOptionId, int parleyId, string description, Int64 amountCents, bool active) { ParleyOptionId = parleyOptionId...
32.028571
121
0.592328
[ "Unlicense" ]
Swarmops/Swarmops
Basic/Types/BasicParleyOption.cs
1,121
C#
//----------------------------------------------------------------------- // <copyright file="RSAEngine.cs" company="Rare Crowds Inc"> // Copyright 2012-2013 Rare Crowds, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. /...
42.689655
101
0.583199
[ "Apache-2.0" ]
chinnurtb/OpenAdStack
Common/OpenSsl/RSAEngine.cs
3,716
C#
using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace CustomStack { public class MyCustomStack<T> : IEnumerable<T> { private T[] items; private int index = 0; public MyCustomStack() { items = new T[4]; Co...
21.2
69
0.415618
[ "MIT" ]
VenelinKadankov/CS-Advanced-SoftUni
IteratorsAndComparators/CustomStack/MyCustomStack.cs
1,910
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 CAINpcSummonGuardsAction : CA...
33
136
0.754941
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CAINpcSummonGuardsAction.cs
759
C#
using UnityEngine; namespace MB.UniFader { public class DrawUtility { public static void DrawSeparator(float height) { GUILayout.Box("", GUILayout.ExpandWidth(true), GUILayout.Height(height)); } } }
19.153846
85
0.618474
[ "MIT" ]
gok11/UniFader
Assets/UniFader/Scripts/Editor/Utility/DrawUtility.cs
251
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.5466 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated...
35.258065
151
0.564501
[ "BSD-2-Clause" ]
yimng/xenconsole
HalsignLib/HalsignLib/Properties/Settings.Designer.cs
1,095
C#
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace MYear.ODA.Model { public partial class SYS_USER { public string STATUS { get; set; } public string CREATED_BY { get; set; } public DateTime? CREATED_DATE { get; set;...
30.910448
56
0.584742
[ "MIT" ]
riwfnsse/MYear.ODA
MYear.PerformanceTest/Entity/Sys.Model.cs
2,071
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...
31.114286
108
0.657943
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CloudTrail/Generated/Model/_bcl45+netstandard/CloudTrailPaginatorFactory.cs
2,178
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.Immutable; using System.Text; using System.Threading; using Microsoft.CodeAn...
50.682119
210
0.664968
[ "MIT" ]
belav/roslyn
src/Compilers/Core/Portable/SourceGeneration/GeneratorContexts.cs
15,308
C#
using CefSharp; using CefSharp.OffScreen; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace CoreCmdPlayground.CefSharp { public class BrowserWrapper { /// <summary> /// The bro...
33.009709
135
0.558235
[ "MIT" ]
li-rongcheng/CoreCmdPlayground
CoreCmdPlayground.CefSharp/BrowserWrapper.cs
3,402
C#
/* * Tencent is pleased to support the open source community by making xLua available. * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License...
35.669291
308
0.472627
[ "BSD-3-Clause" ]
yl3495470/Survival
Assets/XLua/Examples/04_LuaObjectOrented/InvokeLua.cs
4,586
C#
//---------------------- // <auto-generated> // Generated using the NSwag toolchain v13.14.5.0 (NJsonSchema v10.5.2.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org) // </auto-generated> //---------------------- #nullable enable using Shared.Models; #pragma warning disable 108 // Disable "CS0108 '{derivedDto}.To...
48.780612
335
0.677335
[ "MIT" ]
ElevateData/OpenTemenos
src/FundAdministration.GlobalAccounting.Holding/FixedBondService.cs
28,683
C#
namespace Lazy.Authentication.Dal.Models { public class Application : BaseDalModelWithId { public string ClientId { set; get; } #region Implementation of IOAuthClient public string Secret { get; set; } public bool Active { get; set; } public string AllowedOrigin { get; set; } public double Ref...
23.125
50
0.702703
[ "Apache-2.0" ]
rolfwessels/Lazy.Authentication
src/Lazy.Authentication.Dal/Models/Application.cs
372
C#
#region File Description //----------------------------------------------------------------------------- // Ionixx Games 3/9/2009 // Copyright (C) Bryan Phelps. All rights reserved. //----------------------------------------------------------------------------- #endregion #region Using Statements using Microsoft.Xna.F...
30.105263
95
0.631702
[ "MIT" ]
extr0py/xna-skinned-model-instancing
SkinnedModelInstancingPipeline/InstancedTypeWriters.cs
1,716
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Parallaxer : MonoBehaviour { class PoolObject{ public Transform transform; public bool inUse; public PoolObject(Transform t){ transform = t; } public void Use() { inUse ...
29.072581
103
0.580583
[ "MIT" ]
christo707/Unity_ScrappyBird
Assets/Scripts/Parallaxer.cs
3,607
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WhooingTransactionMaker.DataModels { public class Entries { /* "results" : { "reports" : [], "rows" : [ { "entry_id" : 1352827, "...
20.5625
86
0.551165
[ "MIT" ]
hallower/WhooingTransactionMaker
WhooingTransactionMaker/WhooingTransactionMaker/WhooingTransactionMaker/DataModels/Entries.cs
1,009
C#
using System; using System.Reflection; using Microsoft.EntityFrameworkCore.Query; using Microsoft.EntityFrameworkCore.Query.SqlExpressions; namespace Pomelo.EntityFrameworkCore.MySql.Query.Internal { public class MySqlStringMemberTranslator : IMemberTranslator { private readonly ISqlExpressionFactory ...
30.25
106
0.63843
[ "MIT" ]
WhiteHingeLtd/Pomelo.EntityFrameworkCore.MySql
src/EFCore.MySql/Query/Internal/MySqlStringMemberTranslator.cs
970
C#
using Encog.Neural.Networks.Training; using MyProject01.Util.DataObject; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MyProject01.Controller { class DataUpdateJob : ICheckJob { private ReduceLossScore _score; pri...
25.448276
86
0.574526
[ "BSD-3-Clause" ]
a7866353/encog-dotnet-core_work01
MyProject/MyProject01/OldController/DataUpdateJob.cs
1,478
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...
36.868056
126
0.594839
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/ResourceGroups/Generated/Model/ListGroupsRequest.cs
5,309
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 may ...
32.60274
75
0.713445
[ "MIT" ]
restran/lucene-file-finder
Lucene.Net 2.4.0/Index/LogDocMergePolicy.cs
2,380
C#
using UnityEngine.EventSystems; namespace Views.Components.EventPropagator { public class BeginDragEventPropagator : EventPropagatorBase<IBeginDragHandler>, IBeginDragHandler { public void OnBeginDrag(PointerEventData eventData) => Propagate(eventData); public BeginDragEventPropagator() ...
28.071429
101
0.717557
[ "MIT" ]
aliagamon/Utily
Unity/Events/EventPropagator/BeginDragEventPropagator.cs
395
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401 { using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; /// <summary>An update history of the ImmutabilityPolicy of a blob container.</summary> [System.ComponentModel.TypeConverter(typeof(UpdateHistoryPropertyTy...
86.624113
474
0.734158
[ "MIT" ]
Arsasana/azure-powershell
src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.PowerShell.cs
12,074
C#
namespace MoiteRecepti.Data.Models { public class RecipeIngredient { public int Id { get; set; } public int RecipeId { get; set; } public virtual Recipe Recipe { get; set; } public int IngredientId { get; set; } public virtual Ingredient Ingredient { get; set; } ...
20.555556
58
0.597297
[ "MIT" ]
Avanguarde/csharp-web
2020-Sept-Season/MoiteRecepti/Data/MoiteRecepti.Data.Models/RecipeIngredient.cs
372
C#
/* * Upbit Open API * * ## REST API for Upbit Exchange - Base URL: [https://api.upbit.com] - Official Upbit API Documents: [https://docs.upbit.com] - Official Support email: [open-api@upbit.com] * * OpenAPI spec version: 1.1.6 * Contact: ujhin942@gmail.com * Generated by: https://github.com/swagger-api/swagger...
36.11875
174
0.573975
[ "MIT" ]
942star/upbit-client
swg_generated/csharp/src/IO.Swagger/Model/DepositCompleteResponse.cs
5,917
C#
// ========================================================================= // Copyright 2020 EPAM Systems, 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....
37.461538
77
0.601643
[ "Apache-2.0" ]
epam/COVID-Resistance-Mobile
src/Covi/Features/PushNotifications/PushNotification.cs
976
C#
using AzureStorageUtilities.Interfaces; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Blob; using System.IO; using System.Threading.Tasks; namespace AzureStorageUtilities.Default { public class AzureBlob : IBlob { public CloudBlobClient Client { get; } public Clou...
30.515152
101
0.68719
[ "MIT" ]
naspinski-emergent-software/headstart
src/Middleware/AzureStorageUtilities/Default/AzureBlob.cs
1,009
C#
using System; namespace simple_tcp_server.Data { /// <summary> /// A class to log stuffs on the server and clients, Easy to modify. /// </summary> class Logger { /// <summary>Logging something.</summary> public static void Log(string msg) { Console.WriteLine(msg...
20.058824
72
0.565982
[ "MIT" ]
OsvarK/simple-tcp-server
simple-tcp-server/Data/Logger.cs
343
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> //--...
42.702703
173
0.603165
[ "MIT" ]
RKDN/x12Tool
x12Tool/Properties/Resources.Designer.cs
3,162
C#
namespace CountMonster.Model; public class TrackedRun { public DateTimeOffset TimeStamp { get; set; } = DateTimeOffset.UtcNow; public int Number { get; set; } public string? Comments { get; set; } public float Duration { get; set; } }
19.692308
74
0.679688
[ "MIT" ]
jsedlak/count-monster
CountMonster/Model/TrackedRun.cs
258
C#
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
33.257143
76
0.718213
[ "Apache-2.0" ]
Andrea-MariaDB-2/play-unity-plugins
GooglePlayPlugins/com.google.play.instant/Samples/SphereBlast/Scripts/WoodPanel.cs
1,164
C#
// MIT License // Copyright (c) 2020 Simon Schulze // 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 rights // to use, copy, modify, ...
37.353448
174
0.633972
[ "MIT" ]
SSchulze1989/iRLeagueManager
iRLeagueManager/ViewModels/CommentViewModel.cs
4,335
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace _02_AspNetMvc.Entities { public class Empleado { public int EmpleadoId { get; set; } public string Name { get; set; } } }
18.5
43
0.679537
[ "MIT" ]
fernandezja/net5-experiments
04-aspnet/02-AspNetMvc/Entities/Empleado.cs
261
C#
using System; namespace Kunicardus.Billboards.Core.Models { public class UserBalanceModel { public decimal BlockedPoints { get; set; } public decimal AvailablePoints { get; set; } public decimal AccumulatedPoint { get; set; } public decimal SpentPoints { get; set; } } } ...
10.7
43
0.647975
[ "MIT" ]
nininea2/unicard_app_base
Kunicardus.Billboards/Kunicardus.Billboards.Core/Models/UserBalanceModel.cs
323
C#
#if ! AZURE_MOBILE_SERVICES using Xamarin.Auth; using Xamarin.Auth.Presenters; #else using Xamarin.Auth._MobileServices; using Xamarin.Auth._MobileServices.Presenters; #endif #if !AZURE_MOBILE_SERVICES namespace Xamarin.Auth.Presenters.WinPhone #else namespace Xamarin.Auth._MobileServices.Presenters.WinPho...
26.076923
68
0.662242
[ "Apache-2.0" ]
Abhirasmanu-Trimble/Xamarin.Auth
source/Core/Xamarin.Auth.WindowsPhone81/Presenters/AuthenticationConfiguration.WindowsPhone8.cs
680
C#
namespace Customer.API.Infrastructure.Filters { public class JsonErrorResponse { public string[] Messages { get; set; } public object DeveloperMessage { get; set; } } }
19.9
52
0.648241
[ "MIT" ]
relay-dev/fructose-microservices
src/services/Customer/Customer.API/Infrastructure/Filters/JsonErrorResponse.cs
201
C#
using System; using System.Collections.Generic; namespace Twilio { /// <summary> /// Twilio API call result with paging information /// </summary> public class OutgoingCallerIdResult : TwilioListBase { /// <summary> /// List of OutgoingCallerId instances returned by API /// </summary> public List<Outgoing...
22.875
63
0.718579
[ "Apache-2.0" ]
ArashMotamedi/Twilio.NetCore
src/Twilio.NetCore/Model/OutgoingCallerIdResult.cs
366
C#
using BeatSaberMarkupLanguage.Attributes; using BeatSaberMarkupLanguage.Components; using HMUI; using IPA.Utilities; using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using UnityEngine; using UnityEngine.UI; namesp...
38.443114
250
0.495535
[ "MIT" ]
hardcpp/BeatSaberPlus
Modules/ChatRequest/UI/ManagerMain.cs
19,262
C#
using System; [Serializable] public enum DofBlurriness { Low = 1, High, VeryHigh = 4 }
9.1
25
0.692308
[ "MIT" ]
moto2002/superWeapon
src/DofBlurriness.cs
91
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. namespac...
39.937107
224
0.586929
[ "MIT" ]
yugangw-msft/AutoRest
src/generator/AutoRest.CSharp.Azure.Tests/Expected/AcceptanceTests/SubscriptionIdApiVersion/MicrosoftAzureTestUrl.cs
12,700
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 System.Linq; using System.Runtime.InteropServices; using System.Threading; u...
45.190476
166
0.561591
[ "MIT" ]
RobSiklos/corefx
src/System.IO.Pipes/tests/NamedPipeTests/NamedPipeTest.Simple.cs
37,960
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace WebAPIs.Areas.HelpPage.ModelDescriptions { public class EnumTypeModelDescription : ModelDescription { public EnumTypeModelDescription() { Values = new Collection<EnumValueDescription>(); } ...
26.733333
76
0.705736
[ "MIT" ]
CDOTAD/HospitalManageSystem
WebAPIs/WebAPIs/Areas/HelpPage/ModelDescriptions/EnumTypeModelDescription.cs
401
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ApplicationParts; using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Stankins.Interpreter; using StankinsCommon; using StankinsHelperCommands; using Syste...
41.09375
135
0.615209
[ "MIT" ]
Zeroshi/stankins
stankinsv2/solution/StankinsV2/StankinsData/GenericControllerFeatureProvider.cs
3,947
C#
using SpeedrunComApi.Interfaces; namespace SpeedrunComApi.Endpoints { public abstract class EndpointBase { internal readonly IRateLimitedRequester _requester; internal EndpointBase(IRateLimitedRequester requester) { _requester = requester; } } }
17.733333
56
0.781955
[ "MIT" ]
Failcookie/SpeedrunComApi
SpeedrunComApi/Endpoints/EndpointBase.cs
268
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; using System.Threading.Tasks; using JetBrains.Annotations; using Microsoft.Entit...
46.210526
139
0.646545
[ "Apache-2.0" ]
Ali-YousefiTelori/EntityFrameworkCore
src/EFCore.Relational/Update/ModificationCommandBatch.cs
2,634
C#
using System.IO; using System.Net.Http; using System.Net.Http.Headers; namespace OpenOcrDotNet.Extensions { /// <summary>Provides HTTP content based on a image stream.</summary> public class ImageStreamContent : StreamContent { public ImageStreamContent(Stream content) : base(content) { //...
43.555556
103
0.692602
[ "MIT" ]
alex-doe/open-ocr-dotnet
OpenOcrDotNet/Extensions/ImageStreamContent.cs
786
C#
using System; public class GearEvent { public static readonly string Active = "Active"; public static readonly string Deactive = "Deactive"; public static readonly string StateUp = "StateUp"; public static readonly string StateDown = "StateDown"; }
19.769231
55
0.758755
[ "MIT" ]
corefan/tianqi_src
src/GearEvent.cs
257
C#
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator}) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using static Commvault.Powershell.Runtime.Extensions; /// <summary>External User ...
66.027778
237
0.681391
[ "MIT" ]
Commvault/CVPowershellSDKV2
generated/api/Models/ExternalUserGroup.json.cs
7,131
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Threading; namespace Vizitka { public class WPF_Printer ...
28.121212
87
0.647629
[ "BSD-3-Clause" ]
kim-g/Visitka
Vizitka/WPF_Printer.cs
943
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 Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem.Interop; namespace Microsoft.VisualStud...
38.947368
101
0.756757
[ "MIT" ]
BertanAygun/roslyn
src/VisualStudio/Core/Def/Implementation/ProjectSystem/Legacy/AbstractLegacyProject_ICompilerOptionsHostObject.cs
742
C#
using BlazorApp.Application.Common.Events; using BlazorApp.Domain.Account.Events; using MediatR; using Microsoft.Extensions.Logging; namespace BlazorApp.Application.Account.EventHandlers; public class AccountDeletedEventHandler : INotificationHandler<EventNotification<AccountDeletedEvent>> { private readonly ILog...
33.545455
112
0.791328
[ "MIT" ]
DurgaPrasadReddyV/BlazorApp
Source/BlazorApp.Application/Account/EventHandlers/AccountDeletedEventHandler.cs
738
C#
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
39.22695
136
0.572048
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
tools/Google.Cloud.Tools.Common/ApiCatalog.cs
5,533
C#
#if WITH_GAME #if PLATFORM_32BITS using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UnrealEngine { [StructLayout(LayoutKind.Explicit,Size=84)] public partial struct FRichCurve { [FieldOffset(64)] public ERichCurveExtrapolation PreInfinityExtrap; [FieldOffset(6...
27.419355
166
0.750588
[ "MIT" ]
RobertAcksel/UnrealCS
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_32bits/FRichCurve.cs
850
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Slowsharp { internal interface OptNodeBase { } }
14.538462
34
0.746032
[ "MIT" ]
pjc0247/SlowSharp
Slowsharp/Optimizer/OptNode/OptNodeBase.cs
191
C#
/********************************************************************************************************************** FocusOPEN Digital Asset Manager (TM) (c) Daydream Interactive Limited 1995-2011, All Rights Reserved The name and trademarks of copyright holders may NOT be used in advertising or publicity perta...
35.652778
270
0.715076
[ "MIT" ]
MatfRS2/SeminarskiRadovi
programski-projekti/Matf-RS2-FocusOpen/FocusOPEN_OS_Source_3_3_9_5/FocusOPEN.Business/Managers/Entity/OrderManager.cs
12,835
C#
using System.IO; using System.Threading.Tasks; namespace Baseline { public static class StreamExtensions { /// <summary> /// Read the contents of a Stream from its current location /// into a String /// </summary> /// <param name="stream"></param> /// <returns><...
28.6125
89
0.531236
[ "Apache-2.0" ]
JasperFx/Baseline
src/Baseline/StreamExtensions.cs
2,291
C#
using CoreHal.Reader.Loading; using System.Collections.Generic; using System.Text.Json; using Validation; namespace CoreHal.Reader.Json.Microsoft { public class JsonLoader : IHalResponseLoader { public JsonSerializerOptions JsonSerializerOptions { get; private set; } public JsonLoader() ...
28.372549
83
0.600553
[ "MIT" ]
AndyBrennan1/CoreHal.Reader.Json.Microsoft
src/CoreHal.Reader.Json.Microsoft/JsonLoader.cs
1,449
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.Diagnostics; using EmitContext = Microsoft.CodeAnalysi...
39.218062
140
0.60702
[ "MIT" ]
06needhamt/roslyn
src/Compilers/Core/Portable/PEWriter/ReferenceIndexerBase.cs
17,807
C#
namespace ECommerce.Services.Catalogs.Products.Dtos; public record ProductImageDto { public long Id { get; init; } public string ImageUrl { get; init; } = default!; public bool IsMain { get; init; } public long ProductId { get; init; } }
25.5
53
0.686275
[ "MIT" ]
BuiTanLan/ecommerce-microservices
src/Services/ECommerce.Services.Catalogs/ECommerce.Services.Catalogs/Products/Dtos/ProductImageDto.cs
255
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Snowlight.Game.Spaces { public enum SpaceModelType { Island, Area } }
14
33
0.673469
[ "MIT" ]
DaLoE99/Servidores-DaLoE
3/BoomBang/Game/Spaces/SpaceModelType.cs
198
C#
using NGeoNames.Entities; namespace NGeoNames.Parsers { /// <summary> /// Provides methods for parsing an <see cref="Admin1Code"/> object from a string-array. /// </summary> public class Admin1CodeParser : BaseParser<Admin1Code> { /// <summary> /// Gets wether the file/stream has (...
31.862745
132
0.538462
[ "MIT" ]
fleetcomplete/NGeoNames
NGeoNames.Pcl/Parsers/Admin1CodeParser.cs
1,627
C#
#if UNITY_4_0 || UNITY_4_0_1 || UNITY_4_2 || UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 #define T2U_IS_UNITY_4 #endif #if !UNITY_WEBPLAYER using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Xml.Linq; using UnityEngine; using UnityEditor; namespa...
45.801572
205
0.590229
[ "MIT" ]
JackSteel97/GGJ2017
GGJ17/Assets/Tiled2Unity/Scripts/Editor/ImportTiled2Unity.Prefab.cs
23,315
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Summoners_War_Statistics { internal class Ranking { #region Singleton private static Ranking instance = null; public static Ranking Instance => instance ?? (in...
59.383721
247
0.526728
[ "Apache-2.0" ]
QuatZo/Summoners-War-Statistics
Summoners War Statistics/Extensions/Ranking.cs
15,323
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.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Diagnostics; using Micros...
45.830508
139
0.593997
[ "MIT" ]
CameronAavik/efcore
src/EFCore.Relational/Update/AffectedCountModificationCommandBatch.cs
16,224
C#
using GraphX.Controls; using System; using System.Windows; using System.Windows.Media; using System.Windows.Shapes; namespace ControlsLibrary.Controls.Scene { /// <summary> /// Control for virtual edge that is used when one clicks on a first node and draws an edge to a second node. /// Actual edge is crea...
31.681818
113
0.587757
[ "Apache-2.0" ]
IlyaMuravjov/DesktopAutomataConstructor
ControlsLibrary/Controls/Scene/EdgeBlueprint.cs
2,093
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace WpfApp1 { /// <summary> /// Logika interakcji dla klasy App.xaml /// </summary> public partial class App : Application { ...
18.166667
44
0.703364
[ "MIT" ]
Mrmisio345/c-praca
WpfApp1/App.xaml.cs
329
C#
namespace PcPartPicker2.Data.Common.Models { using System; using System.ComponentModel.DataAnnotations; public abstract class BaseModel<TKey> : IAuditInfo { [Key] public TKey Id { get; set; } public DateTime CreatedOn { get; set; } public DateTime? ModifiedOn { get; s...
20.875
54
0.631737
[ "MIT" ]
TodorNedkovski/PcPartPicker2
src/Data/PcPartPicker2.Data.Common/Models/BaseModel.cs
336
C#
 namespace Sitecore.Foundation.AlchemyBase.ResponseWrapper { public interface IServiceError { string ErrorCode { get; set; } string Message { get; set; } } public class ServiceError : IServiceError { public ServiceError() { } public ServiceError(st...
20.615385
61
0.56903
[ "MIT" ]
TomTyack/Alchemy
src/Foundation/Alchemy/code/AlchemyBase/ResponseWrapper/ServiceError.cs
538
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Umbraco.Core.Models; using Umbraco.Core.Models.Rdbms; namespace Umbraco.Core.Persistence.Factories { internal class MemberTypeFactory : IEntityFactory<IMemberType, ContentTypeDto> { private ...
40.5
114
0.459154
[ "MIT" ]
AdrianJMartin/Umbraco-CMS
src/Umbraco.Core/Persistence/Factories/MemberTypeFactory.cs
3,809
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...
73.595642
479
0.670077
[ "MIT" ]
Agazoth/azure-powershell
src/CloudService/generated/cmdlets/GetAzCloudService_List1.cs
29,983
C#
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
38.600862
132
0.550528
[ "Apache-2.0" ]
Acidburn0zzz/google-cloud-dotnet
apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1.Snippets/DatastoreDbSnippets.cs
44,783
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Abp.VueDemo.Migrations { public partial class Upgraded_To_Abp_2_1_0 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey( name: "FK_AbpRoleClaims_AbpRo...
32.318182
71
0.54196
[ "MIT" ]
freeradius-xx/Abp.VueDemo
aspnet-core/src/Abp.VueDemo.EntityFrameworkCore/Migrations/20170608053244_Upgraded_To_Abp_2_1_0.cs
2,135
C#
#region Copyright & License /* Copyright (c) 2022, Integrated Solutions, 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, t...
65.357143
754
0.80765
[ "BSD-3-Clause" ]
ISI-Extensions/ISI.Extensions
src/ISI.Extensions.Jenkins/DataTransferObjects/JenkinsApi/GetJobConfigXmlResponse.cs
1,830
C#
using System; using System.Globalization; using System.Linq; using System.Text; namespace IronBug.Helpers { public static class StringHelper { public static string Truncate(this string input, int length, bool concatWithReticences = true) { if (input == null) return ...
33.2
121
0.593976
[ "MIT" ]
erickeek/IronBug
IronBug.Helpers.Shared/StringHelper.cs
2,492
C#