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.Globalization; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Kudu.Contracts.Settings; using Kudu.Contracts.SiteExtensions; using Kudu.TestHarness; using Kudu.TestHarness.Xunit; using Xunit; namespace Kudu.FunctionalTests.SiteExtensions { [KuduXunitTestClass] public ...
58.204762
174
0.65614
[ "Apache-2.0" ]
Watemlifts/kudu
Kudu.FunctionalTests/SiteExtensions/SiteExtensionsIncrementalDeploymentTests.cs
12,225
C#
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System; using System.Collections.Generic; ...
42.918699
116
0.602008
[ "Apache-2.0" ]
stephenfuqua/Ed-Fi-ODS
Utilities/DataLoading/EdFi.LoadTools.Test/XmlLookupToResourceProcessorTests.cs
5,281
C#
using J2N.Numerics; using J2N.Runtime.CompilerServices; using Lucene.Net.Diagnostics; using Lucene.Net.Support; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Reflection; using System.Runtime.CompilerServices; using JCG = J2N.Collections.G...
39.681996
255
0.515202
[ "Apache-2.0" ]
azhoshkin/lucenenet
src/Lucene.Net/Util/RamUsageEstimator.cs
40,555
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // </copyright> // <summary> // Assembly properties. // </summary> // ---------...
40.488889
120
0.627881
[ "MIT" ]
Bhaskers-Blu-Org2/ManagedEsent
EsentCollectionsTests/Properties/AssemblyInfo.cs
1,822
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using ElmSharp; using ElmSharp.Wearable; using EColor = ElmSharp.Color; using ELayout = ElmSharp.Layout; namespace Microsoft.Maui.Controls.Compatibility.Platform.Tizen.Watch { public ...
22.551532
126
0.670331
[ "MIT" ]
3DSX/maui
src/Compatibility/Core/src/Tizen/Shell/Watch/NavigationView.cs
8,096
C#
/* Copyright 2010-present MongoDB 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 agreed to in wri...
41.194745
226
0.60935
[ "Apache-2.0" ]
Bouke/mongo-csharp-driver
src/MongoDB.Driver.Legacy/Builders/IndexKeysBuilder.cs
26,653
C#
// <auto-generated/> #nullable enable namespace Omnius.Xeus.Engines.Storages.Internal.Models { internal sealed partial class MerkleTreeSection : global::Omnius.Core.RocketPack.IRocketPackObject<global::Omnius.Xeus.Engines.Storages.Internal.Models.MerkleTreeSection> { public static global::Omnius.Core.R...
50.461078
298
0.567343
[ "MIT" ]
KeitoTobi1/xeus
src/Omnius.Xeus.Engines.Implementations/Storages/Internal/Models/_RocketPack/_Generated.cs
8,427
C#
// Decompiled with JetBrains decompiler // Type: Functal.FnFunction_Cast_ToInt64_FromSByte // Assembly: Functal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 47DC2DAE-D56F-4FC5-A0C3-CC69F2DF9A1F // Assembly location: \\WSE\Folder Redirection\JP\Downloads\Functal-1_0_0\Functal.dll namespace Functal {...
25.964286
85
0.713893
[ "MIT" ]
jpdillingham/Functal
src/FnFunction_Cast_ToInt64_FromSByte.cs
729
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WebApp.Totp.Interface { public interface ITotpGenerator { /// <summary> /// Generates a valid TOTP. /// </summary> /// <param name="accountSecretKey">U...
31.727273
106
0.651385
[ "MIT" ]
ratreraj/Totp.Core.POC
WebApp.Totp/Interface/ITotpGenerator.cs
1,049
C#
// ***************************************************************************** // // © Component Factory Pty Ltd 2012. All rights reserved. // The software and associated documentation supplied hereunder are the // proprietary information of Component Factory Pty Ltd, 17/267 Nepean Hwy, // Seaford, Vic 3198, A...
34.791667
115
0.542315
[ "BSD-3-Clause" ]
ElektroStudios/Krypton
Source/Krypton Components/ComponentFactory.Krypton.Ribbon/Controller/ContextTitleController.cs
5,013
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using NuGet.Common; using NuGet.Packaging; using NuGet.ProjectModel; using NuGet.Versioning; namespace ...
33.636364
142
0.754054
[ "Apache-2.0" ]
0xced/NuGet.Client
src/NuGet.Core/NuGet.Commands/IProjectFactory.cs
740
C#
// Copyright (c) 2007-2018 Thong Nguyen (tumtumtum@gmail.com) using System; using Shaolinq.Persistence; namespace Shaolinq { [AttributeUsage(AttributeTargets.Class)] public class DataAccessTypeAttribute : Attribute { public string Name { get; set; } public DataAccessTypeAttribute() { } ...
21.586207
127
0.707668
[ "MIT" ]
asizikov/Shaolinq
src/Shaolinq/DataAccessTypeAttribute.cs
628
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.MSHTMLApi { #region Delegates #pragma warning disable public delegate void HTMLFrameBase_onhelpEventHandler(); public delegate void HTMLFrameBase_onclickEventHandler(); public delegate voi...
31.719745
91
0.762182
[ "MIT" ]
igoreksiz/NetOffice
Source/MSHTML/Classes/HTMLFrameBase.cs
14,942
C#
using Rebus.Configuration; namespace Rebus.MongoDb2 { /// <summary> /// Configuration extensions to allow for fluently configuring Rebus with MongoDB /// </summary> public static class MongoDbExtensions { /// <summary> /// Configures Rebus to store subscriptions in the given collec...
44.104478
144
0.65753
[ "Apache-2.0" ]
dbuenor/Rebus.MongoDb2
Rebus.MongoDb2/MongoDbExtensions.cs
2,957
C#
namespace Angular.Server.WebAPI.Models.ElectricalDeviceModel { public class ElectricalDeviceModelListModel { public string ModelName { get; set; } public string Description { get; set; } public string MeasuringUnit { get; set; } public double MinValue { get; set; } ...
25.285714
62
0.610169
[ "MIT" ]
JediKnights/TelerikAcademy-Angular-Course-Server
src/Angular.Server.WebAPI/Models/ElectricalDeviceModel/ElectricalDeviceModelListModel.cs
710
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFieldToMatchMethod")] public class Wafv2WebAclRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFie...
37.75
215
0.871965
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/Wafv2WebAclRuleStatementRateBasedStatementScopeDownStatementXssMatchStatementFieldToMatchMethod.cs
453
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.Azure.Functions.PowerShellWorker.DependencyManagement { using System; using System.IO; using System.Linq; using System.Thread...
40.712707
131
0.580676
[ "MIT" ]
AnatoliB/azure-functions-powershell-worker
src/DependencyManagement/DependencySnapshotPurger.cs
7,371
C#
#pragma checksum "D:\Diplom\PrintStore\Views\ShoppingCart\CartView.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "e8a25f77e3feed469afb5622036e0b6cc813c6c3" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Shoppi...
50.421502
216
0.644025
[ "MIT" ]
kostya19980/PrintStore
obj/Release/netcoreapp2.1/Razor/Views/ShoppingCart/CartView.cshtml.g.cs
29,814
C#
using System; namespace GithubActionsLab { public class Program { static void Main(string[] args) { Console.WriteLine("The Quick Calculator"); var loop = true; while (loop) { try { Func<string, ...
31.652632
94
0.403392
[ "MIT" ]
matthotovy17/GithubActions
Console/Program.cs
3,009
C#
using Graft.Default; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Graft.Tests { [TestClass] public class DefaultVertexTests { [TestMethod] public void VertexInitialization() { Vertex<int> intVertex = new Vertex<int>(1); Assert.AreEqual(1, int...
27.454545
69
0.619205
[ "Apache-2.0" ]
alex-c/Graft
test/Graft.Tests/DefaultVertexTests.cs
604
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. // // Generated on 2020 October 09 04:53:22 UTC // </auto-generated> //--------------...
38.185185
107
0.616392
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/math/big/float_AccuracyStructOf(sbyte).cs
2,062
C#
// <auto-generated> // automatically generated by the FlatBuffers compiler, do not modify // </auto-generated> using global::System; using global::FlatBuffers; public struct Rapunzel : IFlatbufferObject { private Struct __p; public ByteBuffer ByteBuffer { get { return __p.bb; } } public void __init(int _i, Byt...
30.625
92
0.717007
[ "Apache-2.0" ]
AlexMihalev/flatbuffers
tests/union_vector/Rapunzel.cs
735
C#
using System; using System.Collections.Generic; using System.Text; namespace RawData { public class Tire { public Tire(double pressure, int age) { Pressure = pressure; Age = age; } public int Age { get; set; } public double Pressure { get; set; ...
16.55
45
0.549849
[ "MIT" ]
IvanIvTodorov/SoftUniEducation
C#Advanced/5.DefiningClasses/DefiningClassesExercise/RawData/RawData/Tire.cs
333
C#
using ExcelDna.Integration; namespace TestExcelDna { public static class Functions { [ExcelFunction(Description = "My first .NET function")] public static string HelloDna(string name) { return "Hello " + name; } } }
19.571429
63
0.59854
[ "MIT" ]
ilgnv88/TestExcelDna
TestExcelDnaSolution/TestExcelDna/Functions.cs
276
C#
#region License // Copyright (c) 2012, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using ClearCanvas.Common; using ClearCanvas.Ima...
28
70
0.703125
[ "Apache-2.0" ]
SNBnani/Xian
ImageViewer/Shreds/WorkItemService/DeleteStudy/DeleteStudyFactory.cs
898
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /product/brand/get 接口的请求。</para> /// </summary> public class ProductBrandGetRequest : WechatApiRequest, IInferable<ProductBrandGetRequest, ProductBrandGetResponse> { } }
28
119
0.696429
[ "MIT" ]
OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Brand/ProductBrandGetRequest.cs
298
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace QDMarketPlace.Models.AccountViewModels { public class LoginWithRecoveryCodeViewModel { [Required] [DataType(DataType.Text)] ...
24.529412
52
0.688249
[ "MIT" ]
quocitspkt/QDMarketPlaceFinal
QDMarketPlace/Models/AccountViewModels/LoginWithRecoveryCodeViewModel.cs
419
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using ServerShared.Player; namespace Pyratron.Frameworks.Commands.Parser { /// <summary> /// Handles and parses commands and their arguments. /// </summary> /// <example> ///...
45.538922
227
0.518387
[ "MIT" ]
Skippeh/Oxide.GettingOverItMP
ServerShared/CommandParser/CommandParser.cs
22,817
C#
using System; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web.DynamicData; namespace CorporateCalendarAdmin { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { var visibleTables = Gcpe.Hub.Gl...
32.652174
209
0.661784
[ "Apache-2.0" ]
AlessiaYChen/gcpe-hub
Hub.Legacy/Gcpe.Hub.Legacy.Website/Calendar/Admin/Default.aspx.cs
753
C#
using Bermuda.AdminLibrary.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using Microsoft.WindowsAzure.StorageClient; using System.Collections.Generic; namespace AzureStorageUtilityTests { /// <summary> ///This is a test class for AzureStorageUtilityTest and is intended ...
28.343434
85
0.539558
[ "MIT" ]
melnx/Bermuda
BermudaAdmin/AzureStorageUtilityTests/AzureStorageUtilityTest.cs
2,808
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlServerCe; using System.IO; namespace WindowsFormsApp1 { static class sql_funcoes { public static string base_dados; public static string pasta_dados; public static void deletar_d...
38.74359
135
0.554931
[ "MIT" ]
KevenyLima/agendaSql
agenda_sql/WindowsFormsApp1/sql_funcoes.cs
3,025
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _08.TravelingAtLightSpeed { class TravelingAtLightSpeed { static void Main(string[] args) { decimal numerOfLightYears = decimal.Parse(Console.ReadLine()); ...
45.35
96
0.656009
[ "MIT" ]
yvelikov/Programming-Fundamentals
Data Types and Variables - Exercises Extended/Data Types and Variables - Exercises/08.TravelingAtLightSpeed/TravelingAtLightSpeed.cs
1,816
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace IdentityServerSample3.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult Ab...
19.6
67
0.571429
[ "MIT" ]
kuaidaoyanglang/IdentityServerSample
IdentityServerSample3/Controllers/HomeController.cs
590
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // As informações gerais sobre um assembly são controladas por // conjunto de atributos. Altere estes valores de atributo para modificar as informações // associada a um ...
44.892857
114
0.721161
[ "MIT" ]
RafaReinert94/Aula483
PessoaExercicio/PessoaExercicio/Properties/AssemblyInfo.cs
2,557
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Wind...
38.872549
100
0.607566
[ "MIT" ]
prohimanshu/Basic-MAD
25 SQLiteBasic/SQLiteBasic/SQLiteBasic.UWP/App.xaml.cs
3,967
C#
using System.ComponentModel.DataAnnotations; namespace DataBox.Models.Authentication { public class AuthenticateRequest { [Required] public string Name { get; set; } [Required] public string Password { get; set; } } }
18.928571
45
0.641509
[ "MIT" ]
PredProfAccount/DataBox
src/Models/Authentication/AuthenticateRequest.cs
267
C#
// Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
27.834951
132
0.749564
[ "Apache-2.0" ]
Allenhan123/gvr-unity-sdk
Samples/CardboardDesignLab/ustwo-cardboard-unity/Assets/Source/UI/Reticle3D.cs
2,867
C#
using System; using System.Collections.Generic; class Program { static void Main(string[] args) { long health = long.Parse(Console.ReadLine()); long startHealth = health; List<string> viruses = new List<string>(); while (true) { string input = Console.ReadL...
23.43662
95
0.453726
[ "MIT" ]
MomchilSt/SoftUni
02-Programming-Fundamentals/Exercises/14. Dictionaries and Lists - More Exercises/Immune System/Program.cs
1,666
C#
using Microsoft.EntityFrameworkCore; namespace GeekShopping.Email.Model.Context; public class MySQLContext : DbContext { public MySQLContext(DbContextOptions<MySQLContext> options) : base(options) { } public DbSet<EmailLog> Emails { get; set; } }
16.75
83
0.738806
[ "Apache-2.0" ]
angelicafranca94/erudio-microservices-dotnet6
S23_ErudioMicroservices.NET6-TrabalhandoComExchangesNoRabbitMQ/GeekShopping/GeekShopping.Email/Model/Context/MySQLContext.cs
270
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...
42.185567
178
0.644673
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/SimpleNotificationService/Generated/Model/NotFoundException.cs
4,092
C#
using Omnikeeper.Base.Utils.ModelContext; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Omnikeeper.Base.Model { public interface IUsageDataAccumulator { void Add(string username, DateTimeOffset timestamp, IEnumerable<(string elementType, string elementName)> e...
31.133333
124
0.766595
[ "Apache-2.0" ]
max-bytes/omnikeeper
backend/Omnikeeper.Base/Model/IUsageDataAccumulator.cs
469
C#
namespace NewPlatform.Flexberry.ServiceBus.Controllers { using System; using System.Web.Http.Dependencies; using Components; public class RestDependencyResolver : RestDependencyScope, IDependencyResolver { private readonly ISendingManager _sendingManager; private readonl...
32.5625
106
0.663148
[ "MIT" ]
archaim/NewPlatform.Flexberry.ServiceBus
NewPlatform.Flexberry.ServiceBus/Controllers/RestDependencyResolver.cs
1,044
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...
45.973684
153
0.611334
[ "MIT" ]
BMOTech/hotel-management
HotelManager/Properties/Settings.Designer.cs
1,749
C#
using System.Collections.Generic; using FortBlast.Extras; using FortBlast.Structs; using FortBlast.UI; using UnityEngine; using UnityEngine.Analytics; namespace FortBlast.Resources { public class CollectCollectibles : MonoBehaviour { [Header("Collectible Stats")] public GameObject collectionCompletedE...
33.068376
95
0.569398
[ "MIT" ]
Rud156/FortBlast
Assets/Scripts/Resources/CollectCollectibles.cs
3,871
C#
namespace Chronic.Core.Tags.Repeaters { public enum UnitName { Year, Season, Month, Fortnight, Week, Weekend, Day, Hour, Minute, Second } }
14.4375
37
0.454545
[ "MIT" ]
chadbengen/nChronic.Core
src/Chronic.Core/Tags/Repeaters/UnitName.cs
231
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...
47.766129
179
0.664697
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Glue/Generated/Model/InternalServiceException.cs
5,923
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Zhongli.Data.Migrations { public partial class ReprimandHistory : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey( name: "FK_Warning_G...
40.565574
107
0.502324
[ "MIT" ]
WFP-Doobelepers/Zhongli
Zhongli.Data/Migrations/20210613095659_ReprimandHistory.cs
4,951
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> //--...
35.363636
229
0.539622
[ "MIT" ]
PeterSorokac/Sage300-SDK
resources/Sage300Resources/Sage.CA.SBS.ERP.Sage300.IC.Resources/Forms/UpdateBillsOfMaterialResx1.Designer.cs
8,949
C#
using System; using System.Net; namespace HttpRemoting.Data { public class HttpRemotingException: Exception, IHttpRemotingError { private const string UnknownError = "Unknown error"; public HttpStatusCode StatusCode { get; } public string? ErrorCode { get; } public HttpRemotingException( HttpStatusCod...
24.529412
66
0.743405
[ "MIT" ]
MiloszKrajewski/TooMany
src/HttpRemoting.Data/HttpRemotingException.cs
834
C#
using System; using System.Collections.Generic; using System.Net.WebSockets; using System.Threading; using System.Threading.Tasks; namespace SocialApis.Core { /// <summary> /// WebSocketクライアント /// </summary> internal abstract class WebSocketClient : IWebSocketClient, IDisposable { /// <sum...
28.060241
113
0.482754
[ "MIT" ]
atst1996/Liberfy.SocialApis
SocialApis/Core/WebSocketClient.cs
7,359
C#
// Copyright (c) Philipp Wagner and Joel Mueller. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using NUnit.Framework; using System; using System.Globalization; using CoreCsvParser.TypeConverter; namespace CoreCsvParser.Test.TypeConverter {...
32.573529
122
0.632506
[ "MIT" ]
jtmueller/CoreCsvParser
CoreCsvParser/CoreCsvParser.Test/TypeConverter/NullableTimeSpanConverterTest.cs
2,217
C#
//------------------------------------------------------------------------------ // <copyright file="ResourcePermissionBaseEntry.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //--------------...
45.877551
178
0.521797
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/framework/compmod/system/security/permissions/resourcepermissionbaseentry.cs
2,248
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Dynamic; using System.Linq; using Microsoft.TestCommon; using Moq; namespace System.Web.Mvc.Test { ...
32.658879
111
0.555158
[ "Apache-2.0" ]
belav/AspNetWebStack
test/System.Web.Mvc.Test/Test/DynamicViewDataDictionaryTest.cs
6,991
C#
/* MIT License Copyright (c) 2012-present Digital Ruby, LLC - https://www.digitalruby.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ri...
39.660606
269
0.610789
[ "MIT" ]
OsamahGhadheb/IPBan
IPBanCore/Core/Interfaces/IBannedIPAddressHandler.cs
6,546
C#
using CienciaArgentina.Microservices.Entities.Identity; using CienciaArgentina.Microservices.Entities.Models.Addresses; using CienciaArgentina.Microservices.Entities.Models.Commons; using CienciaArgentina.Microservices.Entities.Models.JobOffer; using CienciaArgentina.Microservices.Entities.Models.Organizations; using ...
53.345455
109
0.708589
[ "MIT" ]
lucaslopezf/CienciaArgentina.Microservices
CienciaArgentina.Microservices.Persistence/CienciaArgentinaDbContext.cs
2,936
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Cell_Cube3D : Cell { public Cell_Cube3D[] m_faces = new Cell_Cube3D[6]; public Cell_Cube3D[] m_edges = new Cell_Cube3D[12]; public Cell_Cube3D[] m_corners = new Cell_Cube3D[8]; int m_activeFaces = 0; int m_...
29.769231
78
0.665805
[ "MIT" ]
JoshhhBailey/crystal-growth
Assets/Scripts/Cells/Cell_Cube3D.cs
1,161
C#
using System; using System.Diagnostics; using System.Windows; using System.IO; using System.Windows.Input; using SICore; using SIGame.ViewModel.PlatformSpecific; using SIGame.ViewModel.Properties; namespace SIGame.ViewModel { /// <summary> /// Глобальные команды игры /// </summary> public static class...
39.333333
395
0.613251
[ "MIT" ]
VladimirKhil/SI
src/SIGame/SIGame.ViewModel/ViewModel/GameCommands.cs
3,928
C#
// Copyright (c) Microsoft Corporation // // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 // // THIS CODE IS PROVIDED ON...
47.369863
251
0.516136
[ "Apache-2.0" ]
cityscapesc/specobs
main/external/dev/Client/MS.Import.Service/ImporterAgent.cs
17,290
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 ...
35.125
81
0.753025
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-green/Green/Transform/V20170823/VerifyPhoneResponseUnmarshaller.cs
1,405
C#
using Microsoft.Azure.Cosmos; using Project.Zap.Library.Models; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Project.Zap.Library.Services { public class PartnerRepository : IRepository<PartnerOrganization> { p...
37.573333
186
0.645848
[ "MIT" ]
microsoft/Project-Zap
Project.Zap.Library/Services/PartnerRepository.cs
2,820
C#
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Reflection; namespace OMF { /// <summary> /// OMF Project for serializing to .omf file /// </summary> public class Project : ContentModel, IObject { public Proje...
34.426316
119
0.451766
[ "MIT" ]
gmggroup/omf_csharp
OMF/base/Project.cs
6,543
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Text; using System.Linq; using static PragmaScript.SSA; namespace PragmaScript { partial class Backend { // http://eli.thegreenplace.net/2012/12/17/dumping-a-c-objects-me...
43.570827
374
0.493369
[ "MIT" ]
pragmascript/PragmaScript
src/Backend.DI.cs
31,066
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("Gl...
38.027027
84
0.746979
[ "MIT" ]
JanglinSoftware/GlassDoorSDK
GlassdoorSDK/GlassdoorUnitTest/Properties/AssemblyInfo.cs
1,410
C#
using System.Security.Claims; using System.Threading.Tasks; namespace Tufan.Common.Authentication { public class DomainPrincipal : DomainClaimsPrincipal { private IPrincipalAccessor _principalAccessor; public DomainPrincipal(IPrincipalAccessor principalAccessor) { _princip...
24.4
68
0.655738
[ "MIT" ]
TufanOzdemir/BusTicket
src/Tufan.Common/Authentication/DomainPrincipal.cs
612
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Dep...
33.173913
143
0.629969
[ "Unlicense", "MIT" ]
RopleyIT/GLRParser
CalculatorExample/CalculatorDemoApp/Startup.cs
2,289
C#
using System; namespace VA.Blazor.CleanArchitecture.Application.Interfaces.Chat { public interface IChatHistory<TUser> where TUser : IChatUser { public long Id { get; set; } public string FromUserId { get; set; } public string ToUserId { get; set; } public string Message { get;...
31.4
65
0.630573
[ "MIT" ]
vinaykarora/BlazorCleanArchitecture
src/VA.Blazor.CleanArchitecture.Application/Interfaces/Chat/IChatHistory.cs
473
C#
namespace Rackspace.VisualStudio.CloudExplorer.Databases { using System.Collections.Generic; using System.Drawing; using System.Threading; using System.Threading.Tasks; using Microsoft.VSDesigner.ServerExplorer; using net.openstack.Core.Domain; public class CloudDatabasesRootNode : CloudPr...
26.830189
99
0.584388
[ "Apache-2.0" ]
sharwell/rax-vsix
Rackspace.VisualStudio.CloudExplorer/Databases/CloudDatabasesRootNode.cs
1,424
C#
using Microsoft.AspNetCore.Mvc; using Models.ViewModels; using Newtonsoft.Json; using SchoolWebApp.UI.Helpers; using SchoolWebApp.UI.Models; using SchoolWebApp.UI.Services; using System.Threading.Tasks; namespace SchoolWebApp.UI.Controllers { public class StudentController : Controller { private reado...
31.02439
98
0.625786
[ "Apache-2.0" ]
codebycinar/SimpleObs
src/SchoolWebApp.UI/Controllers/StudentController.cs
1,274
C#
// DocSection: cm_api_v2_get_language // Tip: Find more about .NET SDKs at https://kontent.ai/learn/net using Kentico.Kontent.Management; var client = new ManagementClient(new ManagementOptions { ApiKey = "<YOUR_API_KEY>", ProjectId = "<YOUR_PROJECT_ID>" }); var identifier = Reference.ById(Guid.Parse("2ea6678...
33.9375
84
0.755064
[ "MIT" ]
KenticoDocs/cloud-docs-samples
net/management-api-v2/GetLanguage.cs
543
C#
using System; namespace Wordroller.Content.Properties.Tables { [Flags] public enum TableLookEnum : uint { None = 0x0000, FirstRow = 0x0020, LastRow = 0x0040, FirstColumn = 0x0080, LastColumn = 0x0100, NoHBand = 0x0200, NoVBand = 0x0400 } }
16.25
47
0.696154
[ "Apache-2.0" ]
shestakov/wordroller
Wordroller/Content/Properties/Tables/TableLookEnum.cs
262
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OddOrEvenIntegers { class Program { static void Main(string[] args) { } } }
15
39
0.654167
[ "MIT" ]
mdraganov/Telerik-Academy
C#/C# Programming Part I/OperatorsAndExpressions/OddOrEvenIntegers/Program.cs
242
C#
namespace Teams.Services.API { using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; public class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } public static IWebHostBuilder CreateWebHostBuilder(str...
23.888889
76
0.616279
[ "MIT" ]
andtkach/teams-api
Teams.Services.API/Program.cs
432
C#
using DSS.A2F.Fingerprint.Api.Shared.Mediatypes; using Newtonsoft.Json; using NLog; using System.Threading.Tasks; using WebSocketSharp; namespace DSS.UareU.Web.Api.Client.Services { public class ReaderWebSocketClientService { private WebSocket client { get; set; } private static NLo...
39.191667
118
0.422496
[ "MIT" ]
Electronic-Signatures-Industries/uareu-csharp-websockets-auth
DSS.UareU.Web.Api.Client/Services/ReaderWebSocketClientService.cs
4,705
C#
using System; using System.Diagnostics.Contracts; using System.Windows; using starshipxac.Windows.Devices.Interop; using starshipxac.Windows.Interop; namespace starshipxac.Windows.Devices { /// <summary> /// スクリーン情報を保持します。 /// </summary> public class Screen : IEquatable<Screen> { ...
28.417266
99
0.483544
[ "MIT" ]
rasmus-z/starshipxac.ShellLibrary
Source/starshipxac.Windows/Devices/Screen.cs
4,288
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using SSO.Web.Models; namespace SSO.Web.Controllers { public class HomeController : Controller { public IActionResult Index() { ...
23.5
112
0.632624
[ "Apache-2.0" ]
afonsoft/SSO
SSO.Web/Controllers/HomeController.cs
707
C#
using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace Seovic.Samples.Bank.Support { public static class ValidationUtils { public static void MarkInvalid(this Control control, string message) { ControlState state = new ControlState(contr...
29.7
88
0.559764
[ "Apache-2.0" ]
paullewallencom/oracle-coherence-978-1-8471-9612-5
_/Source code/CoherentBank/net/src/BranchTerminal.WPF/Support/ValidationUtils.cs
1,188
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("MLN...
37.513514
84
0.747118
[ "Apache-2.0" ]
davegautam/dotnetconfsamplecodes
Regression/MLNETStock/Properties/AssemblyInfo.cs
1,391
C#
namespace Nordigen.Net.Responses; using Newtonsoft.Json; public class DebtorAccount { [JsonConstructor] public DebtorAccount(string iban) { IBAN = iban; } public string IBAN { get; } }
15.4
38
0.619048
[ "MIT" ]
dariogriffo/Nordigen.Net
src/Nordigen.Net/Responses/DebtorAccount.cs
233
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
32.517544
93
0.594551
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Ccc/V20200210/Models/CallInMetrics.cs
3,835
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...
64.44086
352
0.683464
[ "MIT" ]
Agazoth/azure-powershell
src/Websites/Websites.Autorest/generated/api/Models/Api20210201/SlowRequestsBasedTrigger.PowerShell.cs
11,801
C#
using System; using System.IO; using System.Threading; using Autofac; using Rhino.ServiceBus.Hosting; using Rhino.ServiceBus.Impl; using Rhino.ServiceBus.Autofac; using Xunit; using System.Linq; namespace Rhino.ServiceBus.Tests.Containers.Autofac { public class Can_host_in_another_app_domain : MsmqTestBase, Occasi...
27.463636
121
0.577623
[ "BSD-3-Clause" ]
EzyWebwerkstaden/rhino-esb
Rhino.ServiceBus.Tests/Containers/Autofac/Can_host_in_another_app_domain.cs
3,021
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Text; using sfShareLib; using sfAPIService.Models; using System.Web.Script.Serialization; using sfAPIService.Filter; using Swashbuckle.Swagger.Annotations; using Newtonsoft.J...
38.197452
124
0.564616
[ "MIT" ]
KevinKao809/CDS20
APIService/Controllers/ExternalDashboardController.cs
5,999
C#
namespace FantasyCritic.Web.Models.Requests.League; public record CreatePublisherRequest(Guid LeagueID, int Year, string PublisherName);
34.5
84
0.847826
[ "MIT" ]
shawnwildermuth/FantasyCritic
src/FantasyCritic.Web/Models/Requests/League/CreatePublisherRequest.cs
138
C#
using Natasha; using Xunit; namespace NatashaUT { public interface ITest { int MethodWidthReturnInt(); string MethodWidthReturnString(); void MethodWidthParamsRefInt(ref int i); string MethodWidthParamsString(string str); string MethodWidthParams(int a,string str,int b); ...
38.820513
92
0.624174
[ "MIT" ]
csuffyy/Natasha
NatashaUT/DynamicInterfaceTest.cs
1,540
C#
using System.Collections; using UnityEngine; using UnityEngine.SceneManagement; using Tin.Resources; using Tin.Networking; namespace Scene.Lobby { ///Strictly designed for lobby. Try not to incorporate game mechanics here. /// Perhaps destroy once in room public class NetworkLobby : Photon.PunBehaviour { public...
23.438462
115
0.721693
[ "MIT" ]
TinForge/Old-Unity-Code
Networking/NetworkLobby.cs
3,049
C#
using System; using Autofac; using SmartHotel.Clients.Core.Services.Analytic; using SmartHotel.Clients.Core.Services.Authentication; using SmartHotel.Clients.Core.Services.Booking; using SmartHotel.Clients.Core.Services.Chart; using SmartHotel.Clients.Core.Services.Dialog; using SmartHotel.Clients.Core.Services.Hotel;...
43.027523
113
0.684222
[ "MIT" ]
Akshayvh94/6a810908_SmartHotel360-mobile-desktop-apps
src/SmartHotel.Clients/SmartHotel.Clients/ViewModels/Base/Locator.cs
4,692
C#
using IceCoffee.DbCore.Primitives.Service; using LuoShuiTianYi.Sdtd.Services.Dtos; using System; using System.Collections.Generic; using System.Text; namespace LuoShuiTianYi.Sdtd.Services.Contracts { public interface IStandardAccountService : IServiceBaseGuid<StandardAccountDto> { } }
23.076923
83
0.803333
[ "MIT" ]
1249993110/TianYiSdtdServerTools
Server/LuoShuiTianYi.Sdtd.Services/Contracts/IStandardAccountService.cs
302
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. [assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")] [assembly:System.CLSCompliantAttribute(true)] [asse...
58.074176
202
0.748427
[ "MIT" ]
marek-safar/reference-assemblies
src/v4.0/System.Transactions.cs
21,139
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 UiPath.Web.Client201910.Models { using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runti...
33.864198
96
0.580022
[ "MIT" ]
AFWberlin/orchestrator-powershell
UiPath.Web.Client/generated201910/Models/RobotWithLicenseDtoType.cs
2,743
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core.Testing; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Azure.AI.TextAnalytics.Samples { [LiveOnly] public partia...
37.163265
174
0.627128
[ "MIT" ]
HeidiSteen/azure-sdk-for-net
sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenienceAsync.cs
1,823
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Data; namespace Module { public class ActorFollowCamera : LateUpdateModule { protected override void InitRequiredDataType() { _requiredDataTypeList.Add(typeof(FollowCameraData)); _requi...
28.675676
73
0.624882
[ "MIT" ]
KrisLee/simple_game_tool_ecs
Assets/Scripts/Module/Actor/ActorFollowCamera.cs
1,063
C#
namespace _01.SweetDesert { using System; public class Program { public static void Main() { decimal money = decimal.Parse(Console.ReadLine()); int guests = int.Parse(Console.ReadLine()); decimal bananaPrice = decimal.Parse(Console.ReadLine()); ...
31.971429
122
0.533512
[ "MIT" ]
melikpehlivanov/Programming-Fundamentals-C-
AllExams/01. SweetDesert/Program.cs
1,121
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.182106
193
0.532246
[ "MIT" ]
brewingcode/TLD-Save-Editor
The Long Dark Save Editor 2/Properties/Resources.Designer.cs
183,389
C#
using System; namespace SampleWebsite.Data { 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; } } }
18.6875
69
0.608696
[ "MIT" ]
conficient/BlazorTemplater-StaticDemo
SampleWebsite/Data/WeatherForecast.cs
299
C#
using System; using System.Collections.Generic; using System.IO; using System.Threading; using Assets.Scripts.IAJ.Unity.Pathfinding; using Assets.Scripts.IAJ.Unity.Pathfinding.DataStructures.GoalBounding; using Assets.Scripts.IAJ.Unity.Pathfinding.GoalBounding; using Assets.Scripts.IAJ.Unity.Pathfinding.Heuristics; us...
43.761905
176
0.618471
[ "MIT" ]
miguel-amaral/iaj-project-3
Assets/Editor/IajMenuItemsThreaded.cs
7,354
C#
using System; using System.Collections.Generic; using System.Linq; using NWN.FinalFantasy.Core; using NWN.FinalFantasy.Core.NWNX; using NWN.FinalFantasy.Core.NWScript.Enum; using NWN.FinalFantasy.Core.NWScript.Enum.Item; using NWN.FinalFantasy.Entity; using NWN.FinalFantasy.Feature.DialogDefinition; using static NWN.F...
39.830508
171
0.596426
[ "MIT" ]
Martinus-1453/NWN.FinalFantasy
NWN.FinalFantasy/Service/PlayerMarket.cs
11,752
C#
using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Runtime.CompilerServices; using System.Runtime.Serialization; namespace System.Waf.Foundation { /// <summary> /// Defines a base clas...
45.037037
170
0.598097
[ "MIT" ]
pskpatil/waf
src/System.Waf/System.Waf/System.Waf.Core/Foundation/ValidatableModel.cs
8,514
C#
// Generated by Fuzzlyn v1.2 on 2021-08-10 14:27:45 // Run on .NET 6.0.0-dev on X64 Windows // Seed: 17332121036766880281 // Reduced from 83.2 KiB to 0.6 KiB in 00:00:40 // Debug: Outputs 1 // Release: Outputs 0 struct S0 { public bool F0; public uint F1; public short F2; public ulong F4; public S0(...
16.595745
51
0.561538
[ "MIT" ]
jakobbotsch/Fuzzlyn
examples/reduced/17332121036766880281.cs
780
C#
using System.Net; namespace com.lemonway { /// <summary> /// EndUserInfo is required in the LwRequest /// </summary> public class EndUserInfo { public string IP; public string UserAgent; } }
15.538462
45
0.693069
[ "MIT" ]
lemonwaysas/aspdotnet-client-directkit-json2
src/LemonWayService/EndUserInfo.cs
204
C#
using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; namespace Calabonga.Microservice.Module.Web.AppStart.SwaggerFilters { /// <summary> /// Swagger Method Info Generator from summary for <see cref="M:GetPaged{T}"/> /// </summary> public ...
39.037037
119
0.680266
[ "MIT" ]
Calabonga/Microservice-Template
AspNetCore v3.0/Calabonga.Microservice.Module/Calabonga.Microservice.Module.Web/AppStart/SwaggerFilters/ApplySummariesOperationFilter.cs
1,056
C#