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 Microsoft.EntityFrameworkCore.Migrations; namespace WebApplicationEF.Migrations { public partial class typetable_uint : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Uint", table...
29.44
71
0.498641
[ "MIT" ]
guitarrapc/CSharpPracticesLab
database/mysql/entityframework_mysql/src/WebApplicationEF/Migrations/20190719045406_typetable_uint.cs
1,474
C#
using CodingTrainer.CSharpRunner.CodeHost; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace CodingTrainer.CSharpRunner.Assessment { public class PreProgrammedTextReader : StringReade...
31.982143
123
0.610274
[ "Apache-2.0" ]
ddashwood/CodingTrainer
Assessment/PreProgrammedTextReader.cs
1,793
C#
using Newtonsoft.Json; namespace SlackITSupport.SlackLibrary.JsonParsing.TeamJson.TeamLogsJson { public class JsonTeamLogin { [JsonProperty("user_id")] public string UserId { get; set; } [JsonProperty("username")] public string Username { get; set; } [JsonProperty("date...
32.357143
71
0.587196
[ "Unlicense" ]
CarsonCook/SlackLibrary
SlackLibrary/JsonParsing/TeamJson/TeamLogsJson/JsonTeamLogin.cs
908
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace $projectname$ { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
21.869565
62
0.662028
[ "MIT" ]
Seti-0/microsoft-tools
Source/TemplateProject/App.xaml.cs
505
C#
using System; using System.Threading.Tasks; using IdentityServer4.Models; using IdentityServer4.Validation; using Microsoft.AspNetCore.Identity; using Xunit; namespace LeanCode.ExternalIdentityProviders.Tests { public class ExternalLoginGrantValidatorTests { private readonly UserManager<User> users = U...
30.418182
89
0.603407
[ "Apache-2.0" ]
leancodepl/corelibrary
test/Infrastructure/LeanCode.ExternalIdentityProviders.Tests/ExternalLoginGrantValidatorTests.cs
3,346
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
41.925
99
0.775194
[ "Apache-2.0" ]
DMIAOCHEN/AliyunService
Depends/aliyun-net-sdk-alidns/Alidns/Transform/V20150109/RetrievalDomainNameResponseUnmarshaller.cs
1,677
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 Microsoft.Azure.Management.HealthcareApis.Models { using Microsoft.Rest; using Newtonsoft.Json; using System...
31.695652
106
0.595336
[ "MIT" ]
AzureMentor/azure-sdk-for-net
sdk/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated/Models/ServiceCosmosDbConfigurationInfo.cs
2,187
C#
#region License /* Distributed under the terms of a MIT-style license: The MIT License Copyright (c) 2010 Marius Klimantavičius 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...
33.054795
98
0.690012
[ "MIT" ]
marius-klimantavicius/marius-html
Marius.Html/Css/Selectors/CssInlineElementSelector.cs
2,416
C#
using System.Collections.Generic; namespace DevAdventCalendarCompetition.Vms { public class TestResultsVm { public List<SingleTestResultsVm> SingleTestResults { get; set; } public List<TotalTestResultEntryVm> TotalTestResults { get; set; } } }
24.909091
74
0.726277
[ "MIT" ]
Loji/DevAdventCalendar
src/DevAdventCalendarCompetition/DevAdventCalendarCompetition/Vms/TestResultsVm.cs
276
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("11...
38.459459
84
0.748419
[ "MIT" ]
yvelikov/Programming-Fundamentals
Data Types and Variables - Exercises Extended/Data Types and Variables - Exercises/11.PracticeCharAndStrings/Properties/AssemblyInfo.cs
1,426
C#
namespace WinForms.Reactive.Client.Views { partial class ItemsDDView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
41.627586
157
0.581842
[ "MIT" ]
rallets/ReactiveUI.Samples
winforms/demo2/WinForms.Reactive.Client/Views/ItemsDDView.Designer.cs
6,038
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.Diagnostics; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Microsoft.EntityFrameworkCore.M...
61.685484
140
0.675579
[ "Apache-2.0" ]
GiorgioG/efcore
src/EFCore/Metadata/Internal/InternalAnnotatableBuilder.cs
15,298
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.Azure.Cosmos; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Solutions.CosmosDB.SQL.ChangeFeed { public class Ch...
48.571429
127
0.584874
[ "MIT" ]
microsoft/CosmosDB-Solution-Accelerator-CosmosDB-Helper
src/Libraries/Microsoft.Solutions.CosmosDB.SQL.ChangeFeed/ChangeFeedProcessorHelper.cs
2,382
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; public abstract class Property { protected string name; public Animator ani; public GameObject playerUnit;//獲取玩家單位 public NavMeshAgent agent; public Transform trans;//初始位置 public Vector3 ini...
29.956522
85
0.708999
[ "MIT" ]
karta571110/MonsterAi
Turtle/Assets/Turtle/Scripts/Property.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. // See the LICENSE file in the project root for more information. /*============================================================================= ** ** ** ** Purpose: To handle featu...
29.25
119
0.584305
[ "MIT" ]
alfredr/corefx
src/Common/src/CoreLib/System/PlatformNotSupportedException.cs
1,287
C#
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Neo.Common.Storage.SQLiteModules { [Table("AssetBalance")] public class AssetBalanceEntity { [Key] public long Id { get; set; } public long AddressId { get; set; } pu...
24.086957
51
0.635379
[ "MIT" ]
neo-ngd/Neo3-GUI
neo3-gui/neo3-gui/Common/Storage/SQLiteModules/AssetBalanceEntity.cs
556
C#
#region LICENSE // The contents of this file are subject to the Common Public Attribution // License Version 1.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://github.com/NiclasOlofsson/MiNET/blob/master/LICENSE. // The License ...
29.327869
132
0.713807
[ "MPL-2.0" ]
TruDan/MiNET
src/MiNET/MiNET/Blocks/GlazedTerracotta.cs
1,789
C#
#region Copyright /*Copyright (C) 2015 Wosad Inc 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 ...
37.026087
163
0.657116
[ "Apache-2.0" ]
Wosad/Wosad.Design
Wosad.Steel/AISC/AISC360v10/E_Compression/CompressionMemberFactory.cs
4,260
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...
43.381443
178
0.654468
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/RDS/Generated/Model/InvalidVPCNetworkStateException.cs
4,208
C#
using TicTacToe.Orleans; await Host.CreateDefaultBuilder(args) .UseOrleans((ctx, siloBuilder) => { // In order to support multiple hosts forming a cluster, they must listen on different ports. // Use the --InstanceId X option to launch subsequent hosts. var instanceId = ctx.Configuratio...
42.304348
101
0.653649
[ "Apache-2.0" ]
AhmedKhalil777/Orleans.Learning
src/TicTacToe.Orleans/TicTacToe.Orleans/Program.cs
973
C#
// Copyright © 2017 Chromely Projects. All rights reserved. // Use of this source code is governed by MIT license that can be found in the LICENSE file. namespace Chromely.Core.Host { public class WindowCustomStyle { public WindowCustomStyle(int styles, int exStyles) { WindowStyles...
26.130435
92
0.599002
[ "MIT", "BSD-3-Clause" ]
PowerOlive/Chromely
src_5.2/Chromely.Core/Host/WindowCustomStyle.cs
604
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EyeBlink : MonoBehaviour { public RectTransform upperBox; public RectTransform lowerBox; public float speed = 0.70f; public int blinkTimes = 3; public float closeTime = 1.0f; public bool endClosing = fa...
26.934066
97
0.593227
[ "MIT" ]
Helen1012/Capstone_Design
Assets/Works/Arim/02. Scripts/EyeBlink.cs
2,453
C#
// Adapted From Ryan Hipples https://github.com/roboryantron/Unite2017 Repository #if UNITY_EDITOR using UnityEngine; using UnityEditor; namespace JellyFish.Data.Primitive.Editor { // [CustomPropertyDrawer(typeof(StrField))] public class StringFieldDrawer : PropertyDrawer { /// <summary> ...
38.292308
110
0.619124
[ "MIT" ]
Uncle-Uee/jellyfish-lite
Assets/JellyFish-Lite/Scripts/Runtime/Data/Primitives/Fields/Editor/StringFieldDrawer.cs
2,491
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...
35.136364
153
0.660091
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/Schemas/Generated/Model/Internal/MarshallTransformations/ListTagsForResourceRequestMarshaller.cs
3,092
C#
using System; using System.IO; using System.Text; /* Originally written in 'C', this code has been converted to the C# language. * The author's copyright message is reproduced below. * All modifications from the original to C# are placed in the public domain. */ /* jsmin.c 2007-05-22 Copyright (c)...
39.476839
152
0.29093
[ "MIT" ]
51Degrees/Dnn.Platform
DNN Platform/Components/ClientDependency/Source/CompositeFiles/JSMin.cs
14,490
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> //--------------------------------------------...
28.459016
94
0.576037
[ "Apache-2.0" ]
StanRuaW/AshFramework
client/Editor/AshFramework/Assets/Config/output_code/ai/MoveToTarget.cs
1,736
C#
using System; using System.Collections.Generic; using System.Text; namespace FlexibleTypes.Enumerator { /// <summary> /// A custom enumerator that allows you to use any type for the Enumeration /// </summary> /// <typeparam name="T">The type that should be used for the Enumeration</typeparam>...
33.180328
113
0.522727
[ "MIT" ]
MillzyDev/FlexibleTypes
FlexibleTypes/Enumerator/FEnum.cs
2,026
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. /****************************************************************************** * This file is auto-generated from ...
35.631347
187
0.567127
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/AdvSimd/Extract.Vector128.Int64.1.cs
16,141
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Newtonsoft.Json; namespace EF7TEST.Models { public class Customer { // Primary Key public int Id { get; s...
26.807692
63
0.655667
[ "MIT" ]
boming0529/EF7Test
Models/Customer.cs
699
C#
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; [assembly: XamlCompilation(XamlCompilationOptions.Compile)] namespace PolohovaciPrvky { public partial class App : Application { public App() { InitializeComponent(); MainPage = new MainPage(); } ...
19.515152
59
0.557453
[ "MIT" ]
PetrVobornik/prednasky
Xamarin.Forms/03-Layout/PolohovaciPrvky/PolohovaciPrvky/PolohovaciPrvky/App.xaml.cs
646
C#
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * 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 applica...
27.103093
79
0.528338
[ "Apache-2.0" ]
AndersAbel/IdentityServer3
source/Core/Models/RefreshToken.cs
2,631
C#
#pragma warning disable CS1591 using Newtonsoft.Json; namespace Discord.API.Rest { [JsonObject(MemberSerialization = MemberSerialization.OptIn)] internal class GuildPruneParams { [JsonProperty("days")] public int Days { get; } [JsonProperty("include_roles")] public ulong[] ...
24.238095
65
0.626719
[ "MIT" ]
KrAyXMaximum/DNetPlus
DNetPlus/Rest/API/Rest/GuildPruneParams.cs
511
C#
using System; /* Copyright (c) Bendyline LLC. All rights reserved. Licensed under the Apache License, Version 2.0. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. */ using System.IO; namespace Bendyline.FlightSimulator.Data { public class RectangularVegetationArea : Record...
21.876106
100
0.476133
[ "Apache-2.0" ]
bendyline/FlightSimData
Data/RectangularVegetationArea.cs
2,474
C#
using System.Collections.Generic; using IOF.Models; namespace IOF { public interface IAccountRepository { Account Single(int clientId, int? accountId); /// <summary> /// Get accounts the user has added to the IOF system. /// </summary> IEnumerable<Account> GetActiveAcc...
27.90625
111
0.631579
[ "MIT" ]
lurienanofab/iof
IOF/IAccountRepository.cs
895
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...
46.717391
104
0.695207
[ "MIT" ]
SimonWahlin/azure-powershell
src/RecoveryServices/RecoveryServices.Backup.Helpers/Properties/AssemblyInfo.cs
2,104
C#
namespace SIM.Adapters.WebServer { using System; using System.Linq; using Microsoft.Web.Administration; using Sitecore.Diagnostics.Base; using JetBrains.Annotations; using Sitecore.Diagnostics.Logging; using SIM.Extensions; #region #endregion public static class WebServerManager { #region ...
26.895062
151
0.620611
[ "MIT" ]
AlenPelin/SimEx
src/SIM.Adapters/WebServer/WebServerManager.cs
4,359
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #nullable disable using System; using Microsoft.AspNetCore.Mvc.Razor; namespace Microsoft.AspNetCore.Mvc.RazorPages; public abstract class Page : RazorPageBase { public PageC...
25.647059
109
0.743119
[ "MIT" ]
dotnet/razor-compiler
src/test/Microsoft.AspNetCore.Razor.Test.MvcShim.Version2_X/Microsoft.AspNetCore.Mvc.RazorPages/Page.cs
874
C#
using System; using System.Threading; using System.Threading.Tasks; using System.Reflection; using System.Linq; using System.Collections.Generic; using System.Diagnostics; using SampleControl.Entities; using Uno.UI.Samples.Controls; using Uno.UI.Samples.Entities; using System.Runtime.InteropServices.WindowsRuntime; us...
43.202899
138
0.800067
[ "Apache-2.0" ]
AzureMentor/uno
src/SamplesApp/SamplesApp.UnitTests.Shared/Controls/UITests/Presentation/SampleChooserViewMode.Commands.cs
2,983
C#
using FluentAssertions; using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities; using OmniSharp.Extensions.LanguageServer.Protocol.Models; using OmniSharp.Extensions.LanguageServer.Protocol.Serialization; using Xunit; namespace Lsp.Tests.Models { public class DocumentOnTypeFormattingRegistrationOpt...
33.818182
135
0.632616
[ "MIT" ]
kamit9171/csharp-language-server-protocol
test/Lsp.Tests/Models/DocumentOnTypeFormattingRegistrationOptionsTests.cs
1,116
C#
namespace Foundation.Build.VersionControl.Vault { public class VaultResult { /// <summary> /// Gets or sets a value indicating whether the vault request was a success. /// </summary> /// <value> /// <c>true</c> if the vault request was successful; otherwise, <c...
30.466667
88
0.551422
[ "Apache-2.0" ]
DavidMoore/Foundation
Code/Foundation/Build/VersionControl/Vault/VaultResult.cs
459
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.ComponentModel; using Pulumi; namespace Pulumi.AzureNative.Authorization { /// <summary> /// The recurrence type : weekly, month...
46.38
283
0.690877
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Authorization/Enums.cs
16,233
C#
namespace Lykke.Service.GoogleAnalyticsWrapper.Core.Domain.GaTraffic { public interface IGaTraffic { string ClientId { get; } string Source { get; } string Medium { get; } string Campaign { get; } string Keyword { get; } string Content { get; } } }
23.846154
69
0.590323
[ "MIT" ]
JTOne123/Lykke.Service.GoogleAnalyticsWrapper
src/Lykke.Service.GoogleAnalyticsWrapper.Core/Domain/GaTraffic/IGaTraffic.cs
312
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SummerBoot.Feign { [AttributeUsage(AttributeTargets.Method,Inherited = true,AllowMultiple = false)] public abstract class HttpMappingAttribute:Attribute { public string Value { get; } ...
22.210526
84
0.684834
[ "MIT" ]
TripleView/SummerBoot
SummerBoot/Feign/HttpMappingAttribute.cs
424
C#
#region License /* Copyright (c) 2006 Leslie Sanford * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, ...
37.022222
115
0.546819
[ "Apache-2.0" ]
OmerMor/StateMachineToolkit
src/StateMachineToolkit/SubstateCollection.cs
6,664
C#
//----------------------------------------------------------------------- // <copyright file="MatchBuilderSignatureTests.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // <...
39.954545
107
0.605396
[ "Apache-2.0" ]
Flubik/akka.net
src/core/Akka.Tests/MatchHandler/MatchBuilderSignatureTests.cs
6,155
C#
using System; using System.Collections.Generic; namespace Application.Common.Interfaces { public interface ICallContext { Guid CorrelationId { get; set; } string FunctionName { get; set; } string AuthenticationType { get; set; } IDictionary<string, string> AdditionalProperti...
26.740741
65
0.641274
[ "MIT" ]
mecvillarina/Vider
src/backend/Application/Common/Interfaces/ICallContext.cs
722
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Response { /// <summary> /// KoubeiContentContentstatusModifyResponse. /// </summary> public class KoubeiContentContentstatusModifyResponse : AopResponse { /// <summary> ///...
24.346154
72
0.562401
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Response/KoubeiContentContentstatusModifyResponse.cs
671
C#
using System; using System.Collections.Generic; using System.Text; namespace MilitaryElite.IO.Contracts { public interface IReader { string ReadLine(); } }
14.833333
36
0.696629
[ "MIT" ]
StelaKaneva/Csharp-OOP
InterfacesAndAbstraction/Exercise/MilitaryElite/MilitaryElite/MilitaryElite/IO/Contracts/IReader.cs
180
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using P01_StudentSystem.Data.Models; using System; using System.Collections.Generic; using System.Text; namespace P01_StudentSystem.Data.Configurations { public class HomeworkConfiguration : IEntityTypeConfiguration<Homewo...
29.263158
75
0.597122
[ "MIT" ]
DeyanDanailov/EntityFrameworkCore
EntityRelations/P01_StudentSystem/Data/Configurations/HomeworkConfiguration.cs
1,114
C#
/* * Copyright (c) 2008, DIaLOGIKa * 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, this list o...
35.193182
81
0.637068
[ "BSD-3-Clause" ]
datadiode/B2XTranslator
src/Common/StructuredStorage/Writer/AbstractFat.cs
3,097
C#
namespace SFA.DAS.ForecastingTool.Core.Models { public class Apprenticeship { public string Code { get; set; } public string Name { get; set; } public int Price { get; set; } public int Duration { get; set; } } }
25.6
45
0.59375
[ "MIT" ]
SkillsFundingAgency/das-estimate-apprenticeship-funding
src/SFA.DAS.ForecastingTool.Core/Models/Standard.cs
256
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
33.411911
157
0.534571
[ "BSD-3-Clause" ]
Carko/Krypton-Toolkit-Suite-NET-Core
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Palette Base/PaletteDragDrop/PaletteDragDrop.cs
13,468
C#
using ClientCore; using ClientGUI; using Microsoft.Xna.Framework; using Rampastring.XNAUI; using Rampastring.XNAUI.XNAControls; using System; using System.IO; using Updater; namespace DTAConfig.OptionPanels { class UpdaterOptionsPanel : XNAOptionsPanel { public UpdaterOptionsPanel(WindowMa...
41.28
114
0.615449
[ "MIT" ]
Metadorius/xna-cncnet-client
DTAConfig/OptionPanels/UpdaterOptionsPanel.cs
7,050
C#
namespace EnvironmentAssessment.Common.VimApi { public class ClusterDrsFaultsFaultsByVm_LinkedView { protected VirtualMachine _vm; public VirtualMachine Vm { get { return this._vm; } set { this._vm = value; } } } }
13.263158
51
0.670635
[ "MIT" ]
octansIt/environmentassessment
EnvironmentAssessment.Wizard/Common/VimApi/C/ClusterDrsFaultsFaultsByVm_LinkedView.cs
252
C#
// Copyright 2012-2013 Chris Patterson // // 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...
31.475
122
0.651311
[ "Apache-2.0" ]
phatboyg/Taskell
src/Taskell/TaskComposerException.cs
1,261
C#
using Locust.Caching; using Locust.ServiceModel; using Locust.ServiceModel.Babbage; using Locust.Modules.Setting.Model; using AppSettingCategory = Locust.Modules.Setting.Model.AppSettingCategory.Full; namespace Locust.Modules.Setting.Strategies { public abstract partial class AppSettingCategoryGetByCodeStrategyBase :...
38.933333
263
0.85274
[ "MIT" ]
mansoor-omrani/Locust.NET
Modules/Locust.Modules.Setting/Service/AppSettingCategory/GetByCode/StrategyBase.Customized.cs
584
C#
namespace ODMIdentity.STS.Identity.Configuration { public class CertificateConfiguration { public bool UseTemporarySigningKeyForDevelopment { get; set; } public bool UseSigningCertificateThumbprint { get; set; } public string SigningCertificateThumbprint { get; set; } public ...
31.428571
76
0.7
[ "MIT" ]
omikolaj/IdentityServer4-Admin
ODMIdentity/src/ODMIdentity.STS.Identity/Configuration/CertificateConfiguration.cs
882
C#
namespace MyFitnessApp.Web.ViewModels.Foods { using System.ComponentModel.DataAnnotations; using MyFitnessApp.Data.Models; using static MyFitnessApp.Common.DataConstants; public class AddFoodInputModel { public string Name { get; set; } // Dropdown Menu [Display(Name = "...
29.478261
135
0.674041
[ "MIT" ]
GeorgiGradev/MyFitnessApp
MyFitnessApp/Web/MyFitnessApp.Web.ViewModels/Foods/AddFoodInputModel.cs
680
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("06...
38.513514
84
0.748772
[ "MIT" ]
VelislavLeonov/Telerik-Akademy
HomeworkConditionalStatements/06.TheBiggestOfFiveNumbers/Properties/AssemblyInfo.cs
1,428
C#
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace ExpandedContent.Utilities { static class DescriptionTools { private static readonly EncyclopediaEntry[] EncyclopediaEntries = new EncyclopediaEntry[] { new EncyclopediaEntry { E...
33.420168
135
0.40466
[ "MIT" ]
ka-dyn/ExpandedContent
ExpandedContent/Utilities/DescriptionTools.cs
11,933
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Practica2Creev { public partial class Form1 : Form { Form2 N = new Form2(); ...
25.605932
75
0.395002
[ "MIT" ]
JonatanYah/TAP-4A-ISC
Practicas/C#/Practica2Creev/Form1.cs
6,045
C#
using System; namespace WorldSim { class Program { static void Main(string[] args) { Renderer renderer = new Renderer(2000, 2000); Country newCountry = new Country(); newCountry.GenerateTowns(); renderer.RenderCountry(newCountry); r...
18.631579
57
0.542373
[ "MIT" ]
jccit/WorldSim
WorldSim/Program.cs
356
C#
using System; using System.Collections.Generic; using System.Text; namespace StrategyPattern { public class Person { public Person(string name, int age) { this.Name = name; this.Age = age; } public string Name { get; } public int Age { get; } ...
17.48
45
0.524027
[ "MIT" ]
steelpr/CSharp-Fundamentals
C# OOP Advanced - March 2018/IteratorsAndComparators/StrategyPattern/Person.cs
439
C#
using System; using Xunit; using Statistics; using System.Collections.Generic; using System.Linq; namespace Statistics.Test { public class StatsUnitTest { [Fact] public void ReportsAverageMinMax() { var statsComputer = new StatsComputer(); var computedStats = sta...
35.888889
104
0.613777
[ "MIT" ]
Engin-Boot/statisticker-cs-patreshubham94
Statistics.Test/StatsUnitTest.cs
1,292
C#
#region using System; #endregion namespace Vermeil.Core.Logging { internal class LogItem { public LogItem(string message, LogType logType, string exception = null) { Message = message; LogType = logType; Exception = exception; } ...
24.78125
126
0.504414
[ "MIT", "Unlicense" ]
dotcypress/Vermeil
Vermeil.Core/Logging/LogItem.cs
795
C#
//********************************* bs::framework - Copyright 2018-2019 Marko Pintera ************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// using System; using System.Runtime.CompilerServices; using System.Runt...
41.949868
124
0.772313
[ "MIT" ]
BugBiteSquared/bsf
Source/Scripting/bsfSharp/Generated/RenderSettings.generated.cs
15,899
C#
using System; namespace Visitor { class Program { static void Main(string[] args) { Sample.ObjectStructure structure = new Sample.ObjectStructure(); var tv1 = new Sample.Television(); tv1.Size = 100; tv1.State = 100; var tv2 = new ...
22.702128
76
0.533271
[ "Apache-2.0" ]
Yang-Onion/DesignPatternDemos
DesignPatterns/Visitor/Program.cs
1,069
C#
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. */ using log4net; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using RecurringIntegrationsScheduler.Common.JobSettings; using RecurringIntegrationsScheduler.Common.Properties; using RecurringIntegrationsScheduler.Com...
37.083805
181
0.632494
[ "MIT" ]
Bhaskers-Blu-Org2/Recurring-Integrations-Scheduler
Common/Helpers/HttpClientHelper.cs
32,797
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MaybeThrowsTests.cs" company="Daniel Franklin"> // Copyright © 2017 Daniel Franklin. // </copyright> // <license> // Permission is hereby granted, free of charge, to any perso...
33.57265
153
0.598269
[ "MIT" ]
JTOne123/Franklin.Maybe
Franklin.Maybe.Tests/MaybeThrowsTests.cs
7,859
C#
//----------------------------------------------------------------------- // <copyright file="SQArray.cs" company="None"> // Copyright (c) IIHOSHI Yoshinori. // Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information. // </copyright> //----------------------------...
31.8
114
0.525712
[ "BSD-2-Clause" ]
y-iihoshi/REIMU_Plugins_V2
Common/Squirrel/SQArray.cs
2,705
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.823729
152
0.609806
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Security/IotSecuritySolution.cs
11,748
C#
using EventBus.Messages.Common; using MassTransit; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.OpenApi.Models; using Ordering.API.EventBusConsumer; u...
32.078947
106
0.59557
[ "MIT" ]
Ussef96/AspnetMicroservices
src/Services/Ordering/Ordering.API/Startup.cs
2,440
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; namespace EzClean { p...
33.694836
133
0.538387
[ "MIT" ]
Marc-Ferrer-Castillo/EzClean
EzClean/EzClean.cs
7,179
C#
#pragma checksum "C:\Users\lord\source\repos\HostelOsis\HostelOsis\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "02934233ff56c353e34e8a11f2ee62950b0cab0f" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNet...
66.858921
391
0.62493
[ "MIT" ]
koninlord/HostelOsis
HostelOsis/obj/Debug/netcoreapp2.2/Razor/Views/Home/Index.cshtml.g.cs
32,226
C#
namespace RazzleServer.Common.Constants { public enum WorldName : byte { Tespia } }
13.125
40
0.619048
[ "MIT" ]
Bia10/RazzleServer
RazzleServer.Common/Constants/WorldName.cs
107
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.Runtime.InteropServices; using size_t = System.UInt64; using curl_socket_t = System.Int32; using curl_off_t = System.Int64; internal static...
45.37766
124
0.637792
[ "MIT" ]
shana/corefx
src/Common/src/Interop/Unix/libcurl/Interop.libcurl_types.cs
8,531
C#
using System; using System.Collections.Generic; using System.Data; using System.Text; using DayPilot.Web.Ui; using DayPilot.Web.Ui.Data; using DayPilot.Web.Ui.Events; using DayPilot.Web.Ui.Events.Scheduler; using Util.Task; using Util.Ui; public partial class Project_Default : ProjectPage { private Pl...
29.954545
135
0.537785
[ "Apache-2.0" ]
atlasoutdoor/project-management
TutorialCS/Project/Default.aspx.cs
6,590
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; namespace MixedRealityExtension.Messaging.Commands { internal interface ICommandManager { void ExecuteCommandPayload(ICommandHandlerContext handlerContext, ICommandPayload commandPayload, Action onComplete...
28
127
0.824405
[ "MIT" ]
Djmondoent/mixed-reality-extension-unity
MREUnityRuntimeLib/Messaging/Commands/ICommandManager.cs
336
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using Azure.Core; using Azure.Messaging.EventHubs.Core; namespace Azure.Messaging.EventHubs { /// <summary> /// The set of options that can be specified to influence how /// retry attempts ...
33.057143
129
0.556612
[ "MIT" ]
Azkel/azure-sdk-for-net
sdk/eventhub/Azure.Messaging.EventHubs/src/EventHubsRetryOptions.cs
4,630
C#
// ---------------------------------------------------------------------------- // <copyright file="LoadBalancingPeer.cs" company="Exit Games GmbH"> // Loadbalancing Framework for Photon - Copyright (C) 2018 Exit Games GmbH // </copyright> // <summary> // Provides operations to use the LoadBalancing and Cloud ...
51.557104
229
0.622162
[ "MIT" ]
MohammedGh92/Photon2SampleProject
Assets/Photon/PhotonRealtime/Code/LoadbalancingPeer.cs
114,665
C#
// HtmlAgilityPack V1.0 - Simon Mourier <simon underscore mourier at hotmail dot com> using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Xml; namespace HtmlAgilityPack { /// <summary> /// Represents a complete HTML document. /// </s...
25.189844
139
0.627274
[ "Apache-2.0" ]
noliar/HtmlAgilityPack.NetCore
src/DevZH.HtmlAgilityPack/HtmlDocument.cs
43,654
C#
namespace EF6TempTableKit.Test.Web.Entities { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("Purchasing.PurchaseOrderHeader")] public partial class Pur...
30.466667
128
0.65372
[ "MIT" ]
zblago/EF6TempTableKit
tests/EF6TempTableKit.Test.Web/Entities/PurchaseOrderHeader.cs
1,828
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Aspose" file="SearchResponse.cs"> // Copyright (c) 2021 Aspose.Words for Cloud // </copyright> // <summary> // Permission is hereby granted, free of charge, to any pers...
44.090909
120
0.598625
[ "MIT" ]
aspose-words-cloud/aspose-words-cloud-dotne
Aspose.Words.Cloud.Sdk/Model/SearchResponse.cs
2,845
C#
using CourseLibrary.API.DbContexts; using CourseLibrary.API.Entities; using CourseLibrary.API.ResourseParameter; using System; using System.Collections.Generic; using System.Linq; namespace CourseLibrary.API.Services { public class CourseLibraryRepository : ICourseLibraryRepository, IDisposable { priv...
29.685864
105
0.543563
[ "MIT" ]
ancill/DotNet_CookBook
SImpleApi/SImpleApi/Services/CourseLibraryRepository.cs
5,672
C#
// ========================================================================= // Copyright 2020 EPAM Systems, Inc. // // 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....
36.428571
109
0.604482
[ "Apache-2.0" ]
epam/COVID-Resistance-Mobile
src/Covi/Features/Recommendations/RecommendationsViewModel.cs
3,572
C#
using BlazingCRM.Docker.Data; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace BlazingCRM.Docker { public class Startup { public Startup(IConfig...
29.132075
143
0.59715
[ "MIT" ]
EtabetaWeb/BlazingCRM.Docker
AppCode/BlazingCRM.Docker/Startup.cs
1,544
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SQLite; namespace SeuCanto { class Reserva_QuartoDAO { public void Create(Reserva_Quarto r) { // Instância de Database para gerenciar a conexão com ...
41.440758
184
0.554209
[ "MIT" ]
Nany07/SeuCanto
SeuCanto/DAO/Reserva_QuartoDAO.cs
8,767
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace TargetApp { public partial class MainForm : Form { public MainForm() { InitializeComponent(); } ...
19.666667
68
0.587571
[ "Apache-2.0" ]
Codeer-Software/Friendly.C1.Win
Project/TargetApp/MainForm.cs
533
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace DevProjWebApp.Models { public class GoalViewModel { [Required] public string Name { get; set; } [Required] public string Description { get; set; } ...
20.714286
48
0.583908
[ "MIT" ]
Ara225/DevProj
DevProjWebApp/Models/GoalViewModel.cs
437
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.9 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //-----...
34.439024
137
0.597734
[ "Apache-2.0" ]
EwoutH/TizenFX
src/Tizen.NUI/src/internal/SWIGTYPE_p_Dali__CallbackBase.cs
1,412
C#
// Copyright 2009-2014 Matvei Stefarov <me@matvei.org> using System; using JetBrains.Annotations; namespace fCraft { /// <summary> Provides TryParse method, for parsing enumerations. </summary> public static class EnumUtil { /// <summary> Tries to parse a given value as an enumeration. /// Even...
54.243902
145
0.575315
[ "MIT", "Unlicense" ]
fragmer/fCraft
fCraft/Utils/EnumUtil.cs
4,448
C#
using System; using UnityEngine.Rendering; namespace UnityEngine.Experimental.Rendering.HDPipeline { [Serializable, VolumeComponentMenu("Post-processing/White Balance")] public sealed class WhiteBalance : VolumeComponent, IPostProcessComponent { [Tooltip("Sets the white balance to a custom color te...
35.590909
93
0.694764
[ "Apache-2.0", "BSD-3-Clause" ]
0x8BADFOOD/simulator
Packages/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Components/WhiteBalance.cs
783
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> //--...
34.354839
151
0.581221
[ "MIT" ]
rarcz29/ProgramABB
src/Properties/Settings.Designer.cs
1,067
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CSC.Common.Infrastructure.Utilities; using CSC.CSClassroom.Model.Classrooms; using CSC.CSClassroom.Model.Users; using CSC.CSClassroom.Repository; using Microsoft.EntityFrameworkCore; using MoreLinq; namespace CSC.CS...
25.397727
86
0.709396
[ "MIT" ]
CSClassroom/CSClassroom
Services/src/CSClassroom/CSClassroom.Service/Classrooms/SectionService.cs
4,472
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. // // This...
34.514493
161
0.629645
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/batch/Microsoft.Azure.Batch/src/Generated/TaskInformation.cs
4,763
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-generate...
35.677419
152
0.56962
[ "Apache-2.0" ]
omron-devhub/b5l_TOFsensor_distance_forCsharp
Properties/Settings.Designer.cs
1,108
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VariableNaming { class Program { static void Main(string[] args) { int num1 = 10; int num2 = 15; int resultAdd; int resu...
31.864865
95
0.517388
[ "MIT" ]
ac132998/Chapter-2
VariableNaming/VariableNaming/Program.cs
1,181
C#
using System; using System.Threading.Tasks; using Feature.Manager.Api.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.Extensions.Logging; namespace Feature.Manager.Api.StartupExtensions { public static cla...
30.680851
106
0.533981
[ "MIT" ]
fossapps/Feature.Manager
Feature.Manager.Api/StartupExtensions/Database.cs
1,442
C#
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, //...
36.649485
170
0.63488
[ "MIT" ]
redarrowlabs/pubnub-c-sharp
monotouch/Newtonsoft.Json/Converters/StringEnumConverter.cs
7,110
C#
using Android.Runtime; namespace WoWonder.Helpers.Model { public static class Stickers { ///Get your stickers from here >>> https://chatsticker.com/ ///Get your stickers from here >>> https://store.line.me/ //############################# Stickers ############################# ...
72.165613
135
0.690994
[ "MIT" ]
arifahmedjoy/cornertable-android
WoWonder/Helpers/Model/Stickers.cs
57,083
C#