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.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("03...
38.189189
84
0.745223
[ "MIT" ]
dimanov/Exception-Handling
03. ReadFileContents/Properties/AssemblyInfo.cs
1,416
C#
version https://git-lfs.github.com/spec/v1 oid sha256:e1aa27513bdb58756eebe8fac5380629db0edb4eb471c2372f71c64c201bcfce size 618
32
75
0.882813
[ "MIT" ]
Vakuzar/Multithreaded-Blood-Sim
Blood/Library/PackageCache/com.unity.burst@1.3.0-preview.12/Runtime/CompilerServices/Loop.cs
128
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("Si...
38.297297
84
0.744531
[ "MIT" ]
RAstardzhiev/SoftUni-C-
Programming Fundamentals/Methods and Debugging - Lab/2. Sign of Integer Number/Properties/AssemblyInfo.cs
1,420
C#
using FilterLists.Directory.Infrastructure.Persistence.Queries.Context; using FilterLists.SharedKernel.Logging; using Microsoft.AspNetCore.Builder; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; #if DEBU...
32
104
0.732244
[ "MIT" ]
scafroglia93/FilterLists
services/Directory/FilterLists.Directory.Infrastructure/ConfigurationExtensions.cs
1,410
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace Ics.OpenApi.Extensions { /// <summary> /// 泛型扩展 /// </summary> public static class GenericExtensions { private static Dictionary<Type, Dictionary<string, Delegate>> ToDictionaryCache...
39.534884
143
0.558824
[ "MIT" ]
SimTsai/ics-dotnet-sdk
Ics.OpenApi/Extensions/GenericExtensions.cs
3,464
C#
using Microsoft.VisualBasic.ApplicationServices; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PhotoStoreDemo { public class SingleInstanceManager : WindowsFormsApplicationBase { private SingleInsta...
25.685185
87
0.59553
[ "MIT" ]
Bhaskers-Blu-Org2/AppModelSamples
Samples/SparsePackages/PhotoStoreDemo/SingleInstanceManager.cs
1,389
C#
namespace BaristaLabs.ChromeDevTools.Runtime.HeapProfiler { using Newtonsoft.Json; /// <summary> /// GetSamplingProfile /// </summary> public sealed class GetSamplingProfileCommand : ICommand { private const string ChromeRemoteInterface_CommandName = "HeapProfiler.getSamplingProfile"; ...
25.6875
103
0.620438
[ "MIT" ]
BaristaLabs/chrome-dev-tools-runtime
BaristaLabs.ChromeDevTools.Runtime/HeapProfiler/GetSamplingProfileCommand.cs
822
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
31.47619
78
0.441755
[ "MIT" ]
Appleseed/squidex
backend/src/Squidex.Domain.Apps.Entities/Contents/Text/IndexCommand.cs
663
C#
using UnityEngine; using System.Collections; using System; using System.Collections.Generic; public class EventBus : MonoBehaviour { private readonly Dictionary<string, List<EventListenerBase>> Listeners = new Dictionary<string, List<EventListenerBase>>(); public EventBus() { Listeners...
33.75
128
0.626211
[ "MIT" ]
SardineFish/TheLastOne
Assets/Script/Event/EventBus.cs
1,757
C#
using System; using System.Globalization; using System.Windows; using System.Windows.Data; using System.Windows.Markup; namespace Korduene.UI.WPF.Converters { public class WorkspaceItemTypeToVisibilityConverter : MarkupExtension, IValueConverter { public bool All { get; set; } public bool Sol...
27.984127
103
0.568917
[ "MIT" ]
Flippo24/Korduene
Korduene.UI.WPF/Converters/WorkspaceItemTypeToVisibilityConverter.cs
1,765
C#
// -------------------------------------------------------------------------------------------------------------------- // <auto-generated> // Generated using OBeautifulCode.CodeGen.ModelObject (1.0.169.0) // </auto-generated> // ---------------------------------------------------------------------------------------...
66.819404
308
0.682399
[ "MIT" ]
NaosProject/Naos.Slack
Naos.Slack.Domain.Test/Models/Classes/Message/SendSlackMessageRequestBaseTest.designer.cs
69,561
C#
using System; using System.Collections.Generic; using System.Text; namespace APILibrary.Models { public class ShortRate { /// <summary> /// Internal code (внутренний код) /// </summary> public int Cur_ID { get; set; } /// <summary> /// Date (дата, на которую за...
21.44
54
0.539179
[ "MIT" ]
Mazepin/TMS-DotNet-Mazepin
Mazepin.Homework12 Nbrb/TMS.Homework.Nbrb/APILibrary/Models/ShortRate.cs
585
C#
#pragma checksum "..\..\..\..\Views\Windows\MsgWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F6618B2A22ED005DD55344B04189E9DBDE52BAA2FE91879F9FEBA5534359BF8E" //------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // /...
38.273684
168
0.703245
[ "MIT" ]
WuPan001/Wp.Helper
WPF.UIL.Template/obj/Debug/Views/Windows/MsgWindow.g.cs
3,744
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc.Rendering; using Nop.Core; using Nop.Core.Domain.Catalog; using Nop.Core.Domain.Common; using Nop.Core.Domain.Customers; using Nop.Core.Domain.Forums; using Nop.Core.Domain.Gdpr; using Nop.Core.Domain.Media; using Nop.Cor...
48.739414
216
0.618704
[ "MIT" ]
EvaSRGitHub/NopCommerce-HomePageNewProductsPlugin
src/Presentation/Nop.Web/Factories/CustomerModelFactory.cs
44,891
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...
35.912281
95
0.595017
[ "Apache-2.0" ]
sunshinele/npoi
main/HSSF/Record/Chart/YMultRecord.cs
2,049
C#
namespace Kritikos.Sphinx.Web.Server.Controllers { using Kritikos.Sphinx.Data.Persistence.Identity; using Kritikos.Sphinx.Web.Server.Helpers; using Microsoft.AspNetCore.DataProtection; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; [Route("api/ac...
32.5
96
0.768326
[ "Apache-2.0" ]
kritikos-io/Sphinx
src/Sphinx.Web.Server/Controllers/AccountController.cs
1,105
C#
//****************************** // Written by Peter Golde // Copyright (c) 2004-2005, Wintellect // // Use and restribution of this code is subject to the license agreement // contained in the file "License.txt" accompanying this file. //****************************** using System; using System.Collections.Generic;...
40.62645
153
0.548943
[ "MIT" ]
SOFAgh/CADability
CADability/MultiDictionaryBase.cs
35,022
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.88
108
0.622993
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/LexModelBuildingService/Generated/Model/CreateBotVersionRequest.cs
3,488
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.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Symbol...
48.309659
244
0.572435
[ "Apache-2.0" ]
KashishArora/Roslyn
src/Compilers/CSharp/Portable/Binder/Semantics/OverloadResolution/OverloadResolution.cs
136,065
C#
/* Copyright (c) <2014> <LeChosenOne, DingusBungus> 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, merge, publis...
41.638554
179
0.421741
[ "MIT" ]
CybertronicToon/LegendCraft
fCraft/Games/CTF.cs
44,930
C#
using System; using SLua; using System.Collections.Generic; [UnityEngine.Scripting.Preserve] public class Lua_UnityEngine_UI_MaskUtilities : LuaObject { [SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] [UnityEngine.Scripting.Preserve] static public int constructor(IntPtr l) { try { #if DEBUG var m...
25.529825
75
0.726636
[ "BSD-3-Clause" ]
HugoFang/LuaProfiler
SLua/Assets/Slua/LuaObject/Unity/Lua_UnityEngine_UI_MaskUtilities.cs
7,278
C#
namespace Tweetinvi.Core.Public.Models.Enum { /// <summary> /// List of known media categories. This list might not be complete. /// Use the string mediaCategory parameter if you need to use another one. /// </summary> public enum MediaCategory { // Tweet media categories Image,...
21.9
78
0.579909
[ "MIT" ]
247GradLabs/tweetinvi
Tweetinvi.Core/Public/Models/Enum/MediaCategory.cs
440
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Core22.Areas.Identity.Data; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using Newton...
38
124
0.642206
[ "MIT" ]
lhendinha/ASP.Net-Core-2.2
Core22/Areas/Identity/Pages/Account/Manage/DownloadPersonalData.cshtml.cs
1,978
C#
using System.Reflection; 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("AWSSDK.FSx")] [assembly: AssemblyDescripti...
46.15625
221
0.750846
[ "Apache-2.0" ]
jamieromanowski/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/FSx/Properties/AssemblyInfo.cs
1,477
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; ...
32.821705
110
0.559282
[ "MIT" ]
20PercentRendered/osu
osu.Game/Overlays/Changelog/ChangelogHeader.cs
4,108
C#
using Mirror; using Mirror.Tests.Runtime; using NUnit.Framework; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.TestTools; namespace JamesFrowen.PositionSync.Tests.Runtime { [Category("NetworkPositionSync")] public class NetworkTransformSnapshotInterpolationTes...
32.295775
100
0.607937
[ "MIT" ]
James-Frowen/MirrorPositionSync
tests/runtime/NetworkTransformSnapshotInterpolationTest.cs
2,293
C#
 using Domain.Common; namespace Domain.Entities { public class EmailToken : Entity { public string UserId { get; set; } public string Token { get; set; } public User User { get; set; } } }
14.375
42
0.582609
[ "MIT" ]
BinaryStudioAcademy/bsa-2021-scout
backend/src/Domain/Entities/EmailToken.cs
232
C#
using Amazon.Lambda.Core; using System; namespace <%=ProjectName%> { public class <%=Prefix%>Response { public string Message {get; set;} public <%=Prefix%>Request Request {get; set;} public <%=Prefix%>Response(string message, <%=Prefix%>Request request){ Message = message; ...
18.736842
77
0.603933
[ "MIT" ]
msolimans/generator-sls
generators/rdotnet/templates/Response.cs
356
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
38.531056
151
0.570323
[ "MIT" ]
GamendeMier/BrawlCrate
BrawlCrate/Properties/Settings.Designer.cs
12,409
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.137255
110
0.586424
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/KafkaConnect/Generated/Model/DescribeCustomPluginResponse.cs
4,611
C#
using System; using System.Linq; namespace Mandater.Utilities { /// <summary> /// Enum representing the available methods of seat calculation for political systems given a voting district/circuit. /// </summary> public enum Algorithm { /// <summary> /// Algorithm not defined ...
38.547619
142
0.592753
[ "Apache-2.0" ]
Log234/Mandater
Mandater/Utilities/AlgorithmUtilities.cs
4,865
C#
using HttpReports.Core; using HttpReports.Core.Config; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; namespace HttpReports { internal abstract class BaseRequestInfoBuilder : IReque...
35.575
120
0.583099
[ "MIT" ]
XXXXX34/HttpReports
src/HttpReports/RequestInfoBuilder/BaseRequestInfoBuilder.cs
5,694
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
41.245283
143
0.606359
[ "MIT" ]
AzPsTest/azure-powershell
src/Network/Network/Cortex/VpnGateway/VpnGatewayBaseCmdlet.cs
4,269
C#
using GerberLibrary; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GerberClipper { class GerberClipper: IProgressLog { static void Main(string[] args) { if (args.Count() < 3) { ...
26.222222
101
0.576271
[ "MIT" ]
ghent360/GerberTools
GerberClipper/GerberClipper.cs
946
C#
using System; using System.Linq; namespace Hotel_Reservation { class StartUp { static void Main(string[] args) { var items = Console.ReadLine() .Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries) .ToArray(); var pricePerDay = de...
30.928571
110
0.569284
[ "MIT" ]
markodjunev/Softuni
C#/C# OOP/Working with Abstraction - Lab/Hotel Reservation/StartUp.cs
868
C#
using System.Collections; using UnityEngine; public class WelcomeHandler : MonoBehaviour { public GameObject bootScreen; public GameObject lockScreen; public GameObject userScreen; public GameObject welcomeScreen; public GameObject blankImage; void Start () { bootScreen.SetActive (true); lockScreen.SetA...
20.809524
45
0.773455
[ "MIT" ]
RobsonMaciel/glassos
Scripts/UI/WelcomeHandler.cs
439
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Newtonsoft.Json; namespace AltiFinReact.Web { public class WebApiApplication : System.Web....
33.7
152
0.751731
[ "MIT" ]
brunoAltinet/ReactAspNetCrudExample
AltiFinReact.Web/Global.asax.cs
1,013
C#
// Copyright 2014 The Rector & Visitors of the University of Virginia // // 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 re...
33.448276
75
0.721649
[ "Apache-2.0" ]
w-bonelli/sensus
Sensus.Android.Tests/Tests/Concurrent/MainConcurrentTests.cs
972
C#
using Lucene.Net.QueryParsers.Flexible.Core.Messages; using Lucene.Net.QueryParsers.Flexible.Core.Parser; using Lucene.Net.QueryParsers.Flexible.Messages; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor...
31.228814
96
0.524016
[ "Apache-2.0" ]
NikolayXHD/Lucene.Net.Contrib
Lucene.Net.QueryParser/Flexible/Core/Nodes/PhraseSlopQueryNode.cs
3,687
C#
using System; using System.Collections.Generic; using System.Text; namespace Common { public class GeoLocation { public Coordinate Latitude { get; set; } public Coordinate Longtitude { get; set; } } }
16.571429
50
0.663793
[ "MIT" ]
sagulati/dotnet-lambda-refarch-imagerecognition
lambda-functions/Common/GeoLocation.cs
234
C#
using Edibles; using System; using System.Collections.Generic; using System.Linq; using UniRx.Toolkit; using UnityEngine; using UniRx; namespace Edibles { public class HumanPool : ObjectPool<Human> { public bool isInitialized { get; private set; } private Human prefab; private Transform parent; private Actio...
22.90625
95
0.739427
[ "MIT" ]
Deadcreep/Snake
Assets/Scripts/Edibles/HumanPool.cs
735
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...
29.815126
106
0.590192
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/WorkLink/Generated/Model/AssociateDomainRequest.cs
3,548
C#
using UnityEngine; using System.Collections; namespace SpaceImpact { public class SICPowerup : SICGamePowerup { // Public Variables // Private Variables // Static Variables # region Game Powerup public override PowerupType GetPowerupType() { return PowerupType.BALL; } # endregion } }
16.368421
48
0.723473
[ "MIT" ]
pixelsquare/SpaceImpactClone
Assets/Scripts/Elements/Powerup/SICPowerup.cs
313
C#
using UnityEngine; using System.Collections; using System.Runtime.InteropServices; using System; using System.Text; // Copyright 2019 J Forristal LLC // Copyright 2016 Addition Security Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in ...
37.577491
133
0.555506
[ "Apache-2.0" ]
additionsec/as_mobileawareness
targets/unity/MobileAwareness.cs
20,369
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics.CodeAnalysis; using Microsoft.Azure.Devices.Client.Extensions; namespace Microsoft.Azure.Devices.Client { /// <summary> ...
34.279279
126
0.60841
[ "MIT" ]
Azure/azure-iot-sdk-csharp
iothub/device/src/DeviceAuthenticationWithRegistrySymmetricKey.cs
3,807
C#
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis.CodeGeneration; using Micros...
44.815385
184
0.651991
[ "Apache-2.0" ]
sperling/cskarp
Src/Workspaces/CSharp/CodeGeneration/NamedTypeGenerator.cs
11,654
C#
using LibGit2Sharp.Core; using LibGit2Sharp.Handlers; namespace LibGit2Sharp { /// <summary> /// Options controlling Revert behavior. /// </summary> public sealed class RevertOptions : IConvertableToGitCheckoutOpts { /// <summary> /// Initializes a new instance of the <see cref="Re...
35.827586
109
0.606352
[ "MIT" ]
Acidburn0zzz/libgit2sharp
LibGit2Sharp/RevertOptions.cs
4,158
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using Newtonsoft.Json; using System.Colle...
44.27027
467
0.560273
[ "Apache-2.0" ]
ElizabethWolfe/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/Areas.cs
36,036
C#
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
38.504505
166
0.450788
[ "Apache-2.0" ]
chuanboz/HDInsight
src/Insights/Customizations/Sku/SkuOperations.Customizations.cs
12,822
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.3053 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
32.18
185
0.688834
[ "MIT" ]
d3x0r/xperdex
games/PhysX.NET/NxSceneQueryDesc.cs
4,827
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: AssemblyTi...
52.461538
421
0.803519
[ "MIT" ]
azuresdkci/azure-powershell
src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Properties/AssemblyInfo.cs
2,010
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 System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline...
56.710795
257
0.631864
[ "MIT" ]
AntonioVT/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/RestOperations/ApplicationGatewaysRestOperations.cs
99,811
C#
#if ENABLE_PLAYFABSERVER_API using System; using System.Collections.Generic; using PlayFab.SharedModels; namespace PlayFab.ServerModels { [Serializable] public class AdCampaignAttribution { /// <summary> /// UTC time stamp of attribution /// </summary> public DateTime Attrib...
34.27526
132
0.609268
[ "MIT" ]
BrianPeek/Scavenger
src/Unity/Assets/PlayFabSdk/Server/PlayFabServerModels.cs
207,948
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Linq; using System.Reflection; using Elastic.Elasticsearch.Xunit.XunitPlumbing;...
36.182927
115
0.695315
[ "Apache-2.0" ]
Brightspace/elasticsearch-net
tests/Tests/CodeStandards/Queries.doc.cs
2,969
C#
namespace ml_lme { static class Settings { static bool ms_enabled = false; static bool ms_leapHmdMode = false; static bool ms_headRoot = false; static bool ms_sdk3Parameters = false; static bool ms_fingersTracking = false; static float ms_desktopOffsetY = -0.5f; ...
40.336735
135
0.636226
[ "MIT" ]
nonce-twice/ml_mods
ml_lme/Settings.cs
3,955
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...
39.896842
534
0.53327
[ "MIT" ]
F-V-L/platform-client-sdk-dotnet
build/src/PureCloudPlatform.Client.V2/Model/ScimV2User.cs
18,951
C#
namespace DotNetPivotalTrackerApi.Models.Stories { public class PivotalLabel : PivotalModel { public int? Id { get; set; } public string Name { get; set; } public int? ProjectId { get; set; } } }
23.3
49
0.613734
[ "MIT" ]
mbrewerton/DotNetPivotalTrackerApi
PivotalTrackerApi/Models/Stories/PivotalLabel.cs
235
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本: 4.0.30319.42000 // // 对此文件的更改可能导致不正确的行为,如果 // 重新生成代码,则所做更改将丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace Wor...
34.111111
188
0.577769
[ "MIT" ]
wulaiwei/WorkData.KeySpaceCallback
WorkData.ControlCenter/Properties/Resources.Designer.cs
2,786
C#
using System.Web; using System.Web.Mvc; namespace MVCChat { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
18.571429
80
0.65
[ "MIT" ]
LesterAGarciaA97/Project_EDII
Solucion/ApiChat/MVCChat/App_Start/FilterConfig.cs
262
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
34.901961
94
0.68427
[ "Apache-2.0" ]
NoleHealth/xamarin-forms-book-preview-2
Chapter08/PlatformSpecificLabels/PlatformSpecificLabels/PlatformSpecificLabels.WinPhone81/MainPage.xaml.cs
1,782
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Web.Http; using System.Web...
51.547009
196
0.62328
[ "MIT" ]
jcapellman/Cards-of-Phantasia
Src/mbs.cardlandia.chat.webapi/Areas/HelpPage/HelpPageConfigurationExtensions.cs
24,124
C#
using Highcharts4Net.Library.Helpers; namespace Highcharts4Net.Library.Options { public class SeriesDataMarker { /// <summary> /// Enable or disable the point marker. /// Default: true /// </summary> public bool? Enabled { get; set; } /// <summary> /// The fill color of the point marker. When <code>...
35.340426
594
0.680915
[ "MIT" ]
davcs86/Highcharts4Net
Highcharts4Net/Library/Options/SeriesDataMarker.cs
1,661
C#
//------------------------------------------------------------------------------ // <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 know what you are doing--modify // the SWIG interface file instead. //----...
56.621005
276
0.788226
[ "Apache-2.0" ]
MrDice/usd-unity-sdk
src/USD.NET/generated/pxr/usd/ndr/NdrRegistry.cs
12,400
C#
// <auto-generated /> using System; using Haro.AdminPanel.DataAccess; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; name...
36.660839
125
0.467525
[ "MIT" ]
harunmarangoz/Haro.AdminPanel
Haro.AdminPanel/Migrations/20201109145238_init4.Designer.cs
10,487
C#
using System.Runtime.Serialization; using System.Text; using Newtonsoft.Json; namespace BigCommerceSharp.Model { /// <summary> /// Data about the response, including pagination and collection totals. /// </summary> [DataContract] public class PaginationFull1 { /// <summary> /// Total number of items...
35.471264
115
0.642579
[ "MIT" ]
PrimePenguin/BigCommerceSharp
BigCommerceSharp/Model/PaginationFull1.cs
3,086
C#
// <copyright file="TimerMode.cs" company="Traced-Ideas, Czech republic"> // Copyright (c) 1990-2021 All Right Reserved // </copyright> // <author>vl</author> // <email></email> // <date>2021-09-01</date> // <summary>Part of Largo Composer</summary> using JetBrains.Annotations; namespace LargoSharedClasses.Music { ...
25.555556
74
0.608696
[ "MIT" ]
Vladimir1965/LargoComposer
LargoSharedClasses/Music/TimerMode.cs
690
C#
/* Copyright (c) 2014 Imazen See license.txt for your rights */ using System; using System.Collections.Generic; using System.Text; using ImageResizer; using System.IO; using System.Drawing.Imaging; using System.Collections.Specialized; using System.Drawing; using ImageResizer.Resizing; using ImageResizer.Encoding; usi...
44.091398
191
0.538715
[ "MIT" ]
2sic/resizer
Plugins/AnimatedGifs/AnimatedGifs.cs
8,203
C#
using Xamarin.Forms.CustomAttributes; using Xamarin.Forms.Internals; namespace Xamarin.Forms.Controls.Issues { [Preserve(AllMembers = true)] [Issue(IssueTracker.Github, 8087, "[WPF] View doesn't render when set IsClippedToBounds to true", PlatformAffected.WPF)] public class Issue8087 : TestContentPage { protect...
43.318182
213
0.759706
[ "MIT" ]
07101994/Xamarin.Forms
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue8087.cs
955
C#
using FtlSaveScummer.Properties; using Microsoft.VisualBasic.FileIO; using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Media; using System.Text.RegularExpressions; using System.Windows.Forms; namespace FtlSaveScummer { p...
36.163866
223
0.60811
[ "BSD-2-Clause" ]
npiegdon/ftl-save-scummer
MainWindow.cs
8,609
C#
using System; using System.Collections.Generic; using Umbraco.Core.Models; using Umbraco.Core.Models.Membership; using Umbraco.Core.Persistence.DatabaseModelDefinitions; using Umbraco.Core.Persistence.Querying; namespace Umbraco.Core.Services { /// <summary> /// Defines the MemberService, which is a...
57.298507
205
0.630199
[ "MIT" ]
filipw/Umbraco-CMS
src/Umbraco.Core/Services/IMemberService.cs
11,519
C#
using EasyAbp.WeChatManagement.MiniPrograms; using WeChatManagementSample.Localization; using Volo.Abp.AuditLogging; using Volo.Abp.BackgroundJobs; using Volo.Abp.FeatureManagement; using Volo.Abp.Identity; using Volo.Abp.IdentityServer; using Volo.Abp.Localization; using Volo.Abp.Modularity; using Volo.Abp.Permission...
36.5
89
0.714521
[ "MIT" ]
EasyAbp/WeChatManagement
samples/WeChatManagementSample/aspnet-core/src/WeChatManagementSample.Domain.Shared/WeChatManagementSampleDomainSharedModule.cs
1,827
C#
namespace Naspinski.FoodTruck.Admin.Models { public class IndexHeaderModel { public string Controller; public string Text; public IndexHeaderModel(string controller, string text) => (Controller, Text) = (controller, text); } }
24.090909
107
0.675472
[ "MIT" ]
naspinski/FoodTruck.Admin
Naspinski.FoodTruck.Admin/Models/IndexHeaderModel.cs
267
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PearlCalculatorBlazor.Managers { public class EventManager { private static EventManager _instance; public static EventManager Instance => _instance ??= new EventManager(); ...
33.354839
106
0.579626
[ "MIT" ]
memorydream/PearlCalculatorBlazor
Managers/EventManager.cs
3,104
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using PhotosOfUs.Model.Repositories; using PhotosOfUs.Model.ViewModels; using PhotosOfUs.Model.Models; namespace PhotosOfUs.Web.Controllers.API { [Route...
24.096774
61
0.65328
[ "MIT" ]
sparc-coop/photos-of-us
PhotosOfUs.Web/Controllers/API/PrintApiController.cs
749
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace YourAmongusSpecialSpy.Mission { public class AcceptDivertedPowerMission : IMission { public string GetName() { ...
48.163636
92
0.548886
[ "MIT" ]
jkwchunjae/YourAmongusSpecialSpy
YourAmongusSpecialSpy/Mission/AcceptDivertedPowerMission.cs
2,667
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...
29.8
147
0.557979
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/APIGateway/Generated/Model/UpdateUsagePlanResponse.cs
5,364
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using Foundation; using ObjCRuntime; using UIKit; using Xamarin.Forms.PlatformConfiguration.iOSSpecific; using RectangleF = CoreGraphics.CGRect; namespace Xamarin.Forms.Platform.iOS { internal class Read...
28.429003
191
0.716472
[ "MIT" ]
Arobono/Xamarin.Forms
Xamarin.Forms.Platform.iOS/Renderers/PickerRenderer.cs
9,410
C#
using Microsoft.Extensions.Hosting; using Quartz; using Quartz.Spi; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Logi3plJMS.API { public class QuartzHostedService : IHostedService { private readonly ISchedulerFactory...
27.04878
80
0.679892
[ "MIT" ]
Logi3PL/Quartzmin
Source/Services/SelfHosting.API/QuartzHostedService.cs
1,111
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace TD5 { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in both code and config file together. publi...
26.75
143
0.594626
[ "MIT" ]
Misaux/eiin839
TD5/TD5/TD5/Service1.cs
858
C#
using System; using System.Collections.ObjectModel; using System.Linq; using System.Runtime.Serialization; namespace Wintellog2.DataModel { [DataContract] public class BlogItem : BaseItem { private static Random _random = new Random(); private static Random RandomNumber ...
27.813084
109
0.494288
[ "MIT" ]
JeremyLikness/BuildWin8Apps
Chapter7/Wintellog2/Wintellog2/DataModel/BlogItem.cs
2,978
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ex7_Problem_7.Cake_Ingredients { class Program { static void Main(string[] args) { int sum = 0; for (int i = 0; i <= 20; i++) { string ingredients = Console.ReadLine(); ...
16.5
69
0.611408
[ "MIT" ]
MichelleMihova/SoftUni
C# Conditionals Statements and Loops - Exercises/Problem 7. Cake Ingredients/Program.cs
563
C#
/*! * @author electricessence / https://github.com/electricessence/ * Licensing: MIT https://github.com/electricessence/Genetic-Algorithm-Platform/blob/master/LICENSE.md */ using System; using System.Buffers; using System.Collections.Generic; using System.Linq; namespace Open.RandomizationExtensions; public stat...
38.922222
132
0.694919
[ "MIT" ]
electricessence/Open.RandomizationExtensions
Randomizer.cs
35,032
C#
namespace YourBrand.Customers.Application; public record ItemsResult<T>(IEnumerable<T> Items, int TotalItems);
37.666667
67
0.814159
[ "MIT" ]
marinasundstrom/YourCompany
Customers/Customers/Application/ItemsResult.cs
113
C#
using System.Threading; using Cysharp.Threading.Tasks; namespace Runtime.Executor { public interface IStateWorker { public GameState GameState { get; } public UniTask Work(CancellationToken token); } }
17.846154
53
0.702586
[ "MIT" ]
nekomimi-daimao/BotTestBed
Assets/BotTestBed/Scripts/Runtime/Executor/IStateWorker.cs
232
C#
using System.Net.NetworkInformation; using Thinktecture.Collections.Generic; namespace Thinktecture.Net.NetworkInformation { /// <summary> /// Stores a set of IPAddressInformation types. /// </summary> // ReSharper disable once InconsistentNaming public interface IIPAddressInformationCollection : INotNul...
37.35
159
0.752343
[ "BSD-3-Clause" ]
PawelGerr/Thinktecture.Abstractions
src/Thinktecture.Net.NetworkInformation.Abstractions/Net/NetworkInformation/IIPAddressInformationCollection.cs
747
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using osu.Framework.Allocation; using osu.Framework.Bindables; using o...
39.92446
165
0.475628
[ "MIT" ]
AaqibAhamed/osu
osu.Game/Screens/Select/Carousel/DrawableCarouselBeatmap.cs
10,822
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Get a list of Route Points that are using the specified Route Point External Syst...
34.227273
131
0.683931
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemRoutePointExternalSystemGetRoutePointListRequest.cs
1,506
C#
namespace Rocks.Helpers { public class TimeSpanFormatStrings { #region Static fields private static TimeSpanFormatStrings _default = new TimeSpanFormatStrings { Milliseconds = " ms", Seconds = " sec", Minutes = " min", ...
24.057143
55
0.498812
[ "MIT" ]
MichaelLogutov/Rocks.Helpers
src/Rocks.Helpers/TimeSpanFormatStrings.cs
844
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...
31.207792
102
0.633375
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/XRay/Generated/Model/FaultRootCause.cs
2,403
C#
using System; namespace Raygun.Druid4Net { public class DruidClientException : Exception { public DruidClientException() { } public DruidClientException(string message) : base(message) { } public DruidClientException(string message, Exception innerException) : base(message, innerExce...
17.25
105
0.689855
[ "MIT" ]
Derivitec/druid4net
Raygun.Druid4Net/DruidClientException.cs
347
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace Mondo.Messages { internal sealed class ListAccountsResponse { [JsonProperty("accounts")] public IList<Account> Accounts { get; set; } } }
21.272727
52
0.688034
[ "MIT" ]
KonradNN/Monzo.Api
Mondo/Messages/ListAccountsResponse.cs
236
C#
 namespace MongoCms.Entity { public class PriceAdjustment { public decimal OldPrice { get; set; } public decimal NewPrice { get; set; } public string Reason { get; set; } public PriceAdjustment(AdjustPrice adjustPrice, decimal oldPrice) { OldPrice = oldPrice; NewPrice = adjustPrice.NewPrice; Reas...
20.086957
71
0.679654
[ "MIT" ]
nrock/MongoCms
Source/MongoCms.Entity/PriceAdjustment.cs
464
C#
using YGOSharp.OCGWrapper.Enums; using System.Collections.Generic; using WindBot; using WindBot.Game; using WindBot.Game.AI; namespace WindBot.Game.AI.Decks { [Deck("GrenMajuThunderBoarder", "AI_GrenMajuThunderBoarder")] public class GrenMajuThunderBoarderExecutor : DefaultExecutor { public class ...
41.638239
179
0.544647
[ "MIT" ]
Battle-City-Alpha/windbot
Game/AI/Decks/GrenMajuThunderBoarderExecutor.cs
30,273
C#
// <copyright file="EfficientHttpClient.cs" company="Datadog"> // Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License. // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2022 Datadog, Inc. // </copyright> #if NETCOREAPP ||...
42.428571
155
0.583732
[ "Apache-2.0" ]
lucaspimentel/dd-trace-csharp
profiler/src/ProfilerEngine/Datadog.Profiler.Managed/Profiler/EfficientHttpClient.cs
16,931
C#
using Microsoft.AspNetCore.DataProtection; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Text; namespace Wobigtech.Companion.Shared { public class Encryptor { private readonly IDataProtector _protector; public Encryptor...
23.048387
78
0.556333
[ "MIT" ]
rwobig93/Wobigtech.Core
aspnet-core/src/Wobigtech.Core.Domain.Shared/Crypto/Encryptor.cs
1,431
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/Audioclient.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System; namespace Terra...
44.73913
145
0.768707
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/Audioclient/_AUDCLNT_BUFFERFLAGS.cs
1,031
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root...
25.316239
79
0.494936
[ "BSD-3-Clause" ]
0xCM/z0
src/core/src/memory/models/Ptr64.cs
2,962
C#
/* * Copyright 2010-2013 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...
47.170543
152
0.655711
[ "Apache-2.0" ]
zz0733/aws-sdk-net
AWSSDK_DotNet35/Amazon.Glacier/Model/GetJobOutputRequest.cs
6,085
C#
using System; using System.Linq; using NUnit.Framework; namespace Reactol { [TestFixture] public class ReactionTests { [Test] public void HandlersCanNotBeNull() { Assert.Throws<ArgumentNullException>(() => new Reaction(null)); } [Test] public vo...
31.929648
108
0.535883
[ "BSD-3-Clause" ]
yreynhout/Reactol
src/Reactol.Tests/ReactionTests.cs
6,356
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Management.Automation; using System.Management.Automation.Internal; using System.Security.Cryptography.X509Certificates; u...
34.249603
151
0.479181
[ "MIT" ]
AML-MAR5-MDH-sudo/PowerShell
src/Microsoft.PowerShell.Security/security/SignatureCommands.cs
21,543
C#