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
namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 { using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; /// <summary>BackupRequest resource specific properties</summary> public partial class BackupRequestProperties : Microsoft.Azure.PowerShell...
69.20524
455
0.699142
[ "MIT" ]
AndriiKalinichenko/azure-powershell
src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.cs
15,620
C#
// Copyright (c) Aloïs DENIEL. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using System.T...
32.86743
239
0.50234
[ "MIT" ]
LyckanSv/Microcharts
Sources/Microcharts/Charts/Chart.cs
20,083
C#
using System.Diagnostics; using Microsoft.AspNetCore.Mvc; using StandBy.Models; namespace StandBy.Controllers { public class PrincipalController : Controller { public IActionResult Inicio() { return View(); } public IActionResult Privacidade() { ...
24.64
110
0.61526
[ "MIT" ]
pedrogdocouto/stand-by
StandBy/Controllers/PrincipalController.cs
618
C#
/* * Copyright 2017 Mikhail Shiryaev * * 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 a...
36.205298
107
0.567953
[ "Apache-2.0" ]
JoygenZhang/Rapid-SCADA-sources
ScadaServer/ScadaServerSvc/Manager.cs
5,984
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // using UnityEngine; namespace HUX.InputValidator { public abstract class AInputValidator : Interaction.InteractibleObject { #region Editor Variables [S...
21.758065
91
0.589325
[ "MIT" ]
AllBecomesGood/Share-UpdateHolograms
ShareAndKeepSynced/Assets/MRDesignLab/HUX/Examples/Scripts/InputValidator/AInputValidator.cs
1,351
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
35.859649
243
0.639922
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Devices/V20200401/Outputs/FallbackRoutePropertiesResponse.cs
2,044
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FuzzySetCreater { class BinaryFSOperator { protected static Random rnd = new Random(); //properties public virtual string Title { get => ""; } // event...
26.666667
119
0.551563
[ "MIT" ]
SashaWanChen/FuzzySetCreater
FuzzySetCreater/BinaryFSOperator.cs
3,202
C#
using System.Xml.Serialization; namespace CarDealer.DTO.Export { [XmlType("car")] public class ExportCarsFromMakeBmw { [XmlAttribute("id")] public int Id { get; set; } [XmlAttribute("model")] public string Model { get; set; } [XmlAttribute("travelled-distance")] ...
21.055556
51
0.604222
[ "MIT" ]
PetroslavGochev/CSharpDatabaseModule
Entity Framework Core/09.XML PROCESSING/CarDealer/CarDealer/DTO/Export/ExportCarsFromMakeBmw.cs
381
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Build.UnitTests.OM.ObjectModelRemoting { using System; using System.Collections.Generic; using System.Linq; using Microsoft.Build.Co...
42.246637
191
0.615858
[ "MIT" ]
3F/msbuild
src/Build.OM.UnitTests/ObjectModelRemoting/Helpers/ViewValidation.cs
9,423
C#
namespace Gripper.ChromeDevTools.Emulation { using Newtonsoft.Json; /// <summary> /// Automatically render all web contents using a dark theme. /// </summary> public sealed class SetAutoDarkModeOverrideCommand : ICommand { private const string ChromeRemoteInterface_CommandName = "Emulat...
29.575758
113
0.63832
[ "MIT" ]
tomaskrupka/Gripper
src/Gripper.ChromeDevTools/Emulation/SetAutoDarkModeOverrideCommand.cs
976
C#
#pragma checksum "C:\Code\DungeonStats\StatRoller\StatRoller\_Imports.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7806673c258f6c80714514ed6ddb9d12fe9d8ec6" // <auto-generated/> #pragma warning disable 1591 #pragma warning disable 0414 #pragma warning disable 0649 #pragma warning disable 0169 namespace StatRoller ...
24.921348
160
0.785843
[ "MIT" ]
Jareson/DungeonStats
StatRoller/StatRoller/obj/Debug/netcoreapp3.0/RazorDeclaration/_Imports.razor.g.cs
2,218
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...
57.611266
222
0.672998
[ "Apache-2.0" ]
InsiteVR/aws-sdk-net
sdk/src/Services/Lightsail/Generated/_bcl35/AmazonLightsailClient.cs
475,581
C#
using Newtonsoft.Json; using CCXT.NET.Shared.Coin.Trade; using CCXT.NET.Shared.Coin.Types; namespace CCXT.NET.Bitfinex.Trade { /// <summary> /// /// </summary> public class BMyPositionItem : CCXT.NET.Shared.Coin.Trade.MyPositionItem, IMyPositionItem { /// <summary> /// /// ...
21.153846
93
0.435
[ "MIT" ]
ccxt-net/ccxt.net
src/exchanges/gbr/bitfinex/trade/position.cs
2,202
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using RhinoMocksToMoq; namespace RhinoMocksToMoqConsole { class Program { static void Main(string[] args) { var isBatch = args[0] == "-batch"; if (!(args.Length == 1 && File.Exists(args...
36.857143
182
0.536176
[ "MIT" ]
prescottadam/RhinoMocksToMoq
RhinoMocksToMoqConsole/Program.cs
1,550
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 regenerate...
19.721311
100
0.614713
[ "MIT" ]
patrickCode/Mobile
Xamarin/Android/TestOrderApp/Dining/Resources/Resource.Designer.cs
2,406
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace MyBlog.Models.AccountViewModels { public class LoginViewModel { [Required] [Display(Name = "E-mail")] public string Email { get; set; }...
22.583333
44
0.629151
[ "MIT" ]
huww98/MyBlog
src/MyBlog/Models/AccountViewModels/LoginViewModel.cs
552
C#
using Volo.Abp.Modularity; namespace CName.PName.SName { [DependsOn( typeof(SNameApplicationModule), typeof(SNameDomainTestModule))] public class SNameApplicationTestModule : AbpModule { } }
17.384615
55
0.690265
[ "MIT" ]
NanoFabricFX/abp-vnext-templates
aspnet-core/test/CName.PName.SName.Application.Tests/SNameApplicationTestModule.cs
228
C#
#pragma warning disable CS0108, CS0649 using System; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; namespace Encoder.ILAdapter { public class Stack_1_ObjectAdapter : CrossBindingAdaptor { static CrossBindingFunctionInfo<System.Collections.IEnumer...
31.642857
169
0.585295
[ "Apache-2.0" ]
ZhangHuan0407/BMPFont
Unity/BMPFont/Assets/ILRuntime/Adapter/Stack`1_ObjectAdapter.cs
3,101
C#
// WARNING // // This file has been generated automatically by Visual Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace Calendars { [Re...
22.047619
84
0.669546
[ "MIT" ]
Art-Lav/ios-samples
Calendars/Calendars/EventsController.designer.cs
463
C#
using Discord; using Discord.Commands; using Discord.WebSocket; using System.Threading.Tasks; namespace TyniBot { public interface IChannelHandler { Task<IResult> MessageReceived(CommandContext context); Task ReactionAdded(ReactionContext context, SocketReaction reactionAdded); Task Re...
30.333333
86
0.767033
[ "MIT" ]
mikeliddle/MyLiddleBot
Common/ChannelHandlers/IChannelHandler.cs
457
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("VX...
37.810811
84
0.744103
[ "MIT" ]
iswix-llc/vxen
Application/VXEN.Services/Properties/AssemblyInfo.cs
1,402
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...
25.893617
76
0.706656
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Ydsms/Apis/ListSmsAppGeneralSettingsUsingGETResult.cs
1,301
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
48.747664
161
0.656442
[ "MIT" ]
peombwa/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/IEducationOrganizationRequest.cs
5,216
C#
using System; using System.Collections.Generic; //using System.Linq; using MathNet.Numerics.Interpolation; using Torec.Channels; #if USE_DRAWING using Torec.Drawing; using Color = System.Drawing.Color; #endif using TDouble = System.Double; namespace Torec { /* * https://www.codeproject.c...
35.743363
130
0.492201
[ "MIT" ]
bntre/cs-rationals
src/Torec.Timeline/Timeline.cs
8,078
C#
using Common.Extensions; using LBH.AdultSocialCare.Api.V1.Boundary.CarePackages.Response; using LBH.AdultSocialCare.Api.V1.Factories; using LBH.AdultSocialCare.Api.V1.Gateways.CarePackages.Interfaces; using LBH.AdultSocialCare.Api.V1.Gateways.Enums; using LBH.AdultSocialCare.Api.V1.UseCase.CarePackages.Interfaces; usin...
48.666667
219
0.726884
[ "MIT" ]
LBHackney-IT/lbh-adult-social-care-api
LBH.AdultSocialCare.Api/V1/UseCase/CarePackages/Concrete/GetCarePackageHistoryUseCase.cs
2,336
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AmmoInteractable : MonoBehaviour { private int cantidadInventario; public GameObject lblCantidadInventario; private bool isSelected; public GameObject MQTTProtocol; private bool isPressed = false; // Use...
30.6
115
0.607843
[ "MIT" ]
gutierrezArmando/ProyectoDDI
Assets/AmmoInteractable.cs
1,379
C#
using BedrockService.Client.Management; using BedrockService.Shared.Classes; using BedrockService.Shared.Interfaces; using BedrockService.Shared.PackParser; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.IO.Compression; using System.Text; usin...
52.453782
221
0.654918
[ "Apache-2.0" ]
crowbarmaster/BedrockManagementService
BedrockService/Client/Forms/ManagePacksForms.cs
6,244
C#
// ----------------------------------------------------------------------- // <copyright file="Program.cs" company="Asynkron AB"> // Copyright (C) 2015-2020 Asynkron AB All rights reserved // </copyright> // ----------------------------------------------------------------------- using System; using System.Threadi...
35.761364
101
0.534795
[ "Apache-2.0" ]
dhavalgajera/protoactor-dotnet
benchmarks/RemoteBenchmark/Node2/Program.cs
3,149
C#
using System; using System.Collections.Generic; using System.Globalization; using SerdesNet; using UAlbion.Config; namespace UAlbion.Formats.Assets.Save { public class TickerDictionary : Dictionary<TickerId, byte> { const int Min = 100; const int Max = 255; public static TickerDiction...
30.818182
87
0.571288
[ "MIT" ]
Metibor/ualbion
src/Formats/Assets/Save/TickerDictionary.cs
1,019
C#
using Entity; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace DataAccess.Mappings { public class VoteMappings : IEntityTypeConfiguration<Vote> { public void Configure(EntityTypeBuilder<Vote> builder) { builder.ToTable("Votes"); ...
30.842105
76
0.656997
[ "MIT" ]
ismaelash/Electronic-Ballot-Box-Backend
DataAccess/Mappings/VoteMappings.cs
588
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CalcLang.Interpreter; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; using System.Threading; namespace Base { /* * Some Methods to try to clone part of the .Net ...
40.59736
180
0.624421
[ "MIT" ]
hstde/Calc2
Base/Win32Native/WinNative.cs
12,303
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Practices.Unity; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using PracticeTime.Web.DataAccess.Models; using PracticeTime.Web.DataAccess.Repositories; using PracticeTim...
41.121429
132
0.562098
[ "Apache-2.0" ]
wbsimms/PracticeTime
src/Web/PracticeTime.Web.Lib.Test/BadgeRules/RepertoireRuleTest.cs
5,759
C#
// // DateSearchQuery.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2019 Xamarin Inc. (www.xamarin.com) // // 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 Sof...
32.984127
93
0.698749
[ "MIT" ]
AlexxxTremer/MailKit
MailKit/Search/DateSearchQuery.cs
2,080
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 09.05.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
30.006623
151
0.566542
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/Equal/Complete/NullableDECIMAL_6_1/Int64/TestSet_001__fields__01__VV.cs
4,533
C#
using System; using System.Collections.Generic; using System.IO; #if PORTABLE using BrightstarDB.Portable.Compatibility; #endif namespace BrightstarDB.Storage.Statistics { internal class PersistentStatisticsLog : IStoreStatisticsLog { private readonly IPersistenceManager _persistenceManager; p...
43.151163
118
0.531932
[ "MIT" ]
rajcybage/BrightstarDB
src/core/BrightstarDB/Storage/Statistics/PersistentStatisticsLog.cs
3,713
C#
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; using UnityEngine; class SongParser { public static bool ParseSongFile(string path, Encoding enc = null) { Note lastNote = null; //Holds last par...
35.49453
154
0.463473
[ "MIT" ]
frankkienl/Play
UltraStar Play/Assets/src/model/song/SongParser.cs
16,223
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.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.SignalR.Internal; ...
34.17737
111
0.456246
[ "Apache-2.0" ]
belav/aspnetcore
src/SignalR/server/SignalR/test/ClientProxyTests.cs
11,176
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Xml; using static Chessar.UnitTests.Utils; using static Microsoft.VisualStudio.TestTools.UnitTesting.Assert; namespace Chessar.UnitTests { partial class XmlWriterTests { [TestMethod] public void XmlWriter_Create(...
33.895833
125
0.655194
[ "MIT" ]
chessar/LongPaths
UnitTests/XmlWriter/Create.cs
1,629
C#
using System.Linq; using JetBrains.Annotations; using Sprite; namespace System.Security.Claims { public static class ClaimsIdentityExtensions { [CanBeNull] #nullable enable public static Claim? GetCurrentUser([NotNull] this ClaimsPrincipal principal) { Check.NotNull...
30.673077
99
0.529154
[ "Apache-2.0" ]
beango-project/beango-framework
framework/src/Sprite.Core/System/Security/Claims/ClaimsIdentityExtensions.cs
1,597
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Project1.Library.Interfaces; using Project1.Library.Models; using Project1.WebApp.Models; using System; using System.Linq; namespace Project1.WebApp.Controllers { public class CustomerController : Controller { private readonly ISto...
42.467742
186
0.583238
[ "MIT" ]
2011-nov02-net/matthewg-project1
Project1/Project1.WebApp/Controllers/CustomerController.cs
7,901
C#
// <copyright file="ConnectionStatusUpdater.cs" company="Mozilla"> // 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/. // </copyright> using System; using System.Diagnostics;...
39.450199
445
0.594425
[ "MPL-2.0" ]
tonymurphy-rgb/guardian-vpn-windows
ui/src/UIUpdaters/ConnectionStatusUpdater.cs
9,904
C#
using MongoDB.Driver; using SquishFaceAPI.Helper; using SquishFaceAPI.Model; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace SquishFaceAPI.Common { public static class MongoDBStorage<T> where T : IMongoDbModel { ...
35.311111
118
0.59786
[ "MIT" ]
praveenpallekaate/squishface
API/Common/MongoDBStorage.cs
4,769
C#
using System.Net.Http; using Ungerboeck.Api.Sdk; using Ungerboeck.Api.Models; using Ungerboeck.Api.Models.Subjects; using Ungerboeck.Api.Models.Search; using System.Collections.Generic; namespace Examples.Operations { public class EventJobCategories : Base { public EventJobCategories(ApiClient apiClient) : ba...
28.323529
137
0.715472
[ "Apache-2.0" ]
UngerboeckAPI/97
Examples/Operations/EventJobCategories.cs
965
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SIL.PcPatrFLEx { public partial class AdvancedForm : Form { public int MaxAmbi...
25.988095
82
0.544663
[ "MIT" ]
sillsdev/pcpatrflex
PcPatrFLExDll/AdvancedForm.cs
2,185
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.CodeAnalysis; using System.Threading.Tasks; using FluentAssertions; using Microsoft.R.Support.Test.Utility...
39.155172
156
0.652136
[ "MIT" ]
AlexanderSher/RTVS-Old
src/R/Support/Test/Functions/FunctionIndexTest.cs
2,273
C#
/* * LUSID API * * # Introduction This page documents the [LUSID APIs](https://www.lusid.com/api/swagger), which allows authorised clients to query and update their data within the LUSID platform. SDKs to interact with the LUSID APIs are available in the following languages : * [C#](https://github.com/finbourne/...
614.6875
28,481
0.700661
[ "MIT" ]
MikeMcGarry/lusid-sdk-csharp-preview
sdk/Lusid.Sdk/Model/PerpetualEntityState.cs
29,505
C#
namespace More.ComponentModel { using System; using System.Composition; using System.Diagnostics.Contracts; using System.Linq; using System.Threading.Tasks; [ContractClassFor( typeof( ActivityManagerBase ) )] abstract class ActivityManagerBaseContract : ActivityManagerBase { pr...
32.7
126
0.688073
[ "MIT" ]
JTOne123/More
src/More.UI.Hosting/Composition.Hosting/ActivityManagerBaseContract.cs
656
C#
using System; using System.IO; using System.Xml; using System.Linq; using System.Text; using System.Collections.Generic; using ICSharpCode.SharpZipLib.Zip; namespace Monodoc.Storage { public class ZipStorage : IDocStorage { string zipFileName; int code; ZipOutputStream zipOutput; ZipFile zipFile; // Sharp...
21.386364
102
0.658519
[ "Apache-2.0" ]
121468615/mono
mcs/class/monodoc/Monodoc/storage/ZipStorage.cs
2,823
C#
using System.Threading; using System.Threading.Tasks; using DevChatter.Bot.Core; using DevChatter.Bot.Core.Util; using Microsoft.Extensions.Hosting; namespace DevChatter.Bot.Infra.Web { public class DevChatterBotBackgroundWorker : IHostedService { private readonly ILoggerAdapter<DevChatterBotBackground...
29.147059
115
0.69223
[ "MIT" ]
skyhoshi/devchatterbot
src/DevChatter.Bot.Infra.Web/DevChatterBotBackgroundWorker.cs
991
C#
#region Usings using System; using System.Collections.Generic; using FluentAssertions; using Xunit; #endregion namespace Extend.Testing { public partial class TypeExTest { [Fact] public void GetGenericTypeArgumentNullValueTest() { Type type = null; ...
26.44898
85
0.551698
[ "MIT" ]
DaveSenn/Extend
.Src/Extend.Testing/System.Type/Type.GetGenericTypeArgument.Test.cs
1,250
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OppAnimal { class Family { public string Name; public int numberOfToes; public int numberOfTeeth; public bool whiskers; public bool doesJeremyLi...
24.454545
99
0.60223
[ "MIT" ]
Yancey2021/OopAnimal
OppAnimal/OppAnimal/Family.cs
809
C#
using System.Collections.Generic; using System.Linq; namespace Our.Umbraco.Look.Extensions { internal static partial class IEnumerableExtensions { /// <summary> /// Returns true if both are null, or both collections have the same elements regardless of sequence /// https://stackoverflo...
32.941176
123
0.51131
[ "MIT" ]
Hendy/umbraco-look
src/Our.Umbraco.Look/Extensions/IEnumerableExtensions/BothNullOrElementsEqual.cs
1,682
C#
using System; namespace SharpVectors.Dom.Svg { public interface ISvgColorProfileRule { } }
12.555556
42
0.646018
[ "BSD-3-Clause" ]
Creative-Safety-Supply/SharpVectors-1
Source/SharpVectorCore/Svg/DocumentStructure/ISvgColorProfileRule.cs
115
C#
using System; namespace PatchKit.Api.Models.Main { [Serializable] public struct PatcherBannerImageDimensions { public int x; public int y; } }
15.583333
47
0.604278
[ "MIT" ]
TheoooooM/Odysquette
Assets/PatchKit/UnityEditorExtension/Editor/Api/Models/Main/PatcherBannerImageDimensions.cs
187
C#
using System; namespace Sophon.Toolkit.IdentityCenter.DevApiSrv { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
20
69
0.628125
[ "MIT" ]
zhaobingwang/Sophon
App/IdentityCenter/backend/src/Sophon.Toolkit.IdentityCenter.DevApiSrv/WeatherForecast.cs
320
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/processthreadsapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using Syst...
73.864608
715
0.73245
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/processthreadsapi/Windows.cs
31,099
C#
using NUnit.Framework; namespace ServiceStack.OrmLite.SqlServerTests.Expressions { public class PrimaryExpressionsTest : ExpressionsTestBase { private static class TestClass { public static int StaticProperty { get { return 12; } } public static int _staticField = 12; ...
28.358904
136
0.519467
[ "BSD-3-Clause" ]
augustoproiete-forks/ServiceStack--ServiceStack.OrmLite
src/ServiceStack.OrmLite.SqlServerTests/Expressions/PrimaryExpressionsTest.cs
10,353
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.IO; using System.Text; using System.Collections; using System.Globalization; using System...
32.194805
141
0.521904
[ "MIT" ]
FrancisFYK/corefx
src/System.Net.Mail/src/System/Net/Mime/MimePart.cs
12,395
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Si...
85.376437
512
0.717781
[ "MIT" ]
ThomasMiz/Silk.NET
src/OpenGL/Extensions/Silk.NET.OpenGL.Legacy.Extensions.NV/NVCommandListOverloads.gen.cs
29,711
C#
using UnityEngine; namespace Tonhex { public class Fruit : Item { public override void Scored() { Debug.Log("Fruit::Scored() - TODO"); } } }
11.411765
48
0.505155
[ "MIT" ]
aofdtonhao/pacman_space-bit
Assets/Scripts/Item/Fruit.cs
194
C#
using System; namespace NStandard { public struct VString { public string String; public VString(string str) { String = str; } public override bool Equals(object obj) { switch (obj) { case VString: return Str...
29.536585
91
0.577209
[ "MIT" ]
zmjack/NStandard
NStandard/VString.cs
1,213
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace gView.Framework.system.UI { public class AeroGlass { [StructLayout(LayoutKind.Sequential)] public struct MARGINS { public int Left; ...
25.535714
62
0.627972
[ "MIT" ]
chandusekhar/gViewGisOS
gView.system.UI/Framework/system/UI/AeroGlass.cs
717
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
36.865854
153
0.584519
[ "MIT" ]
ScriptBox21/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/ContentTypeUnpublishRequest.cs
3,023
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
43.271233
146
0.651513
[ "Apache-2.0" ]
yswenli/Wenli.Data.Es
Wenli.Data.Es/Base/Newtonsoft.Json/JsonSerializerSettings.cs
15,796
C#
using System; using System.Reflection; using UnityEditor; using UnityEngine; using Object = UnityEngine.Object; namespace MyBox.Internal { public class ToggleLockHotkey { [MenuItem("Tools/MyBox/Toggle Lock &q")] static void ToggleInspectorLock() { if (_mouseOverWindow == null) { int i = EditorPrefs....
30.694444
92
0.736652
[ "MIT" ]
bilalemregrkn/MyBox
Tools/Features/ToggleLockHotkey.cs
1,107
C#
// Copyright (c) Philipp Wagner. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using DGraphSample.Csv.Ncar.Model.Enums; namespace DGraphSample.Csv.Ncar.Model { /// <summary> public class MetarStation { /// <summary> ...
25.036145
101
0.506737
[ "MIT" ]
bytefish/DGraphSample
DGraphSample/DGraphSample.Csv.Ncar/Model/MetarStation.cs
2,078
C#
using System.IO; namespace TeleSharp.TL { [TLObject(-971322408)] public class TLWebDocument : TLObject { public override int Constructor { get { return -971322408; } } public string Url { get; set; } public long Acc...
25.634615
83
0.542386
[ "MIT" ]
cobra91/TelegramCSharpForward
TeleSharp.TL/TL/TLWebDocument.cs
1,333
C#
#region License & Metadata // The MIT License (MIT) // // 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, modi...
29.709251
108
0.604093
[ "MIT" ]
KeepOnSurviving/SuperMemoAssistant
src/Core/SuperMemoAssistant.Interop/Extensions/StringEx.cs
6,746
C#
using Altering.UI.Models; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace Altering.UI.Services { public class AlteringService { private HttpClient _httpCli...
33.231884
142
0.668993
[ "MIT" ]
LeandroArruda/custom-made
src/frontend/altering/Altering.UI/Services/AlteringService.cs
2,295
C#
using Opdex.Platform.Common.Models; namespace Opdex.Platform.WebApi.Models.Responses.LiquidityPools; public class AddLiquidityAmountInQuoteResponseModel { /// <summary> /// The quoted amount of tokens to provide to match the requested amount. /// </summary> /// <example>"2500.00000000"</example> p...
30.25
77
0.730028
[ "MIT" ]
Opdex/opdex-v1-api
src/Opdex.Platform.WebApi/Models/Responses/LiquidityPools/AddLiquidityAmountInQuoteResponseModel.cs
363
C#
namespace DungeonsAndCodeWizards.Bags { public class Backpack : Bag { const int CAPACITY = 100; public Backpack() : base(CAPACITY) { } } }
16.454545
38
0.563536
[ "MIT" ]
sevgin0954/SoftUni-Projects
C# OOP Basics/OOP Basics Exam - 18 March 2018/DungeonsAndCodeWizards/Models/Bags/Backpack.cs
183
C#
using System; using System.Windows; using System.Windows.Data; namespace VBeller.Wpf.Converter { /// <summary> /// Provides conversion from <see cref="Enum"/> to <see cref="bool"/>, if the value equals the expected value. /// </summary> [ValueConversion(typeof(Enum), typeof(bool))] public class En...
48.4
147
0.629339
[ "Apache-2.0" ]
halliba/VBeller.net
src/VBeller.Wpf/Converter/EnumToBooleanConverter.cs
2,422
C#
using System; using System.Net; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Orleans.Runtime; using Orleans.GrainReferences; using Orleans.Serialization.TypeSystem; namespace Orleans.Serialization { /// <summary> /// Utility class for configuring <see...
39.735562
182
0.620898
[ "MIT" ]
BearerPipelineTest/orleans
src/Orleans.Core/Serialization/OrleansJsonSerializer.cs
13,073
C#
using CG.Properties; using System; using System.ComponentModel.DataAnnotations; using System.Data.Common; namespace CG.Business.Repositories.Options { /// <summary> /// This class represents configuration options for a LINQ based /// repository. /// </summary> public class LinqRepositoryOptions : ...
32.504425
90
0.484617
[ "MIT" ]
CodeGator/CG.Linq
src/CG.Linq/Business/Repositories/Options/LinqRepositoryOptions.cs
3,675
C#
using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using BlazorShared.Authorization; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.eShopWeb.ApplicationCore.Interfaces; namespace Microsoft.eShopWeb.Web.Controllers...
28.866667
92
0.653118
[ "MIT" ]
10088/eShopOnWeb
src/Web/Controllers/UserController.cs
2,167
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace DawidKobierskiLab5 { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.Regis...
21.684211
60
0.694175
[ "Unlicense" ]
baatochan/KredekCSharpProgrammingCourse
Lab6/DawidKobierskiLab5/Global.asax.cs
414
C#
using Carfamsoft.ModelToView.Shared; namespace Carfamsoft.ModelToView.WebPages { /// <summary> /// Specifies the contract required to render an instance of the <see cref="ControlInfo"/> class. /// </summary> [System.Obsolete] public interface IControlRenderer { /// <summary> //...
31.565217
101
0.61708
[ "Apache-2.0" ]
bigabdoul/ModelToView
src/Carfamsoft.ModelToView/WebPages/IControlRenderer.cs
728
C#
#pragma warning disable IDE0073 // This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. using System.Diagnostics.CodeAnalysis; ...
35
66
0.776623
[ "Apache-2.0" ]
seaseducation/Shipwright.Core
Core/test/GlobalSuppressions.cs
387
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class QuantumJump : MonoBehaviour { [Tooltip("Model to apply warp FX to")] [SerializeField] Transform scalableObject; [SerializeField] GameObject quantumParticleControllerObject; Vector3 originalScale; /...
31.541401
152
0.614499
[ "MIT" ]
jameshosken/100-Plays-Of-Spaceships
Unity/100 Plays Of Spaceships/Assets/Scripts/QuantumJump.cs
4,954
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; using DxLibDLL; using Charlotte.Commons; using Charlotte.Games; namespace Charlotte.GameCommons { public static class DDEngine { public static long FrameStartTime; public static long Hz...
25.613757
134
0.687461
[ "MIT" ]
soleil-taruto/Elsa2
e20210244_Hakonoko/Elsa20200001/Elsa20200001/GameCommons/DDEngine.cs
5,155
C#
using System; using Microsoft.AspNetCore.Http; namespace CodeCube.Mvc.AspNetCore { public sealed class HttpHelper { private readonly IHttpContextAccessor _httpContextAccessor; public HttpHelper(IHttpContextAccessor httpContextAccessor) { _httpContextAccessor = httpContextAc...
27.441176
74
0.584137
[ "MIT" ]
Rohem/CodeCube.MVC
CodeCube.MVC.AspNetCore/HttpHelper.cs
935
C#
using System; using System.IO; using System.Windows.Forms; using static StarportExcel.Structs; namespace StarportExcel { public partial class PlanetTypeForm : Form { string excelPath = ""; string outputPath = @"G:\My Drive\Personal Stuff\Starport\Output.txt"; private StreamWriter outpu...
37.696619
161
0.459206
[ "MIT" ]
roku674/StarportExcel
Starport/Forms/PlanetTypeForm.cs
42,373
C#
using Application.Common.Behaviours; using Application.Common.Interfaces; using Application.Features.UrlItems; using Application.Infrastructure.Persistance; using MediatR; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Applicati...
39
118
0.751687
[ "Apache-2.0" ]
andrewtomas/url-shortener
backend/Application/DependencyInjection.cs
1,484
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 ...
73.215686
316
0.806374
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-ccc/CCC/Transform/V20200701/CancelAttendedTransferResponseUnmarshaller.cs
7,468
C#
using Plang.CoyoteRuntime.Values; namespace Plang.CoyoteRuntime { public static class PrtValues { public static PrtBool Box(bool value) { return value; } public static PrtInt Box(long value) { return new PrtInt(value); } public ...
25.178571
93
0.539007
[ "MIT" ]
KelvinLi2020/P
Src/PRuntimes/CoyoteRuntime/PrtValues.cs
1,412
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.Diagnostics; using System.Net; using System.Net.Http; using System.Threading; using System.Threadin...
33.175
189
0.48373
[ "MIT" ]
E223/osu
osu.Game/Online/API/APIAccess.cs
14,160
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("Ma...
37.756757
84
0.745168
[ "MIT" ]
yani-valeva/Programming-Basics
ExamPreparation/MagicNumbers/Properties/AssemblyInfo.cs
1,400
C#
//---------------------------------------------- // LitJson Ruler // © 2015 yedo-factory // auto-generated //---------------------------------------------- namespace LJR { public static class Setting { public static string BaseUrl = "file:///Applications/workspace/LJR/Assets/LJR/Demo/Server/"; } }
23.461538
94
0.485246
[ "Apache-2.0" ]
408794550/871AR
Assets/LJR/Scripts/Common/Setting.cs
308
C#
using System; using System.Collections.Generic; using TMPro; using UnityEngine; namespace StandWorld.UI.MainMenu { public class TabGroup : MonoBehaviour { [Header("Tab Color")] public Color tabActive; public Color tabExit; [Header("Text Color")] public Color textActive;...
27.957895
96
0.519955
[ "MIT" ]
Stand1k/StandWorld
Assets/StandWorld/Scripts/UI/MainMenu/Tabs/TabGroup.cs
2,658
C#
using System; using System.Collections.Generic; using System.Linq; using Granular.Extensions; namespace System.Windows.Media.Animation { public class SequentialClock : IClock { public TimeSpan FirstTick { get; private set; } public TimeSpan LastTick { get; private set; } pub...
32.697368
148
0.52837
[ "Apache-2.0" ]
bridgedotnet/Granular
Granular.Presentation/Media/Animation/SequentialClock.cs
2,487
C#
/* _BEGIN_TEMPLATE_ { "id": "ICC_466", "name": [ "萨隆苦囚", "Saronite Chain Gang" ], "text": [ "<b>嘲讽</b>\n<b>战吼:</b>召唤另一个萨隆苦囚。", "[x]<b>Taunt</b>\n<b>Battlecry:</b> Summon another\nSaronite Chain Gang." ], "cardClass": "NEUTRAL", "type": "MINION", "cost": 4, "rarity": "RARE", "set": ...
20.942857
97
0.58663
[ "MIT" ]
chi-rei-den/Silverfish
cards/ICECROWN/ICC/Sim_ICC_466.cs
771
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ using System; using System....
44.050661
179
0.572179
[ "MIT" ]
Azure/diagnostics-eventflow
test/Microsoft.Diagnostics.EventFlow.Core.Tests/DiagnosticPipelineTests.cs
20,001
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> //--...
39.518519
151
0.582006
[ "MIT" ]
Abel13/SheepFinance
SheepFinance/Properties/Settings.Designer.cs
1,069
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/aiplatform/v1/vizier_service.proto // </auto-generated> // Original file comments: // Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this fi...
74.448728
384
0.730882
[ "Apache-2.0" ]
Mattlk13/google-cloud-dotnet
apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1/VizierServiceGrpc.g.cs
96,560
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 Cake.Common.Tests.Fixtures.Tools; using Xunit; namespace Cake.Common.Tests.Unit.Tools.OctopusD...
33.154018
170
0.498956
[ "MIT" ]
DeveloperGuo/cake
src/Cake.Common.Tests/Unit/Tools/OctopusDeploy/OctoDeployPromoteTests.cs
14,855
C#
using UnityEngine; namespace Assets.Scripts { public class StartScreen : MonoBehaviour { //private GameObject flappyTextGo; //private GameObject birdTextGo; private const float FLAPPY_TEXT_WIDTH = 0.56f; private const float BIRD_TEXT_WIDTH = 0.38f; private const float WORD_GAP = 0.01f; // Use this for ...
30.020833
130
0.699514
[ "Unlicense" ]
rosdi/flappybird
Assets/Scripts/StartScreen.cs
1,443
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using RulesEngine.HelperFunctions; using RulesEngine.Interfaces; using RulesEngine.Models; using RulesEngine.Validators; using RulesEngine.Exceptions; using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; us...
36.693023
130
0.59209
[ "MIT" ]
Marcushawley/RulesEngine
src/RulesEngine/RulesEngine/RulesEngine.cs
7,891
C#
using System; using NetOffice; using NetOffice.Attributes; namespace NetOffice.OutlookApi.Enums { /// <summary> /// SupportByVersion Outlook 12, 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff861336.aspx </remarks> [SupportByVersion("Ou...
27.914286
119
0.660184
[ "MIT" ]
DominikPalo/NetOffice
Source/Outlook/Enums/OlStorageIdentifierType.cs
979
C#
// Copyright (C) 2016-2020 Xtensive LLC. // This code is distributed under MIT license terms. // See the License.txt file in the project root for more information. // Created by: Alexey Kulakov // Created: 2016.10.19 using System; using System.Collections.Generic; using System.Threading.Tasks; using NUnit.Framework...
32.775281
116
0.631814
[ "MIT" ]
NekrasovSt/dataobjects-net
Orm/Xtensive.Orm.Tests/Upgrade/HugeModelUpgrade/DatabasePerNodeTest.cs
2,917
C#
// Copyright © 2015 onwards, Andrew Whewell // All rights reserved. // // Redistribution and use of this software 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, th...
68.633333
750
0.756192
[ "BSD-3-Clause" ]
AlexAX135/vrs
Plugin.DatabaseEditor/Models/SingleSearchResultsJson.cs
2,062
C#