max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
src/Pact.Email/IEmailSender.cs
assureddt/pact
0
7058181
<filename>src/Pact.Email/IEmailSender.cs using MimeKit; namespace Pact.Email; /// <summary> /// Provides sending functionality /// </summary> public interface IEmailSender { /// <summary> /// Compile and send an email using whichever transport service has been registered (or just log if none) /// </summa...
src/MongoDB.Driver.Tests/Communication/ClusterKeyTests.cs
afhaque/mongo-csharp-driver
1
7058182
/* Copyright 2010-2014 MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
examples/Api/Xms.Schema.Api/Controllers/OptionSetController.cs
ganqiyin/xms
518
7058183
using Microsoft.AspNetCore.Mvc; using System; using System.ComponentModel; using Xms.Schema.OptionSet; using Xms.Web.Framework.Context; using Xms.Web.Framework.Controller; namespace Xms.Schema.Api { /// <summary> /// 选项集接口 /// </summary> [Route("{org}/api/schema/optionset")] public class OptionSet...
DicewareGeneratorTests/Repositories/FileSpecialCharsRepositoryTest.cs
robinmalburn/keepass-diceware-generator
3
7058184
<filename>DicewareGeneratorTests/Repositories/FileSpecialCharsRepositoryTest.cs /* Copyright 2021 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without ...
Meridium.EPiServer.Migration/Support/MigrationHook.cs
meridium/episerver.migration
0
7058185
using System; using System.Collections.Generic; using System.Linq; using System.Web.UI; using EPiServer.Core; using EPiServer.Enterprise; using CallbackRegistry = System.Collections.Generic.Dictionary< System.Type, System.Collections.Generic.List<object>>; namespace Meridium.EPiServer...
Diabhelp/Core/MainScreen.xaml.cs
DiabHelp/DiabHelp-App-WP
0
7058186
<filename>Diabhelp/Core/MainScreen.xaml.cs using Diabhelp.Core; using Diabhelp.Core.Api.ResponseModels; using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; ...
Akeraiotitasoft.ExodusContainer.Abstraction/IExodusContainer.cs
Akeraiotitasoft/ExodusContainer
0
7058187
<reponame>Akeraiotitasoft/ExodusContainer using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Akeraiotitasoft.ExodusContainer { public interface IExodusContainer : IDisposable { object Resolve(Type type); object Resolve(Type type, string name); ...
Tests/WithScalpelConstant/MSpecTests.cs
heltonbiker/Scalpel
23
7058188
<reponame>heltonbiker/Scalpel using Xunit; public partial class WithScalpelConstantTests { [Fact] public void MSpecRefIsRemoved() { Assert.DoesNotContain(result.Assembly.GetReferencedAssemblies(), x => x.Name == "Machine.Specifications"); Assert.DoesNotContain(result.Assembly.GetReferenced...
Methods-Debugging-Troubleshooting/Math_Power/Program.cs
stepan82/Programming-Fundamentals-September-2017
0
7058189
<reponame>stepan82/Programming-Fundamentals-September-2017<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Math_Power { class Program { static double powerNumber(double number, double power) { ...
LivestreamFailsNET/LivestreamFailsNET/Helpers/Parsing.cs
swiftyspiffy/LivestreamFailsNET
0
7058190
using HtmlAgilityPack; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LivestreamFailsNET.Helpers { internal static class Parsing { internal static List<Models.Fail> ParseFails(string html) { List<Models.Fail> fails = new List<Models....
test/DispatchRider.AspNetCore.Test/DispatchRiderServiceTest.cs
BrainFluid/dispatchrider-dotnet
0
7058192
using System.IO; using Xunit; namespace DispatchRider.AspNetCore { public class DispatchRiderServiceTest { private readonly DispatchRiderService _target; public DispatchRiderServiceTest() { _target = new DispatchRiderService(new DispatchRiderOptions(), new DispatchRiderMidd...
src/StorytellerSample/OtherApp.cs
ejsmith/jasper
369
7058194
using Jasper; using Jasper.Messaging.Runtime.Invocation; namespace StorytellerSample { public class OtherApp : JasperOptions { public OtherApp() { Handlers.Discovery(x => x.DisableConventionalDiscovery().IncludeType<OtherGuyMessages>()); ServiceName = "Other"; ...
qBT.WinFormUI/Forms/OptionsForm.Designer.cs
LeshaOrlov/qBittorrentManager
0
7058195
<filename>qBT.WinFormUI/Forms/OptionsForm.Designer.cs namespace FormsApp { partial class OptionsForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resourc...
src/Whetstone.Alexa/Serialization/SerializationExtensions.cs
WhetstoneTechnologies/Whetstone.Alexa
7
7058196
<gh_stars>1-10 // MIT License // // Copyright (c) 2019 WhetstoneTechnologies // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rig...
YL.AC/PrefixTree.cs
Yustos/DictionarySearch
0
7058197
using System; using System.Collections.Generic; namespace YL.AC { internal class PrefixTree { private readonly Node _root; private readonly List<string> _patterns = new List<string>(); internal PrefixTree(IEnumerable<string> patterns) { _root = new Node('_', null); foreach (var pattern in patterns) ...
ToolBox.Tests/Platform/PlatformTests.cs
ScriptBox99/deinsoftware-toolbox
44
7058198
using System; using Xunit; namespace ToolBox.System.Tests { public class PlatformTests { [Fact(Skip="It's System Functionality")] public void IsWin_WhenCalls_NotImplemented() { throw new NotImplementedException(); } [Fact(Skip="It's System Functionality")] ...
libGtkSharpExtensions/TreeViewController/TreeViewSelectedRowEnumerator.cs
TDubClark/GtkSharpExtensions
0
7058199
using System; using System.Collections.Generic; using Gtk; namespace GtkSharp.Extensions { /// <summary> /// Tree view selected row enumerator; gets the TreeIter of the selected row. /// </summary> public class TreeViewSelectedRowEnumerator : IEnumerator<TreeIter>, IEnumerable<TreeIter> { TreeModel _model; ...
Sources/TFS.SyncService.Contracts/Exceptions/ComInteropException.cs
qanh96/WordToTFS
9
7058200
<reponame>qanh96/WordToTFS using System; using AIT.TFS.SyncService.Contracts.Properties; using System.Runtime.Serialization; namespace AIT.TFS.SyncService.Contracts.Exceptions { /// <summary> /// Use this class for all exceptions that can occur during the work with the interfaces of word and office int...
src/Equinor.ProCoSys.Preservation.WebApi/Controllers/Tags/TagIdWithRowVersionDto.cs
equinor/pcs-preservation-api
5
7058201
<reponame>equinor/pcs-preservation-api namespace Equinor.ProCoSys.Preservation.WebApi.Controllers.Tags { public class TagIdWithRowVersionDto { public int Id { get; set; } public string RowVersion { get; set; } } }
PassManager.Core/Index/Write/IndexPatchCommand.cs
Graph2133/passmanager
0
7058202
<filename>PassManager.Core/Index/Write/IndexPatchCommand.cs using PassManager.Core.VirtualDirectory; using System.Collections.Generic; using System.Linq; namespace PassManager.Core.Index.Write { /// <summary> /// A wrapper around <see cref="IndexEntry"/> to incapsulate update logic. /// </summary> pub...
Hooded-Green Goblin/Assets/Scripts/ScriptableEventSystem/PassDataEvents/DataGameEvents/LevelInfoEvent.cs
akadirdursun/HoodedGreenGoblin
0
7058203
<filename>Hooded-Green Goblin/Assets/Scripts/ScriptableEventSystem/PassDataEvents/DataGameEvents/LevelInfoEvent.cs using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AbdulkadirDursun.ScriptableEvents { [CreateAssetMenu(fileName ="PassLevelInfoEvent",menuName ="GameEvent/PassD...
Rehber.WebAPP/Controllers/UnitsController.cs
sporestec/Rehber
0
7058204
<reponame>sporestec/Rehber using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Rehber.Database.Models; namespace Rehber.WebAPP.Controllers { public class UnitsController : Controller { RehberContext _db; public...
I2PCore/SessionLayer/SessionManager.cs
Kukks/i2p-cs
26
7058205
using System; using I2PCore.Data; using System.Collections.Generic; using System.Collections.Concurrent; using I2PCore.TunnelLayer; using I2PCore.TunnelLayer.I2NP.Data; using I2PCore.TunnelLayer.I2NP.Messages; using I2PCore.Utils; namespace I2PCore.SessionLayer { /// <summary> /// Manages temporary crypto key...
src/EasyAbp.Abp.GraphQL.Provider.GraphQLDotnet/EasyAbp/Abp/GraphQL/Provider/GraphQLDotnet/GraphTypes/GraphQLGenericType.cs
EasyAbp/Abp.GraphQL
11
7058206
<reponame>EasyAbp/Abp.GraphQL using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using GraphQL; using GraphQL.Types; using Volo.Abp.Data; namespace EasyAbp.Abp.GraphQL.Provider.GraphQLDotnet.GraphTypes; /// <summary> /// https://github.com/fenomeno83/graphql-dotnet-auto-types...
OruLaboAPI/API.cs
pjlammertyn/Cozo-Broker
0
7058208
<gh_stars>0 using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using OruLabo; using Newtonsoft.Json; namespace OruLaboAPI { public static class API { #region Fields static reado...
Services/DataX.Utilities/DataX.Utilities.Blob/BlobHelper.cs
barryt2/data-accelerator
0
7058209
// ********************************************************************* // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License // ********************************************************************* using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Bl...
DacpacDiff.Comparer/Comparers/TableCheckComparer.cs
IanYates83/dacpac-diff
0
7058210
using DacpacDiff.Core.Diff; using DacpacDiff.Core.Model; using DacpacDiff.Core.Utility; using System; using System.Collections.Generic; namespace DacpacDiff.Comparer.Comparers { public class TableCheckComparer : IModelComparer<TableCheckModel> { public IEnumerable<IDifference> Compare(TableCheckModel?...
tests/CheckWeb.AspNet/VerificationCodeService.cs
kant/YeeTech.VerificationCode
6
7058211
<filename>tests/CheckWeb.AspNet/VerificationCodeService.cs using ServiceStack; using YeeTech.VerificationCode.Interface; namespace CheckWeb.AspNet { public class VerificationCodeService : Service { public IImageVerificationCodeFactory Factory { get; set; } public object Get(GetVcodeRequest re...
PasPasPas.Global/src/Runtime/IStringOperations.cs
prjm/paspaspas
0
7058212
<reponame>prjm/paspaspas<gh_stars>0 #nullable disable namespace PasPasPas.Globals.Runtime { /// <summary> /// calculator for string values /// </summary> public interface IStringOperations : IRelationalOperations { /// <summary> /// concatenate two strings //...
tests/IdentidadeAcesso/IdentidadeAcesso.Domain.UnitTests/Services/UsuarioServiceTest.cs
mrayone/knowledge.io
1
7058213
using FluentAssertions; using IdentidadeAcesso.Domain.AggregatesModel.PerfilAggregate.Repository; using IdentidadeAcesso.Domain.AggregatesModel.UsuarioAggregate; using IdentidadeAcesso.Domain.AggregatesModel.UsuarioAggregate.Repository; using IdentidadeAcesso.Domain.SeedOfWork.Notifications; using IdentidadeAcesso.Dom...
Security/Security.Platform.Android/Checks/DeveloperModeEnabledCheck.cs
aerogear/aerogear-xamarin-sdk
3
7058214
<reponame>aerogear/aerogear-xamarin-sdk<filename>Security/Security.Platform.Android/Checks/DeveloperModeEnabledCheck.cs<gh_stars>1-10 using System; using Android.Content; using Android.Provider; namespace AeroGear.Mobile.Security.Checks { /// <summary> /// Security check that detects if developer mode is enab...
MattsTwitchBot.Tests/IntegrationTests/TestHelpers/IntegrationTestBucketProvider.cs
brantburnett/MattsTwitchBot
4
7058215
<gh_stars>1-10 using System.Threading.Tasks; using Couchbase; using MattsTwitchBot.Core; namespace MattsTwitchBot.Tests.IntegrationTests.TestHelpers { public class IntegrationTestBucketProvider : ITwitchBucketProvider { private readonly IBucket _bucket; public IntegrationTestBucketProvider(IB...
msos/ICommand.cs
goldshtn/msos
95
7058216
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace msos { interface ICommand { void Execute(CommandExecutionContext context); } }
src/MS.RestApi.SourceGenerator/Extensions/CompilationExtensions.cs
msavencov/MS.RestApi
0
7058217
using System; using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using MS.RestApi.SourceGenerator.Utils; namespace MS.RestApi.SourceGenerator.Extensions { internal static class CompilationExtensions { private static string GetBui...
FloorChecker/FloorChecker/FloorChecker/Sensors/SensorList/SensorsVM.cs
idogga/phonefloorchecker
0
7058218
using FloorChecker.Sensors; using System.Collections.ObjectModel; using System.ComponentModel; using Xamarin.Forms; namespace FloorChecker { public class SensorsVM : INotifyPropertyChanged { public ObservableCollection<Sensor> Sensors { get; set; } public SensorsVM() { Sen...
test/EFCore.SqlServer.FunctionalTests/ManyToManyTrackingSqlServerTest.cs
merrycoder/efcore
3
7058219
<filename>test/EFCore.SqlServer.FunctionalTests/ManyToManyTrackingSqlServerTest.cs // 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. namespace Microsoft.EntityFrameworkCore { public class ManyToMan...
src/Umbraco.Web/Models/Mapping/ContentVariantMapper.cs
craigs100/Umbraco-CMS
1
7058220
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using Umbraco.Core; using Umbraco.Core.Mapping; using Umbraco.Core.Models; using Umbraco.Core.Services; using Umbraco.Web.Models.ContentEditing; using Language = Umbraco.Web.Models.ContentEditing.Language; namespace Umbraco.Web.Models.M...
src/Amazon.Lambda.Tools/Commands/GetLayerVersionDetailsCommand.cs
aohotnik/aws-extensions-for-dotnet-cli
290
7058221
using System; using System.Collections.Generic; using System.IO; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using Amazon.Common.DotNetCli.Tools; using Amazon.Common.DotNetCli.Tools.Options; using Amazon.Lambda.Model; using ThirdParty.Json.LitJson; namespace Amazon.Lambda.T...
tools/Az.Tools.Predictor/Az.Tools.Predictor/Utilities/Converters/VersionConverter.cs
mbentancour/azure-powershell
3,336
7058222
// ---------------------------------------------------------------------------------- // // 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...
Gourd.WebApi/automapper/MappingProfile.cs
wmowm/Gourd
58
7058223
using AutoMapper; using Gourd.Domain.Dto.Default; using Gourd.Domain.Entity.Default; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Gourd.WebApi.automapper { public class MappingProfile : Profile { public MappingProfile() { ...
SharpFightingEngine/Utilities/Extension.cs
Alexxtheonly/SharpFightingEngine
0
7058224
using System; using System.Collections.Generic; namespace SharpFightingEngine.Utilities { public static class Extension { private static readonly Random Random = new Random(); public static bool Chance(this float chance) { return Random.NextDouble() < (chance / 100); } public static IE...
kube-consul-registrator/Helpers/AutoMapperProfile.cs
coolexplorer/kube-consul-registrator
8
7058225
<gh_stars>1-10 using System.Diagnostics.CodeAnalysis; using AutoMapper; using Consul; using kube_consul_registrator.Dtos; namespace kube_consul_registrator.Helpers { [ExcludeFromCodeCoverage] public class AutoMapperProfile : Profile { public AutoMapperProfile() { CreateMap<Consu...
Herald.Web.Swagger.Tests.WebApiStub/Controllers/StubController.cs
tcfialho/Herald.Web.Swagger
0
7058226
 using Microsoft.AspNetCore.Mvc; namespace Herald.Web.Swagger.Tests.WebApiStub.Controllers { [ApiController] [Route("[controller]")] public class StubController : ControllerBase { public StubController() { } [HttpGet] public IActionResult Get() { ...
Reflection/Serializer.cs
EnD1ZeR/otus_serializer
0
7058227
namespace Reflection { /// <summary> Serializer </summary> public static class Serializer { /// <summary> Serialize from object to CSV </summary> /// <param name="obj">any object</param> /// <returns>CSV</returns> public static string SerializeFromObjectToCSV(object obj) ...
Legacy.Game/Game/MMGUI/Minimap/SimpleSymbolView.cs
Albeoris/MMXLegacy
10
7058228
<reponame>Albeoris/MMXLegacy using System; using Legacy.Core.Api; using Legacy.Core.Configuration; using Legacy.Core.Entities; using Legacy.Core.EventManagement; using Legacy.Core.Map; using Legacy.Game.IngameManagement; using Legacy.Game.MMGUI.Tooltip; using Legacy.MMGUI; using UnityEngine; using Object = System.Obje...
src/Microsoft.ServiceFabric.Services/Communication/Client/CommunicationClientCacheEntry.cs
KDSBest/service-fabric-services-and-actors-dotnet
56
7058229
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Servic...
SecureStorageTest.UITest/Tests.cs
mattleibow/SecureStorageTest
0
7058230
<filename>SecureStorageTest.UITest/Tests.cs using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Queries; using Xamarin.UITest.Android; namespace SecureStorageTest.UITest { [TestFixture] public class Tests { AndroidApp app; [S...
LanguageExt.Tests/Parsing/parseEnumTests.cs
CK-LinoPro/language-ext
3,903
7058231
<reponame>CK-LinoPro/language-ext<filename>LanguageExt.Tests/Parsing/parseEnumTests.cs using Xunit; namespace LanguageExt.Tests.Parsing { public class parseEnumTests : AbstractParseTTests<FooBarEnum> { protected override Option<FooBarEnum> ParseT(string value) => Prelude.parseEnum<FooBarEnum>(value); ...
CrmSystem.WPF/ViewModels/EmployeesViewModel.cs
eabasquliyev/CRMSystem
1
7058232
<filename>CrmSystem.WPF/ViewModels/EmployeesViewModel.cs using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Windows.Documents; using System.Windows.Input; using CrmSystem.Domain; using CrmSystem.Domain.Models; using CrmSystem.WPF.Helpers; namespace CrmSystem.WPF.Vie...
Dyalect/Debug/StackPoint.cs
vorov2/dyalect
54
7058233
<gh_stars>10-100 namespace Dyalect.Debug { public struct StackPoint { internal StackPoint(int breakAddress, int unitHandle) => (BreakAddress, UnitHandle, External) = (breakAddress, unitHandle, false); internal StackPoint(bool external) => (BreakAddress, UnitHandle, Ex...
ProcessMemory/SystemTextJsonConverters/UInt24Converter.cs
Squirrelies/ProcessMemory
15
7058234
//using ProcessMemory.Types; //using System; //using System.Text.Json; //using System.Text.Json.Serialization; //namespace ProcessMemory.SystemTextJsonConverters //{ // public class UInt24Converter : JsonConverter<UInt24> // { // public override UInt24 Read(ref Utf8JsonReader reader, Type typeToConvert, ...
TaskListPlugin/Commands/TakeItemCommand.cs
krishemenway/IrcBot
1
7058235
using System; using System.Collections.Generic; using Meebey.SmartIrc4net; namespace IrcBot.Plugins.TaskList.Commands { public class TakeItemCommand : BaseBotCommand { public TaskListPlugin TaskListPlugin; public TakeItemCommand(TaskListPlugin plugin) { TaskListPlugin = plugin; FirstMatchingWord = new ...
src/MongODM.Core/ProxyModels/ModelInterceptorBase.cs
Etherna/mongodm
8
7058236
<reponame>Etherna/mongodm // Copyright 2020-present <NAME> // // 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 r...
EventSourcingCQRS.ReadModel.Tests/MongoDBTest.cs
eoinerd/EventSourcingCQRS
155
7058237
<gh_stars>100-1000 using MongoDB.Driver; using System; using System.Linq; using System.Threading.Tasks; using Xunit; namespace EventSourcingCQRS.ReadModel.Tests { [Trait("Type", "Integration")] public class MongoDBTest : MongoDBTestBase { private const string CollectionName = "TestEntity"; ...
Sulakore/Extensions/IExtension.cs
Kennoz/Sulakore
0
7058238
<filename>Sulakore/Extensions/IExtension.cs namespace Sulakore.Extensions { public interface IExtension { string Name { get; } string Author { get; } string Version { get; set; } string Location { get; set; } IContractor Contractor { get; set; } void OnDisposed(...
Extentions/ToastNotification/ToastNotification.Web/Toastify/ToastifyViewModel.cs
nabinkjha/CleanArchitecture
0
7058239
<reponame>nabinkjha/CleanArchitecture using ToastNotification.Toastify.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ToastNotification.Toastify { public class ToastifyViewModel { public ToastifyEntity Configuration...
FlyWeightPatternTests/Class1.cs
mainframebot/csharp-designpatterns-flyweight
0
7058240
<filename>FlyWeightPatternTests/Class1.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FlyWeightPatternLesson; using NUnit.Framework; namespace FlyWeightPatternTests { [TestFixture] public class Class1 { [Tes...
Assets/DesignPatternExample/Adapter/Adapter.cs
LittleCopernicus/DPGame
3
7058241
<filename>Assets/DesignPatternExample/Adapter/Adapter.cs using UnityEngine; using System.Collections; namespace DesignPattern_Adapter { // 應用域領(Client)所需的介面 public abstract class Target { public abstract void Request(); } // 不同於應用域領(Client)的實作,需要被轉換 public class Adaptee { public Adaptee(){} public vo...
templates/NuGetFeedTemplate/Services/ISyndicationService.cs
AvantiPoint/packages.templates
0
7058242
using System.Threading.Tasks; using NuGet.Versioning; namespace NuGetFeedTemplate.Services { public interface ISyndicationService { Task PushToSource(string groupName, string targetName); Task SyndicatePackage(string packageId, NuGetVersion version); Task SyndicateSymbols(string packag...
old-regressions/cs/datatype.3.cs
muchang/z3test
23
7058243
<reponame>muchang/z3test /*++ Copyright (c) 2015 Microsoft Corporation --*/ using Microsoft.Z3; using System; using System.Collections.Generic; class Test { public void Run() { Dictionary<string, string> cfg = new Dictionary<string, string>() { { "AUTO_CONFIG", "true" }, { "...
gcodeviewer/MathTestForm.cs
dlorenz70/Netduino-gcode
27
7058244
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace gcodeparser { public partial class MathTestForm : Form { private float Tolerance = 0.00001f; private...
ServiceTests/CondimentFactoryTests.cs
whelantm/VendingMachine
0
7058245
<filename>ServiceTests/CondimentFactoryTests.cs<gh_stars>0 using Service; using Model; using NUnit.Framework; using Moq; namespace ServiceTests { [TestFixture] public class CondimentFactoryTests { private Mock<IApplicationSettingsService> _appSettingsMock; private ICondimentServiceFactory ...
resources/.gen/aws/aws/IWafv2WebAclRuleStatementAndStatementStatementOrStatementStatementNotStatementStatementSqliMatchStatement.cs
scottenriquez/cdktf-alpha-csharp-testing
0
7058246
<reponame>scottenriquez/cdktf-alpha-csharp-testing using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementAndStatementStatementOrStatementStatementNotStatementStatementSqliMatchStatement), fullyQualifiedName: "aws.W...
Src/Qamur.Chatwork/CustomJsonConverter/UnixTimeConverter.cs
amur568434/Qamur.Chatwork
0
7058247
// <copyright file="UnixTimeConverter.cs" company="<NAME>"> // Copyright 2020 <NAME> // // 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/LICEN...
Assets/Scripts/Ability/Abilities/2Cost/FatigueAbility.cs
DevArcana/GameParadeSummer2021
0
7058248
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Arena; using UnityEngine; namespace Ability.Abilities { public class FatigueAbility : BaseAbility { public override int Cost => 2; public override string Name => "Fatigue"; public overri...
Packages/com.quickeye.http-debugger/Editor/ExchangeView.cs
ErnSur/Unity-Http-Debugger
5
7058249
using System; using System.Net; using System.Security.Policy; using QuickEye.UIToolkit; using UnityEditor; using UnityEngine.UIElements; namespace QuickEye.RequestWatcher { internal class ExchangeView : VisualElement { public ResponseView ResView => resView; public RequestView ReqView => reqVi...
Indico.BluePrism.Connector.Tests/Helpers/DataTableExtensionsTests.cs
IndicoDataSolutions/indico-blueprism-custom-actions
0
7058250
using System.Data; using NUnit.Framework; using Indico.BluePrism.Connector.Helpers; using FluentAssertions; namespace Indico.BluePrism.Connector.Tests.Helpers { public class DataTableExtensionsTests { private const string _id = "Id"; [TestCase(0)] [TestCase(1)] [TestCase(2)] ...
Lexica.Words/Validators/Models/ValidationData.cs
lrydzkowski/Lexica
0
7058251
<reponame>lrydzkowski/Lexica using Lexica.Core.Validators.Models; using System; using System.Collections.Generic; using System.Text; namespace Lexica.Words.Validators.Models { public class ValidationData { public StringValidationData EntryWord { get; set; } = new StringValidationData( ...
GothamVS/GOTHAM-MODEL/Model/IdentityNetwork.cs
perara/gotham
0
7058252
<reponame>perara/gotham using System.Diagnostics.CodeAnalysis; using FluentNHibernate.Mapping; namespace Gotham.Model { [SuppressMessage("ReSharper", "DoNotCallOverridableMethodsInConstructor")] [SuppressMessage("ReSharper", "ClassWithVirtualMembersNeverInherited.Global")] [SuppressMessage("ReSharper", "U...
iOS/DDPClient.cs
shauncampbell/MeteorPCL
1
7058254
using System; using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using WebSocket4Net; namespace MeteorPCL { public class DDPClient : AbstractDDPClient { public DDPClient(): base() { var subscriber = new BasicDataSubscriber(); var resultQueue = new Res...
Test/ValidationFramework.Test/Valdators/Comparable/CannotBeEqualToAttributeTest.cs
aljazsim/validation-framework-for-net
7
7058255
<filename>Test/ValidationFramework.Test/Valdators/Comparable/CannotBeEqualToAttributeTest.cs using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ValidationFramework.Test.Valdators { [TestClass] public class CannotBeEqualToAttributeTest { #region Public Me...
epplus-tut/5-Formulas-Reference.cs
itenium-be/EPPlusTutorial
4
7058256
<filename>epplus-tut/5-Formulas-Reference.cs using System; using System.Diagnostics; using System.IO; using System.Text.RegularExpressions; using EPPlusTutorial.Util; using NUnit.Framework; using OfficeOpenXml; namespace EPPlusTutorial { /// <summary> /// See <see cref="OfficeOpenXml.FormulaParsing.Excel.Func...
isukces.code/Compatibility/Telerik/GridViewColumn.cs
isukces/isukces.code
0
7058257
<reponame>isukces/isukces.code using iSukces.Code.Compatibility.System.Windows; using iSukces.Code.Compatibility.System.Windows.Controls; namespace iSukces.Code.Compatibility.Telerik { /// <summary> /// Reflection only definition /// </summary> [EmitType("Telerik.Windows.Controls")] public clas...
Old/Interception/Cauldron.Interception.Cecilator/IFieldCode.cs
armohamm/Cauldron
78
7058258
<filename>Old/Interception/Cauldron.Interception.Cecilator/IFieldCode.cs using System.ComponentModel; namespace Cauldron.Interception.Cecilator { public interface IFieldCode { ICode As(BuilderType type); ICode Call(Method method, params object[] parameters); ICode Callvirt(Method met...
src/core/srcbc/openpgp/PGPKeyRing.cs
yangli1128/itextsharp.NetCore
1
7058259
<reponame>yangli1128/itextsharp.NetCore /* This file is part of the iText (R) project. Copyright (c) 1998-2019 iText Group NV Authors: iText Software. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by t...
Services/AYN.Services.Data/Implementations/TownsService.cs
georgidelchev/AYN-
28
7058260
<reponame>georgidelchev/AYN-<gh_stars>10-100 using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AYN.Data.Common.Repositories; using AYN.Data.Models; using AYN.Services.Data.Interfaces; using Microsoft.EntityFrameworkCore; namespace AYN.Services.Data.Implementations; public clas...
src/Shared/UriUtil.cs
clearwaterstream/AWSLambda.AspNetCoreAppMesh
0
7058261
<filename>src/Shared/UriUtil.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Text; namespace AWSLambda.AspNetCoreAppMesh.Util { public static class UriUtil { public static string Combine(string uri1, string uri2) { uri1 = uri1.TrimEnd('/'); ur...
Libraries/Hotcakes.Web/Paging.cs
swilkinson-bluebolt/hotcakes-commerce-core
0
7058262
#region License // Distributed under the MIT License // ============================================================ // Copyright (c) 2016 Hotcakes Commerce, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software")...
System.ServiceModel/System/ServiceModel/Dispatcher/XPathParser.cs
cnork/referencesource
911
7058263
<gh_stars>100-1000 //------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel.Dispatcher { using System.Runtime; using System.Xml; using System.Xml.X...
gdled/ProgresReader.cs
Folleach/gdled
3
7058264
<reponame>Folleach/gdled<filename>gdled/ProgresReader.cs using GeometryDashAPI.Memory; using System; using System.Diagnostics; using System.Threading; namespace gdled { class ProgresReader { public delegate void Progres(int procentage); public event Progres ProgresChanged; Thread Chec...
Platforms/Common/Reign.Input.API/Input.cs
reignstudios/ReignSDK
10
7058265
using System; using Reign.Core; namespace Reign.Input.Abstraction { [Flags] public enum InputTypes { None = 0, WinForms = 1, WinRT = 2, XNA = 4, Cocoa = 8, X11 = 16, Android = 32, NaCl = 64 } public static class InputAPI { public static InputTypes DefaultAPI = InputTypes.None; public stati...
Meridian/Helpers/HotKeyManager.cs
NeonWiredX/meridian
180
7058266
using System; using System.Collections.Generic; using System.Windows; using System.Windows.Input; using System.Windows.Interop; using Meridian.Domain; using Meridian.Services; using Meridian.ViewModel; using Application = System.Windows.Application; namespace Meridian.Helpers { public sealed class HotKey : IDispo...
src/FLEx-ChorusPlugin/Infrastructure/ActionHandlers/ObtainProjectStrategyFlex.cs
sillsdev/flexbridge
5
7058267
<filename>src/FLEx-ChorusPlugin/Infrastructure/ActionHandlers/ObtainProjectStrategyFlex.cs // Copyright (c) 2010-2016 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) using System.Collections.Generic; using System.ComponentModel.Composition; using System.IO; usi...
Generator/XMLParser.cs
tstavrianos/OpenGL
3
7058268
using System.IO; using System.Net; using System.Xml.Serialization; namespace Generator { public class XMLParser { private static readonly XmlSerializer ReferencePageSerializer = new XmlSerializer(typeof(OpenGLSpec.Registry)); public static void CacheUrl(string url, string file) { ...
TeamworkHackathon/Models/HackathonTeam.cs
DeeJayTC/teamwork-hackathons
0
7058269
<filename>TeamworkHackathon/Models/HackathonTeam.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Teamwork_Hackathon.Models { public partial class HackathonTeam { public HackathonTeam() ...
PdfCreator/Trade.cs
therockstorm/PdfCreator
0
7058270
<reponame>therockstorm/PdfCreator using System; namespace PdfCreator { public class Trade { public Guid TradeId { get; set; } public string TradeIdDisplay { get; set; } public DateTime CreatedAt { get; set; } public User Buyer { get; set; } public User Seller { get; set...
src/Orchard.Web/Modules/HotTravel.InformationCard/Drivers/InformationCardDriver.cs
hanjia2014/HotTravel
0
7058271
<reponame>hanjia2014/HotTravel<filename>src/Orchard.Web/Modules/HotTravel.InformationCard/Drivers/InformationCardDriver.cs<gh_stars>0 using HotTravel.InformationCard.Models; using Orchard.ContentManagement; using Orchard.ContentManagement.Drivers; namespace HotTravel.InformationCard.Drivers { public class Informa...
src/ESFA.DC.ILR.ValidationService.Rules/LearningDelivery/AFinType/AFinType_12Rule.cs
SkillsFundingAgency/DC-ILR-2021-ValidationService
1
7058273
using System.Collections.Generic; using ESFA.DC.ILR.Model.Interface; using ESFA.DC.ILR.ValidationService.Data.Extensions; using ESFA.DC.ILR.ValidationService.Interface; using ESFA.DC.ILR.ValidationService.Rules.Constants; namespace ESFA.DC.ILR.ValidationService.Rules.LearningDelivery.AFinType { public class AFinT...
CSharp-OOP/Exams/Basics_18-Nov-2018_AnimalCentre/AnimalCentre/Factories/AnimalFactory.cs
kovachevmartin/SoftUni
0
7058274
<reponame>kovachevmartin/SoftUni<filename>CSharp-OOP/Exams/Basics_18-Nov-2018_AnimalCentre/AnimalCentre/Factories/AnimalFactory.cs using AnimalCentre.Models.Animals; using AnimalCentre.Models.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; name...
nn/swkbd/PasswordMode.cs
SinsofSloth/RF5-global-metadata
1
7058275
public enum PasswordMode // TypeDefIndex: 11463 { // Fields public int value__; // 0x0 public const PasswordMode Show = 0; public const PasswordMode Hide = 1; public const PasswordMode Max = 2; }
API/WebAPI/CountingKs/CountingKs/Models/DiarySummaryModel.cs
Jac21/CSharpMenagerie
1
7058276
<reponame>Jac21/CSharpMenagerie using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace CountingKs.Models { public class DiarySummaryModel { public DateTime DiaryDate { get; set; } public double TotalCalories { get; set; } } }
VamBooru/Controllers/TagsController.cs
acidbubbles/vambooru
5
7058277
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using VamBooru.Repository; using VamBooru.ViewModels; namespace VamBooru.Controllers { [Route("api/tags")] public class TagsController { private readonly ITagsRepository _tagsRepository; public TagsController(ITagsRe...
AgileMapper.UnitTests/SimpleTypeConversion/WhenConvertingToInts.cs
WeiiWang/AgileMapper
440
7058278
namespace AgileObjects.AgileMapper.UnitTests.SimpleTypeConversion { using System.Collections.Generic; using System.Globalization; using Common; using Common.TestClasses; using TestClasses; #if !NET35 using Xunit; #else using Fact = NUnit.Framework.TestAttribute; [NUnit.Framework.TestFi...
src/Tests/Test_MiniAgg_GLES_Painting/0_Start/CpuBlitOnGLESAppModule.cs
danieloff/PixelFarm
131
7058279
//MIT, 2014-present, WinterDev //MIT, 2018-present, WinterDev using System; using PixelFarm.DrawingGL; using LayoutFarm; using LayoutFarm.UI; using YourImplementation; namespace Mini { class CpuBlitOnGLESAppModule { //FOR DEMO PROJECT //hardware renderer part=> GLES //software renderer...
SRC/OTLog.UI.Core/Converters/OTTimeTextConverter.cs
Suence/OTLog
0
7058281
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; namespace OTLog.UI.Core.Converters { [ValueConversion(typeof(TimeSpan?), typeof(String))] public class OTTimeTextConverter : IValueConverte...
src/Coddee.Windows/System/Network.cs
Aghyad-Khlefawi/Coddee
13
7058282
<filename>src/Coddee.Windows/System/Network.cs // Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System; using System.Globalization; using System.Net; using System.Net.NetworkInformation; using System.Net.Socke...
Layout Converter/Model/Code.cs
andyld97/Xamarin.Android.LayoutConverter
1
7058283
<gh_stars>1-10 using Layout_Converter.Helper; using System.Collections.Generic; using System.Linq; namespace Layout_Converter.Model { public class Code { public string ViewCode { get; set; } public List<string> ConstraintSets { get; set; } public List<string> Variables { get; set; } ...
InterstellarRiftServerExtender/Modules/Localization.cs
KyuubiYoru/InterstellarRiftServerExtender
0
7058284
<filename>InterstellarRiftServerExtender/Modules/Localization.cs using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Resources; namespace IRSE.Modules { public class Localization { public static string PathFolder = Path.Combine(FolderStructure.IRSEFo...
src/SSRD.IdentityUI.Core.Tests/Mocks/IBaseDAOMock.cs
pedroparmeggianiB2B/admin-ui
58
7058285
using Moq; using SSRD.CommonUtils.Result; using SSRD.CommonUtils.Specifications.Interfaces; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace SSRD.IdentityUI.Core.Tests.Mocks { public class IBaseDAOMock<TEntity> : Mock<IBaseDAO<TEntity>> where TEnti...
dingtalk/csharp/core/alitrip_1_0/Models/BillSettementBtripTrainResponseBody.cs
aliyun/dingtalk-sdk
15
7058286
<reponame>aliyun/dingtalk-sdk // This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Dingtalkalitrip_1_0.Models { public class BillSettementBtripTrainResponseBody : TeaModel { /// <summary> /// ...