content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Globalization; using System.Windows.Data; namespace TankView.ObjectModel { public class NullValueConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { var str = (string) value; ...
30.722222
105
0.669078
[ "MIT" ]
Pandaaa2507/OWLib
TankView/ObjectModel/NullValueConverter.cs
555
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; using JetBrains.Annotations; namespace WebsitePoller.Entities { public abstract class SettingsBase { public string TimeZone { get; set; } public int[] PostalCodes { get; set; } public string[] Cities { ...
41.62963
116
0.647242
[ "MIT" ]
MovGP0/WebsitePoller
WebsitePoller/Entities/SettingsBase.cs
2,250
C#
using System.Reflection; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle("Wexflow.Tasks.Unrar")] [assembl...
40.722222
102
0.749659
[ "MIT" ]
weirdyang/Wexflow
src/net/Wexflow.Tasks.Unrar/Properties/AssemblyInfo.cs
1,491
C#
using WDE.Common.Managers; using WDE.Common.Services; using WDE.Module.Attributes; using WoWDatabaseEditorCore.Avalonia.Services.AppearanceService.Data; namespace WoWDatabaseEditorCore.Avalonia.Services.AppearanceService.Providers { [AutoRegister] [SingleInstance] public class ThemeSettingsProvider : IThe...
29.4375
107
0.687898
[ "Unlicense" ]
BAndysc/WoWDatabaseEditor
WoWDatabaseEditorCore.Avalonia/Services/AppearanceService/Providers/ThemeSettingsProvider.cs
944
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Diagnostics; using M...
29.552511
198
0.628245
[ "MIT" ]
monoman/format
tests/Analyzers/ThirdPartyAnalyzerFormatterTests.cs
6,474
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Windows; using Caliburn.Micro; using PoeTradeHub.TradeAPI; using PoeTradeHub.TradeAPI.Models; using PoeTradeHub.UI.Models; using PoeTradeHub.UI.Services; using Serilog; namespace PoeTradeHub.UI.ViewMo...
31.591623
155
0.572257
[ "MIT" ]
qhris/PoeTradeHub
PoeTradeHub.UI/ViewModels/ShellViewModel.cs
6,036
C#
using System; using System.IO.Ports; using System.Text.RegularExpressions; namespace SupportManager.Control { public class SerialPortFactory { private static readonly Regex ConnectionStringRegex = new Regex(@"^(?:(?:(\w+)=)?(\w+))(?:;(\w+)=(\w+))*$"); /// <summary> /// Creates a <see c...
45.394366
208
0.634192
[ "MIT" ]
ronaldme/SupportManager
SupportManager.Control/SerialPortFactory.cs
3,223
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace MxWeiXinPF.Web.admin.sjb { public p...
27.620253
84
0.461503
[ "MIT" ]
herrylau/wwzkushop
MxWeiXinPF.Web/admin/sjb/qiudui_list.aspx.designer.cs
2,842
C#
namespace FilingHelper.Controls.Settings { partial class EmailSignatureSettingsPanel { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used....
49.769231
172
0.605947
[ "MIT" ]
ShaiShulman/MailboxAngel
FilingHelper/Controls/Settings/EmailSignaturesPanel.Designer.cs
13,589
C#
/* * Apteco API * * An API to allow access to Apteco Marketing Suite resources * * OpenAPI spec version: v2 * Contact: support@apteco.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using S...
38.870175
257
0.540531
[ "Apache-2.0" ]
Apteco/OrbitDashboardRefresher
Apteco.OrbitDashboardRefresher.APIClient/Model/InvalidToShareUserDisplayDetails.cs
11,078
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("No...
38.135135
84
0.746279
[ "MIT" ]
lachlanwgordon/NotchExperiment
NotchExperiment.iOS/Properties/AssemblyInfo.cs
1,414
C#
// Needed for NET40 using System; namespace Theraot.Collections.ThreadSafe { public static class BucketHelper { private static readonly object _null; static BucketHelper() { _null = new object(); } internal static object Null { get ...
40.943262
166
0.51061
[ "Apache-2.0" ]
FFFF0h/SharedMemoryStream.Library
lib/NetSerializer.Library/lib/System.Core.Net35/Core/Theraot/Collections/ThreadSafe/BucketHelper.cs
23,094
C#
//---------------------- // <auto-generated> // This file was automatically generated. Any changes to it will be lost if and when the file is regenerated. // </auto-generated> //---------------------- #pragma warning disable using System; using SQEX.Luminous.Core.Object; using System.Collections.Generic; using CodeDom...
75.021053
241
0.74323
[ "MIT" ]
Gurrimo/Luminaire
Assets/Editor/Generated/Black/Sequence/Action/Camera/Init/SequenceActionInitCameraParameter.generated.cs
7,127
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using Docker.DotNet; using Docker.DotNet.Models; namespace EasyNetQ.IntegrationTests { public class DockerProxy : IDisposable { private readonl...
39.316129
116
0.615359
[ "MIT" ]
andy1199/EasyNetQ
Source/EasyNetQ.IntegrationTests/DockerProxy.cs
6,096
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...
28.576923
88
0.682369
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/Fsx/Inputs/OpenZfsVolumeOriginSnapshotGetArgs.cs
743
C#
namespace UnravelTravel.Services.Data.Contracts { using System; using System.Collections.Generic; using System.Threading.Tasks; using UnravelTravel.Models.InputModels.AdministratorInputModels.Destinations; using UnravelTravel.Models.ViewModels.Destinations; using UnravelTravel.Models.ViewModel...
37.862069
114
0.79235
[ "MIT" ]
EmORz/Simple_Example_Projects
UnravelTravel-master/src/Services/UnravelTravel.Services.Data/Contracts/IDestinationsService.cs
1,100
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FileHasher.ObjectModel { public enum FSType { Directory, File } }
13.4
33
0.766169
[ "MIT" ]
albertkasdorf/FileHasher
FileHasher/ObjectModel/FSType.cs
203
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace UnrealEngine.Runtime { // Engine\Source\Runtime\Core\Public\Math\InterpCurvePoint.h // NOTE: This isn't exported with a specific size but it seems to be used everywhere with TEnumAsByte<> /// <summary>Interpol...
35
154
0.626494
[ "MIT" ]
MiheevN/USharp
Managed/UnrealEngine.Runtime/UnrealEngine.Runtime/Core/Math/InterpCurvePoint/EInterpCurveMode.cs
1,927
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class QuestEnemy : MonoBehaviour { public string enemyName; public int questID; }
17.8
39
0.775281
[ "CC0-1.0" ]
csantos92/TFG
Project/Assets/Scripts/Game/Quests/QuestEnemy.cs
180
C#
namespace DotNetCsharpReverseShellServer { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
29.707317
107
0.566502
[ "MIT" ]
melardev/.NetCSharpBindShell
DotNetCsharpBindShell/Form1.Designer.cs
1,220
C#
using FubuMVC.Core; using Shouldly; using NUnit.Framework; using StoryTeller; namespace Serenity.Testing { [TestFixture] public class BrowserType_selection_tester { private FubuMvcSystem theSystem; [SetUp] public void SetUp() { theSystem = new FubuMvcSystem(() ...
27.843137
91
0.63662
[ "Apache-2.0" ]
DarthFubuMVC/fubumvc
src/Serenity.Testing/BrowserType_selection_tester.cs
1,422
C#
using System; using System.Collections; using System.Diagnostics; using System.IO; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; using System.Threading; namespace PluginBurnMedia.Interop { #region IMAPI2 Enums public enum Emulation...
32.229739
175
0.622985
[ "MIT" ]
AxionDrak/GameCube-Backup-Manager
GCBM/tools/Interop/imapi2Interop.cs
134,819
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Com.Danliris.Service.Packing.Inventory.Data.Models.Garmentshipping.LetterOfCredit; using Com.Danliris.Service.Packing.Inventory.Infrastructure.IdentityProvider; using Com.Moonlay.Models; using Micr...
46.282051
117
0.727978
[ "MIT" ]
AndreaZain/com-danliris-service-packing-inventory
src/Com.Danliris.Service.Packing.Inventory.Infrastructure/Repositories/GarmentShipping/LetterOfCredit/GarmentLetterOfCreditRepository.cs
3,612
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.AlexaForBusiness")] [assembly: Asse...
53.53125
443
0.758319
[ "Apache-2.0" ]
wdolek/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/AlexaForBusiness/Properties/AssemblyInfo.cs
1,713
C#
#region License // // Copyright Tony Beveridge 2015. All rights reserved. // MIT license applies. // #endregion using System.Collections.Generic; namespace FSM { public interface IEventQueue { void Enqueue(IEventInstance instance); IEventInstance Dequeue(); bool Any(); IEnumerabl...
18.947368
55
0.669444
[ "MIT" ]
afgbeveridge/Quorum
FSM/IEventQueue.cs
362
C#
using UnityEngine; using UtilityTools; #if UNITY_EDITOR using UnityEditor; using UtilityToolsEditor; #endif [DisallowMultipleComponent] public class PlayerCameraControl : MonoBehaviour { public Transform objective; public Vector3 objectiveOffset; public Transform objectiveBase; public Vector3 objectiveBaseOffset; ...
43.172249
156
0.77646
[ "MIT" ]
Consalv0/MyUnityTools
Assets/Controllers/PlayerCameraControl.cs
9,023
C#
using System; using System.IO; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using Microsoft.WindowsAzure.Storage.Blob; using GLEIF.lei; using System.Linq; using System.Xml.Serialization; using Newtonsoft.Json; using CsvHelper; namespace GLEIF.FunctionApp { public static class ExtractSubset ...
48.252941
170
0.635499
[ "MIT" ]
modusnl/GLEIF
FunctionApp/ExtractSubset.cs
8,203
C#
using System.Collections; using System.Collections.Generic; using Improbable.Gdk.Subscriptions; using PlayFab; using PlayFab.ServerModels; using Spatialplayfab; using UnityEditor; using UnityEngine; public class PlayerStateBehavior : MonoBehaviour { [Require] protected PlayerStateWriter PlayerStateWriter; [Req...
31.715909
126
0.643497
[ "MIT" ]
judah4/spatial-playfab-platform-sdk
workers/unity/Assets/_Game/Scripts/Playfab/PlayerStateBehavior.cs
2,791
C#
using Avalonia.Collections; using Avalonia.Controls.Presenters; using Avalonia.LogicalTree; namespace Avalonia.Controls.Primitives { /// <summary> /// Represents a <see cref="SelectingItemsControl"/> with a related header. /// </summary> public class HeaderedSelectingItemsControl : SelectingItemsContro...
31.243902
112
0.587041
[ "MIT" ]
0x0ade/Avalonia
src/Avalonia.Controls/Primitives/HeaderedSelectingItemsControl.cs
2,562
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AdventureWorks.Models; namespace AdventureWorks.Repository { public interface ISalesOrdersRepository { List<SalesOrder> GetSalesOrders(int? customerID = null); List<Sales...
20.944444
66
0.758621
[ "MIT" ]
devizer/Universe.SqlInsights
src/AdventureWorks/Repository/ISalesOrdersRepository.cs
379
C#
namespace RingCentral { public partial class CountryResource { // public string @uri { get; set; } // public string @id { get; set; } // public string @name { get; set; } // public string @isoCode { get; set; } // public string @cal...
23.304348
52
0.483209
[ "MIT" ]
ringcentral/ringcentral-csharp-client
RingCentral/Definitions/CountryResource.cs
536
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Process.cs" company="MLambda"> // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // th...
30.362162
119
0.503116
[ "MIT" ]
RoyGI/MActor
src/MLambda.Actors/Process.cs
5,617
C#
namespace WebDriverProvider.Implementation.Chrome { internal interface IReleaseNotesParser { string FindCompatibleDriverVersion(string releaseNotes, string requiredChromeVersion); } }
26.857143
88
0.851064
[ "MIT" ]
pawelkmiec/WebDriverProvider
WebDriverProvider/Implementation/Chrome/IReleaseNotesParser.cs
188
C#
using Domain.Entity.Base; using System; using System.Collections.Generic; namespace Domain.Entity { public class FilmInCinemaEntity : EntityBase { public virtual CinemaEntity Cinema { get; set; } public int? CinemaId { get; set; } public DateTime DateOfStart { get; set; } publi...
29
64
0.649425
[ "MIT" ]
EldarMamishev/Cinemarx
Domain/Entity/FilmInCinema.cs
524
C#
using UniRx; namespace Manager { public class GameStateManager { //GameState.Homeで初期化 private ReactiveProperty<GameState> currentGameState = new ReactiveProperty<GameState>(GameState.Play); public IReadOnlyReactiveProperty<GameState> CurrentGameState => currentGameState; publ...
24.238095
111
0.67387
[ "MIT" ]
VeyronSakai/ML-Agents_BombBattle
Assets/Project/Scripts/Manager/GameStateManager.cs
529
C#
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
44.446154
151
0.681205
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Optimization.V1/Google.Cloud.Optimization.V1.GeneratedSnippets/FleetRoutingClient.BatchOptimizeToursRequestObjectSnippet.g.cs
2,889
C#
/* INFINITY CODE 2013-2017 */ /* http://www.infinity-code.com */ using UnityEngine; namespace InfinityCode.OnlineMapsExamples { /// <summary> /// Example of animated reset camera rotation. /// </summary> [AddComponentMenu("Infinity Code/Online Maps/Examples (API Usage)/ResetCameraRotatio...
28.637681
99
0.525304
[ "Apache-2.0" ]
Mobinlion/Asphault
Assets/Infinity Code/Online maps/Examples (API usage)/ResetCameraRotationExample.cs
1,978
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Morris { public static class ExtensionMethods { /// <summary> /// Gibt den Gegner des Spielers zurück /// </summary> public static Player Opponent(this Player p) { // Es ist in ...
30.419753
167
0.691964
[ "MIT" ]
TwoFX/Morris
Morris/Util/ExtensionMethods.cs
2,478
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using FSQL.Interfaces; using FSQL.ProgramParts.Core; namespace FSQL.ProgramParts.Functions { public class CodeBlock : StatementBase { protected string Name { get; } public CodeBlock(string name, IEnumerable<IStat...
30.971429
92
0.467712
[ "MIT" ]
Ill-Eagle-Software/FSQL
FSQL/ProgramParts/Functions/CodeBlock.cs
2,168
C#
using Never.Serialization; using Never.WorkFlow.Coordinations; using System; using System.Collections.Generic; using System.Linq; namespace Never.WorkFlow.Repository { /// <summary> /// 内存模式的执行任务仓库 /// </summary> public class MemoryExecutingRepository : IExecutingRepository, ITemplateRepository { ...
30.605714
192
0.517084
[ "MIT" ]
daniel1519/never
src/Never.WorkFlow/Repository/MemoryExecutingRepository.cs
11,010
C#
using HyperV.Definitions; namespace HyperV { ///<summary>Defines the configuration of a new virtual machine.</summary> public class VirtualMachineDefinition { ///<summary>Defines the Automatic Start Action settings.</summary> public AutomaticStartDefinition AutomaticStart { get; set; } = n...
45.69863
172
0.658873
[ "MIT" ]
Jerhynh/HyperV.NET
HyperV.NET/VirtualMachineDefinition.cs
3,338
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace Aula1406 { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*path...
24
99
0.585069
[ "MIT" ]
bernardodn/asp.net-projetos
Aula1406_Views_Controllers/Aula1406/App_Start/RouteConfig.cs
578
C#
// Copyright 2019 Google LLC // // 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 w...
37.304762
100
0.537912
[ "Apache-2.0" ]
googleads/googleads-dotnet-lib
examples/AdManager/CSharp/v202105/ActivityService/CreateActivities.cs
3,917
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("Gi...
40.48
84
0.775692
[ "MIT" ]
MircoBabin/GitNoob
src/GitNoob.ProjectTypes/Properties/AssemblyInfo.cs
1,014
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...
51.640884
509
0.630256
[ "Apache-2.0" ]
sebtelko/pulumi-azure-native
sdk/dotnet/DocumentDB/V20210115/SqlResourceSqlTrigger.cs
9,347
C#
using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using System.Text; using Epi.Analysis; using Epi.Collections; using Epi.Core.AnalysisInterpreter; using Epi.Data; using Epi.Windows.Dial...
38.906188
399
0.514673
[ "Apache-2.0" ]
keymind/Epi-Info-Community-Edition
Epi.Windows.Analysis/Dialogs/BuildKeyDialog.cs
19,492
C#
using messanger.Server.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace messanger.Server.EfConfigurations { public class FriendshipRequestEfConfiguration : IEntityTypeConfiguration<FriendshipRequest> { public void Configure(EntityTypeBuilder...
36.75
95
0.647109
[ "Apache-2.0" ]
xlegodroit/blazor-messanger
Server/EfConfigurations/FriendshipRequestEfConfiguration.cs
1,178
C#
using System; using System.Linq; namespace _02TheLift { class Program { static void Main(string[] args) { int peopleWaiting = int.Parse(Console.ReadLine()); int[] wagon = Console.ReadLine() .Split(" ", StringSplitOptions.RemoveEmptyEntries) ...
34.666667
117
0.475733
[ "MIT" ]
StasiS-web/SoftuniCourse
C# Fundamentals/Mid-Exams/1.02TheLift/02TheLift.cs
2,186
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
39.697674
89
0.7686
[ "Apache-2.0" ]
awei1688/aliyun-openapi-net-sdk
aliyun-net-sdk-schedulerx2/Schedulerx2/Transform/V20190430/GrantPermissionResponseUnmarshaller.cs
1,707
C#
using AutoMapper; using ODMIdentity.Admin.Api.Dtos.Roles; using ODMIdentity.Admin.Api.Dtos.Users; using Skoruba.IdentityServer4.Admin.BusinessLogic.Identity.Dtos.Identity; namespace ODMIdentity.Admin.Api.Mappers { public class IdentityMapperProfile<TRoleDto, TRoleDtoKey, TUserRolesDto, TUserDtoKey, TUserClaimsDto...
55.738095
222
0.754378
[ "MIT" ]
omikolaj/IdentityServer4-Admin
ODMIdentity/src/ODMIdentity.Admin.Api/Mappers/IdentityMapperProfile.cs
2,343
C#
/* * Exchange Web Services Managed API * * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * wit...
48.564103
94
0.751848
[ "MIT" ]
AlbertoMonteiro/ews-managed-api
Properties/AssemblyInfoOpenSource.cs
1,895
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Xunit.Abstractions; namespace Microsoft.Coyote.SystematicTesting.Tests.Tasks { public class TaskExceptionTests : Production.Tests.Tasks.TaskExceptionTests { public TaskExceptionTests(ITestOutputHelper output) ...
23.222222
79
0.691388
[ "MIT" ]
Bhaskers-Blu-Org2/coyote
Tests/SystematicTesting.Tests/Tasks/TaskExceptionTests.cs
420
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using NoTenKee; namespace NoTenKeeTest2 { /// <summary> /// キーブレイク関連テスト /// </summary> [TestClass] public class NoTenKeetest_KeyBreak { /// <summary> /// 単票形式キーブレイクなし /// </summary> [TestMethod] public ...
34.809091
102
0.585009
[ "MIT" ]
takasgy/NoTenKee
NoTenKeeTest2/NoTenKeetest_KeyBreak.cs
4,109
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
30.27451
83
0.642487
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Iotcloud/V20180614/Models/CreateTaskResponse.cs
1,612
C#
using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Razor.TagHelpers; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TagHelperDemo.Library; namespace TagHelperDemo.TagHelpers { [HtmlTargetElement(...
29.873418
97
0.530508
[ "MIT" ]
jpriestley70/taghelper
src/TagHelperDemo/TagHelperDemo/TagHelpers/EmailTagHelper.cs
2,362
C#
using System; using System.Text.Json; using JetBrains.Space.Common.Json.Serialization; using Xunit; namespace JetBrains.Space.Client.Tests.Json.Serialization { public class SpaceDateTimeConverterTests { private static JsonSerializerOptions CreateSerializerOptions() { var options = n...
34.5
193
0.605217
[ "Apache-2.0" ]
JetBrains/space-dotnet-sdk
tests/JetBrains.Space.Client.Tests/Json.Serialization/SpaceDateTimeConverterTests.cs
1,725
C#
namespace _1._Winning_Ticket { using System; using System.Text; using System.Text.RegularExpressions; public class WinningTichet { public static void Main() { string[] tickets = Console .ReadLine() .Split(new[] { ',', ' ' }, StringSplitOp...
33.015385
122
0.466915
[ "MIT" ]
MiroslavPeychev/C-Sharp-Fundamentals
Regular Expressions/More Exercise/1. Winning Ticket/WinningTichet.cs
2,148
C#
namespace SMOWMS.Domain { /// <summary> /// 最基础的类接口IEntity(可以定义通用性的属性和方法) /// </summary> public interface IEntity { } }
14.5
37
0.57931
[ "MIT" ]
comsmobiler/SmoWMS
Source/SMOWMS.Domain/IEntity.cs
187
C#
namespace H8QMedia.Web.Areas.Users.ViewModels.Manage { using System.Collections.Generic; using Microsoft.AspNet.Identity; public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Logins { get; set; } public string PhoneNumber { get; set;...
22.578947
56
0.648019
[ "MIT" ]
IvoPaunov/Course-Project-ASP.NET-MVC
Source/Web/H8QMedia.Web/Areas/Users/ViewModels/Manage/IndexViewModel.cs
431
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; using System.Net.Sockets; using System.IO; using System.Threading; namespace FastCGI { /// <summary> /// Main FastCGI listener class. /// </summary> /// /// <rema...
37.766578
164
0.555836
[ "MIT" ]
LukasBoersma/FastCGI
FastCGI/FCGIApplication.cs
14,240
C#
using System.Collections.Generic; using System.Linq; using LoggingCalculator.AbstractionsAndModels.Aggregations; using LoggingCalculator.AbstractionsAndModels.Models; namespace Calculator.Aggregations { public class MinAggregator : AggregationsBase, IMinAggregator<CalculatorValue> { public MinAggregat...
29.807692
93
0.695484
[ "MIT" ]
ashyrokoriadov/CalculatorLogger
Calculator/Aggregations/MinAggregator.cs
777
C#
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; using System; using System.Collections.Generic; using System.Security.Principal; using System.Text; using System.Threading.Tasks; namespace BlazorFluentUI { public partial class DocumentCardLocation : FluentUIComponentBase { ...
30.267442
109
0.541299
[ "MIT" ]
Frank67618/BlazorFluentUI
src/BlazorFluentUI.CoreComponents/DocumentCard/DocumentCardLocation.razor.cs
2,605
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace PhotosXamarin.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding)...
36.911765
98
0.682869
[ "MIT" ]
gentilijuanmanuel/cross-platform-competition
xamarin/PhotosXamarin/PhotosXamarin.iOS/AppDelegate.cs
1,257
C#
// ============================================================================================================== // Microsoft patterns & practices // CQRS Journey project // ============================================================================================================== // ©2012 Microsoft. All rights re...
45.709677
114
0.539873
[ "Apache-2.0" ]
wayne-o/delete-me
source/Infrastructure/Sql/Infrastructure.Sql/Processes/UndispatchedMessages.cs
1,420
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.3074 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
38.555556
176
0.602666
[ "MIT", "Unlicense" ]
NuLL3rr0r/tutorials-in-my-class
C#/SOAP/SOAP_WebServices/Projects/MathClient/MathClient/Properties/Resources.Designer.cs
2,778
C#
using System.Linq; using System.Numerics; using System.Threading.Tasks; using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing; using SixLabors.Primitives; using SixLabors.Shapes; using SixLabors.Svg.Shapes; using SVGSharpie; namespace SixLabors.Svg.Dom { intern...
28.87037
85
0.648493
[ "Apache-2.0" ]
SixLabors/Svg
src/SixLabors.Svg/RenderTree/SvgDocument.cs
1,561
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace MotoServicesExpress.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class CustomMasterDetailPage : FlyoutPage ...
19.76
60
0.690283
[ "MIT" ]
JomaDoT/MotoServicesExpress
MotoServicesExpress/Views/CustomMasterDetailPage.xaml.cs
496
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. // // Generated on 2020 October 09 04:47:07 UTC // </auto-generated> //--------------...
39.692308
111
0.62064
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/runtime/mprof_bucketTypeStructOf(long).cs
2,064
C#
namespace NetFusion.Messaging { /// <summary> /// Determines the scope to which a given message publisher /// sends domain events to interested subscribers. /// </summary> public enum IntegrationTypes { /// <summary> /// Used to specify all integration types apply. /// <...
27.740741
69
0.576769
[ "MIT" ]
grecosoft/NetFusion
netfusion/src/Core/NetFusion.Messaging/IntegrationTypes.cs
751
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Data.Json { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public static partial class JsonError { #if __AN...
41.736842
146
0.747793
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Data.Json/JsonError.cs
793
C#
using Lambda.Tests.Acceptance.Builders; namespace Lambda.Tests.Acceptance { internal static class Docker { internal static TestingApiBuilder TestingApi => new TestingApiBuilder(); } }
22.777778
80
0.731707
[ "MIT" ]
joaoasrosa/aws-sam-local-blog
tests/Lambda.Tests.Acceptance/Docker.cs
207
C#
using Juce.Core.Tickable; using Playground.Content.Stage.VisualLogic.UseCases.GenerateSections; namespace Playground.Content.Stage.VisualLogic.Tickables { public class GenerateSectionsTickable : ActivableTickable { private readonly IGenerateSectionsUseCase generateSectionsUseCase; public Gene...
29.761905
111
0.7264
[ "MIT" ]
Guillemsc/Playground
Assets/Playground/Scripts/Runtime/Content/Stage/VisualLogic/Tickables/GenerateSectionsTickable.cs
627
C#
using System.Resources; 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. [ass...
34.935484
84
0.745152
[ "Apache-2.0" ]
NoleHealth/xamarin-forms-book-preview-2
Chapter20/TaskDelayClock/TaskDelayClock/TaskDelayClock/Properties/AssemblyInfo.cs
1,086
C#
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with // the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software distributed under the ...
39.715736
127
0.582119
[ "Apache-2.0" ]
Ramkarthik/google-api-dotnet-client
Src/Generated/Google.Apis.Webfonts.v1/Google.Apis.Webfonts.v1.cs
15,648
C#
using System; using System.Threading.Tasks; using Codeworx.Identity.Cryptography; using Codeworx.Identity.Login; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Logging; using Newtonsoft.Json; namespace Codeworx.Identity.Cache { // EventIds 148xx public class DistributedExternalToke...
39.292453
157
0.645858
[ "MIT" ]
SteSinger/identity
src/Codeworx.Identity/Cache/DistributedExternalTokenCache.cs
4,167
C#
using System; using Android.Graphics; namespace XWeather.Droid { public static class ColorExtensions { public static Tuple<Color [], int> GetTimeOfDayGradient (this WuLocation location, bool random = false) { var index = location.GetTimeOfDayIndex (random); return new Tuple<Color [], int> (Colors.Gradie...
21.8125
105
0.724928
[ "MIT" ]
andrewchungxam/XWeather
XWeather/Droid/Extensions/ColorExtensions.cs
351
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Umbraco.ModelsBuilder.Embedded v9.0.0-beta004+c41d05f6a67e1d217d565d055a85231792520f88 // // Changes to this file will be lost if the code is regenerated. // </auto-gen...
49.517241
176
0.772284
[ "MIT" ]
ManiPeralta/Umbraco9-Mano-a-mano-Template
umbraco/models/SplitPhotoSettings.generated.cs
2,872
C#
using System; using System.Collections.Generic; using System.Text; namespace Microsoft.Telepathy.ClientAPI { public class SessionStartInfo { public string ServiceName => serviceName; private string serviceName; public Version ServiceVersion => serviceVersion; private Version...
26.934783
102
0.653753
[ "MIT" ]
jingjlii/Telepathy-1
client/ClientAPI/SessionStartInfo.cs
1,241
C#
using Fosol.Schedule.Entities; using System; namespace Fosol.Schedule.Models { public class Account : BaseModel { #region Properties public int? Id { get; set; } public Guid? Key { get; set; } public int OwnerId { get; set; } public string Name { get; s...
25.166667
83
0.525386
[ "MIT" ]
FosolSolutions/fosol.schedule
Fosol.Schedule.Models/Account.cs
908
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Key : MonoBehaviour { public DoorKey door; public void OnTriggerEnter2D(Collider2D collision) { door.SendMessage("Open"); Destroy(transform.gameObject); } }
20.428571
54
0.702797
[ "MIT" ]
remi-espie/KJam-WonderJam
Assets/Scripts/Key.cs
288
C#
using System; using Microsoft.AspNetCore.Components.Rendering; using Microsoft.Extensions.Logging; namespace Fuzzy.Components { /// <summary> /// Adds the <see cref="Build(RenderTreeBuilder, bool, int, int, ILogger?)">Build(...)</see> method /// to the <see cref="RenderTreeBuilder"/> class to start the fluent ca...
42.891892
117
0.712665
[ "MIT" ]
Fuzzy-Work/FluentRenderTreeBuilder
Fuzzy.FluentRenderTreeBuilder/RenderTreeBuilderExtensions.cs
1,589
C#
using UnityEngine; using UnityEditor; [CustomEditor(typeof(TagObject))] public class TagObjectEditor : Editor { public override void OnInspectorGUI() { DrawDefaultInspector(); TagObject myScript = (TagObject)target; if (GUILayout.Button("FilterMe")) { myScript.Togg...
18.315789
47
0.623563
[ "MIT" ]
afauch/goodearth-dev
Assets/Editor/TagObjectEditor.cs
350
C#
using System; using System.Text; namespace Lucene.Net.Benchmarks.ByTask.Feeds { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. ...
35.898305
94
0.616619
[ "Apache-2.0" ]
10088/lucenenet
src/Lucene.Net.Benchmark/ByTask/Feeds/TrecFTParser.cs
2,120
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.Concurrent; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFram...
39.623656
135
0.604342
[ "Apache-2.0" ]
EasonDongH/EntityFrameworkCore
src/EFCore/ValueGeneration/ValueGeneratorCache.cs
3,685
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Controller class for the ship. /// Main functions: /// 1) To contain, and enact movements. /// 2) Populate a common object for other objects to access the next movements and current position of the player. /// </summary...
25.018349
124
0.735607
[ "MIT" ]
TheIncredibleK/Concentration
Concentration/Assets/src/player/ConcentrationController.cs
2,729
C#
using System; namespace ovn1 { class Program { static void Main(string[] args) { double total = 0; string[] food = new string[] { "Mjölk", "3 Mjau - Noga Utvalt Kyckling i Sås", "Bananer" }; ...
22.142857
65
0.393548
[ "MIT" ]
tthorin/NET21OOP
ArrayAndList/ArrayAndList/ovn1/Program.cs
624
C#
using Aspor.Streaming.Core.Attributes; using Newtonsoft.Json.Linq; using Aspor.Streaming.Core; using Aspor.Streaming.Core.Bus; using Aspor.Streaming.Core.Content; using Aspor.Streaming.Core.Subscription; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Aspor.Stream...
36.340278
117
0.605962
[ "Apache-2.0" ]
Aspor-Stack/aspor
Aspor.Streaming.Core/DefaultStreamProvider.cs
5,235
C#
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
26.307927
134
0.626956
[ "MIT" ]
saludnqn/Empadronamiento
DalSic/generated/PnPermisosUsuario.cs
8,629
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("Pr...
38.675676
84
0.751223
[ "MIT" ]
bozhinov86/test
Examples/PrintNumbersFromOneToThousand/Properties/AssemblyInfo.cs
1,434
C#
using System; namespace Chainly { /// <summary> /// A field in a form model. /// </summary> public struct Field : IKeyable<string> { readonly string name; // can be string or string[] object value; // actual items in the value int items; ...
26.957792
94
0.371673
[ "Apache-2.0" ]
careign/chainbase
Source/Field.cs
8,303
C#
namespace AllReady.Areas.Admin.ViewModels.Request { public class AddRequestCommentViewModel { // possibly have a list of the comments which will be displayed below the dialog boxes /// <summary> /// The comment message /// </summary> public string Comment { get; set; } ...
25.153846
94
0.629969
[ "MIT" ]
7as8ydh/allReady
AllReadyApp/Web-App/AllReady/Areas/Admin/ViewModels/Request/AddRequestCommentViewModel.cs
327
C#
using System; using System.Collections.Generic; using System.IO; using static System.BitConverter; public static class IMG2ICOUtil { /* ICO FILE Format Desc. ┌ ----| header └ ┌ ----| Entry └ ┌ ----| ...
36.423529
124
0.536337
[ "MIT" ]
HinxVietti/img2ico
img2ico.core/IMG2ICOUtil.cs
6,222
C#
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Xamarin.CommunityToolkit.UI.Views { [TypeConversion(typeof(Uri))] public class UriTypeConverter : TypeConverter { public override object ConvertFromInvariantString(string value) => string.IsNullOrWhiteSpace(value) ? null : (object)new Uri(...
27.692308
96
0.786111
[ "MIT" ]
AbuMandour/XamarinCommunityToolkit
XamarinCommunityToolkit/Views/MediaElement/UriTypeConverter.shared.cs
362
C#
using Common; using Backend.Game; namespace Backend.Network { public partial class Incoming { private void OnRecvPositionRevise(IChannel channel, Message message) { CPositionRevise request = message as CPositionRevise; Entity entity = World.Instance.GetEntity(...
26.5625
77
0.64
[ "Apache-2.0" ]
DaSE-DBMS/MMORPG
Backend/Network/Incoming/OnRecvPositionRevise.cs
427
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using WorkflowCore.Interface; using WorkflowCore.Models; namespace WorkflowCore.Services.BackgroundTasks { internal class EventConsumer : QueueConsumer, IBac...
40.780702
289
0.5812
[ "MIT" ]
7studios/workflow-core
src/WorkflowCore/Services/BackgroundTasks/EventConsumer.cs
4,651
C#
// <copyright file="MelodicStructure.cs" company="Traced-Ideas, Czech republic"> // Copyright (c) 1990-2021 All Right Reserved // </copyright> // <author>vl</author> // <email></email> // <date>2021-09-01</date> // <summary>Part of Largo Composer</summary> using System; using System.Diagnostics.Contracts; using Syste...
37.059896
152
0.55871
[ "MIT" ]
Vladimir1965/LargoComposer
LargoSharedClasses/Music/MelodicStructure.cs
14,233
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Integer_to_Hex_and_Binary { class Program { static void Main(string[] args) { var num = int.Parse(Console.ReadLine()); Console.WriteLine($"{Con...
21.210526
100
0.637717
[ "MIT" ]
BlueDress/School
Programming Fundamentals C#/Data Types and Variables Exercises/Integer to Hex and Binary/Program.cs
405
C#
namespace Project_CSWM { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
44.965217
111
0.594856
[ "MIT" ]
ShA-FR/Computer-Software-Working-Management
Project_CSWM/Panel.Designer.cs
5,173
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
33.8125
84
0.54159
[ "MIT" ]
Dakraid/squidex
backend/src/Squidex.Infrastructure/EventSourcing/Grains/OrleansEventNotifier.cs
1,084
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Counter_wfa.Models; namespace Counter_wfa.Repositories { class CountersTemporarilyRepository : ICountersRepository { readonly List<Counter> counters; public CountersTempor...
26.272727
88
0.605536
[ "MIT" ]
sakusnowman/study_samples
counter/Counter_wfa/Counter_wfa/Repositories/CountersTemporarilyRepository.cs
1,158
C#