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
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Data.Common; using System.Diagnostics; namespace System.Data { internal sealed class Select { private readonly DataTab...
39.608549
217
0.448455
[ "MIT" ]
71221-maker/runtime
src/libraries/System.Data.Common/src/System/Data/Select.cs
35,212
C#
// The MIT License (MIT) // // Copyright (c) 2017 Henk-Jan Lebbink // // 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 u...
37.520548
110
0.586345
[ "MIT" ]
864430457/asm-dude
VS/CSHARP/asm-sim-lib/ToolsFloatingPoint.cs
2,741
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18047 // // 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" ]
KirovAir/x360NANDManager
x360NANDManagerGUI/x360NANDManagerGUI/Properties/Settings.Designer.cs
1,075
C#
//Write a program to convert hexadecimal numbers to binary numbers (directly). using System; class HexToBinConverter { static void Main() { string input = Console.ReadLine(); string result = string.Empty; for (int i = input.Length - 1; i >= 0; i--) { switch (input...
28
79
0.314579
[ "MIT" ]
mdraganov/Telerik-Academy
C#/C# Programming Part II/NumeralSystems/05.HexadecimalToBinary/HexToBinConverter.cs
2,046
C#
using System; using System.Linq.Expressions; using System.Reflection; namespace EFCore.BulkExtensions { public class FastProperty { public FastProperty(PropertyInfo property) { Property = property; InitializeGet(); InitializeSet(); } private...
44.534884
196
0.688251
[ "MIT" ]
jr01/EFCore.BulkExtensions
EFCore.BulkExtensions/FastProperty.cs
1,917
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.IO; using Xunit; namespace System.Reflection.PortableExecutable.Tests { public class BadImageFormat { [Fact] public void InvalidSe...
27.384615
101
0.570225
[ "MIT" ]
690486439/corefx
src/System.Reflection.Metadata/tests/PortableExecutable/BadImageFormat.cs
712
C#
// Copyright 2017 Cvent, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
28.726027
108
0.591321
[ "Apache-2.0" ]
cvent/solution-audit
SolutionAudit/Utils.cs
2,097
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.open.lottery.camp.offline /// </summary> public class AlipayOpenLotteryCampOfflineRequest : IAlipayRequest<AlipayOpenLotteryCampOfflineResponse> { ...
22.524194
107
0.544576
[ "MIT" ]
fory77/paylink
src/Essensoft.Paylink.Alipay/Request/AlipayOpenLotteryCampOfflineRequest.cs
2,811
C#
using System.IO; using OpenQA.Selenium.Chrome; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Saber.Vendor; namespace Saber.Vendors.Screenshot { public class Startup : IVendorStartup { ...
29
107
0.645474
[ "Apache-2.0" ]
Datasilk/Saber-Screenshot
Startup.cs
930
C#
using System.Collections.Generic; using Game; using Tools; using UI.Show; using UnityEngine; using UnityEngine.UI; namespace UI { public class WindowTabBuilder : MonoBehaviour, IWindow { private List<Tab> _tabs; private string _title; public Text header; public GameObject conte...
24.067416
111
0.498599
[ "MIT" ]
TrutzX/9Nations
Assets/Scripts/UI/WindowTabBuilder.cs
2,142
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.Reflection.Emit; using LiveLisp.Core.AST.Expressions.CLR; using LiveLisp.Core.Compiler; namespace LiveLisp.Core.Runtime.OperatorsCache { public static class GeneralHelpers { pri...
34.655072
177
0.46416
[ "MIT" ]
deadtrickster/LiveLisp
LiveLisp.Core/Runtime/OperatorsCache/GeneralHelpers.cs
23,914
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. namespac...
31.565217
96
0.613407
[ "MIT" ]
azure-keyvault/azure-sdk-for-net
src/SDKs/Network/Management.Network/Generated/Models/FlowLogStatusParameters.cs
2,178
C#
// dnlib: See LICENSE.txt for more info using System.Diagnostics; using System.Text; namespace dnlib.DotNet.Pdb.Symbols { /// <summary> /// Sequence point /// </summary> [DebuggerDisplay("{GetDebuggerString(),nq}")] public struct SymbolSequencePoint { /// <summary> /// IL offset /// </summary> public in...
18.031746
47
0.581866
[ "MIT" ]
KevOrr/dnlib
src/DotNet/Pdb/Symbols/SymbolSequencePoint.cs
1,138
C#
using NetORMLib.Columns; using NetORMLib.Tables; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PIO.ServerLib.Tables { public class PlanetTable : Table { public static readonly Column<int> PlanetID = new Column<int>() { Constraint = Ne...
34.842105
141
0.747734
[ "MIT" ]
dfgs/PIO
PIO.ServerLib/Tables/PlanetTable.cs
664
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Reflection; using ProSuite.Commons.Essentials.Assertions; using ProSuite.Commons.Essentials.CodeAnnotations; using ProSuite.Commons.Exceptions; using ProSuite.Commons.Logging; using ProSuite.DomainModel.Core; using...
29.911017
105
0.728573
[ "MIT" ]
ProSuite/ProSuite
src/ProSuite.DomainModel.AO/Processing/CartoProcessUtils.cs
7,059
C#
using System; using System.IO; namespace PokemonSaves { public class TrainerId : IBinaryParsable { private long _startOffset; private ushort _publicID; private ushort _secretID; public long StartOffset { get => _startOffset; set => _startOffset = value; } public ushort ...
35.75
97
0.641958
[ "MIT" ]
Jynsaillar/PokemonSavegameEditorCLI
SectionDataTypes/TrainerInfo/TrainerId.cs
2,145
C#
using System; using System.Reflection; using System.Linq; using Harmony; using Multiplayer.API; using Verse; namespace Multiplayer.Compat { /// <summary>Path Avoid by Kiame Vivacity</summary> /// <remarks>Everything works</remarks> /// <see href="https://steamcommunity.com/sharedfiles/filedetails/?id=11807...
34
115
0.644658
[ "MIT" ]
cvanderjagt/Multiplayer-Compatibility
Source/Mods/PathAvoid.cs
1,668
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
28.153846
81
0.484973
[ "Apache-2.0" ]
AlessiaYChen/gcpe-hub
Hub.Legacy/Gcpe.Hub.Legacy.Website/Contacts/DataManagement/ManagePublicationFrequencies.aspx.designer.cs
734
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------...
38.673077
128
0.652412
[ "Apache-2.0" ]
Alachisoft/NCache
Src/NCCommon/Protobuf/ItemAddedEventResponse.cs
2,011
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...
24.74
88
0.602264
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-aiven
sdk/dotnet/Outputs/OpenSearchComponent.cs
1,237
C#
 using Library.Constants; using Microsoft.Extensions.DependencyInjection; namespace Library.ApiFramework.Authorization { public static class AuthorizationServiceCollectionExtension { public static IServiceCollection ConfigurePermissions(this IServiceCollection services) { services....
32.125
167
0.747082
[ "MIT" ]
hoangphuong020193/library
back-end/Library/LibraryApiFramework/Authorization/AuthorizationServiceCollectionExtension.cs
516
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("Al...
43.85
84
0.785633
[ "MIT" ]
aliencube/Feed-Schemata
SourceCodes/RSS/RssSchema.1.0/Properties/AssemblyInfo.cs
879
C#
using System; using System.ComponentModel; using System.Windows.Forms; using System.Reflection; using SelfDC.Utils; using System.IO; using System.Drawing; namespace SelfDC.Views { public partial class MainMenu : Form { private OrderForm oForm; private LabelsForm lForm; private Inventor...
36.920732
124
0.568456
[ "Apache-2.0" ]
ginopc/SelfDC
Views/MainMenu.cs
6,058
C#
using MediatR; using System; using Microsoft.Extensions.Logging; using AutoMapper; using CoinTrackApi.Application.Interfaces; using System.Threading; using System.Threading.Tasks; using CoinTrackApi.Application.Dto; using CoinTrackApi.Core; namespace CoinTrackApi.Application.Commands { public class GetCoinPriceCo...
32.90625
113
0.639601
[ "MIT" ]
stackpond/cointrack-api
CoinTrackApi.Core/Commands/GetCoinPriceCommand.cs
2,108
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...
40.25
176
0.641679
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Greengrass/Generated/Model/Internal/MarshallTransformations/ResourceDataContainerUnmarshaller.cs
4,669
C#
// Copyright (c) 2022 .NET Foundation and Contributors. All rights reserved. // 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 full license information. using System.Diagnostics.CodeA...
33.785714
86
0.742072
[ "MIT" ]
Awsmolak/ReactiveUI
src/ReactiveUI.Fody.Tests/API/ApiApprovalTests.cs
948
C#
#pragma checksum "C:\Users\arthu\Documents\Rider Projects\gip rpi\frontend\Blazor_FrontEnd\Pages\ForkLift.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "bf56a01b7dfc73e3f8a01dfbb4664532f1d615cc" // <auto-generated/> #pragma warning disable 1591 namespace Blazor_FrontEnd.Pages { #line hidden using System; ...
36.21875
196
0.697728
[ "MIT" ]
DeepBlue-Dev/Gip-rpi-software
frontend/Blazor_FrontEnd/obj/Debug/net5.0/Razor/Pages/ForkLift.razor.g.cs
10,431
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Plotter : MonoBehaviour { private readonly List<decimal> expectedValues = new List<decimal>() { 0.25686095751884m, -0.89310642318349m, -0.36930118517397m }; private List<Sv> coords; ...
27.911765
89
0.539164
[ "MIT" ]
devedse/FactorioSpaceExplorationDeducer
FactorioDeducerUnityPlotter/Assets/Plotter.cs
2,849
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.191489
117
0.601509
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/RecoveryServices/Latest/Inputs/InMageRcmDiskInputArgs.cs
1,325
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("IoT.Server.Host")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("IoT.Server.Host")] [assembly: AssemblyCopyright("Copyright © Paramesh Gunase...
37.866667
70
0.762324
[ "MIT" ]
parameshg/orleans-prototype
IoT.Server.Host/Properties/AssemblyInfo.cs
571
C#
namespace Lykke.Job.NeoClaimTransactionsExecutor.Services { public class ClaimGasStarterSettings { public ClaimGasStarterSettings(string neoAssetId, string gasAssetId, string claimTriggerCronExpression, string neoHotWalletAddress) { NeoAssetId ...
28.4
68
0.647887
[ "MIT" ]
LykkeCity/Lykke.Job.NeoClaimTransactionsExecutor
src/Lykke.Job.NeoClaimTransactionsExecutor/Services/ClaimGasStarterSettings.cs
712
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.Azure.Management.Compute; using Microsoft.Azure.Manage...
54
195
0.635113
[ "MIT" ]
damodaravadhani/azure-sdk-for-net
sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/ExtensionTests.cs
9,666
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: AssemblyTit...
38.810811
85
0.730501
[ "MIT" ]
BercKoskun/CSharpBilge
Introduction/Ocak/16.01/WFA_MayinTarlasi/WFA_MayinTarlasi/Properties/AssemblyInfo.cs
1,439
C#
using UnityEditor; using UnityEngine; namespace QFramework { public partial class EditorUtil { /// <summary> /// 打开所在文件夹 /// </summary> public static void OpenInFolder(string folderPath) { Application.OpenURL("file:///" + folderPath); } ///...
22.628571
95
0.566919
[ "MIT" ]
WzqProgrammer/QFramework
Assets/QFramework/Framework/Util/EditorUtil.cs
822
C#
 using System; using System.Globalization; using Bunit; using FluentAssertions; using NUnit.Framework; namespace MudBlazor.UnitTests.Components { [TestFixture] public class ProgressLinearTests : BunitTest { [Test] public void DefaultValues() { var linear = new MudProgre...
35.751269
160
0.543234
[ "MIT" ]
1619digital/MudBlazor
src/MudBlazor.UnitTests/Components/ProgressLinearTests.cs
14,088
C#
/* * MIT License * * Copyright(c) 2017 thrzn41 * * 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, modif...
38.226852
147
0.62226
[ "MIT" ]
thrzn41/CiscoSparkAPIClient
CSharp/MultiTarget.Thrzn41.CiscoSpark/Version1/OAuth2/SparkOAuth2Client.cs
8,259
C#
using Microsoft.Extensions.Configuration; namespace StravaUpload.Console { public class Configuration : IConfiguration { // ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable private readonly IConfigurationRoot root; public Configuration() { } pu...
38.256757
108
0.667609
[ "MIT" ]
marazt/strava-upload
StravaUpload.Console/Configuration.cs
2,833
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Bungie.net API Client for .NET")] [assembly: AssemblyCopyright("Copyright © 2018-2019 Benn Benson")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: AssemblyVers...
49.315789
398
0.855923
[ "BSD-3-Clause" ]
KiaArmani/XurSuite
Libraries/MadReflection.BungieApi/Shared/CommonAssemblyInfo.cs
940
C#
// Copyright (c) Microsoft Open Technologies, Inc. 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.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.TestHost; using Xunit; namespace M...
32.866667
111
0.64503
[ "Apache-2.0" ]
ardalis/Mvc
test/Microsoft.AspNet.Mvc.FunctionalTests/CompositeViewEngineTests.cs
1,481
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.811321
81
0.593975
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/MachineLearningServices/V20180301Preview/Inputs/BatchAIArgs.cs
1,527
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InmobiliariaLogicLayer.Lotes { public class Lote: ILoteComponent { //private double Id; //variable que obtiene el precio de la base de datos. //public Lote(dou...
19.741935
61
0.573529
[ "MIT" ]
CBDELEON/cake
InmobiliariaLogicLayer/Lotes/Lote.cs
614
C#
using Abp.Application.Services.Dto; using Abp.AutoMapper; using TodoApp.Authorization.Users; namespace TodoApp.Sessions.Dto { [AutoMapFrom(typeof(User))] public class UserLoginInfoDto : EntityDto<long> { public string Name { get; set; } public string Surname { get; set; } public ...
21.473684
51
0.659314
[ "MIT" ]
SereneYi/TodoList-Backend
aspnet-core/src/TodoApp.Application/Sessions/Dto/UserLoginInfoDto.cs
410
C#
using System; namespace DailyCodingProblem { internal class Day34 { private static int Main(string[] args) { Console.WriteLine(GetMinimumPalindrone("racecar")); Console.WriteLine(GetMinimumPalindrone("race")); Console.WriteLine(GetMinimumPalindrone("google")); Console.ReadLine(); return 0; } ...
23.654545
134
0.685626
[ "MIT" ]
LucidSigma/Daily-Coding-Problems
Days 031 - 040/Day 34/GetMinimumPalindrome.cs
1,301
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; // PriorityQueue implementation from: http://visualstudiomagazine.com/articles/2012/11/01/priority-queues-with-c.aspx public class PriorityQueue<T> where T : IComparable<T> { private List<T> data; public void Clear() {...
31.180851
145
0.525077
[ "MIT" ]
Jammie506/GE2-2020-2021
Game Engines 2 Examples 2021/Assets/PriorityQueue.cs
2,933
C#
using System; using AppKit; namespace LiteHtmlSharp.Mac { public interface ICustomTagView { bool HasSetup { get; } void Setup(ElementInfo elementInfo); NSView View { get; } } }
13.866667
42
0.649038
[ "BSD-3-Clause" ]
PingmanTools/LiteHtmlSharp
LiteHtmlSharp.Mac/ICustomTagView.cs
210
C#
using System; using System.Collections.Generic; using System.Text; namespace Military_Elite.Enumeration { public enum SoldierCorpEnum { Airforces = 1, Marines = 2 } }
15.153846
36
0.670051
[ "MIT" ]
StefanIvanovC/Homeworks-Softuni
C# OOP/Interfaces and Abstraction/InterfacesAndAbstraction/Military Elite/Enumeration/SoldierCorpEnum.cs
199
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Novatel.Flex.Utilities; namespace Novatel.Flex.Networking { internal class PacketWriter : EndianBinaryWriter { public PacketWriter() : base(EndianBitCo...
20.8
62
0.630769
[ "MIT" ]
pushrbx/Novatel.Flex
Novatel.Flex/Networking/PacketWriter.cs
522
C#
using FluentCommander.BulkCopy; using FluentCommander.EntityFramework; using FluentCommander.IntegrationTests.EntityFramework.SqlServer.Entities; using FluentCommander.Samples.Setup.Entities; using Microsoft.Data.SqlClient; using Shouldly; using System; using System.Collections.Generic; using System.Data; using Xunit;...
35.197761
114
0.542351
[ "MIT" ]
relay-dev/fluent-commander
tests/FluentCommander.IntegrationTests.EntityFramework.SqlServer/Commands/BulkCopyIntegrationTest.cs
9,435
C#
using System.Numerics; namespace AdventOfCode.Year2019; public class IntcodeComputer { private BigInteger[] _memory; private int _counter; private int _relbase; private bool _halted; public IntcodeComputer(string memory) : this(memory.Split(',').Select(BigInteger.Parse).ToArray()) { } public IntcodeCompu...
20.80597
77
0.614778
[ "MIT" ]
sehra/advent-of-code
AdventOfCode/Year2019/IntcodeComputer.cs
2,790
C#
using System; using Gtk; using Gamma.Binding.Core; using Gamma.Utilities; using System.Linq.Expressions; namespace Gamma.GtkWidgets { [System.ComponentModel.ToolboxItem (true)] [System.ComponentModel.Category ("Gamma Gtk")] public class yTextView : TextView { public BindingControler<yTextView> Binding { get; pr...
21.266667
95
0.710031
[ "Apache-2.0" ]
Art8m/QSProjects
Binding/Gamma.Binding/GtkWidgets/yTextView.cs
640
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Service.Interface")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: Asse...
25.810811
56
0.715183
[ "MIT" ]
myloveCc/WcfHoster
Service.Interface/Properties/AssemblyInfo.cs
1,306
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ServerNodeIdentityAndKey.cs" company="Sean McElroy"> // Copyright Sean McElroy; released as open-source software under the licensing terms of the MIT License. // </copyright> //...
45.222222
156
0.584767
[ "MIT" ]
seanmcelroy/Mystiko
Mystiko.Library.Core/Net/ServerNodeIdentityAndKey.cs
1,630
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.PowerPointApi; namespace NetOffice.PowerPointApi.Behind { /// <summary> /// DispatchInterface MediaFormat /// SupportByVersion PowerPoint, 14,15,16 /// </summary> /// <remarks> MSDN Online: ht...
31.877159
186
0.689246
[ "MIT" ]
igoreksiz/NetOffice
Source/PowerPoint/Behind/DispatchInterfaces/MediaFormat.cs
16,610
C#
using System.Collections.Generic; using System.Linq; using RimWorld; using Verse; using RimWorld.Planet; namespace MoreFactionInteraction { using JetBrains.Annotations; [UsedImplicitly] public class IncidentWorker_SpreadingOutpost : IncidentWorker { private Faction faction; private st...
43.193548
164
0.609908
[ "MIT" ]
Proxyer/MoreFactionInteraction
MoreFactionInteraction/Spreading Pirates/IncidentWorker_SpreadingOutpost.cs
4,019
C#
using IQFeed.CSharpApiClient.Lookup.Symbol.Messages; using IQFeed.CSharpApiClient.Tests.Common; using NUnit.Framework; namespace IQFeed.CSharpApiClient.Tests.Lookup.Symbol.Messages { public class SymbolByFilterMessageTests { [Test, TestCaseSource(typeof(CultureNameTestCase), nameof(CultureNameTestCase...
44.602041
176
0.670251
[ "MIT" ]
BunkerCoder/IQFeed.CSharpApiClient
src/IQFeed.CSharpApiClient.Tests/Lookup/Symbol/Messages/SymbolByFilterMessageTests.cs
13,115
C#
using GDAPI.Attributes; using GDAPI.Enumerations.GeometryDash; namespace GDAPI.Objects.GeometryDash.LevelObjects.SpecialObjects.Pads { /// <summary>Represents a red pad.</summary> [ObjectID(PadType.RedPad)] public class RedPad : Pad { /// <summary>The object ID of the red pad.</summary> ...
35.428571
96
0.674731
[ "MIT" ]
Altenhh/GDAPI
GDAPI/GDAPI/Objects/GeometryDash/LevelObjects/SpecialObjects/Pads/RedPad.cs
746
C#
using System; using System.Collections.Generic; namespace FubuMVC.Core.Validation.Fields { public class FieldRuleSource : IValidationSource { private readonly IFieldRulesRegistry _registry; public FieldRuleSource(IFieldRulesRegistry registry) { _registry = regist...
24.25
64
0.63299
[ "Apache-2.0" ]
DovetailSoftware/fubumvc
src/FubuMVC.Core/Validation/Fields/FieldRuleSource.cs
485
C#
using RealWorldApp.Models; using RealWorldApp.Services; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace RealWorldApp.Pages { [XamlCompilation(XamlComp...
30.913043
102
0.602907
[ "MIT" ]
codewithasfend/Cinema-App
RealWorldAppForAdmin/RealWorldApp/RealWorldApp/Pages/MoviesListPage.xaml.cs
2,135
C#
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.Security.Cryptography.X509Certificates; namespace Slik.Security { /// <summary> /// Setups client and server certificates for CA signed mode, setups client and server validation to check for them /// Does no...
38.709677
119
0.711667
[ "MIT" ]
Insvald/Slik
src/SlikSecurity/CaSignedCertifier.cs
1,202
C#
using System.Linq; using System.Web.Mvc; using StackExchange.Opserver.Data.Dashboard; using StackExchange.Opserver.Helpers; namespace StackExchange.Opserver.Controllers { public partial class DashboardController { [OutputCache(Duration = 1, VaryByParam = "node", VaryByContentEncoding = "gzip;deflate")...
36.027778
106
0.532768
[ "MIT" ]
ExclamationLabs/Opserver
Opserver/Controllers/DashboardController.Polling.cs
1,299
C#
using QuieroPizza.BL; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace QuieroPizza.Win { public partial class Form1 : Form { pu...
19.30303
66
0.618524
[ "MIT" ]
cfernandez2021/quieropizza
Quieropizza/QuieroPizza.Win/Form1.cs
639
C#
namespace Kaonavi.Net.Entities; /// <summary>レイアウト定義 カスタム列項目</summary> /// <param name="Id">シート項目ID</param> /// <param name="Name"><inheritdoc cref="FieldLayout" path="/param[@name='Name']"/></param> /// <param name="Required"><inheritdoc cref="FieldLayout" path="/param[@name='Required']"/></param> /// <param name="Ty...
46.166667
101
0.681107
[ "MIT" ]
nogic1008/Kaonavi.Core
src/Kaonavi.NET/Entities/Layouts/CustomFieldLayout.cs
869
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
34.35443
84
0.529477
[ "MIT" ]
DeveloperUniversity/CS-ASP-013
Lesson-13/After/CS-ASP_013/CS-ASP_013/Default.aspx.designer.cs
2,716
C#
namespace Chatter.CQRS.Commands { /// <summary> /// Marker /// </summary> public interface ICommand : IMessage { } }
14.2
40
0.556338
[ "MIT" ]
brenpike/Chatter
src/Chatter.CQRS/src/Chatter.CQRS/Commands/ICommand.cs
144
C#
#nullable disable using System; using System.Linq; using SpecFlow.VisualStudio.Editor.Completions; namespace SpecFlow.VisualStudio.Tests.Editor.Completions; public class StepDefinitionSamplerTests { private ProjectStepDefinitionBinding CreateStepDefinitionBinding(string regex, params string[] parameterTypes) ...
39.670213
119
0.642532
[ "MIT" ]
SpecFlowOSS/SpecFlow.VS
Tests/SpecFlow.VisualStudio.Tests/Editor/Completions/StepDefinitionSamplerTests.cs
3,731
C#
using FacilityServices.DataLayer; using FacilityServices.DataLayer.Repositories; using Microsoft.EntityFrameworkCore; using Microsoft.VisualStudio.TestTools.UnitTesting; using OnlineServices.Common.Exceptions; using OnlineServices.Common.FacilityServices.TransfertObjects; using OnlineServices.Common.TranslationService...
41.134146
111
0.635636
[ "Apache-2.0" ]
EnriqueUbillus/OnlineServices
Application Layer/FacilityServices/FacilityServices.DataLayerTests/RepositoriesTests/ComponentTypeRepositoryTests/ComponentType - UpdateComponentTypesTests.cs
3,375
C#
// // DomElement.cs // // Author: Kees van Spelde <sicos2002@hotmail.com> // // Copyright (c) 2013-2019 Magic-Sessions. (www.magic-sessions.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 S...
29.969388
99
0.55618
[ "MIT" ]
Argus-Media/MSGReader
MsgReaderCore/Rtf/DomElement.cs
5,874
C#
using System; namespace Standard { internal struct RGBQUAD { public byte rgbBlue; public byte rgbGreen; public byte rgbRed; public byte rgbReserved; } }
12.625
32
0.59901
[ "MIT" ]
5653325/HandyControl
src/Shared/Microsoft.Windows.Shell/Standard/RGBQUAD.cs
204
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures; namespace Identity.Views.Manage { public static class ManageNavPages { public static string ActivePageKey => "ActivePa...
38.846154
140
0.744554
[ "MIT" ]
mohamedelmesawy1993/BIMgo-GP
BIMGo-WebSite/Identity/Views/Manage/ManageNavPages.cs
1,517
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
29.018927
110
0.533971
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/src/Services/AuditManager/Generated/Model/Framework.cs
9,199
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DM.MovieApi.ApiResponse; using DM.MovieApi.IntegrationTests.Infrastructure; using DM.MovieApi.MovieDb; using DM.MovieApi.MovieDb.Companies; using DM.MovieApi.MovieDb.Genres; using DM.MovieApi.MovieDb.Keywords; using ...
38.157303
116
0.612264
[ "MIT" ]
ericleroy01/TheMovieDbWrapper
DM.MovieApi.IntegrationTests/MovieDb/Movies/ApiMovieRequestTests.cs
13,586
C#
using System; namespace MobaFrame.SkillAction { public enum BombType { None, PenetratingBomb, ColliderBomb } }
11
32
0.674242
[ "MIT" ]
corefan/mobahero_src
MobaFrame.SkillAction/BombType.cs
132
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("Sw...
37.864865
84
0.744468
[ "Apache-2.0" ]
NoleHealth/xamarin-forms-book-preview-2
Chapter15/SwitchDemo/SwitchDemo/SwitchDemo.iOS/Properties/AssemblyInfo.cs
1,404
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZumenSearch.Models { /// <summary> /// 情報保持・表示用のMyErrorクラス /// </summary> #region == エラー情報保持・表示用クラス == public class ErrorObject { public enum ErrTypes ...
22.354167
88
0.583411
[ "MIT" ]
torum/ZumenSearch
ZumenSearch/Models/Error.cs
1,147
C#
using System; using System.IO; using Bender.Configuration; namespace WebApi.Bender { public class BenderJsonFormatter : BenderFormatter { public BenderJsonFormatter(Options options) : base(options, "application/json") { } protected override void Serialize(object value, ...
29
93
0.646177
[ "MIT" ]
mikeobrien/WebAPI.Bender
src/WebApi.Bender/BenderJsonFormatter.cs
669
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Insma.Mxa.Framework.Content.Pipeline.FBXImporter { public class Class1 { } }
15.583333
58
0.743316
[ "MIT" ]
baszalmstra/MXA
MXA-Framework/src/Content/Pipeline.FBXImporter/Class1.cs
189
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...
50.208122
203
0.645081
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/SecurityToken/Generated/Model/AssumeRoleWithSAMLRequest.cs
19,786
C#
using System; using System.Collections.Generic; using System.Text; namespace Threax.Home.Core { public enum Units { None, Fahrenheit, Celsius, Lux, Percent } }
13.375
33
0.579439
[ "MIT" ]
threax/Threax.Home
Threax.Home.Core/Units.cs
216
C#
using System; using System.Collections.Generic; using System.Windows.Forms; namespace GraphProject { /// <summary> /// This class handles the result from the multiple backtest Gui. /// The chosen backtest period from the Gui, is translated to a /// start and end indexes for backtest to be tested. ...
29.353535
139
0.502065
[ "MIT" ]
Fibfractal/StockBacktester
GraphProject/GUIs/For Gui/Gui multiple backtest/BacktestPeriodPicker.cs
2,908
C#
using System; using CodeFuller.Library.Logging.Interfaces; using Serilog.Core; using Serilog.Events; using Serilog.Formatting; namespace CodeFuller.Library.Logging.Internal { internal class RollingLogSink : ILogEventSink { private readonly ITextFormatter formatter; private readonly IRollingLogFile ...
26.40625
100
0.747929
[ "MIT" ]
CodeFuller/library
src/CodeFuller.Library.Logging/Internal/RollingLogSink.cs
847
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MasGlobal.Core; using MasGlobal.Model; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace MasG.API.Controllers { [Route("api/[controller]")] [ApiController] public class Employees...
23.676471
62
0.619876
[ "MIT" ]
lauramartinezing/employeesapp
MasG.API/Controllers/EmployeesController.cs
807
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EuphoricElephant.Helpers { public static class ApplicationSettings { private static Dictionary<string, object> _settingsCache = new Dictionary<string, object>(); publi...
24.883721
100
0.600935
[ "MIT" ]
pxlit-projects/entmob2016_9
EuphoricElephant/EuphoricElephant/Helpers/ApplicationSettings.cs
1,072
C#
namespace MarketingBox.Sdk.Common.Tests.AttributesTests; public class AdvancedCompareAttributeTests { }
18.166667
56
0.825688
[ "MIT" ]
MyJetMarketingBox/MarketingBox.Sdk.Common
test/MarketingBox.Sdk.Common.Tests/AttributesTests/AdvancedCompareAttributeTests.cs
109
C#
using System; using System.Collections.Generic; using Unity.Collections; namespace UnityEngine.Rendering.Distilling.Internal { /// <summary> /// Renders a shadow map atlas for additional shadow-casting Lights. /// </summary> public class AdditionalLightsShadowCasterPass : ScriptableRenderPass { ...
55.243842
164
0.643141
[ "MIT" ]
Kirkice/DistillingRenderPipeline
Assets/Distilling RP/Runtime/Passes/AdditionalLightsShadowCasterPass.cs
22,429
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Pomidor { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] s...
22.956522
66
0.583333
[ "MIT" ]
Pioziomgames/pomidor
Program.cs
530
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.BAASDT.Models { public class QueryBlockanalysisDelegaterelationResponse : TeaModel { // 请求唯一ID,用于链路跟踪和问题排查 [NameInMap("req_msg_id")] [V...
24.857143
77
0.643678
[ "MIT" ]
alipay/antchain-openapi-prod-sdk
baasdt/csharp/core/Models/QueryBlockanalysisDelegaterelationResponse.cs
960
C#
using System; using System.IO; using System.Threading.Tasks; using Microsoft.ML; using Microsoft.ML.Data; using Microsoft.ML.AutoML; using Microsoft.Extensions.DependencyInjection; using MLNETMLFlowSampleConsole.Domain; using MLFlow.NET.Lib; using MLFlow.NET.Lib.Contract; using MLFlow.NET.Lib.Model; using M...
41.98
176
0.648404
[ "MIT" ]
lqdev/MLNETMLFlowSample
MLNETMLFlowSampleConsole/Program.cs
4,200
C#
// IBehaviourPool.cs created with MonoDevelop // User: stefant at 17:19 07/28/2008 // using System; using System.Collections.Generic; namespace Alica { /// <summary> /// An engine trigger is a delegate used to call eventDriven <see cref="BasicBehaviour"/>s. Events of this type can be used by a BasicBehaviour to man...
27.830508
173
0.661389
[ "BSD-3-Clause-Clear" ]
RedundantEntry/cn-alica-ros-pkg
AlicaEngine/src/Engine/IBehaviourPool.cs
1,643
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
37.491379
173
0.63003
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/Lightsail/Generated/Model/Internal/MarshallTransformations/AttachInstancesToLoadBalancerRequestMarshaller.cs
4,349
C#
using System.Collections.Generic; namespace RegExpService { /// <summary>Kimenet szerintt csoportosítást leíró osztály.</summary> internal class MatchGroupedInfoList { /// <summary>Érték/index pár beállítása.</summary> /// <param name="pValue">Talált karakterlánc érték.</param> ///...
33.5
98
0.629353
[ "MIT" ]
tas-h/MiniRegExp
Library/RegExpService/MatchGroupedInfoList.cs
1,241
C#
using System.Windows; using System.Windows.Media; using MahApps.Metro.Controls; using MahApps.Metro.Controls.Dialogs; using Modele; namespace Appli { /// <summary> /// Logique d'interaction pour PasswordChange.xaml /// </summary> public partial class PasswordChange : MetroWindow { private ...
36.555556
149
0.602964
[ "MIT" ]
iShoFen/Cinema
Source/Cinema/Appli/PasswordChange.xaml.cs
2,634
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using DevelopmentInProgress.WPFControls.Messaging; using DevelopmentInProgress.WPFControls.Test.Models; namespace DevelopmentInProgress.WPFControls.Test { public class MainViewModel : NotifyChange { public MainViewM...
36.397059
119
0.549293
[ "Apache-2.0" ]
grantcolley/wpfcontrols
DevelopmentInProgress.WPFControls.TestHarness/MainViewModel.cs
4,952
C#
 /// <summary> /// If implement, Gameobject can be destroyed by player's ultimate. /// </summary> public interface IDestructible { /// <summary> /// Called By Player Ultimate. /// </summary> void Destroy(); }
18.833333
67
0.623894
[ "MIT" ]
USBtheKey/Source_Danbar
Assets/Scripts/GameSystem/IDestructible.cs
228
C#
using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace MaterialSkin.Controls { ///TODO: Break this out into a MaterialDialog then extend into the MaterialMsgBox ///Adapted from http://www.codeproject.com/Articles/601900/FlexibleMessageBox public class MaterialMessageBox ...
49.146667
203
0.721378
[ "MIT" ]
afrizaldm/MaterialSkin
MaterialSkin/Controls/MaterialMessageBox.cs
3,688
C#
namespace PartlyRebuildIdentity.Data.Intefaces.IdentityStores { using Microsoft.AspNet.Identity; using Models.Interfaces; public interface IIdentitySecurityStampStore<TUser, in TKey> : IIdentityStore<TUser, TKey>, IUserSecurityStampStore<TUser, TKey> where TUser : class, IIdentityA...
30.583333
72
0.724796
[ "MIT" ]
kraskoo/PartlyRebuildMicrosoftIdentityUser
PartlyRebuildIdentity.Data/Intefaces/IdentityStores/IIdentitySecurityStampStore.cs
369
C#
namespace Sitecore.Feature.Accounts.Tests.Extensions { using NSubstitute; using Ploeh.AutoFixture; using Sitecore.FakeDb.Security.Accounts; using Sitecore.Foundation.Testing.Attributes; public class AutoFakeUserDataAttribute: AutoDbDataAttribute { public AutoFakeUserDataAttribute() { ...
24.714286
64
0.666667
[ "Apache-2.0" ]
26384sunilrana/Habitat
src/Feature/Accounts/Tests/Extensions/AutoFakeUserDataAttribute.cs
521
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ModelCloningPrivateSetArrayOfNullableChild1.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode 2018. All rights reserved. // </copyright> // <auto-generated> // Sou...
60.191011
267
0.725873
[ "MIT" ]
OBeautifulCode/OBeautifulCode.CodeGen
OBeautifulCode.CodeGen.ModelObject.Test/Models/Scripted/Cloning/PrivateSet/ArrayOfNullable/ModelCloningPrivateSetArrayOfNullableChild1.cs
10,716
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using GoalLine.Data; using GoalLine.Structures; namespace GoalLine.Processes.ProcessLogic { class AITeamAndTactics { private class AvailablePlayer { ...
34.577465
113
0.497352
[ "MIT" ]
meesterturner/GoalLine
GoalLine.Processes/ProcessLogic/AITeamAndTactics.cs
4,912
C#
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia namespace EtAlii.Ubigia.Api.Transport.Management.SignalR { using EtAlii.Ubigia.Api.Transport.SignalR; using EtAlii.xTechnology.MicroContainer; internal class SignalRStorageClientsScaffolding :...
46.967742
113
0.745192
[ "MIT" ]
vrenken/EtAlii.Ubigia
Source/Api/EtAlii.Ubigia.Api.Transport.Management.SignalR/_Scaffolding/SignalRStorageClientsScaffolding.cs
1,458
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
37.888325
160
0.593917
[ "MIT" ]
544146/Windows-universal-samples
Samples/ContactCardIntegration/cs/Scenario1_CreateContacts.xaml.cs
7,464
C#