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.Runtime.Serialization; using System.Threading.Tasks; namespace NeuralNetworkConstructor.Structure.Nodes { [DataContract] public class InputNode : IInputNode { [DataMember] private double _data; public event Action<double> OnOutput; public event...
20.4375
50
0.593272
[ "MIT" ]
A1essandro/NeuralNetworkConstructor
NeuralNetworkConstructor/Structure/Nodes/InputNode.cs
656
C#
using System; using System.Collections.Generic; using System.IO; using System.Web; using System.Web.Mvc; using System.Web.UI; using Cake.Web.Core.Content.Blog; using Cake.Web.Models; namespace Cake.Web.Helpers { public static class BlogHelper { public static string GetLink(this HtmlHelper helper, Blog...
30.803738
106
0.503337
[ "MIT" ]
kcamp/cake-website
src/Cake.Web/Helpers/BlogHelper.cs
3,298
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.ApplicationModel.UserDataTasks { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ #if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public...
26.941176
62
0.727074
[ "Apache-2.0" ]
AlexTrepanier/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel.UserDataTasks/UserDataTaskQuerySortProperty.cs
458
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class IClickable : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
15.473684
52
0.62585
[ "MIT" ]
DilaverSerif/PotatoPET
Assets/Scripts/Items/Clickable/IClickable.cs
294
C#
using System; using System.Diagnostics; using VertSoft.Peppol.Common.Model; namespace VertSoft.Peppol.Lookup.Model { public class DocumentTypeIdentifierWithUriTest { public virtual void simple() { DocumentTypeIdentifierWithUri documentTypeIdentifierWithUri = DocumentTypeIdentifierWithUr...
29.904762
140
0.746815
[ "MIT" ]
BartVertongen/Peppol.NETCoreLib
PeppolNETCoreTest/Lookup/model/DocumentTypeIdentifierWithUriTest.cs
628
C#
using Esri.ArcGISRuntime.Geometry; using Esri.ArcGISRuntime.Location; using System; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Threading; namespace ArcGISRuntimeSDKDotNet_DesktopSamples.Samples { /// <summary> /// This sample demonstrates the locati...
42.769231
228
0.602698
[ "Apache-2.0" ]
boonyachengdu/arcgis-runtime-samples-dotnet
src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/Mapping/LocationDisplay.xaml.cs
5,562
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EDIFileGenerator { class StringModifiers { //Reformats a list of strings into EDI format. Sets new lines based on delimiters in the list public static List<String> Whol...
34.079208
128
0.456421
[ "MIT" ]
AnthonyMarsili/EDIFileGenerator
StringModifiers.cs
3,444
C#
/* Copyright (C) 2014-2016 de4dot@gmail.com This file is part of dnSpy dnSpy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any late...
32.577534
154
0.717196
[ "MIT" ]
blackunixteam/dnSpy
dndbg/Engine/DnDebugger.cs
53,364
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
33.09375
85
0.539188
[ "MIT" ]
cybersol795/ocm-system
API/OCM.Net/OCM.API.Core/Data/MetadataGroup.cs
1,059
C#
namespace Xceed.Wpf.Toolkit.Primitives { public enum MouseWheelActiveTrigger { Focused, FocusedMouseOver, MouseOver, Disabled } }
12.818182
38
0.758865
[ "MIT" ]
ay2015/AYUI8
Ay/ay/SDK/CONTROLLIB/Large/PropertyGrid/UI/Info/MouseWheelActiveTrigger.cs
141
C#
//--------------------------------------------------------------------------------------------------- // <auto-generated> // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. // Generated by DynamicsCrm.DevKit - https://github.com/phuocle/Dynamics-Crm-DevKit // </auto-gen...
28.706897
102
0.678979
[ "MIT" ]
Kayserheimer/Dynamics-Crm-DevKit
test/v.2.10.31/Abc.LuckyStar2/Abc.LuckyStar2.Shared/Entities/SubscriptionStatisticsOffline.generated.cs
3,332
C#
namespace EZOper.CSharpSolution.WebUI.Areas.Help { public class DictionaryModelDescription : KeyValuePairModelDescription { } }
23.166667
74
0.776978
[ "MIT" ]
erikzhouxin/CSharpSolution
WebUI/Areas/Help/Models/DictionaryModelDescription.cs
139
C#
using System.Reflection; 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("AWSSDK.Route53Domains")] [assembly: Assemb...
45.84375
199
0.748466
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/Route53Domains/Properties/AssemblyInfo.cs
1,467
C#
using UnityEngine; using UnityEditor; using UnityEngine.UI; using UltimateSurvival.GUISystem; namespace UltimateSurvival.Editor { [CanEditMultipleObjects] [CustomEditor(typeof(GUIController))] public class GUIControllerEditor : UnityEditor.Editor { public override void OnInspectorGUI() { base.OnInspectorG...
26.74359
103
0.733461
[ "Apache-2.0" ]
alasaidi/file-cs
file/GUIControllerEditor.cs
1,045
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Diagnostics; using Microsoft.CodeAnalysis.CSharp.Symbols; namespace Microsoft.CodeAnalysis.CSharp { int...
38.523236
245
0.622241
[ "Apache-2.0" ]
Ashera138/roslyn
src/Compilers/CSharp/Portable/BoundTree/Constructors.cs
22,384
C#
using System.Collections.Generic; using System.Linq; using LinqFasterer.Shared; using Xunit; namespace LinqFasterer.Tests { public partial class Test { [Theory] [Trait(nameof(EnumerableF.WhereF), null)] [MemberData(nameof(Utilities.TestArray), typeof(int), 5, 0, 100, MemberType = typeo...
37.96
105
0.620653
[ "MIT" ]
Zaczero/LinqFaster
LinqFasterer.Tests/WhereTests.cs
951
C#
// SPDX-License-Identifier: MIT // Copyright (c) 2018-2021 David Lechner <david@lechnology.com> using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; namespace GISharp.CodeGen.Gir { /// <summary> /// Common base class for all GIR element types /// </summary> public...
40.4375
83
0.534905
[ "MIT" ]
dlech/gisharp
tools/CodeGen/Gir/GirNode.cs
7,764
C#
#pragma checksum "C:\Users\a\Desktop\angular\new\OnlineStore\Auth\Views\Shared\_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "31c859f5f1469ab42009dd188032e94f5caa7ecb" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Asp...
92.767442
414
0.731512
[ "MIT" ]
Aseeesh/Testing
Auth/obj/Debug/netcoreapp3.1/Razor/Views/Shared/_Layout.cshtml.g.cs
43,879
C#
// <auto-generated /> using System; using Marketplace.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Mark...
34.244048
125
0.471696
[ "MIT" ]
ironmansoftware/universal-dashboard-marketplace
src/Migrations/20190822195648_UserToModuleInfo.Designer.cs
17,261
C#
// Copyright (c) Microsoft. 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.Threading; namespace Roslyn.Utilities { internal static class ReaderWriterLockSlimExtensions { internal static Re...
27.652174
161
0.562369
[ "Apache-2.0" ]
0x53A/roslyn
src/Compilers/Core/Portable/InternalUtilities/ReaderWriterLockSlimExtensions.cs
1,910
C#
using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Linq; using AppKit; using Foundation; using Xamarin.Forms.Internals; namespace Xamarin.Forms.Platform.MacOS { public class ListViewRenderer : ViewRenderer<ListView, NSView> { bool _disposed; NSTable...
29.631313
119
0.72047
[ "MIT" ]
AuriR/Xamarin.Forms
Xamarin.Forms.Platform.MacOS/Renderers/ListViewRenderer.cs
11,736
C#
using Business.Abstract; using Entities; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace NetCoreWebMvc.Controllers { public class CompanyController : Controller { ICompanyService _companyService; public...
20.838384
68
0.487155
[ "MIT" ]
ugurkurekci/CoffeiSoft
NetCoreWebMvc/Areas/Admin/Controllers/CompanyController.cs
2,065
C#
// Developed by Softeq Development Corporation // http://www.softeq.com namespace Softeq.NetKit.Payments.SQLRepository.Interfaces { public interface IRepositoryFactory { IUserRepository UserRepository { get; } ICardRepository CardRepository { get; } IInvoiceRepository InvoiceRepository...
35
71
0.727619
[ "MIT" ]
Softeq/NetKit.Payment.Stripe
Softeq.NetKit.Payments.SQLRepository/Interfaces/IRepositoryFactory.cs
527
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Threading.Tasks; using VsRemote.Interfaces; using VsRemote.Models; namespace VsRemote.Controllers { [Route("[controller]")] [ApiController] public class SolutionController : Cont...
33.2
97
0.617702
[ "MIT" ]
ovintu/vs-remote
VsRemote/VsRemote/Controllers/SolutionController.cs
2,160
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...
52.653061
245
0.59677
[ "MIT" ]
Agazoth/azure-powershell
src/Migrate/generated/api/Models/Api20210210/InMageVolumeExclusionOptions.TypeConverter.cs
7,594
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Asse...
68.339623
409
0.791552
[ "Apache-2.0" ]
orinem/aws-sdk-net
sdk/src/Services/CloudHSM/Properties/AssemblyInfo.cs
3,622
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using JNIGenerator; using Newtonsoft.Json.Linq; public class StructSnipet : Snipet { public string Name { get; } public string ModelPackage { get; private set; } public List<Property> Properties { get; } public StructS...
32.291667
193
0.685161
[ "MIT" ]
agabor/JNIGenerator
JNIGenerator/StructSnipet.cs
777
C#
using System; namespace Chronoscope.Events { /// <summary> /// Default implementation of <see cref="ITrackerCompletedEvent"/>. /// </summary> internal class TrackerCompletedEvent : ITrackerCompletedEvent { public TrackerCompletedEvent(Guid scopeId, Guid trackerId, DateTimeOffset timestamp,...
25.692308
110
0.613772
[ "MIT" ]
JorgeCandeias/Chronoscope
src/Chronoscope.Core/Events/TrackerCompletedEvent.cs
670
C#
using System; using UnityEngine; using UnityEngine.Playables; using UnityEngine.Timeline; [Serializable] public class NavAgentTravelClip : PlayableAsset, ITimelineClipAsset { public NavAgentTravelBehaviour template = new NavAgentTravelBehaviour (); public ClipCaps clipCaps { get { return ClipCaps....
26.608696
88
0.736928
[ "MIT" ]
JCx7/TSEiAVN
CustomTrack/NavAgentTravel/NavAgentTravelClip.cs
612
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.Linq; using System.Reflection; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFr...
43.851852
132
0.624578
[ "Apache-2.0" ]
0b01/efcore
src/EFCore.Relational/Metadata/Conventions/RelationalDbFunctionAttributeConvention.cs
4,736
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.IO; using System.Linq; using System.Net.Mail; using System.Text; using System.Web.WebPages.Scope; using System.Web.WebPages.TestUtils; using Microsoft.TestCommon; namespac...
34.739474
197
0.550867
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
test/System.Web.Helpers.Test/WebMailTest.cs
13,203
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 #if !DOTNETCORE using System.Linq; using System; using System.Net; using System.Threading; using System.Threading...
35.45045
127
0.777382
[ "Apache-2.0" ]
magaum/elasticsearch-net
tests/Tests/ClientConcepts/Connection/HttpWebRequestConnectionTests.cs
3,937
C#
using System; using System.Linq; using System.Text.RegularExpressions; using Dfc.CourseDirectory.Core.DataStore.CosmosDb; using Dfc.CourseDirectory.Core.DataStore.CosmosDb.Queries; using FluentValidation; namespace Dfc.CourseDirectory.Core.Validation.VenueValidation { public static class RuleBuilderExtensions ...
47.761905
950
0.562978
[ "MIT" ]
uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory
src/Dfc.CourseDirectory.Core/Validation/VenueValidation/RuleBuilderExtensions.cs
6,020
C#
using System; namespace Avalonia.OpenGL { public interface IGlSurface : IDisposable { IGlDisplay Display { get; } void SwapBuffers(); } }
16.6
45
0.63253
[ "MIT" ]
intechinfo/Avalonia
src/Avalonia.OpenGL/IGlSurface.cs
166
C#
using System; using System.Linq; using Content.Server.Stunnable.Components; using Content.Server.UserInterface; using Content.Shared.ActionBlocker; using Content.Shared.DragDrop; using Content.Shared.Hands; using Content.Shared.Instruments; using Content.Shared.Interaction; using Content.Shared.Notification.Managers; u...
31.266667
159
0.536165
[ "MIT" ]
AndrewSmart/space-station-14
Content.Server/Instruments/InstrumentComponent.cs
12,194
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
40.361538
242
0.535544
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/CostsOperationsExtensions.cs
5,247
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.OutlookApi; namespace NetOffice.OutlookApi.Behind { /// <summary> /// DispatchInterface _TextRuleCondition /// SupportByVersion Outlook, 12,14,15,16 /// </summary> [SupportByVersion("Outlook",...
26.314721
135
0.664159
[ "MIT" ]
igoreksiz/NetOffice
Source/Outlook/Behind/DispatchInterfaces/_TextRuleCondition.cs
5,186
C#
// ----------------------------------------------------------------------------- // 让 .NET 开发更简单,更通用,更流行。 // Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd. // // 框架名称:Furion // 框架作者:百小僧 // 框架版本:2.14.1 // 源码地址:Gitee: https://gitee.com/dotnetchina/Furion // Github:https://github.com/monksoul/Furion // 开源协议...
38.723757
157
0.608361
[ "Apache-2.0" ]
Cuixq123/Furion
framework/Furion/DatabaseAccessor/Db.cs
7,500
C#
using UnityEngine; namespace PlayFab.Internal { //public to be accessible by Unity engine public class SingletonMonoBehaviour<T> : MonoBehaviour where T : SingletonMonoBehaviour<T> { private static T _instance; public static T instance { get { ...
26.016949
94
0.461889
[ "MIT" ]
BrianPeek/Scavenger
src/Unity/Assets/PlayFabSdk/Shared/Internal/SingletonMonoBehaviour.cs
1,535
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.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; using Syst...
48.83779
179
0.60895
[ "Apache-2.0" ]
DominikDitoIvosevic/roslyn
src/Features/Core/Portable/InheritanceMargin/InheritanceMarginServiceHelpers.cs
27,400
C#
using System; using System.Net; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Newtonsoft.Json; namespace iSHARE.Api.Configurati...
39.02
143
0.624295
[ "Unlicense" ]
iSHARE-Scheme/Authorization-Registry
iSHARE.Api/Configurations/ExceptionHandler.cs
1,953
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
33.046512
153
0.589022
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Models/Generated/ListItemVersion.cs
1,421
C#
using System; using System.Collections.Generic; using System.Text; namespace service { public interface IDemoService { } }
12.454545
33
0.715328
[ "Apache-2.0" ]
jacksong107/mynetcore
src/01/WebApplication1/service/IService.cs
139
C#
using System.Collections.Generic; using System.Text.RegularExpressions; namespace LeapYear.Objects { public class LeetSpeakTranslator { public string Translate(string plainEnglish) { // eventually your code will go here char[] plainEnglishLetters = plainEnglish.ToCharArray(); List<string>...
24.9
70
0.529317
[ "MIT" ]
CharlesEwel/leapyearcsharp
Objects/LeetSpeakTranslator.cs
1,245
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Runtime.Serialization { using System; using System.Diagnostics; using System.Globalization; using System.IO; using System.Xml; using System.R...
45.687204
206
0.674637
[ "MIT" ]
AUTOMATE-2001/runtime
src/libraries/System.Private.DataContractSerialization/src/System/Runtime/Serialization/XmlObjectSerializer.cs
19,280
C#
#pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.ComponentModel; namespace Efl { /// <summary>Efl boolean model class</summary> [BooleanModelNativeInherit] public class BooleanModel : Efl.CompositeModel, Efl.Eo.IWrapper...
57.932099
280
0.696963
[ "Apache-2.0" ]
wantfire/TizenFX
internals/src/EflSharp/EflSharp/efl/efl_boolean_model.eo.cs
9,385
C#
using System; using System.Threading.Tasks; using AVFoundation; using CoreVideo; using CoreFoundation; using Foundation; using CoreMedia; namespace PhotoFilterExtension { public abstract class ReadWriteSampleBufferChannel { readonly AVAssetReaderOutput readerOutput; protected AVAssetReaderOutput ReaderOutput {...
22.815534
125
0.714468
[ "MIT" ]
Art-Lav/ios-samples
ios8/PhotoFilter/PhotoFilterExtension/ReadWriteChannel/ReadWriteSampleBufferChannel.cs
2,352
C#
using System; using System.ComponentModel; namespace EzPasswordValidator.Checks { /// <summary> /// Factory class for generating instances of <see cref="Check"/> classes. /// </summary> public static class CheckFactory { /// <summary> /// Creates the a check for the specified check...
51.385714
156
0.618849
[ "MIT" ]
havardt/EzPasswordValidator
source/EzPasswordValidator/Checks/CheckFactory.cs
3,599
C#
 namespace LaunchDarkly.Sdk.Server.Interfaces { /// <summary> /// Optional interface for components to describe their own configuration. /// </summary> /// <remarks> /// <para> /// The SDK uses a simplified JSON representation of its configuration when recording diagnostics data. /// Any cl...
47.25
107
0.677249
[ "Apache-2.0" ]
launchdarkly/dotnet-client
src/LaunchDarkly.ServerSdk/Interfaces/IDiagnosticDescription.cs
1,514
C#
namespace PhotoShare.Client.Core.Commands { using System; using Attributes; using Data; using Models; using System; using System.Data.Entity; public class ShareAlbumCommand : Command { [Inject] private PhotoShareContext context; [Inject] private DbSet<Us...
23.512195
60
0.579876
[ "MIT" ]
ivajlotokiew/Databases_Entity_Framework
Best_Practices_And_Architecture/PhotoShare.Client/Core/Commands/ShareAlbumCommand.cs
966
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...
40.068493
117
0.579145
[ "MIT" ]
Milstein/azure-sdk-tools
WindowsAzurePowershell/src/Commands.Test/Websites/SaveAzureWebsiteLogTests.cs
5,707
C#
<<<<<<< HEAD namespace CharacterCreator.Winform ======= <<<<<<< HEAD:classwork/MovieLibrary - Original/Itse1430.MovieLib.Host/AboutBox1.Designer.cs namespace Itse1430.MovieLib.Host ======= namespace CharacterCreator.Winform >>>>>>> 68cf341013862ab2bb00b6ceee97f1db28444cf4:labs/Lab 2/CharacterCreator.Winform/OnAboutB...
53.898148
159
0.651263
[ "MIT" ]
Shelbyjones42/itse1430
labs/labs/Lab 2/CharacterCreator.Winform/OnAboutBox.Designer.cs
11,648
C#
#region Copyright /*Copyright (C) 2015 Wosad Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
30.121951
75
0.720648
[ "Apache-2.0" ]
Wosad/Wosad.Design
Tests/Wosad.Loads.Tests/ASCE7/ASCE7_10/C03_DeadLoads/RoofMetalDeckTests.cs
1,237
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ProcessCollision : MonoBehaviour { public int points = 0; private void OnTriggerEnter(Collider collision) { Debug.Log("Collision: " + collision.gameObject.tag); if (collision.gameObject.t...
24.761905
61
0.611538
[ "CC0-1.0" ]
Sunno/ggj-perros-hermanos
Assets/Scripts/ProcessCollision.cs
520
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...
36.935484
77
0.770306
[ "MIT" ]
mbarbierato/GraphicsControls
src/GraphicsControls.Sample.Android/Properties/AssemblyInfo.cs
1,148
C#
using System; using System.Collections.Generic; using System.Text; using SQLite; using MotorPremiumCalculator.Shared.Repository.Tables; using System.IO; namespace MotorPremiumCalculator.Shared.Repository { public class TwoWheelerDb : SQLiteConnection { static object syncObj = new object(); pub...
34.137405
162
0.528399
[ "Apache-2.0" ]
JDSRAO/MPC_V1
MotorPremiumCalculator.Shared.Repository/TwoWheelerDb.cs
4,474
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...
40.528302
421
0.647114
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Compute/V20171201/Inputs/ImageReferenceArgs.cs
2,148
C#
// Copyright (c) 2017 Trevor Redfern // // This software is released under the MIT License. // https://opensource.org/licenses/MIT namespace SilverNeedle.Characters.SpecialAbilities { public class AuraOfProtection : AbilityDisplayAsName { } }
22.083333
56
0.716981
[ "MIT" ]
shortlegstudio/silverneedle-web
silverneedle/lib/Characters/SpecialAbilities/AuraOfProtection.cs
265
C#
using Common.Contracts; using Common.Contracts.Repo; using Common.Models; using Common.Sessions; using System.Collections.Generic; using System.Linq; namespace Infrastructure.Repo { public class TradeRepo: BaseXMLRepo<Trade>, ITradeRepo { public TradeRepo(SessionProvider session, ILogger logger) : bas...
33.465517
121
0.589387
[ "MIT" ]
flipsee/PortfolioTrackerApp
Infrastructure/Repo/TradeRepo.cs
1,943
C#
using System; using _03BarracksFactory.Contracts; namespace _03BarracksFactory.Core.Commands { internal class FightUnitCommand : IExecutable { private string[] data; private IRepository repository; private IUnitFactory unitFactory; public FightUnitCommand(string[] d...
25.68
97
0.5919
[ "MIT" ]
viktorMirev/SoftUni-tasks-others
OOPAdvanced/Reflection/BarracksFactory(CommandPattern)/Core/Commands/FightUnitCommand.cs
644
C#
/* * Location Intelligence APIs * * Incorporate our extensive geodata into everyday applications, business processes and workflows. * * OpenAPI spec version: 8.5.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
33.742857
126
0.583404
[ "Apache-2.0" ]
PitneyBowes/LocationIntelligenceSDK-CSharp
src/pb.locationIntelligence/Model/PBKeyAddressRequest.cs
4,724
C#
namespace Reusable.CRUD.JsonEntities { public class Catalog { public int id { get; set; } public string Value { get; set; } } }
17.333333
41
0.583333
[ "Apache-2.0" ]
JFigue27/MRO-Generated
backend/Reusable/CRUD/JsonEntities/Catalog.cs
156
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 ...
49.866667
150
0.809715
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-dbs/Dbs/Transform/V20190306/CreateIncrementBackupSetDownloadResponseUnmarshaller.cs
2,244
C#
namespace VSCC.Controls.Dialogs { using System.Windows; using System.Windows.Controls; using VSCC.Roll20.AdvancedIntegration; /// <summary> /// Interaction logic for NewScalableDamageLineDialog.xaml /// </summary> public partial class NewScalableDamageLineDialog : Window { publ...
31.32
90
0.592167
[ "MIT" ]
skyloutyr/VSCC
VSCC/Controls/Dialogs/NewScalableDamageLineDialog.xaml.cs
2,351
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum ADSType { Scope, Aim, } public enum BulletType { Small, Shotgun, Medium, Large, Elemental, } public class GunStats : MonoBehaviour { [Header("Base")] public float bulletDamage = 150f; public floa...
19.782609
40
0.683516
[ "MIT" ]
FloppyDisk69420/Orion
March/Scripts/Stats/GunStats.cs
912
C#
using System; using Newtonsoft.Json; namespace Smartling.Api.Authentication { public class AuthApiClient : ApiClientBase { public const string AUTH_API_V2_AUTHENTICATE = "/auth-api/v2/authenticate"; public const string AUTH_API_V2_REFRESH = "/auth-api/v2/authenticate/refresh"; private readonly string ...
36.615385
109
0.745098
[ "Apache-2.0" ]
Smartling/api-sdk-net
Smartling.API/Authentication/AuthApiClient.cs
1,430
C#
namespace Strategy { using System.Collections.Generic; /// <summary> /// The abstract sort strategy. /// </summary> public abstract class AbstractSortStrategy { /// <summary> /// The sort. /// </summary> /// <param name="list"> /// The list. /// ...
21.666667
53
0.523077
[ "MIT" ]
enriqueescobar-askida/Kinito.Patterns.Behavioral
Strategy/AbstractSortStrategy.cs
392
C#
// ASM: a very small and fast Java bytecode manipulation framework // Copyright (c) 2000-2011 INRIA, France Telecom // 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...
45.153005
112
0.600992
[ "BSD-3-Clause" ]
CursedJvmSharp/ObjectWeb.Asm
ObjectWeb.Asm/ObjectWeb/Asm/ModuleVisitor.cs
8,265
C#
namespace Spark { public class NullCacheService : ICacheService { public object Get(string identifier) { return null; } public void Store(string identifier, CacheExpires expires, ICacheSignal signal, object item) { } } }
21.857143
101
0.565359
[ "Apache-2.0" ]
RobertTheGrey/spark
src/Spark/NullCacheService.cs
306
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 ...
14.447471
63
0.550229
[ "Apache-2.0" ]
pengweiqhca/aliyun-openapi-net-sdk
aliyun-net-sdk-ccc/CCC/Model/V20200701/SignInGroupResponse.cs
3,713
C#
using System.Collections.Generic; using Avocado.DependenciesVisualizer.Base.Editor.Scripts.State; using DependenciesVisualizer.Base.Editor.Scripts.ReorderList; using UnityEditor; using UnityEditorInternal; using UnityEngine; namespace Avocado.DependenciesVisualizer.Base.Editor.Scripts { public class LayersWindow {...
36.478873
87
0.582625
[ "MIT" ]
gadget114514/unityeditorextensions
Assets/Plugins/Avocado/DependenciesVisualizer/Base/Editor/Scripts/LayersWindow.cs
2,590
C#
using System; using EP.IdentityIsolation.Infra.CrossCutting.Identity.Model; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security.DataProtection; namespace EP.IdentityIsolation.Infra.CrossCutting.Identity.Configuration { public class ApplicationUserManager : UserMana...
36.377049
101
0.617395
[ "MIT" ]
EduardoPires/IdentityIsolation
src/EP.IdentityIsolation.Infra.CrossCutting.Identity/Configuration/ApplicationUserManager.cs
2,237
C#
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_CollisionDetectionMode2D : LuaObject { static public void reg(IntPtr l) { getEnumTable(l,"UnityEngine.CollisionDetectionMode2D"); addMember(l,0,"None"); addMember(l,1,"Continuous"); ...
24.785714
67
0.769452
[ "MIT" ]
LunaFramework/Luna
luna/Assets/LuaObject/Unity/Lua_UnityEngine_CollisionDetectionMode2D.cs
349
C#
using NUnit.Framework; namespace TDD { [TestFixture] public class RomanNumeralsTests { [Test] public void Parse() { Assert.AreEqual(1, Roman.Parse("I")); } } public class Roman { public static in Parse(string roman) { return 0; } } }
11.521739
40
0.637736
[ "MIT" ]
JackieG19/TestDrivenDevelopment
TestDrivenDevelopment/RomanNumerals/TestCase1/RomanNumeralsTest1.cs
265
C#
using System; using System.Collections; using System.Collections.Generic; namespace OneUpside.Reactive { /// <summary> /// An ordered collection of <see cref="IDisposable"/>'s. /// </summary> public sealed class MultiDisposable : IDisposable, IEnumerable<IDisposable> { /// <summary> /// The ordered...
22.703125
77
0.602891
[ "BSD-3-Clause" ]
1Upside/OneUpside-Reactive
MultiDisposable.cs
1,455
C#
using System; using System.Web.Http; using System.Web.Mvc; using APIChrysallis.Areas.HelpPage.ModelDescriptions; using APIChrysallis.Areas.HelpPage.Models; namespace APIChrysallis.Areas.HelpPage.Controllers { /// <summary> /// The controller that will handle requests for the help page. /// </summary> p...
30.126984
115
0.599052
[ "MIT" ]
shuansanchez/APIChrysallis
APIChrysallis/Areas/HelpPage/Controllers/HelpController.cs
1,898
C#
using System; using AutoFixture; using BookLovers.Base.Domain.Rules; using BookLovers.Readers.Domain.ProfileManagers; using BookLovers.Readers.Domain.ProfileManagers.Services; using BookLovers.Readers.Events.ProfileManagers; using BookLovers.Shared.Privacy; using FluentAssertions; using NUnit.Framework; namespace Boo...
43.543478
120
0.702446
[ "MIT" ]
kamilk08/BookLoversApi
BookLovers.Readers.Tests/UnitTests/Aggregates/ProfilePrivacyManagerTests.cs
4,008
C#
using Ship; using SubPhases; using System; using Tokens; namespace Ship { namespace FirstEdition.StarViper { public class Thweek : StarViper { public Thweek() : base() { PilotInfo = new PilotCardInfo( "Thweek", 4, ...
34.621277
147
0.599803
[ "MIT" ]
97saundersj/FlyCasual
Assets/Scripts/Model/Content/FirstEdition/Pilots/StarViper/Thweek.cs
8,138
C#
using System; namespace adrapi.Ldap { public class LdapServer { public string FQDN { get; set; } public int Port { get; set; } public LdapServer() { } } }
13.1875
40
0.511848
[ "Apache-2.0" ]
ffquintella/adrapi
adrapi/Ldap/LdapServer.cs
213
C#
using System; using System.Diagnostics; using System.Threading.Tasks; using System.Xml.Linq; using Windows.Storage.Streams; using Windows.Web.Http; using DIALClient.Model; namespace DIALClient { /// <summary> /// DIAL Rest Service class used to interact with specified discovered device. /// </summary> ...
36.137931
155
0.569656
[ "MIT" ]
santoro-mariano/dial-client
DIALPhone/src/DialRestService.cs
5,242
C#
using System.Security.Cryptography; namespace Apocryph.FunctionApp.Model { public struct ValidatorSignature { public byte[] Bytes { get; set; } } }
18.666667
41
0.684524
[ "MIT" ]
cyppan/apocryph
src/Apocryph.FunctionApp/Model/ValidatorSignature.cs
168
C#
using UnityEngine; using UnityEngine.Events; namespace SweatyChair.InputSystem { [System.Serializable] public class ButtonStateChangeEvent : UnityEvent<ButtonState> { } [System.Serializable] public class ButtonValueChangeEvent : UnityEvent<bool> { } [System.Serializable] public class AxisValueChangeEvent : ...
23.545455
66
0.783784
[ "MIT" ]
Sweaty-Chair/SC-Essentials
Assets/SweatyChair/Essentials/Inputs/GenericInputManager/InputEvents.cs
520
C#
using System; using System.Collections.Generic; using System.Data; namespace LinqToDB.DataProvider.MySql { using System.Collections; using System.Threading; using System.Threading.Tasks; using Common; using Data; using Mapping; using SqlProvider; public class MySqlDataProvider : DynamicDataProv...
32.554217
144
0.73057
[ "MIT" ]
Edward-Alchikha/linq2db
Source/LinqToDB/DataProvider/MySql/MySqlDataProvider.cs
5,241
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.OleDb; // Ole DB namespace TFR_cons { class Program { static void Main(string[] args) { //Console.WriteLine("Hello from MDB tutorial file!"); //DataBase.DBCreate(); //D...
16.111111
56
0.682759
[ "MIT" ]
dacoders77/TFR
MDB_access for tfr/Program.cs
437
C#
using System; using System.ComponentModel.Design; using System.Windows.Forms; using Microsoft.VisualStudio.Shell; using WebLinter; namespace WebLinterVsix { internal sealed class ResetConfigFilesCommand { private readonly Package _package; private ResetConfigFilesCommand(Package package) ...
34.72549
132
0.664032
[ "Apache-2.0" ]
madskristensen/WebAnalyzer
src/WebLinterVsix/Commnads/ResetConfigFilesCommand.cs
1,773
C#
using Microsoft.AspNetCore.Mvc.ViewFeatures; using Newtonsoft.Json; namespace Michaelsoft.BodyGuard.Common.Extensions { public static class TempDataExtension { /// <summary> /// Sets an object into the TempData by first serializing it to JSON. /// </summary> /// <typeparam nam...
34.210526
86
0.536154
[ "MIT" ]
michaeldisaro/BodyGuard
Michaelsoft.BodyGuard.Common/Extensions/TempDataExtension.cs
1,302
C#
using System; namespace PowerForensics.Windows.Registry { /// <summary> /// /// </summary> public class SecurityDescriptor { #region Enums /// <summary> /// /// </summary> [Flags] public enum SECURITY_KEY_CONTROLS { /// <summar...
23.275862
80
0.443556
[ "MIT" ]
Cyberdeep/PowerForensics
src/PowerForensicsCore/src/PowerForensics.Windows.Registry/Cells/SecurityDescriptor.cs
3,377
C#
// Copyright (c) Bruno Brant. All rights reserved. using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using Sprache; namespace TinyJavaParser { /// <summary> /// Extensions for Enum types. /// </summary> public static class EnumExtensions { ...
31
107
0.65738
[ "MIT" ]
bruno-brant/dotnet-java-dependency-analyser
src/TinyJavaParser/EnumExtensions.cs
2,046
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; namespace Positron.Server.Hosting.Internal { internal abstract class RequestFrame : IFeatureCollection { p...
26.545455
96
0.488584
[ "Apache-2.0" ]
CenterEdge/Positron
src/Positron.Server.Hosting/Internal/RequestFrame.cs
3,506
C#
using System; namespace Api.Models { public class Beer { public int Id { get; set; } public string Name { get; set; } public decimal AlcoholVol { get; set; } public int BreweryId { get; set; } public Brewery Brewery { get; set; } public Uri ImageUri { get; ...
16.75
47
0.552239
[ "MIT" ]
BuildItBusk/Alecademy
Api/Models/Beer.cs
337
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; namespace Azure.Core.TestFramework { public class MockRequest : Request { public MockRequest() { ClientRequestId = Gui...
26.482456
143
0.572044
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/core/Azure.Core.TestFramework/src/MockRequest.cs
3,021
C#
using System; using System.Runtime.Serialization; namespace LibGit2Sharp { /// <summary> /// The exception that is thrown when the provided specification cannot uniquely identify a reference, an object or a path. /// </summary> [Serializable] public class AmbiguousSpecificationException : LibGit2...
48.020408
270
0.660433
[ "MIT" ]
improvedk/libgit2sharp
LibGit2Sharp/AmbiguousSpecificationException.cs
2,353
C#
namespace FirstTest.Areas.HelpPage.ModelDescriptions { public class EnumValueDescription { public string Documentation { get; set; } public string Name { get; set; } public string Value { get; set; } } }
21.909091
52
0.643154
[ "MIT" ]
romeoroman/first-test
FirstTest/Areas/HelpPage/ModelDescriptions/EnumValueDescription.cs
241
C#
// Copyright 2020 New Relic, Inc. All rights reserved. // SPDX-License-Identifier: Apache-2.0 #if NETFRAMEWORK using NewRelic.Core.Logging; using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Linq; namespace NewRelic.SystemInterfaces { public interface IPerformanceCounterProx...
42.884817
244
0.656574
[ "Apache-2.0" ]
JoshuaColeman/newrelic-dotnet-agent
src/NewRelic.Core/NewRelic.SystemInterfaces/PerformanceCounterProxy.cs
8,191
C#
using System; using Newtonsoft.Json; namespace Infinity.Models { /// <summary> /// The item changed in a Git commit. /// </summary> public class CommitItem { /// <summary> /// The type of object changed (blob or tree). /// </summary> [JsonProperty("gitObjectType")] ...
25.051282
61
0.5261
[ "Apache-2.0" ]
ethomson/infinity.net
Infinity/Models/CommitItem.cs
979
C#
// Distrubuted under the MIT license // =================================================== // SharperMC uses the permissive MIT license. // // 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 Softwa...
26.856383
123
0.692414
[ "MIT" ]
SharperMC/SharperMC
SharperMC/SharperMC.Core/SharperMC.Core/Items/Item.cs
5,060
C#
// ReSharper disable All namespace OpenTl.Schema { using System; using System.Collections; using System.Text; using OpenTl.Schema; using OpenTl.Schema.Serialization.Attributes; [Serialize(0xa187d66f)] public sealed class TSendMessageRecordVideoAction : ISendMessageAction { } }
16.277778
71
0.778157
[ "MIT" ]
zzz8415/OpenTl.Schema
src/OpenTl.Schema/_generated/_Entities/SendMessageAction/TSendMessageRecordVideoAction.cs
295
C#
using System; using System.Runtime.InteropServices; public class Taskbar { private ITaskbarList3 Instance = (ITaskbarList3)new TaskBarCommunication(); public IntPtr Handle { get; set; } public Taskbar(IntPtr handle) => Handle = handle; [ComImportAttribute] [InterfaceTypeAttribute(ComInterfaceTy...
31.320755
111
0.706024
[ "MIT" ]
floppyD/mpv.net
mpv.net/Native/Taskbar.cs
1,662
C#
using System; using System.Collections.Generic; namespace GrafFeladat_CSharp { /// <summary> /// Irányítatlan, egyszeres gráf. /// </summary> class Graf { int csucsokSzama; /// <summary> /// A gráf élei. /// Ha a lista tartalmaz egy(A, B) élt, akkor tartalmaznia kel...
31.379032
101
0.443845
[ "MIT" ]
FullPXL/GrafFeladat_CSharp
GrafFeladat_CSharp/Graf.cs
7,939
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.612903
151
0.584343
[ "Unlicense" ]
ahmetas/kisi-kayit-otomasyon
KisiKayitOtomasyon/KisiKayitOtomasyon/Properties/Settings.Designer.cs
1,075
C#