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
// *** 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...
33.864865
117
0.616919
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/Rds/Inputs/OptionGroupOptionArgs.cs
2,506
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="VonMisesMaterial3D.cs" company="National Technical University of Athens"> // To be decided // </copyright> // <summary> // Class for 3D Von Mises materials. // </summary> // -...
36.672668
173
0.519971
[ "Apache-2.0" ]
Ambros21/MSolve
ISAAR.MSolve.PreProcessor/Materials/VonMisesMaterial3D.cs
22,409
C#
using System; using Unity.Entities; namespace Reese.Utility { [Serializable] public struct StickyFailed : IComponentData { } }
15.111111
51
0.735294
[ "MIT" ]
0x6c23/ReeseUnityDemos
Packages/com.reese.utility/TransformExtensions/Sticky/StickyFailed.cs
136
C#
using Neo.IO; using System.IO; namespace Neo.Ledger { public class StorageItem : ICloneable<StorageItem>, ISerializable { public byte[] Value; public bool IsConstant; public int Size => Value.GetVarSize() + sizeof(bool); StorageItem ICloneable<StorageItem>.Clone() { ...
23.341463
69
0.549634
[ "MIT" ]
Geo-Smart-Eco/geo
neo/Ledger/StorageItem.cs
957
C#
/*<FILE_LICENSE> * NFX (.NET Framework Extension) Unistack Library * Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. 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:/...
26.049383
83
0.656398
[ "Apache-2.0" ]
agnicore/nfx
src/runtimes/netf/NFX.WinForms/Controls/ComboBoxEx.cs
2,110
C#
#region License /* The MIT License Copyright (c) 2008 Sky Morey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,...
42.854167
133
0.706368
[ "Apache-2.0", "MIT" ]
Grimace1975/bclcontrib
Web/System.Web.MvcEx/Web/Mvc/MobileIndirectViewDirector.cs
2,057
C#
using ChopShop2016.Commands.Drive; using ChopShop2016.Commands.Intake; using ChopShop2016.Commands.Shooter; using WPILib.Commands; namespace ChopShop2016.Commands.Autonomous { public class PositionTwoAuto : CommandGroup { public PositionTwoAuto() { AddSequential(new SetShooterSpeed...
33.384615
57
0.635945
[ "MIT" ]
chopshop-166/frc-2016-cs
Commands/Autonomous/PositionTwoAuto.cs
870
C#
using System; using System.Collections.Generic; using System.Text; namespace plilaServidor { class Persona { protected String Nombres; protected String Apellido; protected Sexo sexo; protected int Edad; private Persona puesto; private List<string> historial; ...
21.511905
113
0.494189
[ "Apache-2.0" ]
danilo231/programacionIIItcd
examen3parcial/plilaServidor/plilaServidor/Persona.cs
1,809
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.Text; using Elastic.Elasticsearch.Xunit.XunitPlumbing; using Elastic.Transport; using F...
35.134831
88
0.619444
[ "Apache-2.0" ]
Jiasyuan/elasticsearch-net
tests/Tests.Reproduce/GitHubIssue4103.cs
3,127
C#
// PsionicShieldBelt using System.Collections.Generic; using RimWorld; using UnityEngine; using Verse; using Verse.Sound; [StaticConstructorOnStartup] public class PsionicShieldBelt : Apparel { private const float MinDrawSize = 1.2f; private const float MaxDrawSize = 1.55f; private const float MaxDamag...
26.906977
120
0.577355
[ "MIT" ]
emipa606/MonstrousCompendium
Source/Illithid/PsionicShieldBelt.cs
6,944
C#
using System.Threading; using System.Threading.Tasks; using Dynatrace.Net.Common.Extensions; using Dynatrace.Net.Common.Models; using Dynatrace.Net.Configuration.Services.Models; using Flurl.Http; // ReSharper disable once CheckNamespace namespace Dynatrace.Net { public partial class DynatraceClient { ...
30.753623
146
0.756362
[ "MIT" ]
lvermeulen/Dynatrace.Net
src/Dynatrace.Net/Configuration/Services/RequestNaming/DynatraceClient.cs
2,122
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using ExoMerge.Documents; namespace ExoMerge.UnitTests.Common { public static class LoggingDocumentAdapter { public static LoggingDocumentAdapter<TDocument, TNode> Create<TDocument, TNode>(IDocumentAdapter<TDocu...
22.305019
125
0.658993
[ "MIT" ]
vc3/ExoMerge
ExoMerge.UnitTests/Common/LoggingDocumentAdapter.cs
5,779
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.IO; using System.Runtime.InteropServices; [assembly: Guid("CA89ACD1-A1D5-43DE-890A-5FDF50BC1F93")] namespace Microsoft.DiaSymRead...
38.538462
161
0.684631
[ "Apache-2.0" ]
KashishArora/Roslyn
src/Debugging/Microsoft.DiaSymReader.PortablePdb/SymBinder.cs
1,505
C#
// // System.Runtime.InteropServices.ITypeLibExporterNotifySink.cs // // Author: // Kevin Winchester (kwin@ns.sympatico.ca) // // (C) 2002 Kevin Winchester // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this sof...
37.042553
81
0.761631
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/corlib/System.Runtime.InteropServices/ITypeLibExporterNotifySink.cs
1,741
C#
using Sirenix.OdinInspector; using UnityEngine; using UnityEngine.Assertions; using UnityEngine.UI; namespace JReact.JScreen.View { [RequireComponent(typeof(Toggle))] public class J_UiView_FullScreen_Toggle : MonoBehaviour { // --------------- FIELDS AND PROPERTIES --------------- // [BoxGr...
35.254902
122
0.583426
[ "MIT" ]
GiacomoMariani/JReac
Screen/Views/J_UiView_FullScreen_Toggle.cs
1,798
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Reactive.Disposables; using Machine.Specifications; namespace Dolittle.Specs.Logging.for_InternalLogger { public class when_beginning_sco...
34.543478
101
0.611076
[ "MIT" ]
dolittle-fundamentals/DotNET.Fundamentals
Specifications/Logging/for_InternalLogger/when_beginning_scope.cs
1,589
C#
using UnityEngine.InputSystem.Layouts; namespace UnityEngine.InputSystem.Composites { /// <summary> /// A button with two additional modifiers. The button only triggers when /// both modifiers are pressed. /// </summary> /// <remarks> /// This composite can be used to require two other buttons ...
45.981982
124
0.626763
[ "Apache-2.0" ]
kinten108101/ufssgp
TheLog/Library/PackageCache/com.unity.inputsystem@1.0.0-preview.3/InputSystem/Actions/Composites/ButtonWithTwoModifiers.cs
5,104
C#
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated> using System; using System.Collections.Generic; #nullable disable namespace T0002.Models { public partial class VStockCheckDiffSearch { public string Cticketcode { get; set; } public str...
36.870968
97
0.59755
[ "MIT" ]
twoutlook/BlazorServerDbContextExample
BlazorServerEFCoreSample/T0002/Models/VStockCheckDiffSearch.cs
1,145
C#
using System; namespace Stankins.Interfaces { public interface IHistory : IMetadataRow { DateTimeOffset ModifiedDate { get; set; } string ModifiedOwner { get; set; } string ObjectName { get; set; } string ObjectId { get; set; } string Details { get; set; } } }
22.642857
49
0.602524
[ "MIT" ]
Zeroshi/stankins
stankinsv2/solution/StankinsV2/Stankins.Interfaces/IHistory.cs
319
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. // Ported from https://github.com/adafruit/Adafruit_Python_BMP/blob/master/Adafruit_BMP/BMP085.py // Formula...
36.07173
130
0.504153
[ "MIT" ]
IsharaPannila/iot
src/devices/Bmp180/Bmp180.cs
8,551
C#
// den0bot (c) StanR 2021 - MIT License using System.Collections.Generic; using den0bot.Modules.Osu.Types.V1; namespace den0bot.Modules.Osu.WebAPI.Requests.V1 { public class GetRecentScores : IRequest<List<Score>, List<Score>> { public APIVersion API => APIVersion.V1; public string Address => $"get_user_recent...
23.92
74
0.729097
[ "MIT" ]
stanriders/den0bot
den0bot.Modules.Osu/WebAPI/Requests/V1/GetRecentScores.cs
600
C#
using Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models; using Microsoft.Azure.Commands.RecoveryServices.Backup.Helpers; using Microsoft.Azure.Commands.RecoveryServices.Backup.Properties; using Microsoft.Azure.Management.RecoveryServices.Backup.Models; using CrrModel = Microsoft.Azure.Management.Reco...
43.497175
134
0.556306
[ "MIT" ]
Agazoth/azure-powershell
src/RecoveryServices/RecoveryServices.Backup/RSBackupVaultCmdletBase.cs
7,525
C#
using System; using Dumper.Core; namespace Legacy.Core.StaticData { public class SpellOfferStaticData : BaseStaticData { [CsvColumn("SpellIDs")] private Int32[] m_spellIDs; public Int32[] SpellIDs => m_spellIDs; } }
16.285714
51
0.736842
[ "MIT" ]
Albeoris/MMXLegacy
Legacy.Core/Core/StaticData/SpellOfferStaticData.cs
230
C#
using System; using System.Data; using System.Data.SqlClient; using System.Transactions; using Nohros.Logging; namespace Nohros.Data.SqlServer { internal class UpdateStateQuery { const string kClassName = "Nohros.Data.SqlServer.UpdateStateQuery"; readonly MustLogger logger_ = MustLogger.ForCu...
30.716981
77
0.628378
[ "MIT" ]
nohros/must.data.sqlserver
src/sqlserver/UpdateStateQuery.cs
1,630
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; [CustomEditor(typeof(Line))] public class LineInspector : Editor { private void OnSceneGUI() { Line line = target as Line; Transform handleTransform = line.transform; Quaternion handleRota...
30.121212
128
0.717304
[ "MIT" ]
CozyHome/cozyhome-n64platformer
n64platformer/Assets/Editor/LineInspector.cs
994
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading; using Akka.Actor; using Akka.Streams.Kafka.Internal; using Akka.Streams.Kafka.Stages.Consumers.Exceptions; using Akka.Util.Internal; using Confluent.Kafka; namespace Akka.Streams.Kafka.Settings { public stat...
52.68956
171
0.646384
[ "Apache-2.0" ]
Aaronontheweb/Akka.Streams.Kafka
src/Akka.Streams.Kafka/Settings/ConsumerSettings.cs
19,179
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SchoolClasses { abstract class People { // Fields private string fullName; private byte age; private string gender; // Constructors => protected...
26.517241
66
0.605982
[ "MIT" ]
zdzdz/Object-Oriented-Programming-Homeworks
04. OOP-Principles-Part-I-HW/SchoolClasses/People.cs
771
C#
using System.IO; using System.Reflection; using System.Runtime.CompilerServices; namespace Hexapawn.Resources; internal static class Resource { internal static class Streams { public static Stream Instructions => GetStream(); public static Stream Title => GetStream(); } private static...
28.352941
103
0.732365
[ "Unlicense" ]
AlaaSarhan/basic-computer-games
46_Hexapawn/csharp/Resources/Resource.cs
482
C#
// Copyright 2016 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
39.085106
93
0.744148
[ "MIT" ]
CDJaramillo/DinoMuseumVR
Assets/GoogleVR/Scripts/Controller/Internal/ControllerProviderFactory.cs
1,838
C#
using System; using System.Collections.Generic; using System.Text; namespace RearEndCollision { public abstract class MapGenerator { public const int MAX_ROWS = 60; public const int MAX_COLS = 150; public abstract char[,] GenerateMap(); } }
18.785714
40
0.718631
[ "MIT" ]
VProfirov/Telerik-Academy
Team Projects - old/team-tomato/theProject/MapGenerator/MapGenerator.cs
263
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 Axe.Windows.Core.Bases; using Axe.Windows.Core.Enums; using Axe.Windows.Rules.PropertyConditions; using Axe.Windows.Rules.Resources; using sta...
38.189189
102
0.696391
[ "MIT" ]
Bhaskers-Blu-Org2/axe-windows
src/Rules/Library/ControlShouldSupportGridItemPattern.cs
1,377
C#
using Microsoft.AspNetCore.Components; using PBCommon.Extensions; using PBFrontend.UI.Authorization; using System; using System.Collections.Generic; namespace PBFrontend.UI.Meta.Telemetry { public partial class TelemetryFrame : SessionChild { [Parameter] public RenderFragment ChildContent { get; set; } priv...
23.416667
70
0.772242
[ "MIT" ]
PaulBraetz/PBAppRepository
PBFrontend/UI/Meta/Telemetry/TelemetryFrame.razor.cs
564
C#
#region License // Copyright (c) 2009, ClearCanvas 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 not...
33.952756
141
0.716605
[ "Apache-2.0" ]
econmed/ImageServer20
ImageViewer/AnnotationProviders/Dicom/GeneralStudyAnnotationItemProvider.cs
4,314
C#
using System; using System.Collections.Generic; using System.Text; namespace Old_Record_Store.Library { public interface IRecordStoreRepository : IDisposable { //Customer Methods void AddCustomer(Customer customer); //Prints out the list of customers, does not display ID. voi...
24.35
106
0.676591
[ "MIT" ]
1909-sep30-net/jose-project0
Old-Record-Store/Old-Record-Store.Library/Interface/IRecordStoreRepository.cs
976
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace CyberBullet { namespace Editors { public class CreateClimbPrefab : EditorWindow { #region Variables GenericEditor editor = new GenericEditor(); #endregion #regi...
52.742188
251
0.628203
[ "MIT" ]
pttb369/GameDevRepo
Scripts/Editor/CreateClimbPrefab.cs
6,753
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/urlmon.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
38.076923
145
0.64697
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/urlmon/IInternetProtocolSinkTests.cs
1,982
C#
using System.Text; namespace Togglr { public static class HtmlHelper { public static void WriteHtmlBegin(StringBuilder sb) { sb.AppendLine("<!doctype html><html>"); sb.AppendLine("<head><meta charset=\"utf-8\">"); sb.AppendLine("<link href=\"https://cdnjs.cl...
41.142857
220
0.59809
[ "MIT" ]
kopfrechner/Togglr
Togglr/HtmlHelper.cs
1,154
C#
using System; using System.Runtime.InteropServices; using Microsoft.Xna.Framework; using Nez; using Microsoft.Xna.Framework.Graphics; using TinyAlgorithmVisualizer.Scenes; namespace TinyAlgorithmVisualizer { public class MyGame : Core { protected override void Initialize() { base.I...
24.6
64
0.668699
[ "MIT" ]
yCatDev/BinaryTreeVisualizator
TinyAlgorithmVisualizer/TinyAlgorithmVisualizer/Game1.cs
494
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace PaintCode { public class Application { static void Main (string[] args) { UIApplication.Main (args, null, "AppDelegate"); } } [Register ("AppDelegate")] public partial class AppDelegate : UIAppli...
28.101449
102
0.730273
[ "MIT" ]
Art-Lav/ios-samples
PaintCode/PaintCodeDemo/AppDelegate.cs
1,939
C#
namespace SwtorCaster.Core.Services.Settings { using System; using System.ComponentModel; using System.IO; using System.Windows; using Caliburn.Micro; using Domain.Settings; using Logging; using Newtonsoft.Json; public class SettingsService : ISettingsService { private s...
31.735632
156
0.566824
[ "MIT" ]
pjmagee/SWTOR.Caster
src/SwtorCaster/Core/Services/Settings/SettingsService.cs
2,761
C#
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tenancy_config/rpc/room_call_billing_rates_svc.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.R...
47.733333
184
0.772812
[ "MIT" ]
PietroProperties/holms.platformclient.net
csharp/HOLMS.Platform/HOLMS.Platform/Types/out/RoomCallBillingRatesSvc.cs
2,148
C#
namespace Byndyusoft.Dotnet.Core.Infrastructure.Logging.Serilog.Formatting { using System; using System.Diagnostics.CodeAnalysis; using global::Serilog.Formatting.Json; [ExcludeFromCodeCoverage] public class RenderedJsonFormatter : JsonFormatter { public RenderedJsonFormatter(string cl...
31.2
109
0.717949
[ "MIT" ]
Byndyusoft/Byndyusoft.Dotnet.Core.Infrastructure
src/Infrastructure/Logging.Serilog/Formatting/RenderedJsonFormatter.cs
470
C#
namespace CommunityToolkit.Maui.Markup.Sample.Services; public class SettingsService { public const int MinimumStoriesToFetch = 1; public const int MaximumStoriesToFetch = 50; readonly IPreferences preferences; public SettingsService(IPreferences preferences) => this.preferences = preferences; public int Numb...
37.058824
170
0.814286
[ "MIT" ]
ScriptBox99/Maui.Markup
samples/CommunityToolkit.Maui.Markup.Sample/Services/SettingsService.cs
632
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Uxnet.ToolAdapter.Common { public interface IPdfUtility { void ConvertHtmlToPDF(String htmlFile, String pdfFile, double timeOutInMinute); } public interface IPdfUtility2 : IPdfUtility { ...
22.315789
101
0.733491
[ "MIT" ]
uxb2bralph/IFS-EIVO03
Uxnet.ToolAdapter/Common/IPdfUtility.cs
426
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
44.515625
178
0.59986
[ "MIT" ]
gil-unx/FRONTIER-GATE-BOOST-PLUS
FRONTIERGUI/Properties/Resources.Designer.cs
2,851
C#
using System.IO; using System.Linq; using System.Xml.Linq; using Palmmedia.ReportGenerator.Core.Logging; using Palmmedia.ReportGenerator.Core.Properties; namespace Palmmedia.ReportGenerator.Core.Parser.Preprocessing { /// <summary> /// Preprocessor for Cobertura reports. /// </summary> internal class C...
35.358333
144
0.469951
[ "Apache-2.0" ]
304NotModified/ReportGenerator
src/ReportGenerator.Core/Parser/Preprocessing/CoberturaReportPreprocessor.cs
4,243
C#
// <copyright file="BingMainPageValidator.cs" company="Automate The Planet Ltd."> // Copyright 2016 Automate The Planet Ltd. // 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.apach...
47.346154
137
0.757108
[ "Apache-2.0" ]
alihassan5/TestAutomation
DesignPatternsInAutomatedTesting-Series/SingletonDesignPattern/Pages/BingMainPageSingletonDerived/BingMainPageValidator.cs
1,233
C#
using System; using System.Web; namespace ExpressiveAnnotations.MvcWebSample.Misc { public class ValidationManager { private static readonly ValidationManager _instance = new ValidationManager(); private ValidationManager() { } public static ValidationMan...
28.875
122
0.58658
[ "MIT" ]
StandBackBurrito/ExpressiveAnnotations
src/ExpressiveAnnotations.MvcWebSample/Misc/ValidationManager.cs
1,388
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Rigidbody2D))] public class EightDirectionMovement : MonoBehaviour { // speed in pixels per second the object travels at public float speed = 200.0f; [Range(0.0f, 0.3f)] public float smoothing = 0.05f;...
27.591837
99
0.670858
[ "MIT" ]
RichardMarks/UnityCodingDemo
Assets/Scripts/EightDirectionMovement.cs
1,354
C#
using System.Windows.Input; using Windows.UI.Xaml; namespace NotepadRs4.Services.DragAndDrop { public class ListViewDropConfiguration : DropConfiguration { public static readonly DependencyProperty DragItemsStartingCommandProperty = DependencyProperty.Register("DragItemsStartingC...
39.5
143
0.707957
[ "MIT" ]
MagicAndre1981/Notepad
NotepadRs4/NotepadRs4/Services/DragAndDrop/ListViewDropConfiguration.cs
1,108
C#
namespace Sitecore.Feature.Media.Tests.Infrastructure { using System.Collections.Generic; using System.Linq; using System.Web.UI.WebControls; using FluentAssertions; using Sitecore.Data; using Sitecore.Data.Items; using Sitecore.FakeDb; using Sitecore.Feature.Media.Infrastructure.Models; using Siteco...
25.019608
126
0.649687
[ "Apache-2.0" ]
BIGANDYT/HabitatDemo
src/Feature/Media/Tests/Infrastructure/MediaBackgroundRenderingModelTests.cs
3,830
C#
using System; using System.Collections.Concurrent; using RadPdf.Lite; using RadPdf.Integration; namespace RadPdfDemoNoService.CustomProviders { public class MemoryLiteStorageProvider : PdfLiteStorageProvider { private ConcurrentDictionary<string, byte[]> _storage; public MemoryLiteStoragePro...
28.980392
105
0.615697
[ "MIT" ]
radpdf/samples
CS_NET6_No_Service/CustomProviders/MemoryLiteStorageProvider.cs
1,480
C#
namespace SIL.Windows.Forms.WritingSystems { partial class DeleteInputSystemDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing...
46.591743
152
0.758492
[ "MIT" ]
ArmorBearer/libpalaso
SIL.Windows.Forms.WritingSystems/DeleteInputSystemDialog.Designer.cs
10,159
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using Turmerik.Collections.Helpers; using Turmerik.Core.Collections; namespace Turmerik.Collections.Components { public abstract class ListBuilderBase<TOut, TIn> { protected read...
28.591716
135
0.508796
[ "MIT" ]
dantincu/turmerik
dotnet/Turmerik.Collections/Components/ListBuilder.cs
9,666
C#
#pragma checksum "C:\Users\KIRO\source\repos\MyAnimeWorld\MyAnimeWorld.App\Views\Shared\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "583387379a597938339285f5a623245873b0a91c" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typ...
47.140187
381
0.73751
[ "MIT" ]
kirrcho/Project
MyAnimeWorld.App/obj/Debug/netcoreapp2.1/Razor/Views/Shared/Error.g.cshtml.cs
5,044
C#
using System; namespace nyom.queuebuilder { public interface IEnfileirarMensagens { bool EnfileirarMensagensPush(Guid id); } }
15.666667
41
0.737589
[ "MIT" ]
AlessandroSilveira/nyom
nyom/nyom.queuebuilder/IEnfileirarMensagens.cs
143
C#
namespace PS.Learning.Utils.EnvironmentEditor { partial class SizeSelectorForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
44.811321
160
0.581614
[ "MIT" ]
pedrodbs/SocioEmotionalIMRL
PS.Learning/Utils/EnvironmentEditor/SizeSelectorForm.Designer.cs
7,127
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Temp { class MergeSortAlgorithm { static void Main() { int[] numbers = { 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 }; int[] temp = new int[numbers.Lengt...
28.515625
90
0.484932
[ "MIT" ]
LuGeorgiev/CSharpSelfLearning
NumberSystems/Temp/Temp.cs
1,827
C#
#pragma checksum "..\..\..\..\Views\BrowserView.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "1A9764E57BD2372BB342E6F668160072" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // ...
38.8125
141
0.641592
[ "MIT" ]
Nymini/Vlive-Streamers
Vlive Stream Machine 3/obj/x64/Debug/Views/BrowserView.g.i.cs
4,349
C#
using Microsoft.EntityFrameworkCore; using TodoList.Infrastructure.EntityFramework.Entities; namespace TodoList.Infrastructure.EntityFramework.Contexts { public class TodoListDbContext : DbContext { public TodoListDbContext(DbContextOptions<TodoListDbContext> options): base(options) { } ...
30.625
92
0.718367
[ "MIT" ]
anton-matsyshyn/easy-peasy-todo-list
src/TodoList.Infrastructure/EntityFramework/Contexts/TodoListDbContext.cs
492
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dapper; using Hout.Models.Device; using Newtonsoft.Json; namespace Hout.Models.Db { public partial class Client { private readonly TableColumnInfo[] _deviceColumns = { ...
33.938462
118
0.587035
[ "MIT" ]
Inrego/Hout
Hout.Models/Db/Client.Devices.cs
2,208
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("DeRange")] [assembly: AssemblyDesc...
39.333333
85
0.725282
[ "Apache-2.0" ]
bright-tools/DeRange
DeRange/Properties/AssemblyInfo.cs
1,419
C#
// HtmlAgilityPack V1.0 - Simon Mourier <simon underscore mourier at hotmail dot com> using System; using System.Diagnostics; using System.Collections.Specialized; using System.IO; using System.Text; using System.Xml; using System.Xml.XPath; namespace HtmlAgilityPack { /// <summary> /// Represents an HTML navigator ...
29.259115
249
0.678474
[ "MIT" ]
shana/bugzz
3rdparty/HtmlAgilityPack/HtmlNodeNavigator.cs
22,471
C#
using System; namespace entr1.Models { public class Funcionario { public int IdFuncionario { get; set; } public string Nome { get; set; } public string Email { get; set; } public string Departamento { get; set; } public DateTime? DataNascimento { get; set; } ...
21.482759
54
0.58748
[ "MIT" ]
jonataspiazzi/Aula
genesis/exercicios/entr1/Models/Funcionario.cs
623
C#
using System; using UnityEngine; // Token: 0x02000039 RID: 57 public class FollowPlayer : MonoBehaviour { // Token: 0x06000428 RID: 1064 RVA: 0x00021AA0 File Offset: 0x0001FCA0 private void LateUpdate() { Camera mainCamera = Utils.GetMainCamera(); if (Player.m_localPlayer == null || mainCamera == null) { ...
21.035714
74
0.697793
[ "Apache-2.0" ]
ingvard/valheim-jserver
materials/sources/assembly_valheim/FollowPlayer.cs
1,180
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace lm.ErrorsNotification.Service.Dal { [Serializable] public class CachedItem<T> { public virtual T Item { get; set; } public virtual DateTime InsertedDate { get; set; } public CachedItem()...
22.909091
58
0.609127
[ "MIT" ]
EdutechSRL/Adevico
3-Business/4-Services/ErrorNotifications/lm.ErrorsNotification.Service/Dal/CachedItem.cs
506
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Contains Call Center statistics reporting settings. /// </summary> [Seria...
33.178571
131
0.63267
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/GroupCallCenterGetInstanceStatisticsReportingResponse16.cs
3,716
C#
#region MIT // /*The MIT License (MIT) // // Copyright 2016 lizs lizs4ever@163.com // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limita...
39.137931
103
0.702483
[ "MIT" ]
lizs/Socket4Net
Core/Properties/Annotations.cs
24,972
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace CRM.Interface { using Microsoft.Rest; using Models; using Newtonsoft.Json; using System.Collections; ...
43.857143
543
0.558231
[ "MIT" ]
msehudi/cms-accelerator
OData.OpenAPI/odata2openapi/Client/Teamrraprogram.cs
18,727
C#
#region Using directives using Blazorise.Utilities; using Microsoft.AspNetCore.Components; #endregion namespace Blazorise { /// <summary> /// Base class for components that are containers for other components. /// </summary> public abstract class BaseContainerComponent : BaseComponent { #r...
22.561404
98
0.55832
[ "MIT" ]
CPlusPlus17/Blazorise
Source/Blazorise/Base/BaseContainerComponent.razor.cs
1,288
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...
29.814815
74
0.669565
[ "MIT" ]
AWESOME-S-MINDSET/azure-sdk-for-net
sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/NodeSize.cs
805
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.IO; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Spa...
38.642157
166
0.549283
[ "MIT" ]
qintao1976/Mobius
csharp/AdapterTest/SocketWrapperTest.cs
7,885
C#
#region Using Directives using System; using System.Collections.Generic; using StackExchange.NET.Helpers; using StackExchange.NET.Interfaces; using StackExchange.NET.Models; #endregion namespace StackExchange.NET.Clients { public partial class StackExchangeClient : IQuestions { /// <summary> /// StackExchange...
31.693548
107
0.746565
[ "MIT" ]
gethari/FluentExchange
StackExchange.NET/StackExchange.NET/Clients/QuestionsClient.cs
3,932
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.Contracts; using System.Linq; using PCExpert.DomainFramework; using PCExpert.DomainFramework.Exceptions; using PCExpert.DomainFramework.Utils; namespace PCExpert.Core.Domain { public class PCConfiguration : Entity { #...
22.545455
75
0.704435
[ "MIT" ]
RegiSV2/PCExpertDDD
src/PCExpert.Core.Domain/PCConfiguration.cs
2,482
C#
using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Sombra.Core.Enums; using Sombra.Messaging.Infrastructure; using Sombra.Messaging.Requests.Story; using Sombra.Messaging.Responses.Story; using Sombra.StoryService.DAL; namespace Sombra.StoryService { public class ApproveStoryRequestHandler :...
31.083333
112
0.671135
[ "MIT" ]
JelleKerkstra/Sombra
Sombra.StoryService/ApproveStoryRequestHandler.cs
1,121
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; using System.ComponentModel; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization...
36.045045
463
0.594326
[ "MIT" ]
hgGeorg/corefx
src/System.Private.DataContractSerialization/src/System/Runtime/Serialization/Globals.cs
40,010
C#
//------------------------------------------------------------------------------ // <copyright file="DataColumnChangeEventHandler.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="t...
50.125
118
0.546135
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/data/System/Data/DataColumnChangeEventHandler.cs
802
C#
using System; namespace CustomDependancyInjectionFramework.Contracts { public interface IModule { void Configure(); Type GetMapping(Type currentInterface, object attribute); object GetInstance(Type type); void SetInstance(Type implementation, object instance); } }
19.625
65
0.697452
[ "MIT" ]
NaskoVasilev/CSharp-OOP-Advanced
Dependancy Injection/DependancyInjection/CustomDependancyInjectionFramework/Contracts/IModule.cs
316
C#
namespace CatMash.Domain.StoredProceduresParameters { public interface ISelectOneCatParameters : IBaseStoredProcedureParameters { } }
24.333333
77
0.794521
[ "MIT" ]
isis08/CatMash-Ddd-For-Paas
CatMash.Domain/StoredProceduresParameters/ISelectOneCatParameters.cs
148
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. #nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using Syst...
47.215839
212
0.633111
[ "Apache-2.0" ]
Saibamen/roslyn
src/Features/Core/Portable/EditAndContinue/EditAndContinueWorkspaceService.cs
30,409
C#
using System; using System.Threading.Tasks; using Infrastructure.SwaggerSchema.Dropdowns; using Infrastructure.SwaggerSchema.Dropdowns.Providers; namespace HightechAngular.Shop.Features.Index { public class SaleListDropdownProvider: IDropdownProvider<SaleListItem> { private readonly IServiceProvider _...
28.681818
74
0.727417
[ "MIT" ]
AlexProkhor/DotNext-Moscow-2020
Modules/HightechAngular.Shop/Features/Index/SaleListDropdownProvider.cs
633
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BXJG.WeChat.Payment; using DemoMVC.Models; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace DemoMVC.Controllers { [Route("api/[controller]")] [ApiController] public class MiniPr...
32.628571
124
0.687391
[ "MIT" ]
bxjg1987/abpGeneralModules
src/DemoMVC/Controllers/MiniProgramPaymentController.cs
1,236
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WOTK { /// <summary> /// Every shape supported by the overlay. /// </summary> public enum Shapes { Rectangle, ...
44.039548
185
0.494933
[ "MIT" ]
VenHayz/WPMTK
OverlayLib/Overlay.cs
7,797
C#
#region License // // MIT License // // CoiniumServ - Crypto Currency Mining Pool Server Software // Copyright (C) 2013 - 2017, CoiniumServ Project // Hüseyin Uslu, shalafiraistlin at gmail dot com // https://github.com/bonesoul/CoiniumServ // // Permission is hereby granted, free of charge, ...
37.157895
86
0.669027
[ "MIT" ]
MyCryptoCoins/CoiniumServ
src/CoiniumServ/Payments/Config/IPaymentConfig.cs
2,121
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.TagHelpers; namespace Scorpio.AspNetCore.TagHelpers.Card { /// <summary> /// /// </summary> [HtmlTargetElement("img", ParentTag = "card")] public class CardImageTagHelper : TagHelper { /// <summary> /// ...
26.34375
91
0.562278
[ "MIT" ]
project-scorpio/Scorpio
src/aspnetcore/src/Scorpio.AspNetCore.UI.Bootstrap/Scorpio/AspNetCore/TagHelpers/Card/CardImageTagHelper.cs
845
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using NUnit.Framework; namespace Newtonsoft.Json.Tests.Documentation.Samples.Serializer { public class DeserializeDataSet { public void Example() { #region Usage string json = @"{ '...
19.909091
69
0.530822
[ "MIT" ]
Chimpaneez/LiveSplit
LiveSplit/Libs/JSON.Net/Source/Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/DeserializeDataSet.cs
878
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ using System...
38.25
82
0.643791
[ "Apache-2.0" ]
1152250070/juzen
Mammothcode.BeiQin/Mammothcode.AdminService/obj/Release/netstandard2.0/Mammothcode.AdminService.AssemblyInfo.cs
1,034
C#
using System; using System.Composition; namespace Multiformats.Hash.Algorithms { [Export(typeof(IMultihashAlgorithm))] [MultihashAlgorithmExport(HashType.ID, "id", 32)] public class ID : MultihashAlgorithm { public ID() : base(HashType.ID, "id", 32) { } publ...
26.208333
139
0.581876
[ "MIT" ]
DalavanCloud/cs-multihash
src/Multiformats.Hash/Algorithms/ID.cs
629
C#
#region License /* MIT License Copyright(c) 2020 Petteri Kautonen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, co...
41.440621
260
0.523553
[ "MIT" ]
VPKSoft/MageANuGet
MakeANuGet/FormMain.cs
61,428
C#
using System.IO; using System.Threading.Tasks; using UnityEditor.PackageManager; using UnityEditor.PackageManager.Requests; using UnityEngine; namespace AssetLens { internal static class PackageSystem { internal static async Task<string> GetVersion() { ListRequest list = Client.List(false); while (!list....
19.683333
64
0.668078
[ "MIT" ]
seonghwan-dev/Reference
Packages/com.calci.assetlens/Editor/Common/PackageSystem.cs
1,183
C#
namespace FreshBooks.Api.ContractorUpdate { /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.6.81.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System....
30.1
111
0.574751
[ "MIT" ]
mattjcowan/FreshBooks.Api
src/FreshBooks.Api/ContractorUpdateResponse.cs
1,206
C#
using System; namespace WslManager.ViewModels { public sealed class AsyncDownloadContext : NotifiableModel { private Uri _url; private string _downloadedFilePath; public Uri Url { get => _url; set { if (value != _url) ...
21.243243
62
0.416031
[ "MIT" ]
anaymalpani/WSLMANAGER
src/WslManager/ViewModels/AsyncDownloadContext.cs
788
C#
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using JsonSubTypes; using Newtonsoft.Json; using Bitmovin.Api.Sdk.Common; using Bitmovin.Api.Sdk.Models; namespace Bitmovin.Api.Sdk.Models { /// <summary> /// BroadcastTsSubtitleInputStreamConfigurati...
44.135135
547
0.688304
[ "MIT" ]
bitmovin/bitmovin-api-sdk-dotnet
src/Bitmovin.Api.Sdk/Models/BroadcastTsSubtitleInputStreamConfiguration.cs
1,633
C#
using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Stryker.Core.Mutants; using System.Collections.Generic; namespace Stryker.Core.Mutators { public class BinaryExpressionMutator : MutatorBase<BinaryExpressionSyntax>, IMutator { private Dictionary<SyntaxKind, IEnumer...
49.241667
178
0.615502
[ "Apache-2.0" ]
Danghor/stryker-net
src/Stryker.Core/Stryker.Core/Mutators/BinaryExpressionMutator.cs
5,911
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace System.Xml { /// <summary> /// This class defines a set of common XML namespaces for sharing across multiple source files. /// </summary> inte...
34.533333
101
0.687259
[ "MIT" ]
690486439/corefx
src/System.Xml.ReaderWriter/src/System/Xml/XmlReservedNS.cs
518
C#
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("HubVpn")] [assembly:...
41.358491
96
0.756387
[ "MIT" ]
berkedel/HubVpn
Properties/AssemblyInfo.cs
2,195
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.Runtime.Serialization; using Nest.Utf8Json; namespace Nest { /// <summary> /// A snapshot lifecycl...
34.566667
161
0.751205
[ "Apache-2.0" ]
Jiasyuan/elasticsearch-net
src/Nest/XPack/Slm/SnapshotLifecycleConfig.cs
2,074
C#
using UnityEngine; namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityRigidbody { [TaskCategory("Basic/Rigidbody")] [TaskDescription("Sets the is kinematic value of the Rigidbody. Returns Success.")] public class SetIsKinematic : Action { [Tooltip("The GameObject that the task operates...
32.4
100
0.596022
[ "Apache-2.0" ]
brustlinker/unity_behaviortree_sk
Assets/Behavior Designer/Runtime/Basic Tasks/Rigidbody/SetIsKinematic.cs
1,458
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net.Mime; using System.Net.WebSockets; using System.Threading; using System.Threading.Tasks; using BTCPayServer.Abstractions.Constants; using BTCPayServer.Abstractions.Extensions; using BTCPayServer.Abstractions....
48.725134
224
0.564972
[ "MIT" ]
Falci/btcpayserver
BTCPayServer/Controllers/InvoiceController.UI.cs
45,558
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace Mod.CatsV3.WebApi.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBase ...
28.725
110
0.600522
[ "MIT" ]
EOP-OMB/CATSV3
Server/Mod.CatsV3.Server/Mod.CatsV3.WebApi/Controllers/WeatherForecastController.cs
1,151
C#