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
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Text.Json.Serialization; using Azure.Core; namespace Azure.Messaging.EventGrid.SystemEvents { [JsonConverter(typeof(AcsChatMes...
42.89313
335
0.544937
[ "MIT" ]
isra-fel/azure-sdk-for-net
sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/AcsChatMessageEditedEventData.Serialization.cs
5,619
C#
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ // ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ // ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ // ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ // -----------...
113.955357
236
0.77043
[ "Apache-2.0" ]
adamralph/elasticsearch-net
src/Elasticsearch.Net/ElasticLowLevelClient.Cluster.cs
25,972
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Rulesets.Taiko.Objects { public class SwellTick : TaikoHitObject { } }
26.2
93
0.694656
[ "MIT" ]
AtomCrafty/osu
osu.Game.Rulesets.Taiko/Objects/SwellTick.cs
253
C#
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using AppLensV3.Authorization; using AppLensV3.Models; using Newtonsoft.Json; namespace AppLensV3.Helpers { ...
41.176871
172
0.613745
[ "MIT" ]
Azure/Azure-AppServices-Diagnostics-Portal
ApplensBackend/Helpers/Utilities.cs
6,055
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.PublisherApi; namespace NetOffice.PublisherApi.Behind { /// <summary> /// DispatchInterface Tag /// SupportByVersion Publisher, 14,15,16 /// </summary> [SupportByVersion("Publisher", 14,15,16)...
22.12987
175
0.637031
[ "MIT" ]
igoreksiz/NetOffice
Source/Publisher/Behind/DispatchInterfaces/Tag.cs
3,410
C#
using Microsoft.EntityFrameworkCore.Migrations; using Pims.Dal.Helpers.Migrations; using System.Diagnostics.CodeAnalysis; namespace Pims.Dal.Migrations { public partial class v02091 : SeedMigration { protected override void Up(MigrationBuilder migrationBuilder) { PreUp(migrationBui...
23.208333
71
0.666068
[ "Apache-2.0" ]
sookeke/PSP
backend/dal/Migrations/20210908232309_v0.2.0.9.1.cs
559
C#
using AcadTestRunner; using Autodesk.AutoCAD.DatabaseServices; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Linq2Acad.Tests { public abstract class ContainerAssertions { private Database db; private ObjectId containerId; ...
31.351064
113
0.699695
[ "MIT" ]
BKSpurgeon/Linq2Acad
Linq2Acad.Tests/Assert/ContainerAssertions.cs
2,949
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FactorioModBuilder.Models.Base { public abstract class TreeItemBase { public string Name { get; set; } public TreeItemBase(string name) { this.Name...
18.263158
40
0.648415
[ "MIT" ]
kmclarnon/FactorioModBuilder
FactorioModBuilder/Models/Base/TreeItemBase.cs
349
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.5456 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated...
29.117647
82
0.412121
[ "BSD-3-Clause" ]
CTSIatUCSF/ProfilesRNS
Website/SourceCode/Profiles/Profiles/History/Default.aspx.designer.cs
497
C#
namespace Unifi.Models.Shared; /// <summary> /// The shared key info => slug mapping across the application /// </summary> public record SlugMapping { /// <summary> /// /// </summary> /// <value></value> public string MACAddress { get; init; } = string.Empty; /// <summary> /// /// </...
20.45
62
0.567237
[ "MIT" ]
mannkind/unifi2mq
Unifi/Models/Shared/SlugMapping.cs
409
C#
using System.Collections.Generic; using Todo.Web.Data; using Todo.Web.GraphQL.Common; namespace Todo.Web.GraphQL.Authors { public class AuthorPayloadBase : Payload { protected AuthorPayloadBase(Author author) { Author = author; } protected AuthorPayloadBase(IReadOnl...
21.684211
87
0.65534
[ "MIT" ]
chneau/example-todo-aspnet-react
Todo.Web/GraphQL/Authors/AuthorPayloadBase.cs
412
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using Stride.Core.Shaders.Utility; namespace Stride...
155.704348
252
0.661119
[ "MIT" ]
AmbulantRex/stride
sources/engine/Stride.Shaders.Parser/Utility/StrideMessageCode.cs
17,906
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.Diagnostics; using System.IO; using System.Runtime.ExceptionServices; using System.Threadi...
38.651685
148
0.498001
[ "Apache-2.0" ]
ratcorz/Mvc
src/Microsoft.AspNetCore.Mvc.RazorPages/Internal/PageActionInvoker.cs
27,522
C#
using Castle.Core.Logging; using Plus.Configuration.Startup; using Plus.Dependency; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace Plus.Modules { /// <summary> /// 模块管理 /// </summary> public class PlusModuleManager : IPlusModuleManager ...
34.268116
165
0.596743
[ "MIT" ]
Meowv/.netcoreplus
src/Plus/Modules/PlusModuleManager.cs
4,833
C#
namespace Protobuild.Tests { using System.IO; using Prototest.Library.Version1; public class NuGetPortableLibraryDetectedWithRootPathDotSlashTest : ProtobuildTest { private readonly IAssert _assert; public NuGetPortableLibraryDetectedWithRootPathDotSlashTest(IAssert assert) : base(ass...
34.71875
104
0.663366
[ "MIT" ]
Protobuild/Protobuild
Protobuild.FunctionalTests/NuGetPortableLibraryDetectedWithRootPathDotSlashTest.cs
1,113
C#
using AvaloniaHelp.Core; using ReactiveUI; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AvaloniaHelp.ViewModels { public class HelpViewModel : BaseViewModel { public HelpViewModel() { OpenedTopics = ne...
23.673913
90
0.548209
[ "MIT" ]
KeKl/AvaloniaHelp
Source/AvaloniaHelp/ViewModels/HelpViewModel.cs
1,091
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AfterburnerDataHandler.Servers.RTSS { public class FrametimeDataEventArgs : EventArgs { public uint appID; public uint frametime; public FrametimeDataEventArgs...
21.380952
65
0.665924
[ "MIT" ]
busayn/Afterburner-Data-Handler
Servers/RTSS/FrametimeDataEventArgs.cs
451
C#
using System; using System.Collections.Generic; using System.Text; using Stencil.Domain; namespace Stencil.Primary.Business.Direct { // WARNING: THIS FILE IS GENERATED public partial interface IPaymentDetailBusiness { PaymentDetail GetById(Guid paymentdetail_id); List<PaymentDetail...
41.074074
124
0.756537
[ "MIT" ]
DanMasterson1/stencil
Source/Stencil.Server/Stencil.Primary/Business/Direct/IPaymentDetailBusiness_Crud.cs
1,109
C#
// // ImapUtils.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2020 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 Software ...
37.880096
178
0.700969
[ "MIT" ]
FintanRoche/Mail
MailKit/Net/Imap/ImapUtils.cs
63,186
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.WindowsAzure.Storage.Table; using Orleans.Runtime; using Orleans.Clustering.AzureStorage; using Orleans.Cl...
49.360119
224
0.644739
[ "MIT" ]
AzureMentor/orleans
src/Azure/Orleans.Clustering.AzureStorage/OrleansSiloInstanceManager.cs
16,585
C#
using System; using System.Collections.Generic; namespace Nez { public abstract class PassiveSystem : EntitySystem { public override void onChange(Entity entity) { // We do not manage any notification of entities changing state and avoid polluting our list of entities as we want t...
29
145
0.631034
[ "MIT" ]
RaiderSoap/Warband
Nez.Portable/ECS/Systems/PassiveSystem.cs
582
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _11.MaxSequenceOfEqualElements { class MaxSequenceOfEqualElements { static void Main(string[] args) { int[] numbers = Console.ReadLine().Split(new char[] { ...
27.613636
111
0.415638
[ "MIT" ]
Tedo74/SoftUni-fundamentals
Lists/11.MaxSequenceOfEqualElements/MaxSequenceOfEqualElements.cs
1,217
C#
namespace Andreys.Controllers { using Andreys.Services; using Andreys.ViewModels.Products; using SIS.HTTP; using SIS.MvcFramework; public class ProductsController : Controller { private readonly IProductsService productsService; public ProductsController(IProducts...
25.142857
101
0.5
[ "MIT" ]
Avanguarde/csharp-web
2020-Jan-Season/SoftUni-Information-Services/SIS/Andreys/Controllers/ProductsController.cs
1,938
C#
using Cabinet.Core.Progress; using ManyConsole; using System; using System.IO; namespace Cabinet.ConsoleTest { public class DownloadCommand : ConsoleCommand { private string configName; private string key; private string filePath; public DownloadCommand() { IsCommand("...
37.44186
113
0.588199
[ "MIT" ]
johncmckim/cabinet
test/Cabinet.ConsoleTest/DownloadCommand.cs
1,612
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...
39.885522
130
0.581378
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/Kusto/V20191109/Cluster.cs
11,846
C#
// Copyright (c) Arctium. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Arctium.Manager { class Program { static void Main(string[] args) { } } }
17.928571
101
0.625498
[ "MIT" ]
World0fWarcraft/WoW-Core
src/Arctium.Manager/src/ServerManager.cs
253
C#
namespace EntityFx.BenchmarkDb.Contracts.Cpu { public class MemorySpecs { public uint? Controllers { get; set; } public uint? Channels { get; set; } public decimal? BandwidthInMbPerSec { get; set; } public decimal? MaxMemorySizeInMb { get; set; } public MemoryType? M...
23.157895
57
0.606818
[ "MIT" ]
EntityFX/BenchmarksWeb
src/EntityFx.BenchmarkDb.Contracts/Cpu/MemorySpecs.cs
442
C#
namespace GameMain { public enum FlyWordType { None, //无 NormalHurt, //普通受伤 CritHurt, //暴击受伤 HpHeal, //血量回复 MpHeal, //魔法回复 Miss, //闪避 Parry, //格挡 } }
17.571429
27
0.414634
[ "MIT" ]
feng1995911/demo_tankWar3D
Assets/GameMain/UI/Define/FlyWordType.cs
290
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.Runtime.CompilerServices; using System.Threading.Tasks; using Microsoft.UI.Dispatching; u...
37.951515
165
0.615937
[ "MIT" ]
w-ahmad/WindowsCommunityToolkit
CommunityToolkit.WinUI.UI/Helpers/ThemeListener.cs
6,262
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Globalization; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.WebJobs.Host.Protocols; ...
31.203704
158
0.572107
[ "MIT" ]
StoneFinch/azure-webjobs-sdk
src/Microsoft.Azure.WebJobs.Host/Bindings/TraceWriter/TraceWriterBinding.cs
3,372
C#
using System; using Newtonsoft.Json; namespace TdLib { /// <summary> /// AUTOGENERATED: DO NOT EDIT! /// </summary> public partial class TdApi { public class SetPassportElementErrors : Function<Ok> { [JsonProperty("@type")] public override string DataType { get; set; } =...
28.076923
111
0.584932
[ "MIT" ]
Behnam-Emamian/tdsharp
TDLib.Api/Functions/SetPassportElementErrors.cs
730
C#
using System; using System.Collections.Generic; using System.Text; using AutoFixture.NUnit3; using FluentAssertions; using NUnit.Framework; using SFA.DAS.Campaign.Domain.Content.HtmlControl; using SFA.DAS.Campaign.Infrastructure.Api.Converters; using SFA.DAS.Campaign.Web.Renderers; namespace SFA.DAS.Campaign.UnitTest...
40.14
418
0.66567
[ "MIT" ]
SkillsFundingAgency/das-campaign
src/SFA.DAS.Campaign.UnitTests/Web/Renderers/WhenRelatedArticlesRenderer.cs
2,009
C#
using Documentor.Config; using Documentor.Constants; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Options; using System; using System.IO; using System.Linq; using System.Threading.Tasks; namespace Documentor.Services.Impl { public class CacheManager : ICacheManager { private readonly...
35.073684
133
0.633553
[ "MIT" ]
askalione/documentor
src/Documentor/Services/Impl/CacheManager.cs
3,334
C#
using System.Collections.Generic; using DsmSuite.DsmViewer.Model.Interfaces; namespace DsmSuite.DsmViewer.Model.Persistency { public interface IDsmRelationModelFileCallback { IDsmRelation ImportRelation(int id, IDsmElement consumer, IDsmElement provider, string type, int weight, bool deleted); ...
30
127
0.764286
[ "MIT" ]
dsmsuite/dsmsuite.sourcecode
DsmSuite.DsmViewer.Model/Persistency/IDsmRelationModelFileCallback.cs
422
C#
private static ISldWorks StartSwAppBackground(string appPath, int timeoutSec = 20) { var timeout = TimeSpan.FromSeconds(timeoutSec); var startTime = DateTime.Now; var prcInfo = new ProcessStartInfo() { FileName = appPath, Arguments = "/r", //no splash screen CreateNoWindow = tr...
20.666667
82
0.490884
[ "MIT" ]
EddyAlleman/codestack
solidworks-api/getting-started/stand-alone/start-background/Program.cs
1,426
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/winnetwk.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
39.583333
145
0.678596
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/winnetwk/NETCONNECTINFOSTRUCTTests.cs
1,427
C#
using CompanySales.Model.Entity; using CompanySales.Model; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using CompanySales.Common; using CompanySales.Model.Parameter; namespace CompanySales.DAL { publi...
30.72
93
0.451823
[ "Apache-2.0" ]
imwyw/.net
Src/CompanySalesDemo/CompanySales.DAL/DAO/ProductDAO.cs
3,936
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // Created by Peter Wagner(aka Wagnerp) & Simon Coghlan(aka Smurf-IV) 2019 - 2019. All rights reserved. (https://github.com/Wagnerp/Krypton-NET-5.4...
32.735484
151
0.58987
[ "BSD-3-Clause" ]
dave-w-au/Krypton-NET-5.472
Source/Krypton Toolkit Examples/Test Text Clipping/Form1.cs
5,076
C#
using System; using System.Diagnostics.CodeAnalysis; using Infrastructure.Extensions; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using NLog.Web; namespace API { public class Program { public static void Main(string[] args) { var logger = NLogBuilder...
27.571429
92
0.518998
[ "MIT" ]
SmeeK153/PayrollPlayground
Backend/API/Program.cs
1,158
C#
using UnityEngine; namespace Utils { public static class MaterialHelper { /// <summary> /// https://docs.unity3d.com/ScriptReference/Mathf.PerlinNoise.html /// </summary> /// <returns></returns> public static Material RandomMaterial(string shaderName, int resolution=256)...
42.376068
128
0.529447
[ "MIT" ]
louis030195/niwrad
Assets/Scripts/Utils/MaterialHelper.cs
4,958
C#
// <copyright file="IPhoneBook.cs" company="Jan-Willem Spuij"> // Copyright 2020 Jan-Willem Spuij // // 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 li...
45.457143
129
0.727844
[ "MIT" ]
jspuij/RedCow
test/RedCow.Test/IPhoneBook.cs
1,593
C#
using System; using System.Collections.Generic; namespace MyDiet_API.Shared.Auth { public class UserManagerResponse { public string Message { get; set; } public bool IsSuccess{ get; set; } public string Token { get; set; } public IEnumerable<string> Errors { get; set; } ...
23.25
55
0.637097
[ "MIT" ]
FrancescoRepo/MyDietAPI
MyDiet_API.Shared/Auth/UserManagerResponse.cs
374
C#
using AutoMapper; using AycProjectBudgeting.Authorization.Users; namespace AycProjectBudgeting.Users.Dto { public class UserMapProfile : Profile { public UserMapProfile() { CreateMap<UserDto, User>(); CreateMap<UserDto, User>() .ForMember(x => x.Roles, o...
28.3
90
0.579505
[ "MIT" ]
ZhakulIhnaac/WebProjesi2
aspnet-core/src/AycProjectBudgeting.Application/Users/Dto/UserMapProfile.cs
568
C#
using System; using MvvmHelpers; namespace VMFirstNav { public class RootTabViewModel : BaseViewModel { public RootTabViewModel() { Title = "Root Tabs"; } } }
12.357143
46
0.699422
[ "Apache-2.0" ]
codemillmatt/XamFormsVMNav
VMFirstNav/VMFirstNav/ViewModels/Tabs/RootTabViewModel.cs
175
C#
using System; using System.Drawing; using System.Runtime.InteropServices; using System.Windows.Forms; namespace MediaBrowser.Theater.DirectShow { public class CustomCursor { [DllImport("user32.dll")] public static extern IntPtr CreateIconIndirect(ref IconInfo icon); [DllImport("user32...
28.378378
84
0.613333
[ "MIT" ]
thogil/MediaBrowser.Theater
MediaBrowser.Theater.DirectShow/CustomCursor.cs
1,052
C#
using System.Threading.Tasks; using Core.Interfaces; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; namespace Web.Extensions { public static class ApplicationBuilderExtensions { public static async Task UseBucketInitializer(this IApplicationBuilder app) { ...
32.041667
111
0.643693
[ "MIT" ]
grroma/mems
Backend/src/Web/Extensions/ApplicationBuilderExtensions.cs
769
C#
#pragma checksum "C:\Users\Rolando\Desktop\BTCPAY\btcpayserver-master\btcpayserver-master\BTCPayServer\Views\Account\SignedOut.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6f49014d0b9f63827b0d0d922dd53a76e52fe6e4" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosti...
47.752577
218
0.772237
[ "MIT" ]
CristianBanexcoin/banexcoinpay
BTCPayServer/obj/Debug/netcoreapp2.1/Razor/Views/Account/SignedOut.g.cshtml.cs
4,632
C#
using BecauseImClever.PointingPoker.Models.Enums; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Duracellko.PlanningPoker.Domain.Test { [TestClass] public class MemberMessageTest { [TestMethod] public void Constructor_TypeSpecified_MessageTypeIsSet() { //...
25.789474
69
0.580612
[ "MIT" ]
Fortinbra/planningpoker4azure
test/Duracellko.PlanningPoker.Domain.Test/MemberMessageTest.cs
982
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("Vi...
42.054054
84
0.751928
[ "MIT" ]
johnpierson/case-apps
2015/Case.ViewCreator/Case.ViewCreator/Properties/AssemblyInfo.cs
1,559
C#
// Copyright 2020 Andreas Atteneder // // 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...
33
75
0.734488
[ "Apache-2.0" ]
Gfi-Innovation/UMI3D-Desktop-Browser
UMI3D-Browser-Desktop/Assets/UMI3D SDK/Dependencies/Runtime/GltFast/Runtime/Scripts/Schema/MaterialUnlit.cs
693
C#
using FubuCore; using FubuLocalization; namespace FubuMVC.Core.Navigation { public class AddBefore : IMenuPlacementStrategy { public string FormatDescription(string matcherDescription, StringToken nodeKey) { return "Insert '{0}' before '{1}'".ToFormat(nodeKey.ToLocalization...
27.611111
106
0.635815
[ "Apache-2.0" ]
DovetailSoftware/fubumvc
src/FubuMVC.Core/Navigation/AddBefore.cs
497
C#
/* Copyright 2020 Research group ICT innovations in Health Care, Windesheim University of Applied Sciences 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/LICENS...
36.634146
127
0.677763
[ "Apache-2.0" ]
LuisL3/openwindesheart
OpenWindesheart/Models/ActivitySample.cs
1,504
C#
// <auto-generated /> using Cinema.WebApi.Contexts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Cinema.WebAp...
56.284047
275
0.453578
[ "MIT" ]
AMisljenovic/Cinema.WebApi
Cinema.WebApi/Migrations/Movie/20200424174214_movies.Designer.cs
14,472
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Xml; namespace SerializationTestTypes { [DataContract] public class PrimitiveContainer { public PrimitiveContainer() { a = false; b = Byte.MaxValue; c = Byte...
20.861736
97
0.523274
[ "MIT" ]
Acidburn0zzz/corefx
src/System.Runtime.Serialization.Xml/tests/SerializationTestTypes/DCRSampleType.cs
6,490
C#
using System; using System.Linq; using Rhino.Geometry; using RhinoInside.Revit.Convert.Geometry; using RhinoInside.Revit.External.DB.Extensions; using DB = Autodesk.Revit.DB; namespace RhinoInside.Revit.GH.Types { public class Roof : HostObject { public override string TypeDescription => "Represents a Revit ro...
31.471264
173
0.591308
[ "MIT" ]
IMVVVVVIP/rhino.inside-revit
src/RhinoInside.Revit.GH/Types/Roof.cs
2,738
C#
// 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. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Security", "...
142.8
243
0.773576
[ "Apache-2.0" ]
genexuslabs/DotNetClasses
dotnet/src/dotnetframework/GxXsl/GlobalSuppressions.cs
2,144
C#
using System; namespace Open_Lab_03._05 { public class Comparator { public bool MatchCaseInsensitive(string str1, string str2) => str1.ToLower() == str2.ToLower(); } }
18.090909
103
0.638191
[ "MIT" ]
MilosM33/Open-Lab-03.05
Open-Lab-03.05/Comparator.cs
201
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using PuntoBanco; using Moq; using System.Runtime.CompilerServices; namespace UnitTestPuntoBanco { [TestClass] public class UnitTestGame { [TestMethod] public void TestBots() { SomeBet bet; bet.man = 0; bet.money = 0; bet.target = ...
23.855856
139
0.5929
[ "MIT" ]
makar-pelogeiko/spbu-mm-programming
term_2/c#/PuntoBanco/UnitTestPuntoBanco/UnitTestGame.cs
2,650
C#
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // #region Using using System; using System.Globalization; using System.IO; using System.Runtime.CompilerServices; using System.Web; using System...
36.925466
192
0.567199
[ "MIT" ]
CMarius94/Dnn.Platform
DNN Platform/DotNetNuke.Web.Razor/RazorEngine.cs
5,947
C#
using System.Web; using System.Web.Optimization; namespace UCRS.WebClient { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new Sc...
36.702703
96
0.541973
[ "MIT" ]
primas23/UniversityCoursesRegistrationSystem
UCRS.WebClient/App_Start/BundleConfig.cs
1,360
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...
29.151899
81
0.591837
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/SecurityInsights/V20190101Preview/Outputs/ActivityTimelineItemResponseResult.cs
2,303
C#
using DevComponents.DotNetBar.Controls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace core_fw_spring_dbar.widget.chekcbox { public class CheckBoxXUtils { #region genCheckBox public static CheckBoxX genCheckBox(boo...
24.407407
71
0.663126
[ "Apache-2.0" ]
JHerculesqz/Hulk
cs/core-fw-spring-dbar/widget/chekcbox/CheckBoxXUtils.cs
661
C#
using System; using System.Collections.Generic; using System.Globalization; using ClearHl7.Extensions; using ClearHl7.Helpers; using ClearHl7.Serialization; using ClearHl7.V290.Types; namespace ClearHl7.V290.Segments { /// <summary> /// HL7 Version 2 Segment IAM - Patient Adverse Reaction Information. ///...
56.869416
207
0.624811
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7/V290/Segments/IamSegment.cs
16,551
C#
using Albedo; using AutoFixture.Idioms; using Restaurant.Server.Models; using Xunit; namespace Restaurant.Server.Api.UnitTests.Models { public class OrderItemTest { [Theory, AutoDomainData] public void Test_order_item_auto_properties(WritablePropertyAssertion assertion) { assertion.Verify...
28.105263
85
0.724719
[ "MIT" ]
masgeek/Restaurant-App
src/Server/Tests/Restaurant.Server.Api.UnitTests/Models/OrderItemTest.cs
536
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...
53.243902
754
0.783784
[ "BSD-3-Clause" ]
ISI-Extensions/ISI.Extensions
src/ISI.Extensions/Documents/IDocumentStyle.cs
2,183
C#
using System.Collections.Generic; using System.Runtime.Serialization; using Cofra.AbstractIL.Common.Types; using JetBrains.Annotations; namespace Cofra.AbstractIL.Common.ControlStructures { public interface IInstructionsContainer { InstructionBlock GetInstructionBlock(); bool IsEmpty(); } ...
34.316667
104
0.65323
[ "Apache-2.0" ]
JetBrains-Research/CoFRA
src/AbstractIL.Common/ControlStructures/InstructionBlock.cs
2,059
C#
using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class MainMenuManager : MonoBehaviour { private string _sceneToUnload; [SerializeField] private GameObject _mainMenu; private void Update() { if (Input.GetKeyDown(KeyCode.M)) { _mainMenu....
21.692308
75
0.598109
[ "MIT" ]
artem-karaman/UnityUI
Assets/!Scripts/MainMenuManager.cs
846
C#
using System; using System.Linq; using Confuser.Core; using dnlib.DotNet; using Microsoft.VisualBasic.CompilerServices; using Microsoft.VisualBasic; using System.Collections.Generic; using dnlib.DotNet.Emit; using System.Security.Cryptography; using Confuser.Protections.Compress; using dnlib.DotNet.Writer; using dnlib...
32.26087
145
0.539308
[ "MPL-2.0" ]
binarysafe/SkiDzEX
Confuser.Protections/Name.cs
4,530
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("SFA.DAS.Provider.Events.Api.IntegrationTes...
39.472222
84
0.749472
[ "MIT" ]
SkillsFundingAgency/das-providerevents
src/api/SFA.DAS.Provider.Events.Api.IntegrationTestsV2/Properties/AssemblyInfo.cs
1,424
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. #nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; using System....
46.983193
214
0.491683
[ "MIT" ]
06needhamt/roslyn
src/Features/Core/Portable/SolutionCrawler/WorkCoordinator.LowPriorityProcessor.cs
11,184
C#
using System.IO; using System.Linq; using System.Net.Http.Headers; using System.Threading.Tasks; using GraphQL; using GraphQL.Http; using GraphQL.Validation; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; names...
43.567251
285
0.632215
[ "MIT" ]
maca88/CoreSharp
CoreSharp.GraphQL.AspNetCore/GraphQLMiddleware.cs
7,450
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web; namespace lessonweb.Data { public class Utils { public static T CloneObject<T>(T srcObject) where T : class, new() { // Get the object type Type objectType = ty...
29.826087
90
0.533528
[ "Apache-2.0" ]
flyvfr/lessontrack
lessonweb/lessonweb/Data/Utils.cs
1,374
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Da...
37.864865
84
0.745896
[ "Apache-2.0" ]
qulia/CrackingTheCodingInterview
DataStructures/Properties/AssemblyInfo.cs
1,404
C#
using ALE.ETLBox.ConnectionManager; using ALE.ETLBox.ControlFlow; using ALE.ETLBox.Helper; using System; using System.Collections.Generic; using System.Text; using Xunit; namespace ALE.ETLBoxTests.Fixtures { [CollectionDefinition("DataFlow")] public class DatalFlowCollectionClass : ICollectionFixture<DataFlow...
24.884615
91
0.724884
[ "MIT" ]
HaSaM-cz/etlbox
TestsETLBox/src/Fixtures/DataFlowDatabaseFixture.cs
649
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.33440 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.703704
151
0.583955
[ "MIT" ]
Silvenga/Small-Projects
SchoolCode/Code/VS Workspace/SlightNetRepairer/SlightNetRepairer/Properties/Settings.Designer.cs
1,074
C#
using System.Collections.Immutable; namespace com.tinylabproductions.TLPLib.Extensions { public static class ImmutableHashSetExts { public static ImmutableHashSet<A> toggle<A>(this ImmutableHashSet<A> hs, A a) => hs.Contains(a) ? hs.Remove(a) : hs.Add(a); } }
34.375
84
0.730909
[ "MIT" ]
JurgisRainys/tlplib
parts/0000-TLPLib/Assets/Plugins/Vendor/TLPLib/Extensions/IImmutableSetExts.cs
277
C#
using System.Security.Principal; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace FubarDev.WebDavServer.Sample.AspNetCore.Middlewares { public class ImpersonationMiddleware { private readonly RequestDelegate _next; public ImpersonationMiddleware(RequestDelegate next) ...
26.333333
98
0.581128
[ "MIT" ]
FubarDevelopment/WebDavServer
sample/FubarDev.WebDavServer.Sample.AspNetCore/Middlewares/ImpersonationMiddleware.cs
871
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2018 Daggerfall Workshop // Web Site: http://www.dfworkshop.net // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Original...
43.789474
159
0.573709
[ "MIT" ]
TheExceptionist/daggerfall-unity
Assets/Scripts/Game/Items/ItemBuilder.cs
38,272
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.Linq; using Xunit; namespace System.IO.FileSystem.DriveInfoTests { public partial class DriveInfoUnixTests { [Fact] [PlatformSpec...
37.25
113
0.582103
[ "MIT" ]
sharwell/corefx
src/System.IO.FileSystem.DriveInfo/tests/DriveInfo.Unix.Tests.cs
2,237
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.Threading; namespace System.Runtime.InteropServices { public sealed class HandleCollector { ...
30.656
110
0.50548
[ "MIT" ]
2E0PGS/corefx
src/System.Runtime.InteropServices/src/System/Runtime/InteropServices/HandleCollector.cs
3,832
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using Steeltoe.Management.Endpoint.Test; using System; using Xunit; namespace Steeltoe.Management.Endpoint.L...
26.914286
89
0.674098
[ "Apache-2.0" ]
SteeltoeOSS/steeltoe
src/Management/test/EndpointBase.Test/Loggers/LoggersChangeRequestTest.cs
942
C#
using System; using System.Linq; using Blockcore.Consensus; using Blockcore.Consensus.BlockInfo; using Blockcore.Consensus.Chain; using Blockcore.Consensus.ScriptInfo; using Blockcore.Consensus.TransactionInfo; using Blockcore.Features.Consensus.CoinViews; using Blockcore.Features.Consensus.Rules.ProvenHeaderRules; us...
60.194872
200
0.684671
[ "MIT" ]
Botcoin-Abacus/blockcore
src/Tests/Blockcore.Features.Consensus.Tests/Rules/ProvenHeaderRules/ProvenBlockHeaderCoinstakeRuleTest.cs
35,216
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. #...
34.022613
149
0.579056
[ "MIT" ]
Ethereal77/stride
sources/editor/Stride.Assets.Presentation/Test/TestAsset.cs
13,541
C#
using System; namespace OpenSatelliteProject.GRB.Product { public class ImageSize { public int Width { get; set; } public int Height { get; set; } public ImageSize (int width, int height) { Width = width; Height = height; } public static ImageSize ...
21.947368
60
0.563549
[ "MIT" ]
opensatelliteproject/grbdump
GRB/Product/ImageSize.cs
419
C#
using System.Web; using System.Web.Optimization; namespace TestandoF { public class BundleConfig { // Para obter mais informações sobre o agrupamento, visite https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundle...
40.16129
138
0.596787
[ "MIT" ]
LuisFelipeagarcia/testeFork
TestandoF/TestandoF/App_Start/BundleConfig.cs
1,252
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using System.Text.Json.Serialization; using BAMCIS.GeoJSON; using Inforit.GeoJson.Converters.Extensions; namespace Inforit.GeoJson.Converters { /// <summary> /// Used to serialize and deserialize LineString ...
34.930556
125
0.602386
[ "MIT" ]
Inforitnl/GeoJson.Converters
Inforit.GeoJson.Converters/Converters/LineStringConverter.cs
2,515
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.553191
151
0.596236
[ "Apache-2.0" ]
Singh400/aws-sdk-net
sdk/src/Services/PersonalizeRuntime/Generated/Model/Internal/MarshallTransformations/GetRecommendationsRequestMarshaller.cs
5,154
C#
using Microsoft.AspNetCore.Mvc; using NJsonSchema.Annotations; namespace Tzkt.Api { [ModelBinder(BinderType = typeof(BakingRightTypeBinder))] [JsonSchemaExtensionData("x-tzkt-extension", "query-parameter")] [JsonSchemaExtensionData("x-tzkt-query-parameter", "baking,endorsing")] public class BakingRigh...
35.433333
113
0.610536
[ "MIT" ]
baking-bad/tezzycat
Tzkt.Api/Parameters/BakingRightTypeParameter.cs
1,065
C#
using LinqAF.Impl; namespace LinqAF { public partial struct SkipLastEnumerable<TItem, TInnerEnumerable, TInnerEnumerator> { public SkipLastEnumerable<TItem, TInnerEnumerable, TInnerEnumerator> SkipLast(int count) { if (IsDefaultValue()) throw CommonImplementation.Uninitialized("sou...
26.727273
106
0.620748
[ "Apache-2.0" ]
kevin-montrose/LinqAF
LinqAF/Overrides/SkipLast.cs
590
C#
using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Hindi; namespace Microsoft.Recognizers.Text.NumberWithUnit.Hindi { public class TemperatureExtractorConfiguration : HindiNumberWit...
38.674419
127
0.755863
[ "MIT" ]
theolivenbaum/Recognizers-Text
.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/TemperatureExtractorConfiguration.cs
1,665
C#
using System.Runtime.Serialization; using SharpRemote.Test.Types.Enums; namespace SharpRemote.Test.Types.Structs { [DataContract] public struct FieldSbyteEnum { [DataMember] public SbyteEnum Value; } }
19
40
0.789474
[ "MIT" ]
JTOne123/SharpRemote
SharpRemote.Test/Types/Structs/FieldSbyteEnum.cs
211
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
36.046154
188
0.647461
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Vod/V20180717/Models/AiRecognitionTaskOcrWordsSegmentItem.cs
2,343
C#
// Copyright 2004-2017 The Poderosa Project. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
39.351852
146
0.663529
[ "Apache-2.0" ]
dnobori/poderosa
Core/ExtensionPointList.cs
2,141
C#
using System; using System.Threading; using System.Threading.Tasks; using ZendeskApi.Client.Models; using ZendeskApi.Client.Responses; namespace ZendeskApi.Client.Resources { public interface IDeletedUsersResource { #region List Deleted Users [Obsolete("Use `GetAllAsync` instead.")] Tas...
31.264706
78
0.67921
[ "Apache-2.0" ]
Ud0o/ZendeskApiClient
src/ZendeskApi.Client/Resources/Interfaces/User/IDeletedUsersResource.cs
1,063
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShopManager : MonoBehaviour { public ShopItemDecl[] items; public ShopItem itemPrefab; public Transform itemParent; private void Start() { for (int i = 0; i < items.Length; i++) { ...
31.055556
198
0.568277
[ "MIT" ]
coderpro1123211/Idle-Coder-BIGNETWORK-JAM
Assets/Scripts/ShopManager.cs
1,679
C#
using System; using System.Linq.Expressions; using System.Threading.Tasks; using EmployeeManagement.Application.CacheRepositories; using EmployeeManagement.Application.Dtos.EmployeeDtos; using EmployeeManagement.Application.Exceptions; using EmployeeManagement.Application.Extensions; using EmployeeManagement.Applicati...
37.827869
151
0.651571
[ "MIT" ]
nagurshaik-git/CleanArchitecture
src/Server/Core/EmployeeManagement.Application/Implementations/Services/EmployeeService.cs
4,617
C#
using System; using UnityEngine; using Zenject; namespace Zenject.Tests.Bindings.FromPrefabResource { public class Bob : MonoBehaviour { [NonSerialized] [Inject] public Jim Jim; } }
16.571429
52
0.62069
[ "MIT" ]
teareyes83/Fight2048
Assets/Plugins/Zenject/OptionalExtras/IntegrationTests/Bindings/TestFromPrefabResource/Common/Bob.cs
232
C#
namespace GeneXus.Deploy.AzureFunctions.Handlers.Helpers { public class EventSourceType { public const string QueueMessage = "QueueMessage"; public const string ServiceBusMessage = "ServiceBusMessage"; public const string Timer = "Timer"; } }
25.2
62
0.777778
[ "Apache-2.0" ]
genexuslabs/DotNetClasses
dotnet/src/extensions/Azure/Handlers/Helpers/EventSourceType.cs
252
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.Diagnostics; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Security.Principal; namespace System.Directo...
41.891324
163
0.56515
[ "MIT" ]
333fred/runtime
src/libraries/System.DirectoryServices.AccountManagement/src/System/DirectoryServices/AccountManagement/SAM/SAMStoreCtx.cs
45,871
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.IO; using System.Linq; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; n...
35.337662
116
0.596104
[ "Apache-2.0" ]
AntonC9018/NuGet.Client
src/NuGet.Core/NuGet.Build.Tasks/GetRestoreSolutionProjectsTask.cs
2,721
C#