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.Linq; using System.Runtime.InteropServices; namespace AzureTableFramework.Core { public static partial class Utils { public static string CharactersOnly(this string val) { return val.ToCharArray().Where(Char.IsLetterOrDigit).Aggregate("", (curre...
29.209302
109
0.42914
[ "MIT" ]
JeffHughes/AzureTableFramework
src/Utils/Strings.cs
2,514
C#
namespace Caf.Projects.CafModelingRegionalSoilConditioningIndex.Csip.Common.Models.Json { /// <summary> /// Represents important values obtained from results of a WEPS simulation /// </summary> public class WepsResponseV5_2 : IErosionModelResponse { public string Suid { get; set; } ...
31.184211
88
0.634599
[ "CC0-1.0" ]
cafltar/CafModelingRegionalSoilConditioningIndex_Csip
src/dotnet/Csip.Common/Models/Json/WepsResponseV5_2.cs
1,187
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using IntelliMood.Data.Models; using IntelliMood.Web.Infrastructure.Mapper; namespace IntelliMood.Web.Models.UserViewModels { public class UserListViewModel : IMapFrom<User> { public string Id { get; set; ...
22.117647
51
0.728723
[ "MIT" ]
GenchoBG/SmartDiary
IntelliMood.Web/Models/UserViewModels/UserListViewModel.cs
378
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace Microsoft.Data.Entity.Design.Model.Commands { using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; ...
51.418079
154
0.632897
[ "Apache-2.0" ]
Cireson/EntityFramework6
src/EFTools/EntityDesignModel/Commands/ChangeFunctionScalarPropertyCommand.cs
9,103
C#
using FluentValidation; namespace Gear.ProjectManagement.Manager.Domain.Activities.Commands.BulkActions.MoveActivitiesToList { public class MoveActivitiesToListCommandValidator : AbstractValidator<MoveActivitiesToListCommand> { public MoveActivitiesToListCommandValidator() { RuleFo...
29.4
102
0.714286
[ "MIT" ]
indrivo/bizon360_pm
IndrivoPM/Gear.ProjectManagement.Application/Domain/Activities/Commands/BulkActions/MoveActivitiesToList/MoveActivitiesToListCommandValidator.cs
443
C#
using System; namespace it.unifi.dsi.stlab.math.algebra { public abstract class AlgebraConstraint { public abstract void check (); } }
12.909091
41
0.739437
[ "MIT" ]
massimo-nocentini/network-reasoner
it.unifi.dsi.stlab.math.algebra/constaints/AlgebraConstraint.cs
142
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
47.076271
121
0.673987
[ "Apache-2.0" ]
michael-sena/Lean
Tests/Common/Orders/OrderEventTests.cs
5,557
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
41.339286
94
0.72959
[ "BSD-3-Clause" ]
chliebel/dotnetpro-flexbox-xaml
xaml/WpfApplication1/Properties/AssemblyInfo.cs
2,318
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. using System; namespace Mosa.UnitTest.Collection { public static class BoxingTests { public static byte BoxU1(byte value) { object o = value; return (byte)o; } public static bool EqualsU1(byte value) { object o = value; ...
15.847222
67
0.623138
[ "BSD-3-Clause" ]
carverh/ShiftOS
Source/Mosa.UnitTest.Collection/BoxingTests.cs
2,284
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime.Reflection...
50.606299
390
0.650226
[ "MIT" ]
JansonC/knight
knight-client/Assets/Game/Script/Generate/ILRuntime/UnityFx_Async_CompilerServices_AsyncAwaiter_1_Knight_Core_Wait_t.cs
6,427
C#
using Microsoft.AspNetCore.Mvc.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DevIO.UI.Site.Models { public class Aluno { public Aluno() { Id = Guid.NewGuid(); } public Guid Id { get; set; ...
21.181818
52
0.609442
[ "MIT" ]
philipeformagio/sandbox-studies
AppModelo/src/DevIO.UI.Site/Models/Aluno.cs
468
C#
// Copyright (C) 2015 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Alexey Kulakov // Created: 2015.05.21 using System; using System.Linq; using NUnit.Framework; using Xtensive.Core; using Xtensive.Orm.Configuration; using Xtensive.Orm.Tests...
40.050661
161
0.613027
[ "MIT" ]
SergeiPavlov/dataobjects-net
Orm/Xtensive.Orm.Tests/Issues/IssueJira0584_IncorrectMappingOfColumnInQuery.cs
54,551
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using MVCBlog.Data; namespace MVCBlog.Web.Areas.Identity.Pages.Account.Ma...
35.15625
156
0.624444
[ "Apache-2.0" ]
3xp3rT/MyBlog
src/MVCBlog.Web/Areas/Identity/Pages/Account/Manage/Disable2fa.cshtml.cs
2,252
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; //GameService UI helper information //GameService Editor inspector foldout namespace GameplayFramework { internal enum ActionOnService { DoNothing = 0, Stop = 1, Restart = 2 } public abstract class GameService : Mono...
29.635417
120
0.513357
[ "MIT" ]
kaiyumcg/KAction
KAction/Code/GameService/GameService.cs
5,690
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> //----------------------------------------...
33.615385
84
0.518879
[ "MIT" ]
aburias/hotcakes-commerce-core
Website/DesktopModules/Hotcakes/SearchInput/Settings.ascx.designer.cs
1,750
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace estate_app { public class Program { public sta...
25.62963
70
0.644509
[ "MIT" ]
anegerega/Estate_App
src/estate_app/Program.cs
692
C#
#region License // Copyright (c) 2009, ClearCanvas 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 not...
35.864865
146
0.5974
[ "Apache-2.0" ]
econmed/ImageServer20
Desktop/View/WinForms/WorkspaceView.cs
5,310
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core; using Azure.ResourceManager.Resources; namespace Azure.ResourceManager { /// <summary> /// Extension class for resource manager. /// </summary> internal static class ResourceManagerExtens...
31.076923
104
0.624587
[ "MIT" ]
nitsi/azure-sdk-for-net
sdk/resourcemanager/Azure.ResourceManager/src/ResourceManagerExtensions.cs
1,214
C#
using System; using System.Collections.Generic; using System.Linq; using UniRx; using System.Text; using System.Threading.Tasks; using GTA; using GTA.Math; using GTA.Native; namespace Inferno.InfernoScripts.Player { class PlayerGripVehicle : InfernoScript { private bool _isGriped = false...
32.676923
104
0.500706
[ "MIT" ]
Hackbesh/GTAV_InfernoScripts
Inferno/InfernoScripts/Player/PlayerGripVehicle.cs
4,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; internal partial class Interop { internal partial class BCrypt { internal enum NTSTAT...
26.45
71
0.655955
[ "MIT" ]
Acidburn0zzz/corefx
src/Common/src/Interop/Windows/BCrypt/Interop.NTSTATUS.cs
529
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using NUnit.Framework; namespace ProteinReader_UnitTests { internal static class FileRefs { public const string SHARE_PATH = @"\\proto-2\unitTest_Files\Protein_File_Reader\"; public static FileInfo...
32.975904
135
0.515528
[ "Apache-2.0" ]
PNNL-Comp-Mass-Spec/Protein-File-Reader
UnitTests/FileRefs.cs
2,739
C#
using System; namespace AV.Middle.Common.Model { public class DataModel { private string message; public string Message { get { return message; } set { message = value; } } private DateTime receivedTime; public DateTime ReceivedTime { get { return receivedTime; } set { receivedTime = val...
14.521739
32
0.667665
[ "MIT" ]
iAvinashVarma/RunnerCore
Middle/Common/AV.Middle.Common.Model/DataModel.cs
334
C#
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using IdentityServer4.Stores; using Iris.IdentityServer4.MongoDB.Stores; using Iris.IdentityServer4.MongoDB.Services; using System; using Iris.IdentityServer4.MongoDB.Opt...
41
94
0.714691
[ "Apache-2.0" ]
stewartm83/Iris.IdentityServer4.MongoDB
src/Iris.IdentityServer4.MongoDB/IdentityServerMongoDbBuilderExtensions.cs
1,765
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("Ta...
37.864865
84
0.744468
[ "MIT" ]
leonardoacoelho/TabelaFipe
TabelaFipe/TabelaFipe.BLL/Properties/AssemblyInfo.cs
1,404
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 "li...
33.014706
115
0.642316
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AlexaForBusiness/Generated/Model/Internal/MarshallTransformations/SsmlMarshaller.cs
2,245
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NewGUID { class Program { static void Main(string[] args) { string g = Guid.NewGuid().ToString(); Console.WriteLine("===============================================================...
25.44
104
0.511006
[ "MIT" ]
jamiefutch/NewGUID
Program.cs
638
C#
using System; using System.Collections.Generic; namespace Models.DB { public partial class EreservationInfo { public EreservationInfo() { EformationTt = new HashSet<EformationTt>(); } public long EreservationInfoId { get; set; } public long Booking { get; s...
23.75
75
0.635789
[ "Apache-2.0" ]
LightosLimited/RailML
v2.4/Models/DB/EreservationInfo.cs
477
C#
using System; using System.Collections.Generic; using System.Text; using static System.String; public class Robot { private static readonly HashSet<string> Registry = new HashSet<string>(); private static readonly Random Generator = new Random(); private string _name = Empty; public string Name { ...
25.490566
78
0.549223
[ "MIT" ]
stanciua/exercism
csharp/robot-name/RobotName.cs
1,351
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.DocAsCode.Metadata.ManagedReference.Tests { using System.Collections.Generic; using System.ComponentModel; using System.IO; ...
54.932232
496
0.586802
[ "MIT" ]
AngryBerryMS/docfx
test/Microsoft.DocAsCode.Metadata.ManagedReference.Tests/GenerateMetadataFromCSUnitTest.cs
159,964
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace ModIO.UI { public enum PageTransitionDirection { FromLeft, FromRight, } public class ExplorerView : MonoBehaviour { // ---------[ ...
36.38657
146
0.504913
[ "MIT" ]
TrutzX/9Nations
Assets/Plugins/mod.io/Scripts/UI/ExplorerView.cs
40,100
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v5/common/feed_common.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Colle...
35.675958
213
0.667155
[ "Apache-2.0" ]
GraphikaPS/google-ads-dotnet
src/V5/Types/FeedCommon.cs
10,239
C#
// <auto-generated /> namespace BellumGens.Api.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed partial clas...
27.3
94
0.620269
[ "MIT" ]
BellumGens/bellum-gens-api
BellumGens.Api/Migrations/201909112128222_Subscribers.Designer.cs
819
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Reflection; using System.Runtime.InteropServices; // Test assemblies should not use 'ConfigureAwait(false)' [assembly: DoNotUseConfigureAwait] [assembly: Guid("ee64e512-75d4-4415-a2a7-e93e4f49d602")]
29.9
58
0.765886
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/Cache/ContentStore/InterfacesTest/Properties/AssemblyInfo.cs
299
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using NUnit.Framework; using Omnifactotum.NUnit; namespace Omnifactotum.Tests { [TestFixture(TestOf = typeof(ReadOnlyItemCollection<>))] internal sealed class ReadOnlyItemCollectionTests { pri...
46.856164
132
0.65926
[ "MIT" ]
HarinezumiSama/omnifactotum
src/Omnifactotum.Tests/ReadOnlyItemCollectionTests.cs
6,843
C#
using System; using System.Collections.Generic; namespace Digitalisert.Dataplattform { public class ResourceModel { public class Resource { public string Context { get; set ; } public string ResourceId { get; set; } public IEnumerable<string> Type { get; set;...
38.358974
78
0.572861
[ "MIT" ]
askildolsen/dataplattform
etl/ResourceModel.cs
1,496
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 "li...
30.368421
102
0.710572
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/DeleteCustomerGatewayResponse.cs
1,154
C#
//Author Maxim Kuzmin//makc// using System.Collections.Generic; namespace Vlad2020.Host.Base.Parts.Ldap.Config { /// <summary> /// Хост. Основа. Часть "LDAP". Конфигурация. Настройки. /// </summary> public class HostBasePartLdapConfigSettings : IHostBasePartLdapConfigSettings { #region Pr...
24
81
0.610119
[ "MIT" ]
balkar20/Vlad
net-core/Vlad2020.Host.Base/Parts/Ldap/Config/HostBasePartLdapConfigSettings.cs
710
C#
// <auto-generated/> using System.Reflection; [assembly: AssemblyTitleAttribute("Plainion.Wiki.Xaml")] [assembly: AssemblyProductAttribute("Plainion.Notes")] [assembly: AssemblyDescriptionAttribute("Plainion.Notes")] [assembly: AssemblyCopyrightAttribute("Copyright @ 2017")] [assembly: AssemblyVersionAttribute...
45.05
77
0.732519
[ "BSD-3-Clause" ]
plainionist/Plainion.Notes
src/Plainion.Wiki.Xaml/Properties/AssemblyInfo.cs
903
C#
using System.IO; using System.Windows.Forms; using System.Xml.Linq; using Utils.Helpers.Reflection; namespace ResourceTypes.M3.XBin { public class CarTuningModificatorsItem { public int ID { get; set; } public int CarId { get; set; } public int ItemId { get; set; } public int M...
31.434783
135
0.565145
[ "MIT" ]
Greavesy1899/Mafia2Toolk
Mafia2Libs/ResourceTypes/FileTypes/M3/XBin/Types/CarTuningModificators.cs
3,617
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OfficeDevPnP.Core { /// <summary> /// A class that returns strings that represent identifiers (IDs) for built-in content types. /// </summary> public static class BuiltInConten...
29.45
145
0.685908
[ "Apache-2.0" ]
krishnapokhare/PnP
OfficeDevPnP.Core/OfficeDevPnP.Core/BuiltInContentTypeId.cs
591
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using SharpTestsEx; using Xunit; namespace MediatR.Tests.Publishing { public class MoreThanOneHandler { private class ServiceLocator { private readonly Dictionary...
29.131868
117
0.584685
[ "MIT" ]
NicoJuicy/EventSourcing.NetCore
MediatR.Tests/Publishing/MoreThanOneHandler.cs
2,651
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> //---...
41.833333
80
0.655378
[ "MIT" ]
BorislavDimitrov/C-Sharp-Fundamentals
MethodsExcercises/PalindromeIntegers/obj/Debug/netcoreapp3.1/PalindromeIntegers.AssemblyInfo.cs
1,004
C#
 using System; using System.Collections.Generic; using System.Text; using System.Data; using System.ComponentModel; using Aspectize.Core; [assembly:AspectizeDALAssemblyAttribute] namespace LeanKanban { public static partial class SchemaNames { public static partial class Entities { public ...
25.196629
123
0.661538
[ "MIT" ]
Aspectize/Samples
LeanKanban/Schema/LeanKanban.Entities.cs
13,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("Win...
37.72973
84
0.748567
[ "Unlicense" ]
drualcman/Pagination
WindowsForms/Properties/AssemblyInfo.cs
1,399
C#
namespace GossbitBot_Chatroom { partial class StartUpForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
46.785235
159
0.591881
[ "MIT" ]
TomLBarden/Project24
GossbitBot Chatroom/GossbitBot Chatroom/StartUpForm.Designer.cs
6,973
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
31.328358
89
0.600286
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/websites/Microsoft.Azure.Management.WebSites/src/Generated/Models/AzureStorageState.cs
2,099
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...
39.43609
180
0.599619
[ "Apache-2.0" ]
samritchie/aws-sdk-net
AWSSDK_DotNet35/Amazon.IdentityManagement/Model/Internal/MarshallTransformations/ListGroupPoliciesResponseUnmarshaller.cs
5,245
C#
using System; using System.Collections.Generic; using System.Text; using UnoContoso.Enums; using UnoContoso.Models; namespace UnoContoso.EventArgs { public class CustomerEventArgs { public EntityChanges Changes { get; set; } public Customer Customer { get; set; } public Guid Customer...
19.166667
50
0.689855
[ "Apache-2.0" ]
MartinZikmund/Uno.Samples
UI/UnoContoso/UnoContoso.Shared/EventArgs/CustomerEventArgs.cs
347
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace Natasha.Domain.Template { /// <summary> /// 引用模板 /// </summary> internal class UsingRecoder { internal readonly HashSet<string> _usings; internal readonly HashS...
17.423358
67
0.43318
[ "MIT" ]
dotnetcore/Natasha
src/Natasha.Domain/Utils/UsingRecoder.cs
2,441
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Charlotte.Tools; using Charlotte.Common; using Charlotte.Common.Options; using Charlotte.Games.Enemies; using Charlotte.Games.Walls; using DxLibDLL; namespace Charlotte.Games { public class Game : IDisposable { public ISce...
21.336134
120
0.595116
[ "MIT" ]
stackprobe/G4YokoShoot
G4YokoShoot/G4YokoShoot/Games/Game.cs
7,733
C#
using Entia.Unity.Generation; namespace Entia.Resources.Generated { [global::Entia.Unity.Generation.GeneratedAttribute(Type = typeof(global::Entia.Resources.Debug), Link = "", Path = new string[] { "Entia", "Resources", "Debug" })][global::UnityEngine.AddComponentMenu("Entia/Resources/Entia.Resources.Debug")] publi...
35.68
243
0.729821
[ "MIT" ]
Magicolo/Entia.Unity.Sample.Asteroimania
Assets/Generated/Entia/Resources/Debug.cs
892
C#
using Microsoft.Graphics.Canvas; using Microsoft.Graphics.Canvas.Effects; using System; using Windows.Storage.Streams; using Windows.UI.Composition; using Windows.UI.Xaml; using Windows.UI.Xaml.Media; namespace PianoSheetViewer { public class LoadedImageBrush : XamlCompositionBrushBase { private bool ...
41.424107
253
0.622373
[ "MIT" ]
der3318/musicsheet-viewer
PianoSheetViewer/LoadedImageBrush.cs
9,281
C#
//----------------------------------------------------------------------- // <copyright file="Utils.cs" company="Akka.NET Project"> // Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyright> //--------...
37.651163
154
0.547251
[ "Apache-2.0" ]
hueifeng/akka.net
src/core/Akka.Streams.TestKit.Tests/Utils.cs
3,240
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
51.980392
271
0.774425
[ "Apache-2.0" ]
ebattalio/aws-sdk-net
sdk/src/Services/MigrationHubConfig/Properties/AssemblyInfo.cs
2,651
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
32.515152
102
0.550792
[ "MIT" ]
10thmagnitude/fhir-server
src/Microsoft.Health.Fhir.R5.Core.UnitTests/Operations/Versions/VersionSpecificTests.cs
1,075
C#
using EZServiceLocation; using Webjet.Movies.Domain.Contracts.Repository; using Webjet.Movies.Domain.Contracts.Services; using Webjet.Movies.Repository.APIs; using Webjet.Movies.Services; namespace Webjet.Movies.IoC.Map { public class MovieMap : ServiceMap { public override void Load() { ...
29.235294
104
0.708249
[ "MIT" ]
AdGalesso/Webjet
Webjet.Movies.IoC/Map/MovieMap.cs
499
C#
using Microsoft.Extensions.Logging; using RapidCore.DependencyInjection; using RapidCore.Migration; namespace RapidCore.FunctionalTests.Migration.Implementation { public class FuncMigrationContext : IMigrationContext { public ILogger Logger { get; set; } public IRapidContainerAdapter Container...
34.666667
62
0.730769
[ "MIT" ]
rapidcore/rapidcore
src/core/test-functional/Migration/Implementation/FuncMigrationContext.cs
522
C#
using System; namespace KinaUnaXamarin.Models.KinaUna { public class MobileNotification { public int NotificationId { get; set; } public string UserId { get; set; } public string ItemId { get; set; } public int ItemType { get; set; } public string Title { get; set; } ...
26.285714
47
0.57971
[ "MIT" ]
KinaUna/KinaUnaXamarin
KinaUnaXamarin/KinaUnaXamarin/Models/KinaUna/MobileNotification.cs
554
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
67.147541
607
0.669922
[ "MIT" ]
Agazoth/azure-powershell
src/VMware/generated/api/Models/Api20211201/AddonList.json.cs
8,071
C#
/* * Selling Partner API for Fulfillment Inbound * * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network. * * OpenAPI spec version: v0 * * Generated by: https://github.com/swagger-api/swagger-codegen....
22.085714
166
0.630013
[ "MIT" ]
KristopherMackowiak/Amazon-SP-API-CSharp
Source/AmazonSpApiSDK/Models/FulfillmentInbound/UnitOfWeight.cs
773
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Response to the GroupCollaborateBridgeGetInstancePagedSortedListRequest. /// ...
40.818182
129
0.693764
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/GroupCollaborateBridgeGetInstancePagedSortedListResponse.cs
1,796
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.Globalization; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Microsoft....
28.935275
127
0.43843
[ "MIT" ]
06needhamt/roslyn
src/Compilers/CSharp/Test/CommandLine/SarifV2ErrorLoggerTests.cs
8,943
C#
using System; using System.Globalization; using NetTopologySuite.Geometries; namespace NetTopologySuite.Mathematics { /// <summary> /// Represents a vector in 3-dimensional Cartesian space. /// </summary> /// <author>Martin Davis</author> public class Vector3D { /// <summary> /...
37.235294
147
0.535611
[ "EPL-1.0" ]
ArneD/NetTopologySuite
src/NetTopologySuite/Mathematics/Vector3D.cs
15,194
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.ModelConfiguration.Configuration.Properties.Navigation { using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity.ModelConfiguration...
35.565217
133
0.665037
[ "Apache-2.0" ]
TerraVenil/entityframework
src/EntityFramework/ModelConfiguration/Configuration/Properties/Navigation/IndependentConstraintConfiguration.cs
1,636
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
45.838906
1,338
0.616604
[ "MIT" ]
0xced/azure-sdk-for-net
src/SDKs/Batch/DataPlane/Azure.Batch/GeneratedProtocol/Models/CloudJob.cs
15,081
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Request the user's incoming calling plan settings. /// The response is either...
29.534884
128
0.637008
[ "MIT" ]
Rogn/broadworks-connector-net
BroadworksConnector/Ocip/Models/UserIncomingCallingPlanGetRequest.cs
1,270
C#
using System.ComponentModel; namespace DevPython { partial class SaveOpenDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; #region Windows Form Designer generated code /// <summary...
42.418919
171
0.628863
[ "MIT" ]
BloodmageThalnos/DevPython_Csharp
SaveOpenDialog.designer.cs
3,139
C#
using UnityEngine.Experimental.Rendering; namespace UnityEngine.Rendering.Universal.Internal { // Note: this pass can't be done at the same time as post-processing as it needs to be done in // advance in case we're doing on-tile color grading. /// <summary> /// Renders a color grading LUT texture. ...
55.396476
200
0.65002
[ "MIT" ]
Liaoer/ToonShader
Packages/com.unity.render-pipelines.universal@12.1.3/Runtime/Passes/ColorGradingLutPass.cs
12,575
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace addressbook_web_tests { class ContactModificateTest { } }
15.230769
33
0.762626
[ "Apache-2.0" ]
Yuliya-Kirich/csharp_training
addressbook-web-tests/addressbook-web-tests/tests/ContactModificateTest.cs
200
C#
#if TESTING using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Authentication.Twitter; using Microsoft.AspNet.Identity; using MusicStore.Mocks.Common; namespace MusicStore.Mocks.Twitter { /// <summary> /// Summary description for TwitterNotifications /// ...
41.471698
144
0.633758
[ "Apache-2.0" ]
harryi3t/MusicStore
test/E2ETests/compiler/shared/Mocks/Twitter/TwitterNotifications.cs
2,200
C#
// <auto-generated /> namespace BudouCSharpNuget.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed partial cl...
26.666667
87
0.6125
[ "Apache-2.0" ]
NitecoOPS/BudouCSharp
BudouCSharpNuget/Migrations/201908230942016_Init.Designer.cs
800
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.Diagnostics; using System.Net.Sockets; using System.Reflection; using System.Runtime.Inte...
41.345238
158
0.656205
[ "MIT" ]
OceanYan/corefx
src/System.IO.Pipes/src/Microsoft/Win32/SafeHandles/SafePipeHandle.Unix.cs
3,473
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace BMS.Data.Migrations { public partial class ModelsInitialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<string>( name: "Name", ...
44.805599
120
0.482298
[ "MIT" ]
IvayloFilipov/BuildingManagementSystem
BMS.Data/Migrations/20210606120244_Models-InitialCreate.cs
28,812
C#
using System; using System.Collections.Generic; using Xamarin.Forms; namespace GaslandsHQ.Pages2 { public partial class SelectVehiclePage : ContentPage { public SelectVehiclePage() { InitializeComponent(); } } }
16.4375
56
0.646388
[ "MIT" ]
MysterDru/gaslands-hq
GaslandsHQ/Pages2/SelectVehiclePage.xaml.cs
265
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace Trump.ExamAPI.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it wi...
42.752193
261
0.553167
[ "MIT" ]
PowerDG/DgERM
aspnet-core/BedTest/Trump.ExamAPI/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs
19,495
C#
namespace RRHHPlanilla { partial class Prestaciones { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ///...
30.23913
107
0.54637
[ "MIT" ]
fernanger27/Recurso
RRHHPlanilla/RRHHPlanilla/Prestaciones.Designer.cs
1,393
C#
using System; namespace FullTrustProcess { public abstract class STATaskData { public Delegate Executer { get; } protected STATaskData(Delegate Executer) { this.Executer = Executer; } } }
16.466667
48
0.595142
[ "Apache-2.0" ]
zhuxb711/FileManager
FullTrustProcess/STATaskData.cs
249
C#
// %BANNER_BEGIN% // --------------------------------------------------------------------- // %COPYRIGHT_BEGIN% // // Copyright (c) 2018 Magic Leap, Inc. All Rights Reserved. // Use of this file is governed by the Creator Agreement, located // here: https://id.magicleap.com/creator-terms // // %COPYRIGHT_END% // -----...
33.875
181
0.541133
[ "MIT" ]
BXB2/cleARsight
cleARsight/Assets/Bobby'sUploads/RaycastAudio.cs
4,609
C#
using System; using System.Globalization; using System.IO; using Android.Graphics; using Android.Graphics.Drawables; using Cirrious.MvvmCross.Converters; namespace WshLst.MonoForAndroid { public class Base64ToBitmapDrawableConverter : MvxBaseValueConverter { public override object ConvertBack(object value, Type ta...
27.147059
106
0.76273
[ "Apache-2.0" ]
Redth/WshLst
WshLst.MonoForAndroid/NativeConveters.cs
923
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("Sma...
37.567568
84
0.746043
[ "BSD-2-Clause" ]
xoofx/smash
src/Smash.Tests/Properties/AssemblyInfo.cs
1,393
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...
37.300971
187
0.654867
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/WorkMail/Generated/Model/Internal/MarshallTransformations/DescribeEmailMonitoringConfigurationRequestMarshaller.cs
3,842
C#
public interface IActiveRecord { RecordState DirtyState { get; set; } } public static class ActiveRecordExtensions { public static bool Save(this IActiveRecord record) { return true; } }
15.142857
54
0.693396
[ "MIT" ]
dingjimmy/Level
Level/IActiveRecord.cs
212
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
41.125301
222
0.528417
[ "BSD-3-Clause" ]
N3X15/VoxelSim
OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs
34,134
C#
namespace PhotoDealer.Web.Tests { using System; using System.Transactions; using Microsoft.VisualStudio.TestTools.UnitTesting; using PhotoDealer.Data; using PhotoDealer.Data.Models; [TestClass] public class CategoryGroupRepositoryTests { private static TransactionScope tran; ...
30.321739
95
0.614568
[ "MIT" ]
StefanMihaylov/PhotoDealer
Source/Test/PhotoDealer.Web.Tests/CategoryGroupRepositoryTests.cs
3,489
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class LevelButton : MonoBehaviour { public int sceneToLoad; public void LoadLevel() { SceneManager.LoadScene(sceneToLoad); } }
18.266667
44
0.744526
[ "MIT" ]
JoakimKar/Slash-Runner
Assets/Scripts/LevelButton.cs
274
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace GChatAPI.Data { public class Message { public int Id { get; set; } [Required] public string? Text { get; set; } ...
21.392857
47
0.580968
[ "MIT" ]
geuermax/GChat
src/GChat/Data/Models/Message.cs
601
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.269 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
58.255513
355
0.599235
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v6/vb/EIDSS/EIDSS.Reports/Document/Lim/ContainerContent/ContainerContentDataSet.Designer.cs
76,608
C#
using System; using System.ComponentModel; using CoreGraphics; using Xamarin.PropertyEditing.ViewModels; namespace Xamarin.PropertyEditing.Mac { internal class SolidColorBrushEditorViewController : NotifyingViewController<BrushPropertyViewModel> { public SolidColorBrushEditorViewController (IHostResourceProvider...
26.745763
93
0.748416
[ "MIT" ]
netonjm/Xamarin.PropertyEditing
Xamarin.PropertyEditing.Mac/Controls/Custom/SolidColorBrushEditorViewController.cs
1,578
C#
// Copyright (c) 2016 Jon P Smith, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/ // Licensed under MIT licence. See License.txt in the project root for license information. using System; using System.ComponentModel.DataAnnotations; using System.Linq; namespace ServiceLayer.BookServices.QueryObjects ...
45.650794
136
0.517385
[ "MIT" ]
CAH-FlyChen/EfCore.GenericBizRunner
ServiceLayer/BookServices/QueryObjects/BookListDtoFilter.cs
2,878
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; namespace SharpSoundDevice { /* /// This is a plugin Loader that loads each plugin into a separate appDomain. Unfortunately, the overhead of passing between domains is too big, performance...
26.639456
171
0.696885
[ "MIT" ]
ValdemarOrn/SharpSoundDevice
SharpSoundDevice/PluginMarshall.cs
7,834
C#
// Copyright (c) Pixel Crushers. All rights reserved. using UnityEngine; namespace PixelCrushers.DialogueSystem.SequencerCommands { /// <summary> /// Implements sequencer command: Voice(audioClip, animation[, finalAnimation[, gameobject|speaker|listener]]) /// Works with Animation or Animator components....
42.408759
329
0.479174
[ "Unlicense" ]
Gingerbread-Fetus/Don-tSayItHasan
Don't Say it Hasan!/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/MVC/Sequencer/Commands/SequencerCommandVoice.cs
5,810
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
48.752252
146
0.629885
[ "Apache-2.0" ]
Mattlk13/google-cloud-dotnet
apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2.Snippets/ParticipantsClientSnippets.g.cs
43,292
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BooleanAndToCollapsingVisibilityMultiValueConverter.cs" company="WildGums"> // Copyright (c) 2008 - 2017 WildGums. All rights reserved. // </copyright> // ----------------------...
32.755102
120
0.522118
[ "MIT" ]
GreenKn1ght/Orc.Controls
src/Orc.Controls/Converters/BooleanAndToCollapsingVisibilityMultiValueConverter.cs
1,607
C#
using Microsoft.VisualStudio.TestPlatform.Utilities; using NUnit.Framework; using System; using System.Collections.Generic; using System.Drawing.Imaging; using System.Text; namespace ScottPlotTests.Axis { class AutoAxis { [Test] public void Test_AxisAutoY_Repeated() { doubl...
26.52381
82
0.517654
[ "MIT" ]
MosheBarkan/ScottPlot
src/tests/Axis/AutoAxis.cs
1,673
C#
// Copyright (c) rubicon IT GmbH, www.rubicon.eu // // See the NOTICE file distributed with this work for additional information // regarding copyright ownership. rubicon licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may not use this // file except in compliance with the Lic...
37.852459
155
0.687867
[ "ECL-2.0", "Apache-2.0" ]
biohazard999/Relinq
UnitTests.Net_3_5/App_Packages/Remotion.Development.UnitTesting.PrivateInvoke.Sources.1.15.23.0/PrivateInvoke.cs
16,163
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Devices.Shared; using Microsoft.Azure.Devices.Client.Exceptions; using Micros...
44.280612
163
0.603987
[ "MIT" ]
CIPop/azure-iot-sdk-csharp
iothub/device/src/Transport/Amqp/AmqpConnectionHolder.cs
8,681
C#
using System; using System.Collections.Generic; using System.Text; namespace MxNet.GluonTS.Support { class Pandas { } }
12.181818
33
0.701493
[ "Apache-2.0" ]
AnshMittal1811/MxNet.Sharp
src/MxNet.GluonTS/Support/Pandas.cs
136
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.Threading.Tasks; using CleanArchitecture.Razor.Application.Models; namespace CleanArchitecture.Razor.Application.Common.Interfaces { public interface IUploadService...
28
71
0.770408
[ "MIT" ]
urmatgit/RazorPageCleanArchitecture
src/Application/Common/Interfaces/IUploadService.cs
392
C#
using SimpleJsonLogger.Document; using SimpleJsonLogger.Services; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Practices.Unity; using DocumentDbClient.Context; using SimpleJsonLogger.DataContext; namespace SimpleJsonLogger.Util { ...
27.12
88
0.741888
[ "MIT" ]
jlechowicz/SimpleJsonLogger
SimpleJsonLogger/Util/Bootstrap.cs
680
C#
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using ManagedIrbis; using ManagedIrbis.Client; using ManagedIrbis.Infrastructure; using ManagedIrbis.Infrastructure.Transactions; namespace UnitTests.ManagedIrbis.Infrastructure.Transactions { [TestClass] public class IrbisTr...
29.735294
76
0.648863
[ "MIT" ]
amironov73/ManagedClient.45
Source/UnitTests/ManagedIrbis/Infrastructure/Transactions/IrbisTransactionEventArgsTest.cs
1,013
C#