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.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AElf.RPC; using Anemonis.AspNetCore.JsonRpc; namespace AElf.Monitor { [Path("/monitor")] public class AkkaService :IJsonRpcService { [JsonRpcMethod("AkkaState")] public Task<List<MemberInfo>> ClusterSt...
24.166667
81
0.68046
[ "MIT" ]
Git-zyn-Hub/AElf
AElf.Monitor/AkkaService.cs
437
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...
26.195652
81
0.60249
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20191201/Outputs/DevicePropertiesResponse.cs
1,205
C#
using HelloEntityFramework.DataAccess; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Console; using System; using System.Collections.Generic; using System.Linq; namespace HelloEntityFramework { class Program : IMovieRepo { // EF database-fi...
36.248619
94
0.58863
[ "MIT" ]
1902-feb18-net/william-code
HelloEntityFramework/HelloEntityFramework/Program.cs
6,563
C#
using Core.DomainModel; using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Data.Entity; namespace Infrastructure.DataAccess { public class ApplicationContext : IdentityDbContext<ApplicationUser> { // throwIfV1Schema is used when upgrading Identity in a database from 1 to 2. ...
49.442308
211
0.681058
[ "MIT" ]
snebjorn/mvc-onion-template
Infrastructure.DataAccess/ApplicationContext.cs
2,573
C#
/* Copyright 2009 dotless project, http://www.dotlesscss.com * * 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 requi...
31.394737
109
0.688181
[ "Apache-2.0" ]
chrisjowen/nLess
src/dotless.Core/exceptions/MixedUnitsException.cs
1,193
C#
using Playnite.SDK; using Playnite.Services; using Playnite.Settings; using Playnite.Commands; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Playnite.Windows; using Playnite.Common; using Playnite.ViewModels; na...
26.646667
130
0.499124
[ "MIT" ]
FenDIY/Worknite
source/Playnite.DesktopApp/ViewModels/AboutViewModel.cs
3,999
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Seventiny.Cloud.DataApi { public class Program ...
25.461538
76
0.675227
[ "Apache-2.0" ]
PayHard/SevenTiny.Cloud.MultiTenantPlatform
10-Code/Seventiny.Cloud.DataApi/Program.cs
664
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Reflection; using System.Threading.Tasks; using Core.Text; using Mono.Cecil; using Xamarin.AndroidX.Data; namespace Xamarin.AndroidX.Mapper { public class MappingsXamarin { protected...
45.773304
131
0.317194
[ "MIT" ]
moljac/HolisticWare.Xamarin.Tools.Bindings.XamarinAndroid.AndroidX.Migraineator
source/Xamarin.AndroidX.Mapper/MappingsXamarin.cs
61,384
C#
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; using Abp.Runtime.Security; namespace FirstProject.Web....
41.101266
148
0.582692
[ "MIT" ]
khanhly-dev/Abp_FirstProject
aspnet-core/src/FirstProject.Web.Host/Startup/AuthConfigurer.cs
3,249
C#
using System; using System.Windows.Input; namespace Acr.UserDialogs { public class LoginViewModel { public ICommand Login { get; set; } public ICommand Cancel { get; set; } public string UserNameText { get; set; } public string UserNamePlaceholder { get; set; } publi...
27.56
55
0.612482
[ "MIT" ]
1Cor125/userdialogs
src/Acr.UserDialogs/Platforms/Uwp/LoginViewModel.cs
691
C#
namespace MatBlazorSample.Blazor.Pages { public partial class Index { } }
11
39
0.659091
[ "MIT" ]
271943794/abp-samples
MatBlazorSample/src/MatBlazorSample.Blazor/Pages/Index.razor.cs
90
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SymNet.Core.Serialization { /// <summary> /// Controls object and some member level serialization /// </summary> public class SymConnectObject : System.Attribute { ...
25.711111
101
0.673293
[ "MIT" ]
DavidDworetzky/Sym.NET
SymNet.Core/Serialization/SymConnectObject.cs
1,159
C#
using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; namespace NgrokApi { // <summary> // Endpoint Configuration managementAn <see // href="https://ngrok.com/docs/ngrok-link#api-endpoint-configurations">Endpoint // Configuration</see> describes // a ngrok network...
33.375
99
0.544648
[ "MIT" ]
V1RuSyRa/ngrok-api-dotnet
NgrokApi/Services/EndpointConfigurations.cs
5,073
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...
54.034408
648
0.672908
[ "Apache-2.0" ]
Vfialkin/aws-sdk-net
sdk/src/Services/Lambda/Generated/_mobile/AmazonLambdaClient.cs
174,315
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class ComparatorInput : TabButton { public Text text; public ComparatorEditorPanel panel; public void SetType(int i) { panel.SetType(group.tabButtons.Ind...
22.2
67
0.681682
[ "Apache-2.0" ]
Partfinger/Diploma-project
Diploma Project/Assets/Scripts/UI/EditedPanels/Panels/ComparatorInput.cs
668
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; #if UNITY_2017_2_OR_NEWER using UnityEngine.XR; #else using XRSettings = UnityEngine.VR.VRSettings; using XRDevice = UnityEngine.VR.VRDevice; #endif namespace Valve.VR { public c...
30.092742
120
0.557417
[ "MIT" ]
Tikhul/rube-goldberg
Assets/SteamVR/Scripts/SteamVR_Behaviour.cs
7,465
C#
/* * Copyright (c) 2013-present, The Eye Tribe. * All rights reserved. * * This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. * */ using System; using Newtonsoft.Json; namespace EyeTribe.ClientSdk.Data { public class CalibrationPo...
32.607477
129
0.582975
[ "BSD-2-Clause" ]
EyeTribe/tet-csharp-client
sdk/Data/CalibrationPoint.cs
3,491
C#
// Sharp Essentials Controls // Copyright 2017 Matthew Hamilton - matthamilton@live.com // // 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...
44.895833
131
0.749884
[ "Apache-2.0" ]
mthamil/SharpEssentials.Controls
SharpEssentials.Controls/Mvvm/Commands/Builder/ICommandBuilder.cs
2,155
C#
using System.Threading.Tasks; using Application.User; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace API.Controllers { public class UserController : BaseController { [AllowAnonymous] [HttpPost("login")] public async Task<ActionResult<User>> Login(Lo...
25.225806
80
0.62532
[ "MIT" ]
mustafizur8888/Asp.netCoreWithReact
API/Controllers/UserController.cs
782
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Bot.Builder.Skills.Models.Manifest; using Microsoft.Bot.Builder.Solutions; using Microsoft.Bot.Configuration; using Newtonsoft.Json; using Newtonsoft.Json.Linq; name...
53.4375
240
0.55194
[ "MIT" ]
3ve4me/botframework-solutions
lib/csharp/microsoft.bot.builder.skills/Microsoft.Bot.Builder.Skills/Manifest/SkillManifestGenerator.cs
9,407
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CppMathWrapper; using std; namespace CsharpSample { class Program { static void Main(string[] args) { ManagedCppMathWrapper managedCppMathWrapper ...
25.766667
87
0.596378
[ "MIT" ]
sharpnex/interviews
RuntimeIssues/CppWrapper/CsharpSample/Program.cs
775
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.442177
136
0.591756
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/Cache/V20200601/LinkedServer.cs
5,798
C#
using System; using System.IdentityModel.Protocols.WSTrust; using System.Linq; using System.ServiceModel.Description; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Client; namespace Microsoft.PowerPlatform.Dataverse.Client.Connector.OnPremises { internal sealed partial class ServiceConfiguration<TService> { #r...
45.374449
241
0.821456
[ "MIT" ]
mohsinonxrm/PowerPlatform-DataverseServiceClient
src/GeneralTools/DataverseClient/Client/Connector/OnPremises/ServiceConfiguration.cs
10,300
C#
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
27.793367
130
0.621753
[ "MIT" ]
saludnqn/prosane
RIS_Publico/RIS_Publico/generated/InsTipoDeposito.cs
10,895
C#
using ProtoBuf; using System; using System.Collections.Generic; namespace GameData { [ProtoContract(Name = "GongHuiShangDianShuaXin_ARRAY")] [Serializable] public class GongHuiShangDianShuaXin_ARRAY : IExtensible { private readonly List<GongHuiShangDianShuaXin> _items = new List<GongHuiShangDianShuaXin>(); pr...
22.7
94
0.767988
[ "MIT" ]
corefan/tianqi_src
src/GameData/GongHuiShangDianShuaXin_ARRAY.cs
681
C#
using System; namespace week_2._1ArrayOefenen { class Program { static void Main(string[] args) { // opdracht 1 // maak een lege int array van 5 waarden, vul dezen handmatig per index // print de 2e waarde naar de console int[] numberArray; ...
30.852941
99
0.493804
[ "MIT" ]
SintBartvdC/scripten-periode-3
scripten_4/week_2/week_2.1ArrayOefenen/Program.cs
2,100
C#
using System; using System.Collections.Generic; using System.Text; namespace BotSharp.NLP.Featuring { public interface IFeatureExtractor { /// <summary> /// Feature dimension size /// </summary> int Dimension { get; set; } } }
18.2
38
0.615385
[ "Apache-2.0" ]
david0718/BotSharp
BotSharp.NLP/Featuring/IFeatureExtractor.cs
275
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace AnotherNetFrameworkDocker { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() ...
26.545455
70
0.714041
[ "MIT" ]
holapancho/netframework-docker
AnotherNetFrameworkDocker/Global.asax.cs
586
C#
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Xunit; namespace EntityFrameworkCore.Extensions.Tests { public class DatabaseFacadeExtensionsTests ...
35.054348
130
0.623256
[ "MIT" ]
pecea/EntityFrameworkCore.Extensions
EntityFrameworkCore.Extensions.Tests/DatabaseFacadeExtensionsTests.cs
3,227
C#
using Ayehu.Sdk.ActivityCreation.Interfaces; using Ayehu.Sdk.ActivityCreation.Extension; using System.Text; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.Data; using System.Diagnostics; namespace Ayehu.Sdk.ActivityCreation { public c...
32.105263
94
0.569262
[ "MIT" ]
Ayehu/activities
VMWare/VMShutdown.cs
2,440
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace xAPI.Standard { public class InteractionType { public static Dictionary<string, object> FromJson(string json) { return JsonConvert.DeserializeObject<Dictionary<string, object>>(json, Converter.SETTINGS); } ...
25.076923
103
0.687117
[ "Apache-2.0" ]
iWorkTech/xapi-wrapper-xamarin-core
component/src/TinCan.Standard/InteractionType.cs
328
C#
using System; using System.Threading.Tasks; using System.Collections.Generic; using System.Collections.Concurrent; namespace Geek.Server { public class ComponentDriver { static readonly NLog.Logger LOGGER = NLog.LogManager.GetCurrentClassLogger(); readonly ComponentActor owner; readon...
36.292517
137
0.508529
[ "MIT" ]
leeveel/GeekServer
GeekServer.Core/Component/ComponentDriver.cs
5,573
C#
// Copyright (c) 2017, centron GmbH // SolidCP is distributed under the Creative Commons Share-alike license // // SolidCP is a fork of WebsitePanel: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permi...
34.462783
133
0.561931
[ "BSD-3-Clause" ]
Alirexaa/SolidCP
SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/Proxmox/VpsDetailsNetwork.ascx.cs
10,649
C#
using System.Collections.Generic; using System.Linq; using GameWork.Core.ObjectPool.Interfaces; namespace GameWork.Core.ObjectPool { public class ObjectPool : ObjectPool<IPoolableObject> { } public class ObjectPool<TPoolableObject> where TPoolableObject : IPoolableObject { protected re...
26.058824
95
0.63544
[ "MIT" ]
JaredGG/GameWork.Core
GameWork.Core.ObjectPool/ObjectPool.cs
888
C#
using Microsoft.Azure.ApiManagement.WsdlProcessor.Common; using System; using System.IO; using System.Threading.Tasks; using System.Xml; using System.Xml.Linq; namespace TestConsole { class Program { static async Task Main(string[] args) { var log = new ConsoleLog(); va...
34.705128
108
0.558182
[ "MIT" ]
Azure-Samples/api-management-schema-import
ApiManagementSchemaImport/TestConsole/Program.cs
5,416
C#
using L2dotNET.world; namespace L2dotNET.model.skills2.effects { public class PBlockSkillPhysical : Effect { public PBlockSkillPhysical() { Type = EffectType.PBlockSkillPhysical; } public override EffectResult OnStart(L2Character caster, L2Character target) ...
27.75
85
0.617117
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
temukaa/develop
src/L2dotNET/model/skills2/effects/PBlockSkillPhysical.cs
668
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using StoreModels; namespace StoreMVC.Areas.Identity.Pages.Accou...
31.531915
129
0.581646
[ "MIT" ]
210215-USF-NET/Douglas_Richardson-P1
StoreMVC/Areas/Identity/Pages/Account/Manage/SetPassword.cshtml.cs
2,966
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Smart.Web.Mvc.UI.JqGrid.Options { public class AjaxSelectOptions { } }
16.230769
41
0.748815
[ "Apache-2.0" ]
SmallAnts/Smart
Src/Framework/Smart.Web.Mvc.Shared/UI/JqGrid/Options/AjaxSelectOptions.cs
213
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Demo.Migrations { public partial class Added_Description_And_IsActive_To_Role : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "Descripti...
27.941176
75
0.543158
[ "Apache-2.0" ]
hangyejiadao/AspNetCore
3.4.0/aspnet-core/src/Demo.EntityFrameworkCore/Migrations/20170621153937_Added_Description_And_IsActive_To_Role.cs
952
C#
using Elsa.Serialization; using Newtonsoft.Json; namespace Elsa.Server.Api { public static class SerializationHelper { public static JsonSerializerSettings GetSettingsForWorkflowDefinition() { // Here we don't want to use the `PreserveReferencesHandling` setting because the model wi...
35.777778
173
0.700311
[ "MIT" ]
Blazi-Commerce/elsa-core
src/server/Elsa.Server.Api/SerializationHelper.cs
644
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; namespace Azure.IoT.TimeSeriesInsights { /// <summar...
47.995671
220
0.599734
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/timeseriesinsights/Azure.IoT.TimeSeriesInsights/src/TimeSeriesInsightsInstances.cs
44,348
C#
namespace SpellforceDataEditor.SFMap.map_dialog { partial class MapAutoTextureDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
47.243802
176
0.597044
[ "MIT" ]
leszekd25/spellforce_data_editor
SpellforceDataEditor/SFMap/map_dialog/MapAutoTextureDialog.Designer.cs
11,435
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using System.Windows.Data; namespace MetroTrilithon.Converters { public class ReverseBooleanConverter : IValueConverter { public object Convert(object value, Type targetType, obj...
24.478261
98
0.728242
[ "MIT" ]
CirnoV/MetroTrilithon
source/RetroTrilithon.Desktop/MetroTrilithon/Converters/ReverseBooleanConverter.cs
565
C#
using MessagePackLib.MessagePack; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Security; using System.Net.Sockets; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using System.Text; using System...
36.331858
161
0.411643
[ "MIT" ]
0xyg3n/AsyncRAT-C-Sharp
AsyncRAT-C#/Plugin/Chat/Chat/Connection.cs
8,213
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Security; namespace instinct360.Controllers { public class UserController : Controller { // // GET: /User/ public ActionResult Index() { retur...
24.5
86
0.5
[ "MIT" ]
hipparchus2000/instinct360
instinct360/Controllers/UserController.cs
1,178
C#
using Microsoft.Data.Entity; namespace UnicornClicker.UWP.Models { class UnicornClickerContext : DbContext { public DbSet<GameScore> GameScores { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.UseSqlite("Filename=...
23.933333
85
0.682451
[ "Apache-2.0" ]
SajjadArifGul/UnicornStore
UnicornClicker/UWP/UnicornClicker.UWP/Models/UnicornClickerContext.cs
361
C#
using System; namespace SharpGlyph { /// <summary> /// font descriptors table (fdsc). /// <para>Apple Table</para> /// </summary> //[AppleTable] public class FdscTable : Table { } }
17.272727
35
0.636842
[ "MIT" ]
hikipuro/SharpGlyph
SharpGlyph/SharpGlyph/Tables/fdsc/FdscTable.cs
192
C#
using System.Reflection; using System.Runtime.InteropServices; using Sceelix.Annotations; using Sceelix.Core.Annotations; // 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. [assembl...
40.1
87
0.753117
[ "MIT" ]
IxxyXR/Sceelix
Source/Sceelix.Gis/Properties/AssemblyInfo.cs
1,607
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; #if UNITY_EDITOR public class AssetDatabaseBackend : FileSystemBackend { protected override T LoadAsset<T>(string filePath) { return UnityEditor.AssetDatabase.LoadAssetAtPath<T>(filePath); } protect...
24.648649
165
0.70614
[ "MIT" ]
Facepunch/Rust.World
Assets/Plugins/Rust.FileSystem/AssetDatabaseBackend.cs
914
C#
using CodingTracker; namespace CreateAttribute { [Author("Ventsi")] class StartUp { [Author("Gosho")] static void Main(string[] args) { var tracker = new Tracker(); tracker.PrintMethodsByAuthor("Gosho"); } } }
17.75
50
0.538732
[ "MIT" ]
elipopovadev/CSharp-OOP
ReflectionAndAttributes-Lab/CodingTracker/StartUp.cs
286
C#
namespace Oxide.Ext.BriansMod.Model.Rust.Contracts { public interface IHeldEntity : IBaseEntity { HoldType HoldType { get; } IBasePlayer OwnerPlayer { get; } } }
21.125
51
0.739645
[ "MIT" ]
bgourlie/BriansMod
Oxide.Ext.BriansMod/Model/Rust/Contracts/IHeldEntity.cs
171
C#
using System.Collections.Generic; namespace Calculator { public class PlusOperation : EquationItem, IFunction { public PlusOperation(FunctionType type) { Type = type; } public double Execute(List<object> EqItems) { double leftNum = Index == 0 ? 0...
22.4
73
0.544643
[ "MIT" ]
Memdis/Calculator
Calculator/Classes/EquationItems/Operations/PlusOperation.cs
674
C#
using System; using Umbraco.Core; using Umbraco.Core.Logging; using Umbraco.Core.PropertyEditors; using Umbraco.Core.Services; using Umbraco.Web.PropertyEditors; namespace HappyPorch.UmbracoExtensions.Core.PropertyEditors { [DataEditor( EditorAlias, "Nested Content - Elements", "~/App_Plug...
36.962963
188
0.747495
[ "MIT" ]
HappyPorch/HappyPorch.UmbracoExtensions.Core
Happyporch.UmbracoExtensions.Core/PropertyEditors/NestedContentElementsPropertyEditor.cs
1,000
C#
using System; using DevBot9.Protocols.Homie; using DevBot9.Protocols.Homie.Utilities; using NLog; namespace IotFleet.Shed; partial class Domekt200 { private HostDevice _device; private readonly YahiTevuxHostConnection _broker = new(); private readonly ReliableModbus _reliableModbus = new(); ...
32.551724
83
0.762712
[ "MIT" ]
devbotas/IotFleet.Shed
Domekt200/Code/Domekt200.cs
918
C#
/* Copyright (c) Citrix Systems Inc. * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * * Redistributions of source code must retain the above * copyright notice, this li...
37.917526
146
0.662588
[ "BSD-2-Clause" ]
wdxgy136/xenadmin-yeesan
XenModel/Actions/VM/SuspendAndShutdownVMsAction.cs
3,680
C#
using BehavioralDesignPatterns.Command.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BehavioralDesignPatterns.Command.Model.Commands { class VolumeDownTvCommand : ICommand { public VolumeDownTvCommand(IElectron...
20.64
60
0.668605
[ "MIT" ]
Pavel-Durov/Design-Patterns
BehavioralDesignPatterns/Command/Model/Commands/VolumeDownTvCommand.cs
518
C#
/* * Copyright 2021, Denyol (https://github.com/Denyol) * * 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 r...
31.182741
125
0.716588
[ "Apache-2.0" ]
Denyol/zero-based-budget-java
test/BudgetTest/Model/Spreadsheet/OfficeWorkbookTest.cs
6,143
C#
using System; using System.Collections.Generic; using System.Text; using System.Xml.Linq; namespace Biz.Morsink.Rest.HttpConverter.Xml { /// <summary> /// Static class containing readonly/const members to be used for Xml Schema and instances (for nil) /// </summary> public static class XsdConstants ...
44.862745
104
0.645105
[ "MIT" ]
joost-morsink/Rest
Biz.Morsink.Rest.HttpConverter.Xml/XsdConstants.cs
2,290
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace TSE.App { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { Ar...
25.727273
70
0.70318
[ "MIT" ]
AdrianAVA9/TSE-Search
TSE.App/Global.asax.cs
568
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; public class AA { static Array[,] m_ax; static bool m_bFlag; static void Static3(int param1) { if (m_bFlag) Main(...
17.666667
101
0.523156
[ "MIT" ]
CyberSys/coreclr-mono
tests/src/JIT/Regression/CLR-x86-JIT/V1-M13-RTM/b89946/b89946.cs
583
C#
using CmlLib.Core.Files; using System.Linq; namespace CmlLib.Core.Version { public class MVersion { public MVersion(string id) { this.Id = id; } public bool IsInherited { get; set; } public string? ParentVersionId { get; set; } public strin...
30.495575
96
0.531921
[ "MIT" ]
MehmetErbicakci/CmlLib.Core
CmlLib/Core/Version/MVersion.cs
3,448
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.IIS.Administration.WebServer.UrlRewrite { using System; using Web.Administration; class RuleCollectionBase : Configuration...
30.936
106
0.546677
[ "MIT" ]
202006233011/IIS.Administration
src/Microsoft.IIS.Administration.WebServer.UrlRewrite/Configuration/Rule/RuleCollection.cs
3,867
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 ...
44.82
108
0.776885
[ "Apache-2.0" ]
chys0404/aliyun-openapi-net-sdk
aliyun-net-sdk-dataworks-public/Dataworks_public/Transform/V20200518/CreateDagComplementResponseUnmarshaller.cs
2,241
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; namespace PxlItFactorApp { public partial class App : Application { public App () { InitializeComponent(); MainPage = new PxlItFactorApp.Views.ConnectionSettingsPage(); } protected override vo...
15.514286
64
0.694291
[ "MIT" ]
krishermans/pxlitfactor
PxlItFactorApp/PxlItFactorApp/App.xaml.cs
545
C#
using System; using System.Collections.Generic; using System.IO; using Microsoft.Xna.Framework; using Quaver.API.Replays; using Quaver.Shared.Config; using Quaver.Shared.Database.Maps; using Quaver.Shared.Database.Scores; using Quaver.Shared.Graphics; using Quaver.Shared.Graphics.Form.Dropdowns.RightClick; using Quaver...
38.730539
162
0.48222
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
IceDynamix/Quaver
Quaver.Shared/Screens/Selection/UI/Leaderboard/Components/LeaderboardScoreRightClickOptions.cs
6,468
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.Collections.Generic; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security; using System.Text; namespace Sys...
41.45
190
0.575794
[ "MIT" ]
bpschoch/corefx
src/System.IO.FileSystem.DriveInfo/src/System/IO/DriveInfo.Linux.cs
2,487
C#
using Microsoft.AspNetCore.Blazor.Hosting; using System.Threading.Tasks; namespace ComponentTen { public class Program { public static async Task Main(string[] args) { var builder = WebAssemblyHostBuilder.CreateDefault(args); builder.RootComponents.Add<App>("app"); ...
23.75
69
0.631579
[ "MIT" ]
KeyboardMonkey221/practical-aspnetcore
projects/blazor/ComponentTen/Program.cs
382
C#
// Copyright (c) 2015-present, Parse, LLC. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. using Parse.Internal; using Syste...
43.83
285
0.692448
[ "BSD-3-Clause" ]
Julien-Mialon/Parse-SDK-dotNET
Parse/Public/Android/ParsePush.Android.cs
4,383
C#
using System; namespace Certes.Acme { /// <summary> /// The ACME challenge types. /// </summary> public static class ChallengeTypes { /// <summary> /// The HTTP challenge. version 1. /// </summary> public const string Http01 = "http-01"; /// <summary> ...
24.71875
69
0.534766
[ "MIT" ]
muffadalis/rrod
lib/Certes/Acme/ChallengeTypes.cs
793
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LentoCore.Atoms; using LentoCore.Atoms.Types; using LentoCore.Evaluator; using LentoCore.Exception; using LentoCore.Util; namespace LentoCore.Expressions { public class VariableDeclaration : E...
33.463415
193
0.668367
[ "MIT" ]
Lento-lang/Lento
LentoCore/Expressions/VariableDeclaration.cs
1,374
C#
using System; using System.Globalization; class HolidaysBetweenTwoDates { static void Main() { DateTime startDate = DateTime.ParseExact(Console.ReadLine(), "d.M.yyyy", CultureInfo.InvariantCulture); DateTime endDate = DateTime.ParseExact(Console.ReadLine(), "d.M.yyyy", CultureInfo.InvariantCul...
28.869565
111
0.618976
[ "MIT" ]
stanislavstoyanov99/SoftUni-Software-Engineering
Technology-Fundamentals-with-C#/Labs-And-Homeworks/BasicSyntaxConditionalStatementsLoops/HolidaysBetweenTwoDates/Program.cs
666
C#
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ComputerComplectorWebAPI.Models.Requests.Get { public class GetVideocardsRequest { public string[] Company { get; set; } public stri...
36.948529
125
0.461692
[ "MIT" ]
Stranger-In-The-Darkness/Computer-Complector-Web-API
Models/Requests/Get/GetVideocardsRequest.cs
5,027
C#
using System.Collections.Generic; namespace MyTool.KeyValue { public class KeyValueList { public KeyValueList(string type, string txt) { list = new List<KeyValue>(); if (type == "json1") { string[] list1 = txt.Split(';'); for ...
27.282051
80
0.340852
[ "Apache-2.0" ]
nnugaoz/HLAQSC
MyTool/KeyValue/KeyValueList.cs
3,222
C#
// This file contains auto-generated code. namespace Microsoft { namespace AspNetCore { namespace Hosting { // Generated from `Microsoft.AspNetCore.Hosting.DelegateStartup` in `Microsoft.AspNetCore.Hosting, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60` ...
87
409
0.732663
[ "MIT" ]
01SMD/codeql
csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Hosting.cs
13,137
C#
using UnityEngine; using System.Collections; using System; using System.Runtime.Serialization.Formatters.Binary; using System.IO; using UnityEngine.SocialPlatforms; public class EstadoJuego : MonoBehaviour { public int puntuacionMaxima = 0; public static EstadoJuego estadoJuego; private String rutaArchivo; v...
20.132353
62
0.71439
[ "MIT" ]
EnriqueLeal/VideojuegoUnity2
Papi/PapiRun3.2/Papi/Papi/PapiRun/Assets/Scripts/EstadoJuego.cs
1,371
C#
using System; using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace NetCoreAPI { public class Startup { public Startup(IConfigurat...
31.05
136
0.589372
[ "MIT" ]
emregocer/core_angular
Startup.cs
1,865
C#
// Decompiled with JetBrains decompiler // Type: CocoStudio.Core.Service.Runtime // Assembly: CocoStudio.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 664CC19D-01B7-42F7-9640-243AA07066CE // Assembly location: C:\Program Files (x86)\Cocos\Cocos Studio 2\CocoStudio.Core.dll using CocoStudio.Basi...
34.571429
115
0.718257
[ "MIT" ]
gdbobu/CocoStudio2.0.6
CocoStudio.Core/Service/Runtime.cs
2,664
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Content.Client.Actions; using Content.Client.Actions.UI; using Content.Client.UserInterface; using Content.Server.Actions; using Content.Server.Hands.Components; using Content.Server.Items; using Content.Shared.Actions; using Conte...
48.217507
132
0.603917
[ "MIT" ]
AndrewSmart/space-station-14
Content.IntegrationTests/Tests/GameObjects/Components/Mobs/ActionsComponentTests.cs
18,178
C#
using System; using SDRSharp.Radio; namespace SDRSharp.DNR { public unsafe class NoiseFilter : FftProcessor { private const int WindowSize = 32; private float _noiseThreshold; private readonly UnsafeBuffer _gainBuffer; private readonly float* _gainPtr; ...
28.45679
79
0.462039
[ "MIT" ]
CraftyBastard/sdrsharp
DNR/NoiseFilter.cs
2,307
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using HrApp.Infrastructure; using HrApp.Models; namespace HrApp.Controllers { [Authorize] public class TypeJobController : Controller { private UnitOfWork _unitOfWork; ...
30.577465
95
0.55965
[ "MIT" ]
YuraHavrylko/HrApp
HrApp/Controllers/TypeJobController.cs
2,173
C#
namespace BinaryStream.NET.Extensions { using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using Ionic.Zlib; public static partial class StreamReader { /// <summary> /// Reads ...
34.11405
127
0.51519
[ "MIT" ]
BerkanYildiz/BinaryStream.NET
BinaryStream.NET/Extensions/StreamReaderAsync.cs
20,641
C#
#region using statements using System; using DataJuggler.Net.Core.Delegates; using DataJuggler.Net.Core.Enumerations; #endregion namespace ObjectLibrary.BusinessObjects { #region class Image public partial class Image { #region Private Variables private DateTime createdDate; ...
27.349515
68
0.366258
[ "MIT" ]
DataJuggler/BlazorImageGallery
Data/ObjectLibrary/BusinessObjects/Image.data.cs
11,268
C#
/** * Autogenerated by Thrift Compiler (0.13.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ using System.Text; using System.Threading; using System.Threading.Tasks; using Thrift.Protocol; using Thrift.Protocol.Entities; using Thrift.Protocol.Utilities; namespace Jaeger....
28.36646
86
0.604773
[ "Apache-2.0" ]
BojanPantovic1989/jaeger-client-csharp
src/Communication/Jaeger.Communication.Thrift/Agent/BaggageRestriction.cs
4,567
C#
// <copyright file="StepCommand.cs" company="xBehave.net contributors"> // Copyright (c) xBehave.net contributors. All rights reserved. // </copyright> namespace Xbehave.Sdk { using System; using System.Globalization; using System.Linq; using Xunit.Sdk; [CLSCompliant(false)] publ...
32.295775
167
0.543393
[ "MIT" ]
jamesfoster/xbehave.net
src/Xbehave.Sdk.Net40/StepCommand.cs
2,295
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; namespace GymFitnessOlympic.Models { public partial class HoiVien { public int MaHoiVien { get; set; } public string MaThe { get; set; } public string TenH...
32.27451
93
0.587485
[ "Apache-2.0" ]
hynguyen2610/OlympicGym
GymFitnessOlympic/Models/entity/HoiVien.cs
1,659
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...
44.5
207
0.608882
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Cdn/V20190615Preview/CustomDomain.cs
7,476
C#
using Xunit.Abstractions; using Xunit.DependencyInjection; namespace Stl.Testing.Output; public class TestOutputHelperAccessor : ITestOutputHelperAccessor { public ITestOutputHelper? Output { get; set; } public TestOutputHelperAccessor(ITestOutputHelper? output) => Output = output; }
23.384615
65
0.776316
[ "MIT" ]
ScriptBox21/Stl.Fusion
src/Stl.Testing/Output/TestOutputHelperAccessor.cs
304
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using FluentAssertions; using Nest; using Tests.Core.Extensions; u...
27.615385
120
0.6784
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
tests/Tests/Aggregations/Metric/PercentileRanks/PercentileRanksAggregationUsageTests.cs
3,949
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x18_a922-e62d7335")] public void Method_0018_a922() { ii(0x18_a922, 3); call(0x18_ab18, 0x1f3); /...
71.4
102
0.385994
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-0018-a922.cs
5,355
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gat.Define { /// <summary> /// BusinessLogic Find 方法的傳出結果。 /// </summary> public class FindOutputResult { /// <summary> /// Entity 資料表 ...
18.761905
44
0.614213
[ "Apache-2.0" ]
Sway0308/GHM-PY
Library/Gat.Define/Args/FindOutputResult.cs
418
C#
using System; using Xplat_Core; using System.Net.Mail; namespace ImapClientAppShared { /// <summary> /// View model for the mail details page. /// </summary> public class MailDetailsViewModel : ViewModelBase { public MailDetailsViewModel () : base() { } /// <summary> /// Gets or sets th...
16.409091
76
0.55771
[ "MIT" ]
Samples-Playgrounds/Samples.Xamarin.Forms
diverse/forum-samples/beta-users/Krumelur/ImapClient/ImapClientAppShared/App/ViewModels/MailDetailsViewModel.cs
1,083
C#
using PFSoftware.Extensions; using PFSoftware.Extensions.DataTypeHelpers; using PFSoftware.Extensions.Enums; using PFSoftware.Finances.Models; using PFSoftware.Finances.Models.Categories; using PFSoftware.Finances.Models.Data; using System; using System.Collections.Generic; using System.ComponentModel; using System.Li...
44.803371
146
0.666834
[ "MIT" ]
PFSoftware/Finances
Views/Search/SearchTransactionsPage.xaml.cs
7,977
C#
using Microsoft.Win32; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WindowsInput { internal static class SWITCHES { static SWITCHES() { try { var value = Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOF...
22.888889
149
0.566748
[ "MIT" ]
AlexCSDev/WindowsInput
WindowsInput/SWITCHES.cs
826
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("12...
38.243243
84
0.74417
[ "MIT" ]
AlexanderStanev/SoftUni
CSharpFundamentalsModule/CSharpAdvanced/SetsAndDictionaries/SetsAndDictionariesExercise/12. Legendary Farming/Properties/AssemblyInfo.cs
1,418
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using DevExpress.XtraTreeList.Nodes; using Clifton.Tools.Data; using Intertexti.Controls; using Intertexti.DevExpressControls; using Intertexti.Models; namespace Intertexti.Views { public class Orphan...
31.295918
124
0.69449
[ "MIT" ]
cliftonm/intertexti
Views/OrphanNotecardsView.cs
3,069
C#
namespace JoinRpg.Dal.Impl.Migrations { using System.Data.Entity.Migrations; public partial class FieldsOrdering : DbMigration { public override void Up() { AddColumn("dbo.Projects", "ProjectFieldsOrdering", c => c.String()); AddColumn("dbo.ProjectCharacterFields", "...
32.772727
90
0.613037
[ "MIT" ]
HeyLaurelTestOrg/joinrpg-net
src/JoinRpg.Dal.Impl/Migrations/201601091848544_FieldsOrdering.cs
721
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; namespace Microsoft.AspNetCore.Razor.Language { public static class DirectiveDescriptorBuilderExtensions { public static I...
29.366569
111
0.527162
[ "Apache-2.0" ]
belav/aspnetcore
src/Razor/Microsoft.AspNetCore.Razor.Language/src/DirectiveDescriptorBuilderExtensions.cs
10,016
C#
/* * Copyright (c) Citrix Systems, 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: * * 1) Redistributions of source code must retain the above copyright * notice,...
36.546875
71
0.642582
[ "BSD-2-Clause" ]
ChrisH4rding/xenadmin
XenModel/XenAPI/task_status_type.cs
2,339
C#
using System.Collections.Generic; using System.Data; using System.Linq; using Perpetuum.Data; using Perpetuum.EntityFramework; using Perpetuum.ExportedTypes; using Perpetuum.Log; using Perpetuum.Services.ProductionEngine.CalibrationPrograms; namespace Perpetuum.Services.ProductionEngine { public class ProductionDa...
47.695313
167
0.655201
[ "MIT" ]
OpenPerpetuum/PerpetuumServer
src/Perpetuum/Services/ProductionEngine/ProductionDataAccess.cs
6,105
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Assets.Weapons; namespace Assets.Weapons { public class MeleeWeapon : Weapon { /// <summary> /// /// </summary> public override void Attack() { Debug.Log("Att...
19.473684
54
0.554054
[ "MIT" ]
TanguyHerbron/ShapeScape
Assets/Script/Weapons/Melee Weapons/MeleeWeapon.cs
372
C#