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
/* * This message is auto generated by ROS#. Please DO NOT modify. * Note: * - Comments from the original code will be written in their own line * - Variable sized arrays will be initialized to array of size 0 * Please report any issues at * <https://github.com/siemens/ros-sharp> */ namespace RosSharp.Ro...
24.8
97
0.696774
[ "Apache-2.0" ]
1441048907/ros-sharp
Libraries/RosBridgeClient/MessageTypes/ObjectRecognition/action/ObjectRecognitionFeedback.cs
620
C#
using System; namespace ASTRA.EMSG.Mobile.ViewModels { public interface IZustandsabschnittTabViewModel : ISaveable, IViewModel { string HeaderText { get; } bool HasError { get; } event EventHandler Changed; void Init(); bool IsValid { get; } void RefreshValidatio...
23.8
75
0.621849
[ "BSD-3-Clause" ]
astra-emsg/ASTRA.EMSG
Mobile/ASTRA.EMSG.Mobile/ViewModels/IZustandsabschnittTabViewModel.cs
357
C#
namespace MagicGradients.Parser.TokenDefinitions { public interface ITokenDefinition { bool IsMatch(string token); void Parse(CssReader reader, GradientBuilder builder); } }
20.3
62
0.70936
[ "MIT" ]
Pemmican-Pete/MagicGradients
MagicGradients/Parser/TokenDefinitions/ITokenDefinition.cs
203
C#
using System; using Akka.Actor; namespace WinTail { /// <summary> /// Actor responsible for reading FROM the console. /// Also responsible for calling <see cref="ActorSystem.Terminate"/>. /// </summary> class ConsoleReaderActor : UntypedActor { public const string StartCommand = "start...
30.454545
98
0.572537
[ "Apache-2.0" ]
michaeldeongreen/akka-bootcamp
src/Unit-1/DoThis/ConsoleReaderActor.cs
1,675
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 Gov.Lclb.Cllb.Interfaces.Models { using Newtonsoft.Json; using System.Collections; using System.Collections....
55.39959
6,565
0.722841
[ "Apache-2.0" ]
brianorwhatever/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMsharepointdocumentlocation.cs
27,035
C#
using MyOnlineShop.Common.ViewModels.ShoppingCarts; using Refit; using System.Threading.Tasks; namespace MyOnlineShop.WebMVC.Services.ShoppingCart { public interface IShoppingCartService { [Get("/ShoppingCart/Count/{userId}")] Task<int> GetCartItemsCount([Query] string userId); [Get("...
30.72
90
0.682292
[ "MIT" ]
DimchoLakov/Architecture-Of-ASP-NET-Core-Microservices-Apps
MyOnlineShop/MyOnlineShop.WebMVC/Services/ShoppingCart/IShoppingCartService.cs
770
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.Components { using Microsoft.Psi.Common; using Microsoft.Psi.Serialization; /// <summary> /// Deserializer optimized for streaming scenarios, where buffers and instances ca...
45.877551
165
0.647242
[ "MIT" ]
Bhaskers-Blu-Org2/psi
Sources/Runtime/Microsoft.Psi/Components/DeserializerComponent.cs
2,250
C#
using System; using System.Collections.Generic; using System.Linq; using Delve.Models.Expressions; namespace Delve.Models.Validation { internal class ValidationRules { private readonly IList<IValidationRule> _rules = new List<IValidationRule>(); public ValidationRules(IValidationRule rule, s...
32.705882
117
0.588729
[ "MIT" ]
bbartels/Delve
Source/Delve/Models/Validation/ValidationRules.cs
1,670
C#
using System; using Microsoft.Extensions.Configuration; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Authorization; using Microsoft.Extensions.Hosting; using Adnc.Application.Shared.RpcServices; using Adnc.WebApi.Shared; namespace Microsoft.Extensions.DependencyInjection { public static class Se...
42.779661
142
0.672742
[ "MIT" ]
kuiningcomeon/Adnc
src/ServerApi/Services/Shared/Adnc.WebApi.Shared/Extensions/ServiceCollectionExtension.cs
2,542
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Text; using System.Threading; using System.Threading.Tasks; using Tasks; using Windows.Foundation; using Windows.Foundation.Collecti...
37.893458
157
0.555073
[ "MIT" ]
kiewic/Projects
BackgroundTaskApp/BackgroundTaskApp/MainPage.xaml.cs
20,275
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlotMenu : MonoBehaviour { private Vector2 plotMenuShow; private Vector2 plotMenuHide; private Vector2 quickReapShow; private Vector2 quickReapHide; private Vector2 characterMenuShow; private Vector2...
32.927273
109
0.739371
[ "MIT" ]
JacobusRoos/CasualGame2
CasualGame2/Assets/Scripts/PlotMenu.cs
1,813
C#
using Microsoft.Bot.Builder; using Microsoft.Bot.Connector.Authentication; using Microsoft.Bot.Schema; using Microsoft.Bot.Schema.Teams; using Microsoft.Graph; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace FetchGroupChatMessagesWithRSC.helper { pub...
38.76
183
0.55872
[ "MIT" ]
AbhijeetThakur-msft/Microsoft-Teams-Samples
samples/bot-archive-groupchat-messages/csharp/FetchGroupChatMessages/helper/GetChatHelper.cs
4,847
C#
using System; using System.Collections.Generic; using System.Linq; using QFJH.DataStruct; using static System.Math; namespace QFJH.Algorithm { /// <summary> /// 后方交汇 /// </summary> public class BackMatch { #region 后方交会公开属性 /// <summary> /// 是否计算过了 /// </summary> ...
31.098734
128
0.395718
[ "Apache-2.0" ]
bestYou/Photogrammetry
Photogrammetry/QFJH/Algorithm/BackMatch.cs
12,890
C#
using System; using System.Collections.Generic; using System.Net.Mime; using Microsoft.OpenApi.Models; using Xunit; namespace Atc.OpenApi.Tests.XUnitTestData { public static class TestMemberDataForOpenApiMediaTypeExtensions { public static TheoryData<string, IDictionary<string, OpenApiMediaType>> GetSc...
38.811594
140
0.535474
[ "MIT" ]
atc-net/atc
test/Atc.OpenApi.Tests/XUnitTestData/TestMemberDataForOpenApiMediaTypeExtensions.cs
2,678
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.Collections.Generic; using Microsoft.CodeAnalysis.Text; using Microsoft.CodeAnalysis.WorkspaceServices; na...
33.466667
184
0.689243
[ "ECL-2.0", "Apache-2.0" ]
binsys/roslyn_java
Src/Workspaces/Core/Formatting/Rules/DefaultBaseIndentationFormattingRuleFactoryServiceFactory.cs
1,508
C#
 namespace ProceduralMusic { public class PhaseShift : Source { private Source _src; private double _period; public PhaseShift(Source src, double period) { _src = src; _period = period; } public override float Sample(double t) { ...
18.238095
52
0.524804
[ "MIT" ]
Metapyziks/ProceduralMusic
ProceduralMusic/PhaseShift.cs
385
C#
using McMaster.Extensions.CommandLineUtils; using System; using System.Collections.Generic; using System.Text; namespace Ipfs.Cli { [Command("init", Description = "Initialize ipfs local configuration [WIP]")] class InitCommand : CommandBase { } }
20.384615
80
0.732075
[ "MIT" ]
sbiaudet/net-ipfs-engine
IpfsCli/Commands/InitCommand.cs
267
C#
/* * NetworkHelper.cs * * Copyright (c) 2009, Michael Schwarz (http://www.schwarz-interactive.de) * * 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, in...
32.572816
102
0.596423
[ "MIT" ]
MatthewJallah/NETMF-Toolkit
HTTP/Helper/NetworkHelper.cs
3,355
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Diagnostics; using System.Linq; using ...
46.433251
619
0.517417
[ "Apache-2.0" ]
aprognimak/EntityFrameworkCore
test/EFCore.Design.Tests/Migrations/ModelSnapshotSqlServerTest.cs
150,260
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...
64.732955
667
0.691828
[ "MIT" ]
Agazoth/azure-powershell
src/Resources/MSGraph.Autorest/generated/api/Models/ApiV10/CollectionOfDirectoryObject.PowerShell.cs
11,218
C#
using NUnit.Framework; namespace Voorhees.Tests { [TestFixture] public class JsonReaderTest { [Test] public void Int() { var test = JsonReader.Read("1"); Assert.That(test.Type, Is.EqualTo(JsonType.Int)); Assert.That((int) test, Is.EqualTo(1)); } [Test] public void NegativeInt() { var test = J...
31.495775
105
0.6359
[ "MIT" ]
grahamboree/Voorhees
voorhees_tests/JsonReaderTest.cs
11,185
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Net; using System.Text; using System.Windows.Forms; namespace CrashHandler { public partial class Form1 : Form { str...
29.588235
187
0.461895
[ "Apache-2.0" ]
LHMPTeam/lhmp-old
Others/CrashHandler/Form1.cs
3,020
C#
using System.Windows; namespace WinTOTAL_Quick_List_Copier.ui { public static class UiUtilities { public static void ShowErrorMessage(string message) { MessageBox.Show(message, "Error"); } } }
18.692308
59
0.633745
[ "MIT" ]
onstottj/WinTOTAL-Quick-List-Copier
WinTOTAL Quick List Copier/ui/UiUtilities.cs
245
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 Xunit; namespace System.Xml.Tests { public class NameTableTests { [Fact] public stat...
38.648148
109
0.636799
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Private.Xml/tests/XmlDocument/XmlDocumentTests/NameTableTests.cs
2,089
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version: 17.0.0.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> // ----...
41.209877
148
0.556388
[ "Apache-2.0" ]
UbiquityDotNET/Llvm.NET
src/Interop/LlvmBindingsGenerator/Templates/T4/PerHeaderInteropTemplate.cs
30,044
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.AspNet.SignalR; using System.Threading.Tasks; using Newtonsoft.Json; using System.Diagnostics; namespace VLN2_H27.Hubs { public class EditorHub : Hub { public void sendChat(string name, string message,...
32.448
144
0.653353
[ "MIT" ]
ribombee/VLN2-27-mothman
VLN2-H27/VLN2-H27/Hubs/EditorHub.cs
4,058
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; using Xunit; namespace Mundane.Tests.Tests_RouteConfiguration; [ExcludeFromCodeCoverage] public static class Adding_An_Endpoint_Throws_ArgumentException { [Fact] public static void When_The_Method_Parameter_Is_Empty() { var noPara...
38.12
103
0.712487
[ "MIT" ]
adambarclay/mundane
tests/Mundane.Tests/Tests_RouteConfiguration/Adding_An_Endpoint_Throws_ArgumentException.cs
2,859
C#
using Assets.Events; using System; using System.Collections.Generic; using UnityEngine; using Random = UnityEngine.Random; public class World { private readonly List<Character> _characters; private readonly Tile[,] _tiles; public event EventHandler<CharacterCreatedEventArgs> CharacterCreated; public ...
32.161972
147
0.612218
[ "MIT" ]
ChrisLeeBearger/TileBaseBuilder
Assets/CSharp/Models/World.cs
4,569
C#
namespace AfxGui.Tools { partial class CustomLoaderForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summa...
49.966038
121
0.598671
[ "MIT" ]
advancedfx/advancedfx
hlae/Tools/CustomLoaderForm.Designer.cs
13,243
C#
using EPiServer.Core; using EPiServer.DataAnnotations; using ImageVault.EPiServer; namespace Meriworks.Examples.ImageVault.Epi.MediaList { [ContentType(DisplayName = "MediaBlock", Description = "A block type with a single media property", GUID = "0C2F7101-DA9F-4646-B52E-4DBCB2E8406E")] public class MediaBlock...
36.454545
151
0.74813
[ "MIT" ]
meriworks/examples
imagevault/epi/medialist/MediaBlock.cs
403
C#
using System; using UnityEngine; /// <summary> /// Propriétés des entrées (qubits) /// </summary> public class EntryObject : MonoBehaviour { public QCS.Circuit.EntryStruct entryStruct; public GameObject root; public GameObject entry; public GameObject collar; public void Destroy() { ...
24.763158
81
0.676939
[ "MIT" ]
Pseudonyme7/QuantumGateV2
QuantumGate/Assets/01_Scripts/02_Objects/EntryObject.cs
946
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.WordApi { ///<summary> /// DispatchInterface DropDown /...
32.982456
191
0.671144
[ "MIT" ]
NetOffice/NetOffice
Source/Word/DispatchInterfaces/DropDown.cs
7,520
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("Aul...
37.666667
84
0.752212
[ "MIT" ]
wesley2018/Aula1AspNetMvc
Aula1AspNetMvc/Aula1AspNetMvc/Properties/AssemblyInfo.cs
1,359
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PathPlacer : MonoBehaviour { public float spacing = .1f; public float resolution = 1; private void Start() { Vector3[] points = FindObjectOfType<PathCreator>().path.CalculateEvenlySpacedPoints(spacing...
28.454545
113
0.651757
[ "MIT" ]
RafaelFreita/ComputationalAnimation
Assets/Modules/Paths/Scripts/PathPlacer.cs
628
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using TextHelper; namespace EAScriptAddin { public partial class TextHelperControl : UserControl { private ...
29.607143
75
0.694813
[ "BSD-2-Clause" ]
CuchulainX/Enterprise-Architect-Toolpack
EAScriptAddin/TextHelperControl.cs
831
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace DailyMeeting.Migrations { public partial class Upgraded_To_Abp_5_9 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropIndex( name: "IX_AbpOrganizationUnits_Tena...
33.529412
71
0.59386
[ "MIT" ]
MarkXuan/Vatek-DailyMeeting
aspnet-core/src/DailyMeeting.EntityFrameworkCore/Migrations/20200604091046_Upgraded_To_Abp_5_9.cs
1,142
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 "li...
37.078261
138
0.559099
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SimpleEmail/Generated/Model/Internal/MarshallTransformations/S3ActionUnmarshaller.cs
4,264
C#
/* * Prime Developer Trial * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Col...
32.959184
159
0.562436
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/ETFProfileandPrices/v2/src/FactSet.SDK.ETFProfileandPrices/Model/InlineResponse2009.cs
4,845
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. #nullable enable using System; using System.Collections.Generic; using System.Collections.Immutable; using System....
47.102222
214
0.496603
[ "MIT" ]
missymessa/roslyn
src/Features/Core/Portable/SolutionCrawler/WorkCoordinator.LowPriorityProcessor.cs
10,600
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace GrpcJsonTranscoder.Internal.Http { internal static class HttpContextExtensions { ...
32.847328
149
0.530792
[ "MIT" ]
sidinwillis/GrpcJsonTranscoder
src/GrpcJsonTranscoder/Internal/Http/HttpContextExtensions.cs
4,303
C#
namespace Cosmos.System.FileSystem.FAT.Listing; /// <summary> /// Fat directory entry metadata class. /// </summary> public sealed class FatDirectoryEntryMetadata { /// <summary> /// Directory entry first byte matadata. This is filename first byte. /// </summary> public static readonly FatDire...
35.523438
110
0.652518
[ "BSD-3-Clause" ]
Kiirx/Cosmos
source/Cosmos.System2/FileSystem/FAT/Listing/FatDirectoryEntryMetadata.cs
4,549
C#
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace mgt_parser { public static class ScheduleParser { private static readonly Dictionary<string, int> _months = new Dictionary<string, int> { {"января", 1}, {"февраля", 2}, ...
46.053812
154
0.498247
[ "MIT" ]
Snarkorel/mgt_parser
ScheduleParser.cs
10,376
C#
#nullable enable using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Reflection; namespace Spectre.Console { internal static class TypeConverterHelper { public static string ConvertToString<T>(T input) => ConvertToString(input, typeof(T)...
30.845238
105
0.518719
[ "MIT" ]
koliyo/spectre.console
src/Spectre.Console/Internal/TypeConverterHelper.cs
2,591
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
40.886364
1,358
0.569112
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/QUSC_MT000001UK02TokenId.cs
10,794
C#
namespace LinFx.Application.Models { /// <summary> /// This interface is defined to standardize to request a sorted result. /// </summary> public interface ISortedResultRequest { /// <summary> /// Sorting information. /// Should include sorting field and optionally a directi...
29.285714
81
0.544715
[ "MIT" ]
linfx/LinFx
src/LinFx/Application/Models/ISortedResultRequest.cs
617
C#
using System; using LessPaper.Shared.Helper; using Xunit; namespace LessPaper.GuardService.UnitTest { public class UnitTest1 { [Fact] public async void Test1() { var kp = CryptoHelper.GenerateRsaKeyPair(); for (int i = 0; i < 10000; i++) { ...
31.098361
108
0.567211
[ "MIT" ]
LessPaperWork/LessPaperWork.Backend
LessPaper.GuardService.UnitTest/UnitTest1.cs
1,897
C#
using System; using System.Collections.Generic; using LDAPLibrary; using LDAPLibrary.Interfarces; namespace GUI_LDAPUnitTest.Tests.BusinessLogic { public class TestUserRepository { private string[] _usersToSearch; public TestUserRepository() { string testUserDn = string.Is...
32.875
120
0.613308
[ "MIT" ]
yesnomore/LDAP-Library
GUI_LDAPUnitTest/Tests/BusinessLogic/TestUserRepository.cs
2,633
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Diamond_from_Test { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); var first = DateTime.Now; ...
30.305556
109
0.452796
[ "MIT" ]
1ooIL40/FundamentalsRepo
new project 04.03/Programming Basics Exam - 17 July 2016/Diamond from Test/Program.cs
1,093
C#
using System; using System.Numerics; namespace _10._Snowballs { class Program { static void Main(string[] args) { byte number = byte.Parse(Console.ReadLine()); BigInteger bestSnowballValue = int.MinValue; short bestSnowballSnow = 0; short bestSno...
35.882353
120
0.559016
[ "MIT" ]
DeyanDanailov/SoftUniCSharpFundamentals
repos/10. Snowballs/Program.cs
1,222
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using Deveel.Data.Index; using Deveel.Data.Query; using Deveel.Data.Transactions; namespace Deveel.Data.DbSystem { public class TestDatabase : IDatabase { private readonly Dictionary<ObjectName, ITable> tables; public TestDat...
26.388298
122
0.722435
[ "Apache-2.0" ]
kaktusan/plsqlparser
src/PlSqlParser.NUnit/Deveel.Data.DbSystem/TestDatabase.cs
4,963
C#
using Microsoft.EntityFrameworkCore; using AspNetBase.Identity.Models; using AspNetBase.Domain.Models; using AspNetBase.Contracts.Persistence; using Datiss.Common.Gaurd; using MediatR; namespace AspNetBase.Identity.Query { public class GetAppClaimTypesQuery : IRequest<IEnumerable<AppClaimTypeResult>> { ...
32.152174
118
0.58215
[ "MIT" ]
imaun/AspNetBase
src/app/AspNetBase.Identity/Query/GetAppClaimTypesQuery.cs
1,481
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace projetEvents { static class Program { /// <summary> /// Point d'entrée principal de l'application. /// </summary> [STAThread] static vo...
23.541667
65
0.610619
[ "MIT" ]
jvondermarck/manage-event
projetEvents/Program.cs
568
C#
using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; using System; using System.Linq; using System.Reflection; namespace FinancialDocument.Api.Filters { [AttributeUsage(AttributeTargets.Property)] public class SwaggerExcludeAttribute : Attribute { } public class SwaggerExclude...
28.428571
85
0.629146
[ "MIT" ]
MurielRLima/FinancialSolution
FinancialDocument.Api/Filters/SwaggerExcludeFilter.cs
997
C#
using System; namespace FoodApi { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
18
69
0.597222
[ "MIT" ]
Gardusio/Ecommerce-Api
FoodApi/WeatherForecast.cs
288
C#
// <copyright file="DefaultTokenValidationParameters.cs" company="Okta, Inc"> // Copyright (c) 2018-present Okta, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. // </copyright> using Microsoft.IdentityModel.Tokens; namespace ...
34.36
112
0.678696
[ "Apache-2.0" ]
JABIL/okta-aspnet
Okta.AspNet.Abstractions/DefaultTokenValidationParameters.cs
861
C#
using CoursesApp.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace CoursesApp.Services { public interface ITrainerService { int Create(Trainer trainer); Trainer FindByEmail(string email); Trainer ReadById(int Id); IEnumerable<T...
23.980769
77
0.566159
[ "MIT" ]
ahmadomar/bosla-courses-app
App/CoursesApp/Services/TrainerService.cs
1,249
C#
using System; using System.Collections.Generic; using System.Linq; using ReactiveUI; using ReactiveUI.Legacy; #pragma warning disable CS0618 // Type or member is obsolete namespace GitHub.Services { public class ErrorMap { readonly ErrorMessage defaultMessage; readonly IEnumerable<Translatio...
26.632653
61
0.582375
[ "MIT" ]
123balu42/VisualStudio
src/GitHub.App/Services/ErrorMap.cs
1,307
C#
using System; using System.Collections.Generic; using System.Text; namespace KamersModel { ///Een spelomgeving public class Level { public Plaats StartPlaats { get; } public List<Plaats> Plaatsen { get; } public Level(Plaats plaats) { StartPlaats = plaats; ...
19.851852
48
0.572761
[ "MIT" ]
carlodecraene/Kamers
KamersModel/Level.cs
538
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 06.12.2021. using System; using System.Data; using System.ComponentModel.DataAnnotations; using System.ComponentMode...
30.645161
176
0.576211
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Funcs/String/SET_001/STD/Concat__obj2/Complete/DateOnly/Boolean/TestSet_001__fields.cs
4,752
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.Extensions.Logging.Testing; using Xunit; using Xunit.Sdk; namespace Micro...
45.822844
157
0.58714
[ "MIT" ]
LakshanF/runtime
src/libraries/Microsoft.Extensions.Logging/tests/Common/LoggerMessageTest.cs
19,658
C#
#if TEST_FRAMEWORK using System; using System.Text; using UnityEditor.TestTools.TestRunner.Api; using UnityEngine; namespace Packages.Rider.Editor.UnitTesting { public class TestsCallback : ScriptableObject, IErrorCallbacks { public void RunFinished(ITestResultAdaptor result) { Callback...
37.494737
267
0.639809
[ "MIT" ]
11xdev-coder/Snek
Library/PackageCache/com.unity.ide.rider@2.0.7/Rider/Editor/UnitTesting/TestsCallback.cs
3,562
C#
using System; using System.Reactive.Linq; using Serilog; namespace ObservableTimerTest { class Program { static void Main(string[] args) { Log.Logger = new LoggerConfiguration().WriteTo.Console().CreateLogger(); // Start after 5 seconds and publish every five seconds ...
28.083333
105
0.593472
[ "MIT" ]
PacktPublishing/Mastering-C-7.2-and-.NET-Core-2.1-Application-Development
Chapter12/14 - Observable Timer Overload/Program.cs
676
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _01.Single_Inheritance { public class Dog : Animal { public void Bark() { Console.WriteLine("barking..."); } } }
17
44
0.629758
[ "MIT" ]
ginkogrudev/Databases-Basics-MS-SQ-LServer-September-2017
DB Advanced/Inheritance and Generics/01. Single Inheritance/Dog.cs
291
C#
using UnityEngine; public class C_powerupmanager : MonoBehaviour { [SerializeField] GameObject shield; [SerializeField] Transform shield_t; [SerializeField] float shieldspawn=5f; [SerializeField] GameObject firepower; [SerializeField] Transform firepower_t; [Serialize...
25.180328
87
0.638021
[ "MIT" ]
thatsun/prueba
prueba/Assets/scripts/C_powerupmanager.cs
1,538
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEditor; using UnityEngine; namespace UnityEditorUI { /// <summary> /// Widget for displaying read-only text. /// </summary> public interface ILabel : IWidget { /// <summary> ...
30.697248
92
0.534967
[ "MIT" ]
317392507/QFramework
Assets/QFramework/Framework/0.Core/Editor/0.EditorKit/IMGUIMVVM/Editor/Label.cs
3,384
C#
namespace api.Core.Repository { using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Linq.Expressions; [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "Reviewed. Suppress...
26.925926
147
0.687758
[ "MIT" ]
Kimeru29/HOAN
api/Core/Repository/IRepository.cs
730
C#
using TRL.Common.Collections; using TRL.Common.Data; using TRL.Common.Models; using TRL.Common.TimeHelpers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using TRL.Logging; using TRL.Common; namespace TRL.Handlers.StopLoss { public class StrategiesStopLossByPointsOnTickHand...
37.482143
154
0.652692
[ "Apache-2.0" ]
wouldyougo/TRx
TRL.Handlers/StopLoss/StrategiesStopLossByPointsOnTickHandlers.cs
2,101
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.Threading; #if !CODE_STYLE using System.Linq; using Microsoft.CodeAnalysis.Options; #en...
31.986486
137
0.532601
[ "MIT" ]
belav/roslyn
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Log/Logger.cs
14,204
C#
using System; namespace LibCommon.Structs.GB28181 { /// <summary> /// 不需要鉴权的设备 /// </summary> [Serializable] public class NoAuthenticationRequired { private string? _ipV4Address; private string? _ipV6Address; private string _deviceId; /// <summary> /// 设...
21.488372
87
0.492424
[ "MIT" ]
chenyi2006520/AKStream
LibCommon/Structs/GB28181/NoAuthenticationRequired.cs
968
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
30.185897
157
0.531535
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.462
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Palette Base/PaletteBack/PaletteBackColor1.cs
4,712
C#
using System; using System.Collections.Generic; using System.Linq; namespace DefiningClasses { public class StartUp { public static void Main() { var engines = new List<Engine>(); var cars = new List<Car>(); int enginesCount = int.Parse(Console.ReadLine());...
31.105769
91
0.3966
[ "MIT" ]
markodjunev/Softuni
C#/C# Advanced/Defining Classes-Exercise/Car Salesman/StartUp.cs
3,237
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; internal static partial class Interop { internal static partial class SspiCli { ...
29
71
0.722323
[ "MIT" ]
belav/runtime
src/libraries/Common/src/Interop/Windows/SspiCli/Interop.LsaGetLogonSessionData.cs
551
C#
//------------------------------------------------------------------------------ // <copyright file="update.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ /**************...
30.303448
179
0.528903
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/framework/xsp/deadcode/myweb/update.cs
4,394
C#
using Quartz.Plugins.SendMailJob.DataLayer.Model; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Text; using System.Threading.Tasks; namespace Quartz.Plugins.SendMailJob.DataLayer.Manager { public class SendDataMailAccountManager { public s...
38.269231
102
0.481658
[ "MIT" ]
Logi3PL/Quartzmin
Source/Quartz.Plugins.SendMailJob/DataLayer/Manager/SendDataMailAccountManager.cs
3,982
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace EZOper.NetSiteUtilities.AopApi { /// <summary> /// AlipayOpenPublicDefaultExtensionCreateModel Data Structure. /// </summary> [Serializable] public class AlipayOpenPublicDefaultExtensionCreateModel : AopObject...
25.428571
72
0.659176
[ "MIT" ]
erikzhouxin/CSharpSolution
NetSiteUtilities/AopApi/Domain/AlipayOpenPublicDefaultExtensionCreateModel.cs
566
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; using System.Xml.Serialization; namespace MusicHub.DataProcessor.ImportDtos { [XmlType("Song")] public class SongDto { [XmlElement("Name")] [Required] [MinLength(3), MaxL...
24.44186
77
0.588963
[ "MIT" ]
antoniovelev/Softuni
C#/Entity Framework/01. Model Defition_Skeleton + Datasets/MusicHub/DataProcessor/ImportDtos/SongDto.cs
1,053
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; using System.IO.Pipelines; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; ...
43.469136
166
0.593865
[ "MIT" ]
48355746/AspNetCore
src/SignalR/common/Http.Connections/src/Internal/Transports/LongPollingServerTransport.cs
7,042
C#
namespace osfDesigner { public enum DrawMode { ВручнуюПеременный = 2, ВручнуюФиксированный = 1, Стандартный = 0 } }
15.3
33
0.581699
[ "MPL-2.0" ]
Nivanchenko/OneScriptFormsDesigner
OneScriptFormsDesigner/OneScriptFormsDesigner/DrawMode.cs
203
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
43.712121
202
0.624263
[ "MIT" ]
3quanfeng/azure-powershell
src/DataFactory/DataFactoryV2/LinkedServices/GetAzureDataFactoryLinkedServiceCommand.cs
2,822
C#
using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Runtime.Versioning; using System.Threading; namespace Disruptor.PerfTests.Support { public class ThreadAffinityUtil { [DllImport("kernel32.dll")] private static extern uint GetCurrentThreadId(); ...
28.406593
147
0.599226
[ "Apache-2.0" ]
arnoud67/Disruptor-net
src/Disruptor.PerfTests/Support/ThreadAffinityUtil.cs
2,585
C#
using System; using System.Xml.Linq; namespace PatientEducationAssembler { public class PatientEducationProvider { public XElement ProviderSpecification { get; protected set; } public string contentProviderName { get; set; } public string contentBundleName { get; set; } protec...
31.954545
85
0.618777
[ "MIT" ]
hamishrodda/patient-education-assembler
Patient Education Assembler/PatientEducationProvider.cs
1,408
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("SeudoBuild.Modules.UnityBuild.Shared")] [assembly: AssemblyDescription("")] [assembly: AssemblyC...
37.111111
82
0.745509
[ "MIT" ]
mstevenson/SeudoBuild
SeudoBuild.Modules/SeudoBuild.Modules.UnityBuild.Shared/Properties/AssemblyInfo.cs
1,004
C#
using Appy.Configuration.Serializers; using Appy.Infrastructure.OnePassword.Model; using Moq; namespace Appy.Infrastructure.OnePassword.Tests.Fixtures { public class JsonSerializerMock : Mock<IAppyJsonSerializer> { public JsonSerializerMock SetupAndReturns(OnePasswordNote note) { Se...
28
71
0.647059
[ "MIT" ]
YellowLineParking/Appy.Configuration
src/Appy.Infrastructure.1Password.Tests/Fixtures/JsonSerializerMock.cs
476
C#
using Adnc.Infr.EventBus; namespace Adnc.Ord.Domain.Events { /// <summary> /// 订单支付事件 /// </summary> public sealed class OrderPaidEvent : BaseEvent<OrderPaidEvent.EventData> { public OrderPaidEvent(long id, EventData eventData, string eventSource) : base(id, eventData, eventSou...
22
79
0.569091
[ "MIT" ]
wenfeifei/Adnc
src/ServerApi/Portal/Adnc.Ord/Adnc.Ord.Domain/Events/OrderPaidEvent.cs
564
C#
#if PROPERTIES using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace MvvmDialogs.ComShellDialogs { [ComImport] [Guid(ShellIIDGuid.IPropertyDescription)] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] internal interface IPropertyDescript...
61.554054
203
0.746652
[ "Apache-2.0" ]
FantasticFiasco/mvvm-dialogs-contrib
src/net/ComShellDialogs/Native/Properties/IPropertyDescription.cs
4,557
C#
namespace Facebook.Client.Controls { #if NETFX_CORE using System; using System.Globalization; using Windows.UI.Xaml.Data; #endif #if WP8 using System; using System.Globalization; using System.Windows.Data; #endif /// <summary> /// Checks if a value is null or empty. ...
34.589744
109
0.575612
[ "Apache-2.0" ]
MavenRain/facebook-winclient-sdk
Source/Facebook.Client/Controls/Converters/IsNullOrEmptyConverter.cs
2,700
C#
private readonly static IDataSource dataSource = Container.Instance.Resolve<IDataSourceFactory>().Factory(Enum.DataSourceTypeEnum.SpawnlistDoor); IList<IDataSourceRow> dataSourceRows = dataSource.Select().Query(); for (int i = 0; i < dataSourceRows.Count; i++) { IDataSourceRow dataSourceRow = dataSourceRows[i]; } ...
36.827586
145
0.812734
[ "Unlicense" ]
TaiwanSpring/L1CSharpTW
TableTemp/SpawnlistDoor/CRUD.cs
2,136
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CocosSharp; namespace tests { public class LabelTTFFontsTestNew : AtlasDemoNew { private static readonly string[] fontList = { "fonts/A Damn Mess.ttf", "fonts/Abberan...
24.408451
102
0.466821
[ "MIT" ]
YersonSolano/CocosSharp
tests/tests/classes/tests/LabelTestNew/LabelTTFFontsTestNew.cs
1,733
C#
namespace HoodedCrow.Quiz { using HoodedCrow.Core; using UnityEngine; [CreateAssetMenu(menuName = "Example/Quiz/Messages/Player Answered")] public class PlayerAnsweredMessage: AMessage<PlayerAnsweredMessageContent> { } }
22.363636
78
0.739837
[ "BSD-3-Clause" ]
Huginn18/Unity-Example-Project
Assets/Scripts/Quiz/Messages/Player Answered/PlayerAnsweredMessage.cs
246
C#
using AutoMapper; using FluentAssertions; using Moq; using Opdex.Platform.Common.Exceptions; using Opdex.Platform.Common.Models; using Opdex.Platform.Infrastructure.Abstractions.Data; using Opdex.Platform.Infrastructure.Abstractions.Data.Models; using Opdex.Platform.Infrastructure.Abstractions.Data.Queries.Deployers; u...
34.518519
132
0.680258
[ "MIT" ]
Opdex/opdex-v1-api
test/Opdex.Platform.Infrastructure.Tests/Data/Handlers/Deployers/SelectActiveDeployerQueryHandlerTests.cs
3,728
C#
using Content.Server.GameObjects.Components.Chemistry; using Content.Server.GameObjects.Components.Fluids; using Content.Server.GameObjects.EntitySystems.Click; using Content.Server.Interfaces.GameObjects.Components.Interaction; using Content.Shared.Audio; using Content.Shared.Chemistry; using Content.Shared.GameObjec...
36.581522
119
0.620413
[ "MIT" ]
Hughgent/space-station-14
Content.Server/GameObjects/Components/Nutrition/DrinkComponent.cs
6,733
C#
using XamarinFormsSample.WinPhone.Resources; namespace XamarinFormsSample.WinPhone { /// <summary> /// Provides access to string resources. /// </summary> public class LocalizedStrings { private static AppResources _localizedResources = new AppResources(); public AppResources Loca...
25.533333
86
0.704961
[ "Apache-2.0" ]
Alshaikh-Abdalrahman/jedoo
GettingStarted/XamarinFormsSample/XamarinFormsSample/XamarinFormsSample.WinPhone/LocalizedStrings.cs
385
C#
using BL.Tienda; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Win.Tienda { public partial class FormModelo : Form ...
28.79558
118
0.548734
[ "MIT" ]
elvinpalma/Ventas
Tienda/Win.Tienda/FormModelo.cs
5,214
C#
using System; using System.Net; using System.Threading.Tasks; using BDFramework.UFlux.Contains; using BDFramework.UFlux.Reducer; using LitJson; namespace BDFramework.UFlux.Test { /// <summary> /// 这里是逻辑状态, /// 比如服务器返回,客户端计算状态数据 /// </summary> public class S_HeroDataDemo6Test : StateBase { ...
31.487179
163
0.538545
[ "Apache-2.0" ]
AzureZheng/BDFramework.Core
Assets/Code/Game@hotfix/demo6_UFlux/06.Window_Reducer/Reducer_Demo06Test.cs
3,912
C#
using System; using System.ComponentModel.DataAnnotations.Schema; namespace IZCommerce.Core.Models { public class Order { public int OrderId { get; set; } public string OrderNumber { get; set; } public DateTime OrderDate { get; set; } public DateTime dateTime { get; set; } ...
23.557692
51
0.591837
[ "MIT" ]
timnguyen90/IZCommerce
Src/IZCommerce/IZCommerce.Core/Models/Order.cs
1,227
C#
// Colorado (c) 2015 Baltasar MIT License <baltasarq@gmail.com> namespace ColoradoTests { using NUnit.Framework; using System; using Colorado.Core; [TestFixture] public class TestDecimalMark { [Test] public void TestDecimalSeparator() { for (int i = 0; i < DecimalMark.DecimalSeparatorChar.Count...
25.158416
96
0.587564
[ "MIT" ]
Baltasarq/Colorado
ColoradoTests/TestDecimalMark.cs
2,543
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Text; using System.Windows.Forms; namespace PdfiumViewer.Demo { public partial class MainForm : Form { private SearchForm _searchForm; public Mai...
31.963446
142
0.565022
[ "Apache-2.0" ]
Erapchu/MyPdfiumViewer
PdfiumViewer.Demo/MainForm.cs
12,244
C#
namespace Macabre2D.Wpf.Common.Controls { using MahApps.Metro.IconPacks; using System.Windows; using System.Windows.Controls; public partial class IconToggleButton : UserControl { public static readonly DependencyProperty IsNotToggledKindProperty = DependencyProperty.Register( na...
36.043478
105
0.655006
[ "MIT" ]
BrettStory/CosmicJam
Wpf/Common/Controls/IconToggleButton.xaml.cs
1,660
C#
using RestWithASPNETUdemy.Data.Converter.Contract; using RestWithASPNETUdemy.Data.VO; using RestWithASPNETUdemy.Model; using System; using System.Collections.Generic; using System.Linq; namespace RestWithASPNETUdemy.Data.Converter.Implementations { public class BookConverter : IParser<BookVO, Book>, IParser<Book,...
27.480769
77
0.531141
[ "Apache-2.0" ]
Henry-Roberto/RestWithASP.NET5Udemy
03_RestWithASPNETUdemy_Connection_With_DB/RestWithASPNETUdemy/RestWithASPNETUdemy/Data/Converter/Implementations/BookConverter.cs
1,431
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
38.625
178
0.60338
[ "MIT" ]
mogliang/Generic-WPF-Form-Controls
src/WarehouseMgr/Properties/Resources.Designer.cs
2,783
C#