content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using Cosmos.Common; using IL2CPU.API.Attribs; namespace Cosmos.System_Plugs.System; [Plug(Target = typeof(double))] public static class DoubleImpl { public static string ToString(ref double aThis) => StringHelper.GetNumberString(aThis); public static string To...
26.225166
149
0.451263
[ "BSD-3-Clause" ]
Kiirx/Cosmos
source/Cosmos.System2_Plugs/System/DoubleImpl.cs
3,960
C#
// ****************************************************************************************************************************** // // Copyright (c) 2018-2021 InterlockLedger Network // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided...
65.282443
161
0.657156
[ "BSD-3-Clause" ]
interlockledger/il2tags
InterlockLedger.Tags/Core/Tags/TagProvider.cs
8,552
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text.RegularE...
38.877358
111
0.540403
[ "MIT" ]
ArchieCoder/WindowsCommunityToolkit
Microsoft.Toolkit.Uwp.UI.Media/Geometry/Elements/Brush/LinearGradientHdrBrushElement.cs
8,242
C#
namespace Skribble { internal readonly struct DoubleToken : IToken { public double Value { get; } public DoubleToken(double value) { Value = value; } public override string ToString() { return $"DOUBLE {Value}"; } } }
23.384615
52
0.523026
[ "Apache-2.0" ]
k-boyle/Skribble
src/Skribble.Interpreter/Lexing/Tokens/DoubleToken.cs
306
C#
using System; using System.Windows; namespace MaterialDesignThemes.Wpf.AddOns { /// <summary> /// A banner to display messages with one or two action buttons. /// </summary> /// <remarks>Overrides MD's snackbar, which has the similar behavior.</remarks> public class Banner : Snackbar { ...
45.191083
176
0.649049
[ "MIT" ]
davidlebourdais/MaterialDesignInXamlToolkitAddOns
MaterialDesignThemes.Wpf.AddOns/Banner.cs
7,097
C#
// Copyright (c) 2018-2020 Alexander Bogarsukov. // Licensed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Collections.Generic; namespace UnityFx.Async { /// <summary> /// Represents the producer side of an asynchronous operation unbound to a de...
49.870968
169
0.713454
[ "MIT" ]
Arvtesh/UnityFx.Async
src/UnityFx.Async/Api/Interfaces/IAsyncCompletionSource.cs
3,094
C#
using UnityEngine; public class Shake : MonoBehaviour { private float shakeTimer; private const float shakeTimerRef = .2f; private const float shakeForceRef = 0.8f; private float shakeForce; private Vector3 basePos; private void Start() { shakeTimer = 0f; basePos = transfo...
22.514286
98
0.598985
[ "Apache-2.0" ]
Xwilarg/Paint-Jam
Assets/Scripts/Shake.cs
790
C#
// Copyright (c) Dapplo and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Dapplo.Config.Tests.ConverterTests { public enum TestEnum { Val1, Val2, Val3 } }
22.166667
101
0.74812
[ "MIT" ]
dapplo/Dapplo.Config
src/Dapplo.Config.Tests/ConverterTests/TestEnum.cs
268
C#
// Copyright (c) All contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Jmelosegui.DevOpsCLI.Commands { using McMaster.Extensions.CommandLineUtils; using Microsoft.Extensions.Logging; [Command("git", Descripti...
34.3
101
0.718659
[ "MIT" ]
jmelosegui/DevOps-CLI
DevOpsCLI/Commands/Git/GitCommand.cs
688
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; namespace VipcoMachine.Models { public class Employee { [Key] public string EmpCode { get; set; } [StringLength(20)] public string Title...
26.508772
88
0.616148
[ "MIT" ]
nuttanon001/VipcoMachineAndVipcoOverTime
Models/Employee.cs
1,707
C#
// ReSharper disable ArrangeTrailingCommaInMultilineLists namespace Content.Server { public static class IgnoredComponents { public static string[] List => new [] { "ConstructionGhost", "IconSmooth", "LowWall", "ReinforcedWall", "InteractionOut...
25.083333
57
0.518272
[ "MIT" ]
BingoJohnson/space-station-14
Content.Server/IgnoredComponents.cs
602
C#
#region License Header /* * QUANTLER.COM - Quant Fund Development Platform * Quantler Core Trading Engine. Copyright 2018 Quantler B.V. * * 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:...
29.159091
84
0.657833
[ "Apache-2.0" ]
Quantler/Core
Quantler/Messaging/MessageResult.cs
1,285
C#
using System.Linq; namespace Orchard.Projections.Settings { public class SValue : ISItem { public object Value { get; set; } public SValue(object value) { Value = value; } #region ICloneable Members public object Clone() { return new SValue(Value)...
23.625
71
0.546296
[ "BSD-3-Clause" ]
AzureWebApps/OrchardCMS
Modules/Orchard.Projections/Settings/SValue.cs
758
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; //using AnimationAux; using Anarian.DataStructures.Animation.Aux; namespace Anarian.DataStructures.Animation { /// <summary> /// Bones in this model are represented by this class, which //...
31.262626
87
0.571082
[ "MIT" ]
KillerrinStudios/Anarian-Game-Engine-MonoGame
Anarian Game Engine.Shared/DataStructures/Animation/Bone.cs
6,192
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated...
48.217687
181
0.632901
[ "MIT" ]
amitrega01/WypozyczalniaElektronarzedzi
ModelBazy/ModelBazy.Context.cs
7,090
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using BTCPayServer.Plugins.Shopify.ApiModels; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace BTCPayServer.Plugins.Shopify { public class ShopifyApiClient { ...
39.233577
179
0.643907
[ "MIT" ]
1nF0rmed/btcpayserver
BTCPayServer/Plugins/Shopify/ShopifyApiClient.cs
5,375
C#
using System; using JsonLD.Entities; using Nancy.Responses; using Newtonsoft.Json.Linq; namespace Nancy.Rdf.Contexts { /// <summary> /// Module, which serves JSON-LD contexts /// </summary> public class JsonLdContextModule : NancyModule { private readonly ContextResolver resolver; ...
33.358491
103
0.589367
[ "MIT" ]
wikibus/Nancy.Rdf
src/Nancy.Rdf/Contexts/JsonLdContextModule.cs
1,770
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Reverb.Data.Contracts; using Reverb.Data.Models; using System.Collections.Generic; using System.Linq; namespace Reverb.Services.UnitTests.CreationServiceTests { [TestClass] public class CreateAlbum_Should { [TestMethod] p...
32.387283
87
0.514724
[ "MIT" ]
Xenoleth/Reverb-MVC
Reverb/Reverb.Services.UnitTests/CreationServiceTests/CreateAlbum_Should.cs
5,605
C#
using System.Threading; using HotChocolate.Resolvers.CodeGeneration; namespace HotChocolate.Resolvers { public class CancellationTokenArgumentSourceCodeGeneratorTests : ArgumentSourceCodeGeneratorTestBase { public CancellationTokenArgumentSourceCodeGeneratorTests() : base(new Cance...
29.444444
70
0.701887
[ "MIT" ]
Dolfik1/hotchocolate
src/Core/Types.Tests/Resolvers/CodeGeneration/ArgumentGenerators/CancellationTokenArgumentSourceCodeGeneratorTests.cs
532
C#
using Codeco.CrossPlatform.Models.FileSystem; using Codeco.CrossPlatform.Services.DependencyInterfaces; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Threading.Tasks; namespace Codeco.CrossPlatform.Services { public class FileService : IFileService { ...
32.652632
107
0.628304
[ "MIT" ]
pingzing/Codeco
Codeco.CrossPlatform/Services/FileService.cs
3,104
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; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Reflection....
45.024922
184
0.644849
[ "ECL-2.0", "Apache-2.0" ]
binsys/roslyn_java
Src/Compilers/Core/Source/Emit/EmitBaseline.cs
14,455
C#
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.IdentityModel.Tokens; using Se...
32.21978
116
0.577763
[ "MIT" ]
S0L4/2s2019-sprint-2-backend-OpFlix
Senai.OpFlix.WebApi/Senai.OpFlix.WebApi/Controllers/UsuariosController.cs
2,935
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.md file in the project root for more information. using Xunit; namespace Microsoft.VisualStudio.ProjectSystem.Build { public class PublishableProjectConfigPr...
30.645833
201
0.598912
[ "MIT" ]
brunom/project-system
tests/Microsoft.VisualStudio.ProjectSystem.Managed.UnitTests/ProjectSystem/Build/PublishableProjectConfigProviderTests.cs
1,426
C#
using System.Resources; 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. [ass...
35.258065
84
0.745654
[ "MIT" ]
Xamarians/Xamarians.CropImage
Xamarians.CropImage/Properties/AssemblyInfo.cs
1,096
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using Amusoft.UI.WPF.Controls; namespace Amusoft.UI.WPF.Utility { public static class VisualStateManagerHelper...
34.333333
165
0.751348
[ "MIT" ]
taori/Amusoft.UI.WPF
src/Amusoft.UI.WPF/Utility/VisualStateManagerHelper.cs
1,856
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("Ju...
37.594595
84
0.744069
[ "MIT" ]
grandeto/TelerikAcademy
C# 1 Homeworks/ExamPreparation/JustSnake/Properties/AssemblyInfo.cs
1,394
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
31.08
84
0.473616
[ "MIT" ]
battatech/battatech_ServerSideExcelExport
Code/PL/example_dataset.aspx.designer.cs
779
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v2/resources/operating_system_version_constant.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = glob...
39.086162
313
0.673547
[ "Apache-2.0" ]
chrisdunelm/google-ads-dotnet
src/V2/Stubs/OperatingSystemVersionConstant.cs
14,970
C#
namespace Inventory.Frm { partial class frmTakeStock { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 tr...
41.137931
161
0.562587
[ "Apache-2.0" ]
mikeleishen/bacosys
pda/Inventory/Frm/frmTakeStock.Designer.cs
7,344
C#
using System; using System.Threading.Tasks; using Windows.Data.Xml.Dom; using Windows.Storage; using Windows.UI.Notifications; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 namespace LiveTilesAndNotifi...
34.369231
106
0.65085
[ "MIT" ]
nahuel-ianni/workshop-intro-to-uwp
src/08. Live tiles and notifications/LiveTilesAndNotifications/MainPage.xaml.cs
2,236
C#
// <auto-generated> // Code generated by https://github.com/kubernetes-client/csharp/tree/master/gen/KubernetesGenerator // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace k8s.Models { using Microsoft.Rest; using Newtonsoft.Json; using Sys...
38.834646
242
0.619424
[ "Apache-2.0" ]
anshulahuja98/csharp
src/KubernetesClient/generated/Models/V1ReplicationControllerStatus.cs
4,932
C#
using Orleans.Redis.Common; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using Orleans.Configuration; using Orleans.Hosting; using Orleans.Providers; using Orleans.Runtime; using Orleans.Serialization; using System; using...
48.384615
184
0.752385
[ "MIT" ]
EvgenSk/Orleans.Providers.Redis
src/Orleans.Storage.Redis/Hosting/RedisStorageBuilderExtensions.cs
2,518
C#
using Microsoft.Data.Sqlite; using System.Threading.Tasks; namespace BotBase.Databases.MainDatabaseTables { public class DatabaseTable : ITable { private readonly SqliteConnection connection; public DatabaseTable(SqliteConnection connection) => this.connection = connection; public Ta...
29.105263
142
0.688969
[ "MIT" ]
the-mighty-mo/BotBase
BotBase/Databases/MainDatabaseTables/DatabaseTable.cs
555
C#
using cabzcommerce.cshared.DTOs; using cabzcommerce.cshared.DTOs.User; using cabzcommerce.cshared.Models; namespace cabzcommerce.api.Repositories { public interface IUserRepo { Task<Profile> Register(Registration User); Task<UserAccessToken> GrantUserAccess(User User); Task<User> GetUse...
31.882353
76
0.738007
[ "BSD-2-Clause" ]
ecabigting/cabzcommerce
src/cabzcommerce.api/Repositories/User/IUserRepo.cs
542
C#
using ECM7.Migrator.Framework; using Framework.Migrator.Extensions; namespace Core.WebContent.Migrations { /// <summary> /// Adds ContentPages table. /// </summary> [Migration(6)] public class Migration_AddArticles : Migration { /// <summary> /// Executes migration. ///...
30.72093
124
0.526117
[ "BSD-2-Clause" ]
coreframework/Core-Framework
Source/Core.WebContent.Migrations/Migration_AddArticles.cs
1,323
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.716628
554
0.566618
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/Regionprocesssession.cs
19,094
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.451/blob/master/LICENSE * */ #endregion using System.Diagnostics; using System.Drawing; namespace ExtendedControl...
29.333333
90
0.459578
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-Toolkit-Suite-Extended-NET-5.451
Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/Base/Code/Colours/RGBColour.cs
6,162
C#
using System.Linq; using Microsoft.EntityFrameworkCore; using Abp.Configuration; using Abp.Localization; using Abp.Net.Mail; namespace Exceed.EntityFrameworkCore.Seed.Host { public class DefaultSettingsCreator { private readonly ExceedDbContext _context; public DefaultSettingsCreator(ExceedDb...
29.525
126
0.631668
[ "MIT" ]
yiershan/Excced
aspnet-core/src/Exceed.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultSettingsCreator.cs
1,183
C#
using SampleArchitecture.Api.Controllers.Users.Requests; using SampleArchitecture.Commands; using SampleArchitecture.Models; using SampleArchitecture.Storage; namespace SampleArchitecture.Api.Controllers.Users.CommandHandlers { /// <summary> /// The get user by identifier request command handler. /// </su...
37.09375
102
0.693345
[ "MIT" ]
dotnet-enthusiast/SampleArchitecture
src/Ports/SampleArchitecture.Api/Controllers/Users/CommandHandlers/GetUserByIdRequestCommandHandler.cs
1,189
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; namespace ActiveVB.News.WinPhone { public partial class MainPage : global...
24.28
94
0.75453
[ "Unlicense" ]
Henkoglobin/ActiveVB.News
ActiveVB.News/ActiveVB.News.WinPhone/MainPage.xaml.cs
609
C#
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace Backlog4net.Internal.Json.CustomFields { public class DateValueSettingJsonImpl : DateValueSetting { internal class JsonConverter : InterfaceConverter<DateValueSetting, DateValueSettingJsonImpl> { } ...
26.409091
105
0.702238
[ "MIT" ]
JTOne123/backlog4net
src/Backlog4net/Internal/Json/CustomFields/DateValueSettingJsonImpl.cs
583
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using ZYNet.CloudSystem.Frame; namespace ZYNet.CloudSystem.Client { public class ModuleDictionary : IModuleDictionary { public Dictionary<int, IAsyncMethodDef> ...
36.770588
197
0.412894
[ "Apache-2.0" ]
luyikk/ZYNet
src/ZYNetClient/Client/AsyncModuleDef.cs
6,253
C#
using System.Threading.Tasks; using MimeKit; namespace Vue.Splash_API.Services.Mail.Mailable; public interface IMailable { Task<MimeMessage> Build(); Task<string> GetHtmlBody(); Task<string> GetPlainTextBody(); }
20.545455
48
0.752212
[ "MIT" ]
Ola-jed/Vue.Splash-API
Vue.Splash-API/Services/Mail/Mailable/IMailable.cs
226
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
38.011905
185
0.583151
[ "ECL-2.0", "Apache-2.0" ]
aamir-locus/pulumi-aws
sdk/dotnet/DirectConnect/HostedPublicVirtualInterface.cs
12,772
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.ModelBinding; namespace IdentityServerAspNet.Models.ManageViewModels { public class EnableAuthenticatorViewModel...
29.846154
127
0.657216
[ "MIT" ]
victorioferrario/hubx-identity
servers/IdentityServerAspNet/Models/ManageViewModels/EnableAuthenticatorViewModel.cs
778
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace LockerAnnouncer { static class Program { /// <summary> /// 應用程式的主要進入點。 /// </summary> [STAThread] static void Main() { ...
21.478261
65
0.611336
[ "BSD-3-Clause" ]
HarrisQs/Locker
LockerAnnouncer/Program.cs
518
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace SistemaAlugarCarro { class Program { static string[,] baseDeCarros; static void Main(string[] args) { CarregaBancoDeDados();...
34.697872
126
0.497179
[ "MIT" ]
vitorsousa95/GITvitor
Console/SistemaAlugarCarro/Program.cs
8,182
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.Diagnostics; using System.Threading; using Microsoft.CodeAnalysis.Text; namespace M...
31.630435
117
0.687285
[ "MIT" ]
06needhamt/roslyn
src/Compilers/Core/Portable/Syntax/TranslationSyntaxReference.cs
1,457
C#
using UnityEngine; public class LockAttribute : PropertyAttribute { public bool locked = true; }
19.8
48
0.777778
[ "MIT" ]
tomkail/UnityX
Assets/UnityX/Scripts/Property Drawers/Lock/LockAttribute.cs
101
C#
/* * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. * If a copy of the MPL was not distributed with this file, You can obtain one at * http://mozilla.org/MPL/2.0/. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using FSO.Files.HIT; u...
30.465753
164
0.489883
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Blayer98/FreeSO
TSOClient/tso.sound/FSCPlayer.cs
4,450
C#
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia namespace EtAlii.Ubigia.Api.Transport.Grpc { using global::Grpc.Core.Interceptors; using global::EtAlii.xTechnology.Threading; using global::Grpc.Core; /// <summary> /// The task of the...
43.369231
170
0.695991
[ "MIT" ]
vrenken/EtAlii.Ubigia
Source/Api/EtAlii.Ubigia.Api.Transport.Grpc/CorrelationCallInterceptor.cs
2,819
C#
using BlazorState; using System; using DataBrowser.Services; namespace DataBrowser.Features.AppState { public enum DataAction { VIEW, REMOVE, CLEAR, DELETE } public partial class AppState { public class SetE1ContextAction : IAction { publ...
27.571429
65
0.530853
[ "MIT" ]
Herdubreid/DataBrowser
Features/AppState/Actions.cs
2,125
C#
using System.Threading.Tasks; using Equinor.ProCoSys.Preservation.Command.RequirementTypeCommands.CreateRequirementType; using Equinor.ProCoSys.Preservation.Command.Validators.RequirementTypeValidators; using Equinor.ProCoSys.Preservation.Domain.AggregateModels.RequirementTypeAggregate; using Microsoft.VisualStudio.Te...
39.967742
129
0.713479
[ "MIT" ]
equinor/pcs-preservation-api
src/tests/Equinor.ProCoSys.Preservation.Command.Tests/RequirementTypeCommands/CreateRequirementType/CreateRequirementTypeCommandValidatorTests.cs
2,480
C#
// // RedundantNullCoalescingExpressionTests.cs // // Author: // Luís Reis <luiscubal@gmail.com> // // Copyright (c) 2013 Luís Reis // // 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 Soft...
21.391892
82
0.700569
[ "MIT" ]
Jenkin0603/myvim
bundle/omnisharp-vim/server/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeIssues/ConstantNullCoalescingConditionIssueTests.cs
3,170
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace SpeedTest.TestObjects { public class NullableTestObject { public int? RInt { get; set; } public decimal? RDecimal { get; set; } public double? RDouble { get; set; } public int? RInt2...
37.214286
76
0.619002
[ "MIT" ]
Sobieck00/SpeedTest
SpeedTest/SpeedTest/TestObjects/NullableTestObject.cs
1,044
C#
using AutoFixture; using FluentAssertions; using FunctionalTest.Extensions; using FunctionalTest.Fixtures; using FunctionalTest.Fixtures.Resets; using OrderApp.Models.Customers; using System; using System.Net; using System.Threading.Tasks; using Xunit; namespace FunctionalTest.Scenarios.Customers { [Collection(Te...
33.867647
89
0.587495
[ "Apache-2.0" ]
acnagrellos/NetCoreDemo_3
6.asp_net_core_test/EjerciciosTestIntegracion/Solucion/OrderApp/test/FunctionalTest/FunctionalTest/Scenarios/Customers/CreateCustomerScenario.cs
4,608
C#
namespace AForge.Imaging.Filters { using AForge.Imaging; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; public abstract class BaseFilter : IFilter, IFilterInformation { protected BaseFilter() { } ...
38.8
151
0.604306
[ "MIT" ]
siddhesh-vartak98/Fire-Detection-Using-Infrared-Images
AForge.Imaging/AForge/Imaging/Filters/BaseFilter.cs
3,300
C#
using UnityEngine; using System.Collections; using UnityEditor; public class GATBaseInspector : Editor { protected static GUILayoutOption[] __largeButtonOptions = new GUILayoutOption[]{ GUILayout.Width( 130f ), GUILayout.ExpandWidth( false ) }; protected static GUILayoutOption[] __buttonOptions = new GUILayout...
32.428571
142
0.731278
[ "MIT" ]
PowerOlive/G-Audio
Editor/Inspectors/GATBaseInspector.cs
1,818
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.Collections; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Threading; namespace System { public static part...
37.255725
158
0.60127
[ "MIT" ]
3DCloud/runtime
src/libraries/System.Private.CoreLib/src/System/Environment.cs
9,761
C#
using System; namespace RBS.Messages.std_msgs { [System.Serializable] public class UInt32 : ExtendMessage { public uint data; public override string Type() { return "std_msgs/UInt32"; } public UInt32() { data = 0; } } }
19.2
67
0.5625
[ "MIT" ]
yuyaushiro/ARviz_unity
Assets/ROSBridgeSharp/Assets/RBSocket/Message/DefaultMsgs/std_msgs/UInt32.cs
288
C#
//---------------------------------------------- // ColaFramework // Copyright © 2018-2049 ColaFramework 马三小伙儿 //---------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ColaFramework { /// <summary> /// 对...
26.20297
154
0.448139
[ "MIT" ]
Og-ChRoNiC/ColaFrameWork
Assets/Scripts/CommonHelper/ObjectPoolHelper.cs
5,642
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Windows.Input; using Microsoft.Toolkit.Uwp.UI.Controls;...
40.743802
380
0.611866
[ "MIT" ]
Difegue/WindowsCommunityToolkit
Microsoft.Toolkit.Uwp.SampleApp/SamplePages/InAppNotification/InAppNotificationPage.xaml.cs
9,860
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("Ba...
37.432432
84
0.74296
[ "MIT" ]
pkudrel/Sabot
src/Backup/Properties/AssemblyInfo.cs
1,388
C#
using Demo.Domain.Handlers.Users; using Xunit; namespace Demo.Domain.Tests.Handlers.Users { public class UpdateMyTestGenderHandlerTests { [Fact(Skip="Change this to a real test")] public void Sample() { // Arrange // Act // Assert } } }...
16.894737
49
0.551402
[ "MIT" ]
TomMalow/atc
sample/Demo.Domain.Tests/Handlers/Users/UpdateMyTestGenderHandlerTests.cs
323
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> //---...
40.583333
80
0.644764
[ "MIT" ]
dfilitto/ProjetosXamarinForms
AppEmail/AppEmail/AppEmail/obj/Debug/netstandard2.0/AppEmail.AssemblyInfo.cs
974
C#
using Abp.Application.Services; using Abp.Application.Services.Dto; using EventCloud.Lims.Dtos; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace EventCloud.Lims { public interface ILimsAppService: IApplicationService { Task<ListResultDto<Packag...
22.625
66
0.779006
[ "MIT" ]
HealthPro-Alborg-Demo/alborg_project
aspnet-core/src/EventCloud.Application/Lims/ILimsAppService.cs
364
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; namespace Lophtware.Testing.Utilities.NonDeterminism.PrimitiveGeneration { [SuppressMessage("ReSharper", "UnusedMember.Global", Justification = CodeAnalysisJustification.PublishedApi)] public static class EnumG...
29.836364
117
0.723949
[ "MIT" ]
lophtware/Testing.Utilities
src/Testing.Utilities/NonDeterminism/PrimitiveGeneration/EnumGenerator.cs
1,643
C#
using FactoryMethodPattern.Contracts; namespace FactoryMethodPattern { public class Bear : ICarnivore { public Bear() { } public string AnimalsThatIEat { get; set; } } }
18.181818
51
0.655
[ "MIT" ]
IPMihnev/SoftUni
Object-orientedProgramming/DesignPatterns/CreationalPatterns/FactoryMethodPattern/Bear.cs
202
C#
using System; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Diagnostics.HealthChecks; using Mercan.HealthChecks.Common; using Moq; namespace Mercan.HealthChecks.Common.Tests.WriteResponse { public class WriteResponsesShould { public void CreateAWriteListResponse() { v...
27.52381
82
0.700692
[ "MIT" ]
mmercan/sentinel
HealthChecks/Mercan.HealthChecks.Common.Tests/WriteResponses/WriteResponsesShould.cs
578
C#
// ReSharper disable once CheckNamespace namespace Telegram.Bot.Types { /// <summary> /// A marker for input media types that can be used in sendMediaGroup method. /// </summary> public interface IAlbumInputMedia : IInputMedia { } }
21.583333
81
0.675676
[ "MIT" ]
4vz/jovice
Athena/Library/Telegram.Bot/Types/InputFiles/IAlbumInputMedia.cs
261
C#
namespace ThisNetWorks.OrchardCore.OpenApi.Models { public class ContentFieldDto : ContentElementDto { } }
17.142857
52
0.733333
[ "BSD-3-Clause" ]
ThisNetWorks/ThisNetWorks.OrchardCore.OpenApi
src/ThisNetWorks.OrchardCore.OpenApi.Abstractions/Models/ContentFieldDto.cs
122
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("Cu...
36.034483
84
0.74067
[ "MIT" ]
wilsonvargas/CustomIconNavigationPage
src/CustomIcon/CustomIcon.UWP/Properties/AssemblyInfo.cs
1,048
C#
using ProjectRimFactory.Common; using RimWorld; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using Verse; using Verse.AI; using ProjectRimFactory.AutoMachineTool; namespace ProjectRimFactory.Drones { //This is basicly a clone of Area_Allow...
34.4
150
0.512689
[ "MIT" ]
gabrielbunselmeyer/Project-RimFactory-Revived
Source/ProjectRimFactory/Drones/Building_DroneStation.cs
23,566
C#
using Microsoft.Extensions.Hosting; using Microsoft.AspNetCore.Hosting; using System; using Microsoft.AspNetCore.Builder; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace App { public class Program { public static void Main() ...
32.538462
120
0.643026
[ "MIT" ]
hyperpc/AspNetCoreFxAdv
inside-asp-net-core-3/ch_16/S1603/App/Program.cs
848
C#
using System; using System.Collections.Generic; using System.Text; namespace StackOperations.BasicOperations { public class OperationDif : IStackItem, IStackOperation { public string Print => throw new NotImplementedException(); public Stack<IStackItem> Eval(Stack<IStackItem> stack) {...
27.55102
92
0.507407
[ "MIT" ]
cpsaez-Lendsum/stackcalculator
stackCalculator/StackOperations/BasicOperations/OperationDif.cs
1,352
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using essentialMix.Patterns.Direction; using essentialMix.Threading.Helpers; using JetBrains.Annotations; // ReSharper disable once CheckNamespace namespace essentialMix.Extensions; ...
25.793388
104
0.723806
[ "MIT" ]
asm2025/essentialMix
Framework/essentialMix.Windows/Extensions/ListBoxExtension.cs
3,121
C#
using UnityEngine; namespace GameScripts { public class ShoulderLight : MonoBehaviour { private void Update() { if (Input.GetButtonDown("ToggleLight")) { GetComponent<Light>().enabled = !GetComponent<Light>().enabled; } } } }
19.75
79
0.53481
[ "MIT" ]
AnnaGoanna/spacelabyrinth3d
src/SpaceLabyrinth3D/Assets/Scripts/GameScripts/ShoulderLight.cs
318
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; using Micros...
37.592593
137
0.575123
[ "MIT" ]
NileshGule/tye
src/Microsoft.Tye.Core/ConfigModel/ConfigFactory.cs
4,062
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("09...
37.972973
84
0.745196
[ "MIT" ]
Gecata-/OOP-Telerik
03.ExtensionMethodsDelegatesLambdaLINQ/09.StudentGroups/Properties/AssemblyInfo.cs
1,408
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Com.H.IO; using Com.H.Linq; using Com.H.Text; namespace Com.H.Threading.Scheduler { public class HTaskScheduler : IDisposable { #region pr...
36.197248
140
0.516348
[ "MIT" ]
H7O/Com.H.Threading.Scheduler
Com.H.Threading.Scheduler/HTaskScheduler.cs
15,784
C#
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Rye.Enums; using Rye.Module; using System; namespace Rye.EntityFrameworkCore.MySql { /// <summary> /// MySql 数据库EF Core模块 /// </summary> //[DependsOnModules(typeof(EFCoreModule))] public class MySqlEFCoreM...
22.545455
90
0.662634
[ "MIT" ]
JolyneStone/Monica
src/Domain/Rye.EntityFrameworkCore.MySql/MySqlEFCoreModule.cs
756
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Threading; using Microsoft.WebMatrix.Core; using Microsoft.WebMatrix.Core.SQM; using Microsoft.We...
32.507071
272
0.498167
[ "ECL-2.0", "Apache-2.0" ]
Barsonax/NuGet2
WebMatrixExtension/NuGetExtension/WPF/Model/NuGetModel.cs
16,093
C#
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Management.Automation; using Microsoft.Management.Infrastructure; using Dbg = System.Mana...
37.757576
148
0.608882
[ "Apache-2.0", "MIT-0" ]
KevinMarquette/Powershell
src/Microsoft.PowerShell.Commands.Management/cimSupport/cmdletization/cim/ModifyInstanceJob.cs
3,740
C#
using System; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using SharpBrick.PoweredUp; namespace Example { public class ExampleMarioBarcode : BaseExample { public override async Task ExecuteAsync() { using (var mario = Host.FindByType<MarioHub>()) { ...
35.970588
218
0.600164
[ "MIT" ]
KeyDecoder/powered-up
examples/SharpBrick.PoweredUp.Examples/ExampleMarioBarcode.cs
1,223
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Dolittle.Assemblies; using Dolittle.DependencyInversion; using Dolittle.Types; namespace Dolittle.Booting { /// <summary> ...
36.746032
115
0.606911
[ "MIT" ]
dolittle-fundamentals/DotNET.Fundamentals
Source/Booting/BootloaderResult.cs
2,315
C#
using System; namespace NetCore31WebApp { 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; } } }
16.4375
63
0.684411
[ "MIT" ]
christophwille/pscore-playground
ExchangeOnlinePsSpike/NetCore31WebApp/WeatherForecast.cs
263
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 Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Test.Utilities; using Microsoft.VisualStudio.IntegrationTest.Utilities; using Xunit; namespace Ro...
25.622642
161
0.67673
[ "Apache-2.0" ]
liuyl1992/roslyn
src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpOrganizing.cs
1,360
C#
using IntegrationController.Interface; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace IntegrationController.Model { public abstract class FileIntegration : IFileIntegration { private readonly FileInfo _file; private readonly DateTime _dateTime; public virtual Fi...
24.090909
148
0.733962
[ "MIT" ]
iAvinashVarma/Runner
Reflector/IntegrationController/Model/FileIntegration.cs
1,062
C#
/* ======================================================================= Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. ...
33.223938
154
0.556188
[ "Apache-2.0" ]
FDYdarmstadt/BoSSS
src/L4-application/CutCellQuadrature/TestCases/ITestCase.cs
8,349
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://ww...
50.553957
220
0.599355
[ "MIT" ]
Andrean/azure-powershell
src/StackAdmin/Storage/Commands.Storage.ScenarioTest/Functional/Blob/SetBlobContent.cs
20,665
C#
// Author: Daniele Giardini - http://www.demigiant.com // Created: 2018/07/13 using System; using UnityEngine; using DG.Tweening.Core; using DG.Tweening.Plugins.Options; #if UNITY_2018_1_OR_NEWER && (NET_4_6 || NET_STANDARD_2_0) using System.Threading.Tasks; #endif #pragma warning disable 1591 namespace DG.Tweening ...
42.344059
180
0.570176
[ "MIT" ]
0007berd/MergeTest
Assets/Plugins/Demigiant/DOTween/Modules/DOTweenModuleUnityVersion.cs
17,793
C#
namespace model.timing { public interface IStepObserver { void NotifyStep(string structure, int phase, int step); } }
19.714286
63
0.666667
[ "Unlicense" ]
JeffSkyrunner/data-hunt
Assets/Scripts/Model/Timing/IStepObserver.cs
140
C#
using Abp.Domain.Uow; using Abp.EntityFrameworkCore; using Abp.MultiTenancy; using Abp.Zero.EntityFrameworkCore; namespace blogger.EntityFrameworkCore { public class AbpZeroDbMigrator : AbpZeroDbMigrator<bloggerDbContext> { public AbpZeroDbMigrator( IUnitOfWorkManager unitOfWorkManager, ...
27.409091
74
0.6733
[ "MIT" ]
Drex3l/aspboilerplate
aspnet-core/src/blogger.EntityFrameworkCore/EntityFrameworkCore/AbpZeroDbMigrator.cs
605
C#
// Copyright 2009 Auxilium B.V. - http://www.auxilium.nl/ // // 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 ...
32.77027
115
0.641237
[ "Apache-2.0" ]
auxilium/JelloScrum
JelloScrum/JelloScrum.Model.Tests/Model/TaakTest.cs
2,425
C#
using FluentAssertions; using Microsoft.Extensions.Options; using Wellcome.Dds.Common; using Wellcome.Dds.IIIFBuilding; using Xunit; namespace Wellcome.Dds.Tests.IIIFBuilding { public class UriPatternsTests { private readonly UriPatterns sut; public UriPatternsTests() { ...
31.114286
95
0.511478
[ "MIT" ]
wellcomecollection/iiif-builder
src/Wellcome.Dds/Wellcome.Dds.Tests/IIIFBuilding/UriPatternsTests.cs
2,180
C#
namespace JokesOnYou.Web.Api.DTOs { public class LikedTagsReplyDto { } }
12.285714
34
0.662791
[ "Unlicense" ]
Palisar/JokesOnYou
Server/JokesOnYou.Web.Api/DTOs/LikedTagsReplyDto.cs
88
C#
using EOLib.Net.Handlers; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace EOBot { sealed class BotFramework : IDisposable { public const int NUM_BOTS_MAX = 25; private readonly CancellationTokenSource _cancella...
33.398693
177
0.562035
[ "MIT" ]
Septharoth/EndlessClient
EOBot/BotFramework.cs
5,112
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using AutoMapper; using Microsoft.Azure.Management.Monitor.Fluent.Models; using Microsoft.Extensions.Logging.Abstractions; using Promitor.Core.Scraping.Configuration.Model.Metrics.ResourceTypes; using Promitor.Core.Scraping...
53.104072
172
0.59816
[ "MIT" ]
ChristianEder/promitor
src/Promitor.Tests.Unit/Serialization/v1/V1SerializationTests.cs
11,738
C#
// <auto-generated> // Auto-generated by StoneAPI, do not modify. // </auto-generated> namespace Dropbox.Api.TeamLog { using sys = System; using col = System.Collections.Generic; using re = System.Text.RegularExpressions; using enc = Dropbox.Api.Stone; /// <summary> /// <para>Changed the allo...
39.178571
158
0.588879
[ "MIT" ]
MarkMichaelis/dropbox-sdk-dotnet
dropbox-sdk-dotnet/Dropbox.Api/Generated/TeamLog/SharingChangeLinkEnforcePasswordPolicyDetails.cs
5,485
C#
using System.Windows; using Stylet; namespace RyaUploader.ViewModels { public class TitleBarViewModel : Screen { private readonly IWindowManagerConfig _window; private readonly TrayIconViewModel _trayIconViewModel; public TitleBarViewModel(IWindowManagerConfig windowManager, TrayIconV...
30
126
0.632432
[ "MIT" ]
RyadaProductions/RyaUploader
RyaUploader/ViewModels/TitleBarViewModel.cs
1,112
C#