content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Text; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; namespace StoreApp.Models { public class DbContextClass : DbContext { public DbContextClass() { } public DbContextClass(DbContextOptions<DbContex...
28.8125
78
0.642082
[ "MIT" ]
042020-dotnet-uta/isaiahTaala-repo0
StoreApp/StoreApp/Models/DbContextClass.cs
924
C#
using System; using System.IO; using System.Net; using System.Text; namespace GodletRouter { public abstract class AbstractHttpHandler : IHttpHandler { private const string METHOD_DELETE = "DELETE"; private const string METHOD_HEAD = "HEAD"; private const string METHOD_GET =...
29.843137
93
0.529238
[ "Apache-2.0" ]
godlet-cn/GodletRouter
GodletRouter/AbstractHttpHandler.cs
3,046
C#
// Copyright 2017-2018 Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet) // // Dirk Lemstra licenses this file to you under the Apache License, // version 2.0 (the "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at: // // https://www.a...
33.078947
86
0.660302
[ "Apache-2.0" ]
Ben67366/line-bot-sdk-dotnet
tests/LineBot.Tests/Converters/UnixDateTimeConverterTests/TheWriteJsonMethod.cs
1,259
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
26.916667
102
0.625387
[ "ECL-2.0", "Apache-2.0" ]
kevinschoonover/pulumi-auth0
sdk/dotnet/Outputs/TenantGuardianMfaPage.cs
969
C#
using System.Collections.Generic; namespace MyCompany.Authentication.External { public interface IExternalAuthConfiguration { List<ExternalLoginProviderInfo> Providers { get; } } }
20.3
58
0.743842
[ "MIT" ]
StefanKoenen/aspnetboilerplate-5844
aspnet-core/src/MyCompany.Web.Core/Authentication/External/IExternalAuthConfiguration.cs
205
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Runtime.Serialization; using Umbraco.Core; using Umbraco.Core.Models; using Umbraco.Core.Models.ContentEditing; using Umbraco.Core.Serialization; using Umbraco.W...
37.976077
166
0.603881
[ "MIT" ]
lars-erik/Umbraco-CMS
src/Umbraco.Web/Models/ContentEditing/ContentItemDisplay.cs
7,939
C#
using Cdy.Spider.DevelopCommon; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; namespace Cdy.Spider.CalculateDriver.Develop { public class ScriptExpressConfigModel : ViewModelBase, IRegistorConfigModel { p...
24.712
83
0.432179
[ "Apache-2.0" ]
bingwang12/Spider
Develop/Drivers/Cdy.Spider.CalculateDriver.Develop/ScriptExpressConfigModel.cs
3,091
C#
using System; namespace ModernMoleculeViewer.Model { /// <summary> /// <see cref="Atom" /> subclass for atoms that are not waters and are not standard protein chain atoms. /// </summary> /// <remarks> /// Adds functionality to toggle visibility based on the <see cref="Molecule.ShowHetAtoms" /> prop...
31.978261
108
0.594154
[ "MIT" ]
kobush/ModernMoleculeViewer
win10/src/ModernMoleculeViewer/Model/HetAtom.cs
1,471
C#
// Copyright 2013-2017 Serilog Contributors // // 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 o...
64.426877
224
0.669325
[ "Apache-2.0" ]
chennssol/serilog-sinks-file
src/Serilog.Sinks.File/FileLoggerConfigurationExtensions.cs
32,602
C#
/* Copyright 2019 James Craig 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 writing, software di...
35.238095
129
0.635586
[ "Apache-2.0" ]
JaCraig/Enlighten
Enlighten/EntityFinder/DefaultEntityFinder.cs
2,222
C#
/* * Copyright 2018 James Courtney * * 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...
38.6
130
0.631261
[ "Apache-2.0" ]
StirlingLabs/FlatSharp
src/FlatSharp.Runtime/Attributes/FlatBufferItemAttribute.cs
3,476
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Components.HotReload; using Microsoft.AspNetCore.Components.WebAssembly.Serv...
33.293103
106
0.616261
[ "Apache-2.0" ]
a14907/AspNetCore
src/Components/test/testassets/TestServer/PrerenderedStartup.cs
1,931
C#
#region Apache License // // 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....
31.853659
85
0.68683
[ "Apache-2.0" ]
chris2001jm/njetty
NJetty.Util/Util/Ajax/ContinuationSupport.cs
1,308
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...
50.849057
157
0.623377
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20200401/ExpressRouteConnection.cs
10,780
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
40.930275
163
0.499574
[ "BSD-3-Clause" ]
AI-Grid/AI-Grid-2.0
OpenSim/Region/OptionalModules/Agent/UDP/Linden/LindenUDPInfoModule.cs
22,307
C#
using System; using System.Collections.Immutable; using Newtonsoft.Json; namespace Microsoft.DotNet.Maestro.Client.Models { public partial class ApiError { public ApiError() { } [JsonProperty("message")] public string Message { get; set; } [JsonProperty("errors...
19.55
58
0.624041
[ "MIT" ]
AlitzelMendez/arcade-services
src/Maestro/Client/src/Generated/Models/ApiError.cs
391
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AllReady.Areas.Admin.Models { public class TenantSummaryModel { public int Id { get; set; } public string Name { get; set; } public string LogoUrl { get; set; } ...
21.764706
44
0.621622
[ "MIT" ]
JesseLiberty/allReady
AllReadyApp/Web-App/AllReady/Areas/Admin/Models/TenantSummaryModel.cs
372
C#
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; namespace UE4.MovieSceneToo...
29.458333
63
0.759547
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/MovieSceneTools/Native/K2Node_GetSequenceBindings.cs
707
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
37.297872
309
0.662864
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/seldon-operator/dotnet/Kubernetes/Crds/Operators/SeldonOperator/Machinelearning/V1/Inputs/SeldonDeploymentSpecPredictorsComponentSpecsSpecEphemeralContainersSecurityContextSeLinuxOptionsArgs.cs
1,753
C#
using System; using System.Globalization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Movies.Service { public partial class ApiResponse { [JsonProperty("resultCount")] public long ResultCount { get; set; } [JsonProperty("results")] public MovieResult[] R...
30.09375
128
0.628245
[ "MIT" ]
AlejandroRuiz/MonkeyFestGdl2018
Completed/Movies.Service/ApiResponse.cs
965
C#
using Unity.Extension; using Unity.Lifetime; using Unity.Microsoft.DependencyInjection.Policy; using Unity.Policy; namespace Unity.Microsoft.DependencyInjection { internal class MdiExtension : UnityContainerExtension { protected override void Initialize() { Context.Policies.SetDefa...
26.055556
101
0.733475
[ "Apache-2.0" ]
pksorensen/microsoft-dependency-injection
src/MDIExtension.cs
471
C#
using System; using System.IO; using System.Reflection; using System.Collections.Generic; namespace EasyTranslate { public class EasyTranslate { public static string env = null; public static string loc = null; private static bool hasInit = false; private static Dic...
40.839623
176
0.529453
[ "Apache-2.0" ]
MLIMG/Easy-Translate
EasyTranslate.cs
4,331
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Text; using ICSharpCode.NRefactory.PatternMatching; namespace ICSharpCode.NRefactory.CSharp { public class QueryExpressionExpansionResult { public AstNode AstNode { get; p...
42.396648
190
0.722361
[ "MIT" ]
GreenDamTan/simple-assembly-exploror
ILSpy/NRefactory/ICSharpCode.NRefactory.CSharp/QueryExpressionExpander.cs
15,180
C#
using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using NUnit.Framework; using UnityEngine.TestTools; namespace UnityEngine.XR.Interaction.Toolkit.Tests { [TestFixture] class InteractionManagerTests { [TearDown] public void ...
43.492997
158
0.643717
[ "MIT" ]
rgonzaleztec/electivaRV
guias/VRHMD/OpenXRDemoLocomotion/Library/PackageCache/com.unity.xr.interaction.toolkit@1.0.0-pre.8/Tests/Runtime/InteractionManagerTests.cs
31,054
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using PagedList; using PagedList.Mvc; namespace Seminarski.ViewModels { public class CjenovnikIndexVM { public List<Rows> rows { get; set; } public class Rows { public int Id { g...
24.363636
48
0.593284
[ "MIT" ]
Hatidza97/RS1
Seminarski/ViewModels/CjenovnikIndexVM.cs
538
C#
/* * Square Connect API * * Client library for accessing the Square Connect APIs * * OpenAPI spec version: 2.0 * Contact: developers@squareup.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.Regular...
33.585366
156
0.58412
[ "Apache-2.0" ]
jmawebtech/connect-csharp-sdk
src/Square.Connect/Model/V1CreateDiscountRequest.cs
4,131
C#
/** * CameraController * * Author: Kirurobo http://twitter.com/kirurobo * License: CC0 https://creativecommons.org/publicdomain/zero/1.0/ */ using System; using UnityEngine; using UnityEngine.Serialization; public class CameraController : MonoBehaviour { [Flags] public enum RotationAxes { No...
28.377119
136
0.555025
[ "MIT" ]
kirurobo/UniWinApi
Assets/UniWinApiVrmViewer/Utils/CameraController.cs
7,139
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...
28.565934
224
0.550298
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Web/V20200601/GetWebAppInstanceFunctionSlot.cs
5,199
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
37.923077
84
0.748479
[ "MIT" ]
atkins126/I18N
Samples/WindowsForms/Signed/SatelliteContract/Properties/AssemblyInfo.cs
1,482
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NLog; namespace Revo.Infrastructure.DataAccess.Migrations { public class DatabaseMigrationExecutor : IDatabaseMigrationExecutor { private static readonly Logger Logger = LogManager.GetCurrentClassLog...
39.378882
181
0.623186
[ "MIT" ]
Zev-OwitGlobal/Revo
Revo.Infrastructure/DataAccess/Migrations/DatabaseMigrationExecutor.cs
6,342
C#
using System; namespace zmachine { public class ConsoleInputOutput : IZmachineInputOutput { public string ReadLine() { return Console.ReadLine(); } public void Write(String str) { Console.Write(str); } public void WriteLine(String...
18.52381
58
0.524422
[ "MIT" ]
dshifflet/WasmZork
main/zmachine/ConsoleInputOutput.cs
389
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.Extensions.DiagnosticAdapter.Internal { public class InvalidProxyOperationException : InvalidOperationException ...
28.8
111
0.736111
[ "Apache-2.0" ]
188867052/Extensions
src/DiagnosticAdapter/src/Internal/InvalidProxyOperationException.cs
434
C#
// // ProgressBarBackend.cs // // Author: // Andres G. Aragoneses <knocte@gmail.com> // // Copyright (c) 2012 Andres G. Aragoneses // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // ...
31.681818
81
0.70923
[ "MIT" ]
Bert1974/xwt
Xwt.WPF/Xwt.WPFBackend/ProgressBarBackend.cs
2,093
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
32.323529
131
0.725205
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-datadog
sdk/dotnet/Outputs/DashboardWidgetGroupDefinitionWidgetTimeseriesDefinitionRequestApmQueryGroupBy.cs
1,099
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures; namespace Contoso.FraudProtection.Web.Views.Manage { public static class ManageNavPages { public static string ActivePageKey =...
39.025641
140
0.743758
[ "MIT" ]
Bhaskers-Blu-Org2/Dynamics-365-Fraud-Protection-Samples
src/Web/Views/Manage/ManageNavPages.cs
1,522
C#
namespace MyExam.BindingModels { using System.ComponentModel.DataAnnotations; public class OrderBindingModel { [Required] [RegularExpression(@"\d{12}")] public string Barcode { get; set; } [Required] public int Quantity { get; set; } } }
21.142857
48
0.608108
[ "MIT" ]
mayapeneva/Web-Development-Basics
EXAMS/MyExam_18.12.2018/MyExam.BindingModels/OrderBindingModel.cs
298
C#
namespace MassTransit.Registration { public class EndpointRegistration<T> : IEndpointRegistration where T : class { public IEndpointDefinition GetDefinition(IConfigurationServiceProvider provider) { return provider.GetRequiredService<IEndpointDefinition<T>>(); ...
25.461538
88
0.673716
[ "ECL-2.0", "Apache-2.0" ]
Aerodynamite/MassTrans
src/MassTransit/Configuration/Registration/EndpointRegistration.cs
331
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://w...
43.242991
166
0.614005
[ "MIT" ]
hchungmsft/azure-powershell
src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/GetAzureSqlDatabaseReplicationLink.cs
4,523
C#
using System; using System.IO; using Gtk; using QSProjectsLib; namespace QSBanks { public partial class BanksUpdateWindow : Gtk.Window { BanksUpdater updater = new BanksUpdater(new QS.BaseParameters.ParametersService(QSMain.ConnectionDB)); public BanksUpdateWindow() : base(Gtk.WindowType.Toplevel) { t...
26.533333
116
0.721106
[ "Apache-2.0" ]
Art8m/QSProjects
Modules/QSBanks/BanksUpdateWindow.cs
1,599
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 ...
45.738676
200
0.594119
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/Arm/Sha1/HashUpdateParity.Vector128.UInt32.cs
26,254
C#
namespace RenamerCore.Models { public class FileMatch { public string OldPath { get; set; } public string NewPath { get; set; } } }
16.1
43
0.596273
[ "MIT" ]
amoscardino/renamer-core
Models/FileMatch.cs
161
C#
namespace ch4_TypingGame { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
46.004902
169
0.581993
[ "MIT" ]
dark-jay/Typing-Game
ch4_TypingGame/Form1.Designer.cs
9,387
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> //--...
36.144144
151
0.544367
[ "MIT" ]
GrahamBriggs/bcibeginner
brainHatServer/brainHatSharpGUI/Properties/Settings.Designer.cs
4,014
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { ...
44.81877
394
0.492454
[ "MIT" ]
AME-Redmond/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/AzureBlobStorageLinkedService.Serialization.cs
13,849
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Game.Graphics; using osu.Game.Rulesets.Scoring; namespace osu.Game.Rulesets.Mods { public abstract class ModSuddenDeath : Mod, IApp...
41
119
0.692178
[ "MIT" ]
StefanYohansson/osu
osu.Game/Rulesets/Mods/ModSuddenDeath.cs
1,189
C#
/** This work is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/deed.en_GB You are free: to copy, distribute, display, and perform the work to make derivative works to make commercial use of the work */ using UnityEngine; [ExecuteInEditMode] [AddCompon...
25.361905
127
0.717987
[ "MIT" ]
kiskovi97/RewindMan
RewindMan/Assets/Scripts/Glitch/unityglitch-master/GlitchEffect.cs
2,663
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> //--...
43.65625
181
0.613815
[ "MIT" ]
leandrovip/Vip.RichTextBox
src/Vip.RichTextBox/Properties/Resources.Designer.cs
2,796
C#
using System.Web.Mvc; namespace App.Client.Infastructure.Controllers { public class ErrorController : BaseController { public ActionResult Generic() { return View(); } public ActionResult Lockout() { return View(); } public Acti...
17.65625
49
0.484956
[ "MIT" ]
Geekballs/Bootmock
App.Client/Infastructure/Controllers/ErrorController.cs
567
C#
using System.Drawing; namespace YAXLibTests.SampleClasses { public class RectangleDynamicKnownTypeSample { public Rectangle Rect { get; set; } public static RectangleDynamicKnownTypeSample GetSampleInstance() { return new RectangleDynamicKnownTypeSample {Rect = new Rectang...
24.45
94
0.650307
[ "Apache-2.0" ]
GoodAI/BrainSimulator
Sources/Libs/3rd/YAXLib/YAXLibTests/SampleClasses/RectangleDynamicKnownTypeSample.cs
491
C#
using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace P1_DaytonSchuh.Controllers { public class RoleManagerController : Controller { private re...
29.159091
94
0.618862
[ "MIT" ]
12142020-dotnet-uta/DaytonSchuhRepo1
Projects/P1_DaytonSchuh/P1_DaytonSchuh/Controllers/Manage/RoleManagerController.cs
1,285
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Float = System.Single; using System; using System.Linq; using System.Text; using Microsoft.ML.Runtime; using ...
43.960452
169
0.524675
[ "MIT" ]
Caraul/machinelearning
src/Microsoft.ML.Transforms/Text/NgramTransform.cs
31,124
C#
using SkyMoon.Views; using Storm.Mvvm; namespace SkyMoon { public class App : MvvmApplication<SkyPage> { } }
10.636364
44
0.709402
[ "MIT" ]
Julien-Mialon/XamarinTD
TD-01/SkyMoon/SkyMoon/SkyMoon/App.cs
119
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Nybus; namespace Tests { public class TestClass { } public class TestCommand : ICommand { } public class TestEvent : IEvent { } public class TestCommandHandler : ICommandHandler...
21.75
70
0.668103
[ "MIT" ]
Kralizek/NybusLegacyAdapter
tests/Tests.Nybus.Legacy.NetExtensions.Adapters/TestTypes.cs
698
C#
using PowerAdmin.Admin.Usecases.Profile; using PowerAdmin.Admin.Usecases.User; using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Text; using System.Threading.Tasks; namespace PowerAdmin.Admin.Services.Interfaces { public interface IIdentityService { ...
28.521739
110
0.76372
[ "MIT" ]
PowerReport/pa
pa/src/PowerAdmin.Admin/Services/Interfaces/IIdentityService.cs
658
C#
/** Copyright (c) 2016 Foundation.IO (https://github.com/foundationio). All rights reserved. This work is licensed under the terms of the BSD license. For a copy, see <https://opensource.org/licenses/BSD-3-Clause>. **/ namespace CodeGenerator.Models { using System; using System.Collections.Generic; [Seri...
34.642857
199
0.562199
[ "BSD-3-Clause" ]
FoundationIO/CodeGenerator
Models/TMethod.cs
1,457
C#
// // ClassBind.cs // // Author: // JasonXuDeveloper(傑) <jasonxudeveloper@gmail.com> // // Copyright (c) 2020 JEngine // // 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 rest...
41.465035
128
0.391812
[ "MIT" ]
forget-myself/JEngine
UnityProject/Assets/Dependencies/JEngine/Core/ClassBind.cs
24,640
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ScriptTriggerController : MonoBehaviour { public string scriptContent = "Script Stem"; }
23.25
52
0.801075
[ "Apache-2.0" ]
MLH-Fellowship/red-panda
Assets/Scripts/ScriptTriggerController.cs
188
C#
using UnityEngine; using System.Collections; using System.Runtime.InteropServices; namespace uFlex { public class FlexDiffuseParticles : MonoBehaviour { public int m_diffuseParticlesCount = 0; public int m_maxDiffuseParticlesCount = 0; [HideInInspector] public Vector4[] m_dif...
35.43299
180
0.644457
[ "MIT" ]
DavidAzouz29/FleXFoamUnity
Assets/uFlex/Scripts/Solver/FlexDiffuseParticles.cs
3,439
C#
using UnityEngine; using System.Collections.Generic; using System.Linq; using System.Text; using Harmony; namespace NoAurora { [HarmonyPatch(typeof(LargeWorldEntity), nameof(LargeWorldEntity.OnEnable))] public class EntityCellPatch { public static void Postfix(LargeWorldEntity __instance) ...
25.52381
79
0.641791
[ "Apache-2.0" ]
EckoTheBat/SubnauticaMods
NoAurora/EntityCellPatch.cs
538
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* SubFieldCollection.cs -- коллекция подполей * Ars Magna project, http://arsmagna.ru * ------------------------------------------------------- * Status: ...
23.277916
89
0.485023
[ "MIT" ]
amironov73/ManagedIrbis2
OldSource/Libs/ManagedIrbis/Source/SubFieldCollection.cs
9,582
C#
using DataAccess.Abstract; using Entities.Concrete; using Entities.DTOs; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace DataAccess.Concrete.InMemory { public class InMemoryCarDal:ICarDal { List<Car> _cars; public ...
30.712329
111
0.576271
[ "MIT" ]
Sena-Sakalli/ReCapProject
ReCapProject/DataAccess/Concrete/InMemory/InMemoryCarDal.cs
2,246
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.269 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
41.986207
173
0.575066
[ "Apache-2.0" ]
SNBnani/Xian
Dicom/Network/SR.Designer.cs
6,090
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...
32.255814
109
0.645278
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/RecoveryServices/V20210601/Inputs/InquiryInfoArgs.cs
1,387
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody2D))] public class Player : Character { //health [SerializeField] bool regenerateHealth = true; [SerializeField] float healthRegenerateTime; [SerializeField, Range(0f,1...
29.86385
137
0.608867
[ "MIT" ]
wbc277072080/ThunderSpace
ThunderSpace/Assets/Scripts/Characters/Player/Player.cs
6,361
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DispatcherExtensions.cs" company="Catel development team"> // Copyright (c) 2008 - 2015 Catel development team. All rights reserved. // </copyright> // -------------------------...
52.479339
153
0.629606
[ "MIT" ]
uQr/Catel
src/Catel.MVVM/Catel.MVVM.Shared/Windows/Threading/Extensions/DispatcherExtensions.begininvoke.cs
6,352
C#
 namespace NorthWind.NorthWindDB.DesktopUI.Forms { partial class CategoriesPage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
44.5
140
0.59221
[ "Unlicense" ]
Hknyvz/NorthWind
NorthWind.NorthWindDB.DesktopUI/Forms/CategoriesPage.Designer.cs
6,677
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("Te...
38.083333
84
0.751276
[ "MIT" ]
jinnstudios/WebApi-FullFramework
1BaseFrameworkWebApi/BaseFrameworkWebApi/Properties/AssemblyInfo.cs
1,374
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace MyHeritage.App.Models.ManageViewModels { public class VerifyPhoneNumberViewModel { [Required] public string Code { get; set; } [Requi...
21.9
48
0.673516
[ "MIT" ]
nimeshvaghasiya/MyHeritage
src/MyHeritage.App/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs
440
C#
// <auto-generated /> using System; using AutoLot.Dal.EfStructures; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namesp...
36.523973
98
0.422597
[ "BSD-3-Clause", "MIT" ]
RomitMehta/presentations
DOTNETCORE/ASP.NETCore/v5.0/AutoLot50/AutoLot.Dal/EfStructures/Migrations/20201024233510_CustomSql.Designer.cs
10,667
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace TR2Randomizer { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
18.166667
42
0.706422
[ "MIT" ]
Anopob/TR2-Rando
TR2Randomizer/App.xaml.cs
329
C#
using Executorlibs.Bilibili.Protocol.Clients; using Executorlibs.Bilibili.Protocol.Models.General; using Executorlibs.MessageFramework.Handlers; namespace Executorlibs.Bilibili.Protocol.Handlers { public interface IInvarianceBilibiliMessageHandler<TMessage> : IBilibiliMessageHandler<TMessage>, IInvarianceMessageHa...
33.416667
187
0.835411
[ "MIT" ]
Executor-Cheng/Executorlibs
src/Executorlibs.Bilibili.Protocol/Handlers/IInvarianceBilibiliMessageHandler.cs
401
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. using Mosa.Compiler.Framework; namespace Mosa.Platform.x64.Instructions { /// <summary> /// Int /// </summary> /// <seealso cref="Mosa.Platform.x64.X64Instruction" /> public sealed class Int :...
28.185185
74
0.722076
[ "BSD-3-Clause" ]
marcelocaetano/MOSA-Project
Source/Mosa.Platform.x64/Instructions/Int.cs
1,522
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace HandlebarsViewEngine.Web { public class Startup { ...
32.056604
122
0.589759
[ "MIT" ]
philrawlings/AspNetCore-Handlebars
src/HandlebarsViewEngine.Web/Startup.cs
1,701
C#
namespace FubuMVC.Core.Security.AntiForgery { public class FormToken { public string Name { get; set; } public string TokenString { get; set; } } }
22
47
0.625
[ "Apache-2.0" ]
DarthFubuMVC/fubumvc
src/FubuMVC.Core/Security/AntiForgery/FormToken.cs
178
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("To...
38.378378
84
0.745775
[ "MIT" ]
Kesmy/Topshelf.Unity
src/Topshelf.Unity.Sample/Properties/AssemblyInfo.cs
1,423
C#
using Ramone.Tests.Common; namespace Ramone.Tests.Server.Handlers { public class EncodingHandler { public object Get(string type) { if (type == "html" || type == "xml") return new EncodingData { Data = "<html><body>ÆØÅúï´`'</body></html>" }; els...
19
55
0.480475
[ "MIT" ]
ArvoX/Ramone
Ramone.Tests.Server/Handlers/EncodingHandler.cs
603
C#
using System.Collections.ObjectModel; namespace gjp.io { /// <summary> /// Configuration used for determining how lines are read/processed /// </summary> public class Configuration { /// <summary> /// Gets or sets a value indicating whether to trim whitespace from lines. /...
32.333333
98
0.541071
[ "Unlicense" ]
gary-palmer/TextPreReader
src/TextPreReader/Configuration.cs
3,009
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
39.748936
410
0.613318
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/Glacier/Generated/Model/ListJobsRequest.cs
9,341
C#
using System; namespace ECommerceApp.Features.Core { public class BaseRequest { public Guid TenantUniqueId { get; set; } } }
16.333333
48
0.653061
[ "MIT" ]
QuinntyneBrown/e-commerce-app
Features/Core/BaseRequest.cs
149
C#
namespace StudentsAndWorkers { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public abstract class Human { private string firstName; private string lastName; public Human(string firstName , strin...
22.754717
75
0.461028
[ "MIT" ]
Konstantin-Todorov/CSharpOOP
C#OOP-Homeworks/04.OOP Principles-Part1/StudentsAndWorkers/Human.cs
1,208
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.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Abstractions; using Micro...
40.326203
122
0.622331
[ "Apache-2.0" ]
aneequrrehman/Mvc
test/Microsoft.AspNetCore.Mvc.Core.Test/ProducesAttributeTests.cs
7,541
C#
using UnityEngine; namespace BIG.LayeredFSMs { /// <summary> /// Base class for FSMs that provides a reference to the blackboard. /// </summary> public class BlackboardClient : MonoBehaviour { public Blackboard Blackboard { get; private set; } protected virtual void Awake() ...
18.952381
72
0.60804
[ "CC0-1.0" ]
tonyli99/aiPresentations
Assets/__02_Layered_FSMs/Scripts/FSMs/BlackboardClient.cs
400
C#
// ********************************************************************************** // Copyright (c) 2015-2021, Dmitry Merzlyakov. All rights reserved. // Licensed under the FreeBSD Public License. See LICENSE file included with the distribution for details and disclaimer. // // This file is part of NLedger th...
38.083333
122
0.577681
[ "BSD-3-Clause-Clear", "BSD-3-Clause" ]
VagyokC4/nledger
Source/NLedger/Times/FormatTypeEnum.cs
916
C#
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an as...
44.266667
377
0.799197
[ "MIT" ]
kellybirr/zonkey-archive
v4.2/Properties/AssemblyInfo.cs
1,993
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...
35.238095
253
0.680405
[ "Apache-2.0" ]
samritchie/aws-sdk-net
AWSSDK_DotNet35/Amazon.CloudHSM/Model/ModifyHsmResponse.cs
1,480
C#
using Daramee.Mint.Entities; using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Text; namespace Daramee.Mint.Systems { public interface ISystem { bool IsTarget ( Entity entity ); bool IsParallelExecution { get; } int Order { get; } void PreExecute (); void PostExe...
18.47619
52
0.729381
[ "MIT" ]
daramkun/MintEngine
Daramee.Mint.Shared/Systems/ISystem.cs
390
C#
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
37.172414
105
0.688776
[ "MIT" ]
cuteant/SpanNetty
src/DotNetty.Codecs.Mqtt/Packets/SubAckPacket.cs
2,158
C#
namespace QuickDraft.WebServer { public interface IWorkUnit { IHttpContext HttpContext { get; } void Process(); bool IsException { get; } bool IsPaused { get; } //void SetState(WorkUnitState state); //void SetException(Exception ex, string message); } }
18.764706
58
0.601881
[ "MIT" ]
whitestrannik/QuickDraft.WebServer
QuickDraft.WebServer/IWorkUnit.cs
321
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> //--...
47.386591
164
0.630411
[ "MIT" ]
NathanClouseAX/AAXDataEntityPerfTest
Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/PurchaseOrderLineCharge.cs
33,220
C#
using System; using System.Collections.Generic; using CommonPasswordsValidator.Internal; namespace CommonPasswordsValidator { /// <summary> /// Validates that the supplied password is not one of the 100 most common passwords /// </summary> public class Top100PasswordValidator<TUser> : CommonP...
29.588235
98
0.71173
[ "MIT" ]
andrewlock/netcore2preview
src/CommonPasswordsValidator/Top100PasswordValidator.cs
505
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("Tra...
36.068966
84
0.743786
[ "Apache-2.0" ]
react-native-kit/react-native-track-player-demo
windows/TrackPlayerDemo/Properties/AssemblyInfo.cs
1,047
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace TravelAgent.Web.admin.visa { public partial class EditVisaOrder : System.Web.UI.Page { public int orderid; private stat...
47.469388
177
0.521496
[ "Apache-2.0" ]
huahuajjh/distributor-yuyb
src/TravelAgent.Web/TravelAgent.Web/admin/visa/EditVisaOrder.aspx.cs
4,724
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Bot.Schema; namespace QnAMakerActiveLearningBot.Helpers { public class CardHelper { /// <summary> /// Get Hero card /// </summary> /// <param name="suggestionsList">...
30.183333
163
0.50635
[ "MIT" ]
BillStrait/BotBuilder-Samples
experimental/csharp_dotnetcore/qnamaker-activelearning-bot/Helpers/CardHelper.cs
1,813
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using Xunit; namespace System.CodeDom.Tests { public class CodeAttachEventState...
42.202703
157
0.787064
[ "MIT" ]
2E0PGS/corefx
src/System.CodeDom/tests/System/CodeDom/CodeAttachEventStatementTests.cs
3,125
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FluentAssertions; using Microsoft.EntityFrameworkCore; using NHSD.GPIT.BuyingCatalogue.E2ETests.Utils; using NHSD.GPIT.BuyingCatalogue.E2ETests.Utils.TestBases; using NHSD.GPIT.BuyingCatalogue.EntityFramework.Ordering.Models; usin...
34.877358
117
0.62456
[ "MIT" ]
nhs-digital-gp-it-futures/GPITBuyingCatalogue
tests/NHSD.GPIT.BuyingCatalogue.E2E.PublicBrowseTests/Areas/Ordering/CatalogueSolutions/Home/CatalogueSolutions.cs
3,699
C#
using System; using System.Collections.Generic; namespace ESFA.DC.ILR2021.DataStore.EF.Valid { public partial class LearnerHE { public LearnerHE() { LearnerHEFinancialSupports = new HashSet<LearnerHEFinancialSupport>(); } public int UKPRN { get; set; } publ...
27.818182
102
0.647059
[ "MIT" ]
SkillsFundingAgency/DC-ILR-2021-DataStore
src/Database/ESFA.DC.ILR2021.DataStore.EF.Valid/LearnerHE.cs
614
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:1.9.0.77 // SpecFlow Generator Version:1.9.0.0 // Runtime Version:4.0.30319.42000 // // Changes to this...
46
237
0.608827
[ "MIT" ]
City-of-Helsinki/organisaatiorekisteri
Source/OrganizationRegister.AcceptanceTests/Features/Organization/UpdatingOrganizationAuthorizationInformation.feature.cs
7,592
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace JBV_Protocol_test { [TestClass] public class RouterDuplicateTest { } }
13.818182
52
0.730263
[ "MIT" ]
vanBassum/.net_Library
TestProjects/ProtocolTesting/JBV Protocol test/RouterDuplicateTest.cs
154
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
34.677419
84
0.745116
[ "MIT" ]
NAXAM/sinch-verification-android-binding
demo/SinchVerificationQs/Properties/AssemblyInfo.cs
1,078
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using ChinookApp.Models; namespace ChinookApp.Data { public class PlaylistTrackConfiguration : IEntityTypeConfiguration<PlaylistTrack> { public void Configure(EntityTypeBuilder<PlaylistTrack> builder) {...
31.346154
85
0.646626
[ "Unlicense" ]
bricelam/EFCore.TextTemplating
ChinookApp/Data/PlaylistTrackConfiguration.cs
817
C#