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.Collections.Generic; using System.Threading.Tasks; using Models; namespace Data { public interface IRepository { public Item GetItem(int id); public List<Item> GetItems(Item.ItemType itemType); public void AddCustomer(Customer newCustomer); public Task<bool> SaveCha...
23.928571
59
0.695522
[ "MIT" ]
Vlashious/blazing_pizza
Data/Repository/IRepository.cs
335
C#
using System; using System.Runtime.InteropServices; using System.Threading; using Microsoft.VisualStudio.Shell; using VSColorOutput.State; using Task = System.Threading.Tasks.Task; namespace VSColorOutput { [PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)] [Guid(VSColorOutp...
49.958333
154
0.790659
[ "MIT" ]
kyle-john/VSColorOutput
VSColorOutput/VsColorOutputPackage.cs
1,201
C#
using InventorySystem.Runtime.Scripts.Core.Models.Interfaces; using UnityEngine; using UnityEngine.UI; namespace InventorySystem.Runtime.Scripts.Inventory.Item { public class ItemView { private readonly Transform _itemTransform; public ItemView(Transform itemTransform) { _itemTransform = itemTransform; ...
21.318182
63
0.761194
[ "MIT" ]
artem-karaman/Unity-Inventory-System
Unity-Inventory-System/Assets/InventorySystem/Runtime/Scripts/Inventory/Item/ItemView.cs
471
C#
using System.IO; using System.Web; using Umbraco.Core.CodeAnnotations; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Web.Mvc; using umbraco.BasePages; using Umbraco.Core; namespace umbraco { /// <summary> /// The UI 'tasks' for the create dialog and delete processes /// </summary> ...
24.666667
134
0.638102
[ "MIT" ]
DigiBorg0/Umbarco-CMS
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewTasks.cs
3,036
C#
// $Id$ // // Copyright 2008-2009 The AnkhSVN Project // // 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 appl...
26.731092
118
0.533166
[ "Apache-2.0" ]
AnkhSVN/AnkhSVN
src/Ankh.UI/WorkingCopyExplorer/FileSystemTreeNode.cs
3,181
C#
using System.Collections.Generic; using System.Threading.Tasks; using OrchardCore.ContentLocalization.Models; namespace OrchardCore.ContentLocalization.Services { public interface ILocalizationEntries { Task<(bool, LocalizationEntry)> TryGetLocalizationAsync(string contentItemId); Task<IEnumera...
31
91
0.78341
[ "BSD-3-Clause" ]
1051324354/OrchardCore
src/OrchardCore.Modules/OrchardCore.ContentLocalization/Services/ILocalizationEntries.cs
434
C#
using PortClosedEmailer.Core.EmailSending; using System.Threading.Tasks; using Tests.Configuration; using Xunit; namespace Tests.EmailSending { public class SmtpClientSenderFacts { [InlineData("cred1.txt")] [InlineData("cred2.txt")] [Theory(DisplayName = "Sends email")] public ...
26.619048
61
0.651163
[ "MIT" ]
peterson1/port-closed-emailer
Tests/EmailSending/SmtpClientSenderFacts.cs
561
C#
using System.Collections; using System.Collections.Generic; using Invader.Bullets; using UnityEngine; namespace Invader.Level { /// <summary> /// 難易度調整に使うデータのインターフェース /// </summary> public interface ILevelData { float PlayerMoveVelocity { get; } float PlayerBulletVelocity { get; } BulletModel PlayerBullet...
17.35
37
0.717579
[ "MIT" ]
atori708/SOLIDInvader
Assets/Invader/Battle/LevelData/ILevelData.cs
389
C#
using System.Collections.Generic; namespace Lesson12 { public class Dungeon : IGame { public List<List<MapTile>> Map { get; set; } public short X { get; set; } public short Y { get; set; } public Dungeon() { var Map = new List<List<MapTile>> { ...
39.46875
126
0.56057
[ "MIT" ]
Axelancerr/CollegeWork
Programming/Lesson12/Dungeon.cs
1,265
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Reason.Reasons; namespace Reason.Results { /// <summary> /// Success when all results have succeeded. /// </summary> public class AllSuccessResult : AggregatedResult ...
30.4
148
0.639098
[ "MIT" ]
nldd419/Reason
ReasonProject/Reason/Results/AllSuccessResult.cs
1,066
C#
// Copyright 2021 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 ...
39.186047
115
0.686647
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/kms/v1/google-cloud-kms-v1-csharp/Google.Cloud.Kms.V1.StandaloneSnippets/KeyManagementServiceClient.GetKeyRingRequestObjectAsyncSnippet.g.cs
1,685
C#
using OpenQA.Selenium.Appium.Android; using OpenQA.Selenium.Appium.Interfaces; using OpenQA.Selenium.Appium.PageObjects.Attributes; using OpenQA.Selenium.Support.PageObjects; using System.Collections.Generic; namespace Appium.Integration.Tests.PageObjects { public class AndroidPageObjectChecksAttributeMixOnNative...
47.803681
125
0.628016
[ "Apache-2.0" ]
elv1s42/appium-driver-restore
integration_tests/PageObjects/AndroidPageObjectChecksAttributeMixOnNativeApp2.cs
15,586
C#
using System; using UnityEngine; using FairyGUI.Utils; namespace FairyGUI { /// <summary> /// GLoader class /// </summary> public class GLoader : GObject, IAnimationGear, IColorGear { /// <summary> /// Display an error sign if the loader fails to load the content. ...
28.284457
141
0.40337
[ "MIT" ]
1901/FairyGUI-unity
Assets/Scripts/UI/GLoader.cs
19,340
C#
using DomainFramework.Core; using System; using System.Collections.Generic; namespace PersonWithDisciples.PersonBoundedContext { public class Person : Entity<int> { public string Name { get; set; } public char Gender { get; set; } public int CreatedBy { get; set; } public Dat...
21.208333
54
0.634578
[ "MIT" ]
jgonte/DomainFramework
DomainFramework.Tests/PersonWithDisciples/PersonBoundedContext/Entities/Person.cs
509
C#
namespace ArmyAntServer_TestClient_CSharp { partial class Form_Main { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing"...
46.183673
110
0.604949
[ "BSD-3-Clause" ]
Army-Ant/ArmyAntServer
test/ArmyAntServer_TestClient_CSharp/ArmyAntServer_TestClient_CSharp/Form_Main.Designer.cs
9,266
C#
using System.Web; using System.Web.Optimization; namespace ASP.NET_MVC_Tutorial { public class BundleConfig { // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add...
39.09375
113
0.576339
[ "Apache-2.0" ]
arifahmed411/ASP.NET_MVC_APP
ASP.NET_MVC_Tutorial/ASP.NET_MVC_Tutorial/App_Start/BundleConfig.cs
1,253
C#
using AltinnCore.Common.Configuration; using AltinnCore.Common.Helpers; using AltinnCore.Common.Services.Interfaces; using AltinnCore.ServiceLibrary.ServiceMetadata; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; using System.Collections.Generic; using System.IO; using System.Linq; namespace Alti...
39.904
142
0.613873
[ "BSD-3-Clause" ]
iotryti/altinn-studio
src/AltinnCore/Common/Services/Implementation/TestingRepository.cs
4,988
C#
namespace MemoryVizualizer.UI { using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Forms; usi...
32.936
93
0.346612
[ "MIT" ]
NullShock78/MemoryVisualizerPlugin
RTCV_Plugin_MemoryVisualizer/MemoryVisualizerPlugin/UI/RealtimeBitmap.cs
4,117
C#
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace InteropTypes.Graphics.Drawing { internal partial class TypeTests { [Test] public void MatrixFromVectors() { ...
35.137931
111
0.581616
[ "MIT" ]
vpenades/InteropBitmaps
src/InteropTypes.Graphics.Drawing.Core.Tests/CameraTransform2D.Tests.cs
3,059
C#
using System.Xml; namespace DbShell.Driver.Common.DmlFramework { public class DmlfPlaceholderExpression : DmlfStringValueExpressionBase { public DmlfPlaceholderExpression() { } public DmlfPlaceholderExpression(XmlElement xml) { LoadFromXml(xml); } ...
21.269231
74
0.596745
[ "MIT" ]
dbshell/dbshell
DbShell.Driver.Common/DmlFramework/DmlfPlaceholderExpression.cs
553
C#
using System.Threading; using System.Threading.Tasks; using Orange.AirportToAirportDistanceCalculator.Domain.Models; namespace Orange.AirportToAirportDistanceCalculator.Domain.Interfaces { /// <summary> /// A service that provides information about airports /// </summary> public interface IAirportInfo...
35.15
118
0.708393
[ "MIT" ]
ReyStar/Orange.AirportToAirportDistanceCalculator
src/Orange.AirportToAirportDistanceCalculator.Domain/Interfaces/IAirportInformationProviderService.cs
705
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Foundation; using UIKit; using ContextKit; using HockeyApp; namespace CNotes { public partial class CNotesTvc : UITableViewController { const string showDetail = "showDetail"; List<CNote> notes => CkContext.Shared.Notes; ...
20.567073
130
0.693744
[ "MIT" ]
colbylwilliams/C-Notes
CNotes/CNotes/ViewControllers/CNotesTvc.cs
3,373
C#
namespace SchedulingAlgorithms { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
47.929619
164
0.59349
[ "MIT" ]
sajadafaghiy/Scheduling-Algorithms
SchedulingAlgorithms/MainForm.Designer.cs
16,346
C#
// The MIT License (MIT) // // Copyright (c) 2015-2021 Rasmus Mikkelsen // Copyright (c) 2015-2021 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software...
45.385965
110
0.741013
[ "MIT" ]
AlexKalnitskiy/EventFlow
Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetQueryHandler.cs
2,587
C#
// "Therefore those skilled at the unorthodox // are infinite as heaven and earth, // inexhaustible as the great rivers. // When they come to an end, // they begin again, // like the days and months; // they die and are reborn, // like the four seasons." // // - Sun Tsu, // "The Art of War" using System; using System...
35.540785
208
0.524651
[ "BSD-3-Clause" ]
symbiogenesis/HTML-Renderer
Source/HtmlRenderer.WPF/Adapters/GraphicsAdapter.cs
11,764
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace HealthChecks_3._1 { public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[] args)...
24.952381
70
0.580153
[ "MIT" ]
PrometheusClientNet/Prometheus.Client.Examples
HealthChecks/HealthChecks_3.1/Program.cs
524
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace Microsoft.Azure.Management.NotificationHubs { using System.Linq; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; ///...
52.042403
538
0.590434
[ "MIT" ]
samtoubia/azure-sdk-for-net
src/ResourceManagement/NotificationHubs/Microsoft.Azure.Management.NotificationHubs/Generated/NamespacesOperations.cs
162,008
C#
/* * Copyright (c) 2016, Will Strohl * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this list * of conditio...
45.590909
120
0.731805
[ "MIT" ]
hismightiness/dnnextensions
Modules/CodeCamp/Components/Globals.cs
3,011
C#
namespace Eir.Common.Common { public enum TimeSpanSerializedUnit { Milliseconds, Seconds, Minutes, Hours, Days } }
15.181818
38
0.54491
[ "CC0-1.0" ]
BjarniPeturFridjonsson/Qlik-SupportTools
Code/Eir.Common/Eir.Common/Common/TimeSpanSerializedUnit.cs
169
C#
using System.Collections; using System.Collections.ObjectModel; using System.Windows.Controls; using System.Windows.Data; namespace SuperShell.Infrastructure.Commands.Menu { public class SortedMenuItemCollection : ObservableCollection<IMenuItem> { public SortedMenuItemCollection() { var collectionView = (Lis...
33.970588
141
0.695238
[ "MIT" ]
kosmakoff/SuperShell
SuperShell.Infrastructure/Commands/Menu/SortedMenuItemCollection.cs
2,312
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; using KtaneStuff.Modeling; using RT.KitchenSink; using RT.Util.Consoles; using RT.Util.ExtensionMethods; namespace KtaneStuff { using static Md; static class Quilting { public static void Ma...
47.040816
259
0.560087
[ "MIT" ]
Timwi/KtaneStuff
Src/Quilting.cs
2,309
C#
using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.Extensibility; namespace Altinn.Platform.Telemetry { /// <summary> /// Set up custom telemetry for Application Insights /// </summary> public class CustomTelemetryInitializer : ITelemetryInitializer { /// <summ...
29.913043
88
0.646802
[ "BSD-3-Clause" ]
Altinn/altinn-studio
src/Altinn.Platform/Altinn.Platform.Events/Events/Configuration/CustomTelemetryInitializer.cs
688
C#
using UnityEngine; using UnityEditor; using System.Collections.Generic; namespace Cinemachine.Editor { [CustomEditor(typeof(CinemachineOrbitalTransposer))] internal class CinemachineOrbitalTransposerEditor : BaseEditor<CinemachineOrbitalTransposer> { protected override void GetExcludedPropertiesInI...
47.58156
104
0.588314
[ "MIT" ]
Dan-Rosen/unity-MadBirds
Library/PackageCache/com.unity.cinemachine@2.6.0/Editor/Editors/CinemachineOrbitalTransposerEditor.cs
6,709
C#
using System; using UnityEngine; namespace FancyScrollView.Example04 { public class Context { public int SelectedIndex = -1; // Cell -> ScrollView public Action<int> OnCellClicked; // ScrollView -> Cell public Action UpdateCellState; // xy = cell position, z ...
24.604651
93
0.531191
[ "MIT" ]
coposuke/FancyScrollView
Assets/FancyScrollView/Examples/Sources/04_Metaball/Context.cs
1,060
C#
using System; using JetBrains.Annotations; using TypedRest; namespace MyVendor.MyService.Contacts { /// <summary> /// Represents a REST endpoint for a single <see cref="Contact"/>. /// </summary> [UsedImplicitly] public class ContactElementEndpoint : ElementEndpoint<Contact>, IContactElem...
31.464286
100
0.624291
[ "MIT" ]
renovate-tests/Templates.WebService
content/src/Client/Contacts/ContactElementEndpoint.cs
881
C#
using System; using System.Linq.Expressions; using System.Reflection; using Our.ModelsBuilder; using Umbraco.Core.Models.PublishedContent; // ReSharper disable once CheckNamespace, reason: extension methods namespace Umbraco.Web { /// <summary> /// Provides extension methods to models. /// </summary> ...
50.39
218
0.637031
[ "MIT" ]
Arlanet/ModelsBuilder.Original
src/Our.ModelsBuilder/UmbracoExtensions/PublishedElementExtensions.cs
5,041
C#
namespace AlunosApi.Services { public interface IAuthenticate { Task<bool> Authenticate(string email, string password); Task<bool> RegisterUser(string email, string password); Task Logout(); } }
21.818182
63
0.641667
[ "MIT" ]
Raphael-Azevedo/WebApiComReact
AlunosApi/Services/IAuthenticate.cs
242
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/wingdi.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
37.277778
145
0.659463
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/wingdi/PSINJECTDATATests.cs
1,344
C#
using System.Collections.ObjectModel; using System.Linq; using Core; using Core.Model; using Core.ViewModel; using Core.Events; using System.Collections.Generic; namespace Agent.ViewModel { class AlertsEngine : GenericSimpleEngine<AlertViewModel, Alert> { readonly IItemStore itemStore; publ...
35.74359
129
0.697274
[ "MIT" ]
arrer/WarframeAgent
Agent/Agent/ViewModel/AlertsEngine.cs
1,450
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...
42.379747
146
0.614695
[ "MIT" ]
LaudateCorpus1/azure-powershell
src/ResourceManager/Sql/Commands.Sql/FirewallRule/Cmdlet/GetAzureSqlServerFirewallRule.cs
3,272
C#
using Qsi.Analyzers; using Qsi.Data; namespace Qsi.SqlServer.Data { public class SqlServerAlterUserAction : IQsiAnalysisResult { public QsiIdentifier TargetUser { get; set; } public QsiIdentifier DefaultSchema { get; set; } public QsiIdentifier NewUserName { get; set; } } }
21
62
0.685714
[ "MIT" ]
ScriptBox99/chequer-qsi
Qsi.SqlServer/Data/SqlServerAlterUserAction.cs
317
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...
27.55814
81
0.622785
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/Outputs/AadAuthenticationParametersResponse.cs
1,185
C#
using Newtonsoft.Json.Linq; namespace Xky.Core.Model { public class Response { public bool Result { get; set; } public string Message { get; set; } public JObject Json { get; set; } } }
20.272727
43
0.596413
[ "Apache-2.0" ]
loveyeguo/xky
Xky.Core/Model/Response.cs
225
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace TwitchLib.Internal.TwitchAPI { public static class Undocumented { #region GetClipChat public async static Task<Models.API.Undocumented.ClipChat.GetClipChatResponse> GetClipChat(string slug) { var clip...
53.194444
173
0.670496
[ "MIT" ]
NoStudioDude/TwitchLib-1
TwitchLib/Internal/TwitchAPI/Undocumented.cs
5,747
C#
using Bloom.Data.Interfaces; namespace Bloom.Data.Tables { /// <summary> /// Represents the artist_member_role table. /// </summary> /// <seealso cref="Bloom.Data.Interfaces.ISqlTable" /> public class ArtistMemberRoleTable : ISqlTable { /// <summary> /// Gets the create artist_...
40.428571
101
0.52179
[ "Apache-2.0" ]
RobDixonIII/Bloom
Shared/Bloom.Data/Tables/ArtistMemberRoleTable.cs
851
C#
/* * Nz.Framework * Author Paulo Eduardo Nazeazeno * https://github.com/paulonz/Nz.Framework */ namespace Nz.Libs.Encryption.Impl.HashAlgorithm { using System; using System.Security.Cryptography; using System.Text; using Microsoft.Extensions.Logging; using Nz.Common.GeneralSettings; /// <...
28.060241
83
0.55131
[ "Apache-2.0" ]
paulonz/Nz.Framework
Src/Libs/Encryption/Nz.Libs.Encryption.Impl.HashAlgorithm/Encryption.cs
2,344
C#
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Orleans; using Piraeus.Auditing; using Piraeus.Configuration; using Piraeus.Core; using Piraeus.Core.Logging; using Piraeus.Grains; using SkunkLab.Channels; using SkunkLab.Channels.Udp; using SkunkLab.Protocols.Coap; using SkunkLab.Prot...
37.981013
129
0.552325
[ "MIT" ]
lulzzz/piraeus-2
src/Piraeus.Adapters/CoapProtocolAdapter.cs
12,004
C#
using System; using System.Threading.Tasks; using WebSharpJs.NodeJS; using WebSharpJs.Script; namespace WebSharpJs.Electron { public class GlobalShortcut : EventEmitter { protected override string ScriptProxy => @"globalShortcut;"; protected override string Requires => @"const {globalShortcut...
28.560606
127
0.608488
[ "MIT" ]
xamarin/WebSharp
electron-dotnet/src/websharpjs/WebSharp.js/dotnet/WebSharpJs.Electron/GlobalShortcut.cs
1,887
C#
using LQClass.CustomControls.TabControlHelper; using System.Windows.Controls; using WpfExtensions.Xaml; namespace LQClass.ModuleOfDataPrivilege.Views { /// <summary> /// Interaction logic for ViewA.xaml /// </summary> public partial class MainTabItemView : UserControl, ICloseable { public MainTabItemView() {...
26.086957
88
0.768333
[ "MIT" ]
dotnet9/lqclass.com
src/LQClass.AdminForWPF/Modules/LQClass.ModuleOfDataPrivilege/Views/MainTabItemView.xaml.cs
602
C#
using Cosmos.Business.Extensions.Holiday.Core; using Cosmos.I18N.Countries; namespace Cosmos.Business.Extensions.Holiday.Definitions.Africa.ElSalvador.Public { /// <summary> /// August Festivals /// </summary> public class AugustFestivals : BaseFixedHolidayFunc { /// <inheritdoc /> ...
32.21875
84
0.615907
[ "Apache-2.0" ]
cosmos-open/Holiday
src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Africa/ElSalvador/Public/AugustFestivals.cs
1,031
C#
namespace Incoding.UnitTest { #region << Using >> using System; using System.Collections.Generic; using System.Linq; using Incoding.Block; using Incoding.CQRS; using Incoding.MSpecContrib; using Machine.Specifications; #endregion [Subject(typeof(DelayToScheduler.Where.ByStatu...
37.75
197
0.48234
[ "Apache-2.0" ]
Incoding-Software/Incoding-Framework
src/Incoding.UnitTest/Block/Scheduler Factory/When_delay_to_scheduler_by_status.cs
1,814
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Common.Log; using Lykke.Common.Log; using Lykke.Service.PayCallback.Client.InvoiceConfirmation; using Lykke.Service.PayInvoice.Core.Domain.InvoiceConfirmation; using Lykke.Service.PayInvoice.Core.Domain.PushNotificat...
40.151899
117
0.676545
[ "MIT" ]
LykkeCity/Lykke.Service.PayInvoice
src/Lykke.Service.PayInvoice.Services/PushNotificationService.cs
3,174
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Dingtalkats_1_0.Models { public class FinishBeginnerTaskResponseBody : TeaModel { /// <summary> /// 是否成功 /// </summary> [Na...
19.454545
60
0.635514
[ "Apache-2.0" ]
aliyun/dingtalk-sdk
dingtalk/csharp/core/ats_1_0/Models/FinishBeginnerTaskResponseBody.cs
436
C#
using UnityEngine; namespace AirFishLab.ScrollingList.BoxTransformCtrl { /// <summary> /// The interface for setting the transform of a box /// </summary> public interface IBoxTransformCtrl { /// <summary> /// Set the initial transform for the specified box /// </summary> ...
36.555556
81
0.608663
[ "Apache-2.0" ]
Mighstye/-Tragedies-in-Vacuous-Scroll
Assets/Plugins/CircularScrollingList/Scripts/BoxTransformCtrl/IBoxTransformCtrl.cs
1,318
C#
using System.Collections.Generic; using EcsRx.Blueprints; namespace Adventure.GameEngine.Builder { public interface IBluePrintProvider { IEnumerable<IBlueprint> Blueprints { get; } void Validate(); } }
19.333333
51
0.702586
[ "MIT" ]
Tauron1990/TextAdventure
Alt/Adventure.GameEngine/Builder/IBluePrintProvider.cs
234
C#
using System; using System.Collections.Generic; using System.IO; using TQVaultAE.Domain.Contracts.Providers; using TQVaultAE.Domain.Contracts.Services; using TQVaultAE.Domain.Entities; using TQVaultAE.Domain.Results; using TQVaultAE.Logs; namespace TQVaultAE.Services { public class VaultService : IVaultService { ...
28.404762
163
0.706063
[ "MIT" ]
AlexSnowLeo/TQVaultAE
src/TQVaultAE.Services/VaultService.cs
3,581
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> //----------------------------------------...
33.269231
84
0.512717
[ "MIT" ]
22gui22/YouRating
YouRate/YouRate/Account/Register.aspx.designer.cs
1,732
C#
using MongoDB.Bson.Serialization.Attributes; using System; namespace SaveMyDataServer.Database.Models.Users { /// <summary> /// The model that holds the user information /// </summary> public class UserDatabaseModel { #region Properties /// <summary> /// The unique id of t...
23.771429
53
0.551683
[ "MIT" ]
Saria-houloubi/SaveMyData
SaveMyDatabase.Database/Models/UserDatabaseModel.cs
834
C#
using ArkeCLR.Runtime.Streams; using ArkeCLR.Runtime.Tables.Flags; using ArkeCLR.Utilities; #pragma warning disable S1104 namespace ArkeCLR.Runtime.Tables { public struct MethodSemantics : ICustomByteReader<TokenByteReader> { public MethodSemanticsAttributes Semantics; public TableToken Method; ...
32.368421
75
0.713821
[ "MIT" ]
Arke64/ArkeCLR
ArkeCLR.Runtime/Tables/MethodSemantics.cs
617
C#
// This source code is dual-licensed under the Apache License, version // 2.0, and the Mozilla Public License, version 2.0. // // The APL v2.0: // //--------------------------------------------------------------------------- // Copyright (c) 2007-2020 VMware, Inc. // // Licensed under the Apache License, Version 2....
38.225806
87
0.568776
[ "MPL-2.0-no-copyleft-exception", "MPL-2.0", "Apache-2.0" ]
10088/rabbitmq-dotnet-client
projects/RabbitMQ.Client/client/api/ConnectionFactoryBase.cs
2,370
C#
using Core.DTO; using System; using System.Collections.Generic; using System.Text; namespace Core.Service { public interface IDisponibilizarMedicamentoService { void Editar(Medicamentodisponivel medicamentoDisponivel); int Inserir(Medicamentodisponivel medicamentodisponivel); Medicam...
26.88
96
0.766369
[ "MIT" ]
marcosdosea/IDrug
Codigo/Core/Service/IDisponibilizarMedicamentoService.cs
674
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using ITSWebMgmt.Models; using System.DirectoryServices; namespace ITSWebMgmt.Controllers { public class HomeController : Controller { public IActi...
31.676923
123
0.492472
[ "BSD-2-Clause" ]
yrke/AAUWebMgmt
ITSWebMgmt/Controllers/HomeController.cs
2,061
C#
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 SDP_prototype.Staff { public partial class StaffReceiveProblems : Form { #reg...
33.614035
139
0.638309
[ "MIT" ]
CWKSC/HKIVE-GSD-SDP-Point-Card-System
Program/SDP_prototype/SDP_prototype/Staff/StaffReceiveProblems.cs
1,918
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated...
40
85
0.593605
[ "MIT" ]
Lidinh26/Sparta-C-Sharp-Course
Labs_72_LINQQ_JOIN/Model1.Context.cs
1,722
C#
using UnityEngine; using System.Collections; public class FpsHudCrosshair : FpsHudReticule { float previousSpread = float.MaxValue; public int PixelWidth = 4; public int PixelHeight = 11; public Transform Left; public Transform Right; public Transform Top; public Transform Bottom; vo...
31.216216
119
0.660606
[ "Unlicense", "MIT" ]
Amitkapadi/unityassets
FpsHud3D/Assets/FpsHud/Scripts/FpsHudCrosshair.cs
1,155
C#
using System; using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /cityservice/sendmsgdata 接口的响应。</para> /// </summary> public class CityServiceSendMessageDataResponse : WechatApiResponse { /// <summary> /// 获取或设置结果...
28.631579
76
0.652574
[ "MIT" ]
KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/CityService/CityServiceSendMessageDataResponse.cs
580
C#
using System; namespace Midnight { class Midnight { } }
7.8
18
0.525641
[ "MIT" ]
KamRon-67/project_unicorn
Midnight/Midnight.cs
80
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace zeldaGui { public class CustomItem { public byte[] iconsId; public byte level; public bool on; public string name; public bool loop = false; ...
24.5
114
0.565051
[ "MIT" ]
Formedras/ZeldaHUD
ZeldaHUD/ZeldaHUD/CustomItem.cs
786
C#
using System; using System.Linq; using System.Reflection; using Unity.Collections; using Unity.Collections.LowLevel.Unsafe; using Unity.Jobs; using Unity.Jobs.LowLevel.Unsafe; namespace Chisel.Core { // Based on: https://github.com/jacksondunstan/NativeCollections/tree/master/JacksonDunstanNativeCollections /...
39.986111
196
0.655783
[ "MIT" ]
cr4yz/Chisel.Prototype
Packages/com.chisel.core/Chisel/Core/API.private/Managed/Thirdparty/IJobParallelForDeferExtensions.cs
2,879
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...
25.958763
109
0.561557
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/IoTWireless/Generated/Model/ServiceProfile.cs
2,518
C#
// <copyright file="DateListOutput.cs" company="Traced-Ideas, Czech republic"> // Copyright (c) 1990-2021 All Right Reserved // </copyright> // <author></author> // <email></email> // <date>2021-09-01</date> // <summary>Part of Astro Observatory</summary> namespace AstroSharedEvents.Lists { using AstroSharedEvent...
35.55814
96
0.576848
[ "MIT" ]
Vladimir1965/AstroObservatory
AstroSharedEvents/Lists/DateListOutput.cs
3,060
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Globalization; using System.Net; using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft....
36.487535
408
0.540313
[ "MIT" ]
NickEricson/botbuilder-dotnet
libraries/Adapters/Microsoft.Bot.Builder.Adapters.Slack/SlackHelper.cs
13,174
C#
 namespace Hills.IdentityServer4.Deployment { partial class EditEndPoint { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// <...
43.973282
136
0.574082
[ "MIT" ]
elaganahills/IdentityServer4.Admin
deployment/EditEndPoint.Designer.cs
11,523
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.Jag.PillPressRegistry.Interfaces.Models { using Newtonsoft.Json; using System.Collections; using System....
46.870213
2,981
0.637932
[ "Apache-2.0" ]
GeorgeWalker/jag-pill-press-registry
pill-press-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMtemplate.cs
22,029
C#
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated> using System; using System.Collections.Generic; #nullable disable namespace T0001 { public partial class TempEbsResult { public DateTime TransactionDate { get; set; } public string Attri...
33.47619
97
0.631579
[ "MIT" ]
twoutlook/BlazorServerDbContextExample
BlazorServerEFCoreSample/T0001/TempEbsResult.cs
705
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Github.Domain; using Github.Models; using Microsoft.AspNetCore.Mvc; namespace Github.App.Controllers { [Route("api/[controller]")] [ApiController] public class GithubController : ControllerBase { ...
34.176923
105
0.546703
[ "MIT" ]
Snepsts/github
Github/Controllers/GithubController.cs
4,445
C#
namespace Microsoft.Maui { public interface IViewHandler { void SetMauiContext(IMauiContext mauiContext); void SetVirtualView(IView view); void UpdateValue(string property); void DisconnectHandler(); object? NativeView { get; } IView? VirtualView { get; } bool HasContainer { get; set; } Size GetDesire...
27.6
71
0.758454
[ "MIT" ]
renovate-testing/test-9463-cakefile-maui
src/Core/src/Handlers/IViewHandler.cs
414
C#
using Amazon.JSII.Runtime.Deputy; [assembly: JsiiAssembly("@alicloud/ros-cdk-fnf", "1.0.3", "alicloud-ros-cdk-fnf-1.0.3.tgz")]
32
92
0.710938
[ "Apache-2.0" ]
aliyun/Resource-Orchestration-Service-Cloud-Development-K
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Fnf/AssemblyInfo.cs
128
C#
using Pims.Api.Areas.Project.Controllers; using Pims.Core.Extensions; using Pims.Core.Test; using Pims.Dal.Security; using System.Diagnostics.CodeAnalysis; using Xunit; namespace Pims.Api.Test.Routes.Project { /// <summary> /// WorkflowControllerTest class, provides a way to test endpoint routes. /// </sum...
27.849315
127
0.577472
[ "Apache-2.0" ]
Bruce451/PIMS
backend/tests/unit/api/Routes/Project/WorkflowControllerTest.cs
2,033
C#
using Microsoft.Extensions.DependencyInjection; namespace Cpnucleo.Domain.Configuration; public static class DomainConfig { public static void AddDomainSetup(this IServiceCollection services) { } }
19.363636
71
0.788732
[ "MIT" ]
jonathanperis/cpnucleo
src/Cpnucleo.Domain/Configuration/DomainConfig.cs
215
C#
using System; using System.Threading.Tasks; namespace Telega.CallMiddleware { sealed class FloodMiddleware : ITgCallMiddleware { DateTime _unlockTimestamp; public TgCallHandler<T> Handle<T>(TgCallHandler<T> next) => async func => { var lockSpan = _unlockTimestamp - DateTime.Now; ...
29.862069
83
0.535797
[ "MIT" ]
TelegramFileCloud/Telega
Telega/CallMiddleware/FloodMiddleware.cs
866
C#
using System; using System.Runtime.InteropServices; using System.Text; namespace Mezzo.Interop { [StructLayout(LayoutKind.Sequential)] public unsafe readonly struct CString { private readonly byte* _pointer; public CString(byte* pointer) => _pointer = pointer; public CString(nint ...
27.806452
105
0.513921
[ "MIT" ]
TechInterMezzo/Mezzo.NET
src/Mezzo.Interop/CString.cs
2,588
C#
/* * This project is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/ * Any copyright is dedicated to the NominalNimbus. * https://github.com/NominalNimbus */ using System; namespace Com.L...
33.470588
76
0.689807
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
NominalNimbus/ServiceNimbus
ApiLibraries/LmaxClientLibrary/Api/Internal/Xml/IStructuredWriter.cs
1,140
C#
using System; using System.Reflection; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Globalization; using Microsoft.SmartDevice.Connectivity.Interface; using Microsoft.SmartDevice.MultiTargeting.Connectivity; using System.Net; namespace wptool { class wptool { static int Main...
34.773234
174
0.581997
[ "Apache-2.0" ]
jeffbonnes/titanium_mobile
node_modules/windowslib/wptool/wptool.cs
9,354
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class MonoBehaviourExtensions { public static void Activate(this MonoBehaviour mono) { mono.gameObject.SetActive(true); } public static void Deactivate(this MonoBehaviour mono) { mono.game...
20.764706
58
0.719547
[ "MIT" ]
Treyboyland/SpoopyJam2019
Assets/Scripts/MonoBehaviourExtensions.cs
355
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reactive.Linq; using System.Threading.Tasks; using System.Windows.Input; using Prism.Commands; using Prism.Ioc; using WDE.Common.Managers; using WDE.Module.Attributes; using WDE.MVVM; using WDE.SmartScr...
31.715847
112
0.605445
[ "Unlicense" ]
lyosky/WoWDatabaseEditor
WDE.SmartScriptEditor/Editor/ViewModels/VariablePickerViewModel.cs
5,804
C#
//////////////////////////////////////////////////////////////////////////////// //EF Core Provider for LCPI OLE DB. // IBProvider and Contributors. 05.06.2021. namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOleDb.Basement.EF.Root.Query.Local.Expressions.Converts.MasterCode{ ...
34.851852
121
0.501594
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Code/Provider/Source/Basement/EF/Root/Query/Local/Expressions/Converts/MasterCode/Byte/Convert_MasterCode__Byte__Byte.cs
943
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Cube : MonoBehaviour { public MeshRenderer Renderer; [SerializeField] Material cubeMaterial; [SerializeField] protected float speed = 10f; void Start() { transform.position = new Vector3(0, 0, ...
23.384615
69
0.625
[ "MIT" ]
autoshgame/Create-With-Code-Unit2
Assets/ModTheCube/Cube.cs
610
C#
using Bonsai.Expressions; using OpenCV.Net; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Linq.Expressions; using System.Reactive.Linq; namespace Bonsai.Dsp { /// <summary> /// Represents an operator that converts each array or collect...
40.817204
144
0.585353
[ "MIT" ]
glopesdev/bonsai
Bonsai.Dsp/ConvertToArray.cs
3,798
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ZigBeeNet.Security; using ZigBeeNet.ZCL.Clusters.IasAce; using ZigBeeNet.ZCL.Field; using ZigBeeNet.ZCL.Protocol; namespace ZigBeeNet.ZCL.Clusters.IasAce { /// <summary> /// Panel Status Changed Command value object cl...
40.161017
97
0.640641
[ "EPL-1.0" ]
JanneMattila/ZigbeeNet
libraries/ZigBeeNet/ZCL/Clusters/IasAce/PanelStatusChangedCommand.cs
4,741
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.XRay")] [assembly: AssemblyDescript...
50.125
334
0.756234
[ "Apache-2.0" ]
alefranz/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/XRay/Properties/AssemblyInfo.cs
1,604
C#
// Generated on 12/11/2014 19:02:01 using System; using System.Collections.Generic; using System.Linq; using BlueSheep.Common.Protocol.Types; using BlueSheep.Common.IO; using BlueSheep.Engine.Types; namespace BlueSheep.Common.Protocol.Messages { public class KrosmasterAuthTokenMessage : Message { ...
18.403846
64
0.572623
[ "MIT" ]
Sadikk/BlueSheep
BlueSheep/Common/Protocol/messages/web/krosmaster/KrosmasterAuthTokenMessage.cs
957
C#
using System.Windows.Forms; using System.Collections.Generic; using System.Linq; using System; namespace GoldBoxExplorer.Lib.Plugins.DaxEcl { public class EclFileViewer : IGoldBoxViewer { public event EventHandler<ChangeFileEventArgs> ChangeSelectedFile; private readonly DaxEclFile _file; ...
40.327801
182
0.532154
[ "MIT" ]
bsimser/Gold-Box-Explorer
src/Common/Plugins/DaxEcl/EclFileViewer.cs
9,719
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 1.1.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
27.565217
74
0.621451
[ "MIT" ]
graemefoster/azure-libraries-for-net
src/ResourceManagement/Dns/Generated/Models/RecordType.cs
1,268
C#
using Microsoft.EntityFrameworkCore; using ProductMan.API.Domain.Context.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ProductMan.API.Domain.Context { public class ProductDBContext : DbContext { public DbSet<Product> Products { get...
27.75
91
0.707207
[ "MIT" ]
aliemrahpekesen/dotnet_core_xunitWithMoq_unittest
ProductMan.API/Domain/Context/ProductDBContext.cs
668
C#
using System; using System.Collections.Generic; using System.Linq; namespace AwsTools { class TryCatch { /// <summary> /// Catch exceptions which may be deep within an aggregate exception. /// </summary> public static void Try(Action tryAction, Action<Exception> catchAction, Li...
32.28
115
0.484511
[ "Apache-2.0" ]
timg456789/AwsTools
AwsTools/TryCatch.cs
1,616
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("Re...
37.694444
84
0.74871
[ "MIT" ]
vinegreti2010/CFRFServers
RecognizeAPI/Properties/AssemblyInfo.cs
1,360
C#
using System; namespace DataImporter { /// <summary> /// This program acts as a basic driver and test harness for developers to use when testing code changes in /// the Cotton Harvester HID File Import Plugin. This is a handy method for stepping through the plugin code /// before final testing is perf...
37.333333
112
0.660714
[ "EPL-1.0" ]
ADAPT/CottonHarvesterHIDFileImportPlugin
DataImporter/Program.cs
898
C#
using Newtonsoft.Json; namespace XCommas.Net.Objects { public class AccountTableData { [JsonProperty("account_state_entry_id")] public long AccountStateEntryId { get; set; } [JsonProperty("currency_code")] public string CurrencyCode { get; set; } [JsonProperty("currency...
35.484848
54
0.622545
[ "Unlicense" ]
Grepsy/3Commas.Net
XCommas.Net/XCommas.Net/Objects/AccountTableData.cs
1,173
C#
/* * Copyright 2017 Mikhail Shiryaev * * 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 a...
33.840206
110
0.520792
[ "Apache-2.0" ]
JoygenZhang/Rapid-SCADA-sources
ScadaComm/OpenKPs/KpModbus/KpModbusView.cs
7,210
C#