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 |
|---|---|---|---|---|
HiLaarIsch.WebApp/App_Start/HiLaarIschSettings.cs | QuantumHive/HiLaarIsch | 2 | 7057443 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using QuantumHive.Core;
namespace HiLaarIsch
{
public class HiLaarischSettings
{
public HiLaarischSettings(
string connectionString,
string sendGridApiKey,
string fromMailAddress,
... |
OneCodeTeam/How to checkin source code with work item associated using TFS API/[C#]-How to checkin source code with work item associated using TFS API/C#/TFSCheckinAssWI/Program.cs | zzgchina888/msdn-code-gallery-microsoft | 2 | 7057444 | <filename>OneCodeTeam/How to checkin source code with work item associated using TFS API/[C#]-How to checkin source code with work item associated using TFS API/C#/TFSCheckinAssWI/Program.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
usin... |
src/DemoSite/DemoSite.Core/Content/Models/Generated/OpayoSettings.generated.cs | Osama-Tahboub1/N3O.Umbraco | 0 | 7057445 | <reponame>Osama-Tahboub1/N3O.Umbraco<filename>src/DemoSite/DemoSite.Core/Content/Models/Generated/OpayoSettings.generated.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Umbraco.ModelsBuilder.Embedded v9.4.2+93badab... |
OOXMLComparer/OOXMLComparer.Test/Drawing/PictureLocksComparerTests.cs | DwarfPorter/OOXMLComparer | 0 | 7057446 | <filename>OOXMLComparer/OOXMLComparer.Test/Drawing/PictureLocksComparerTests.cs
using DocumentFormat.OpenXml.Drawing;
using NUnit.Framework;
using OOXMLComparer.Drawing;
namespace OOXMLComparer.Test
{
[Category("OOXML")]
public class PictureLocksComparerTests
{
[Test]
public void PictureLo... |
AlphaVantage.Net/demo/AlphaVantage.Net.Demo/Demo.Forex.cs | willthiswork89/AlphaVantage.Net | 60 | 7057447 | using System.Threading.Tasks;
using AlphaVantage.Net.Common.Currencies;
using AlphaVantage.Net.Common.Intervals;
using AlphaVantage.Net.Common.Size;
using AlphaVantage.Net.Core.Client;
using AlphaVantage.Net.Forex;
using AlphaVantage.Net.Forex.Client;
namespace AlphaVantage.Net.Demo
{
public partial class Demo
... |
EverythingSharp/EverythingSharp/Everything.cs | Riboe/EverythingSharp | 7 | 7057448 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EverythingSharp.Enums;
using EverythingSharp.Exceptions;
using EverythingSharp.Extensions;
namespace EverythingSharp
{
public class Everything : EverythingBase, IDisposable
{
/// <... |
code/src/CoreTemplateStudio/CoreTemplateStudio.Core/Gen/ProjectInfo.cs | panayot-cankov/CoreTemplateStudio | 71 | 7057449 | <gh_stars>10-100
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
namespace Microsoft.Templates.Core.Gen
{
... |
More.Net/Linq/Concat.cs | fallfromgrace/More.Net | 0 | 7057450 | <filename>More.Net/Linq/Concat.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace More.Net.Linq
{
/// <summary>
///
/// </summary>
public static partial class LinqExtensions
{
/// <summary>
///
... |
Citrine.Core/Extensions/LinqExtension.cs | Xeltica/RealXelticaBot | 1 | 7057451 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Citrine.Core
{
public static class LinqExtension
{
static readonly Random r = new Random();
public static T Random<T>(this IList<T> list, Random r = null) => list.Count == 0 ? default : list[(r ... |
TimeCalculator/Models/AgeCalculator.cs | brandiweekes/CalculatorCode | 1 | 7057452 | <filename>TimeCalculator/Models/AgeCalculator.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CalculatorCode.Models
{
public class AgeCalculator : Calculator
{
new public DateTime InputOne { get; set; }
new public Time... |
FlowerWrapper/Models/Raw/fkapi_event_dungeon.cs | leafvmaple/FlowerKnightViewer | 0 | 7057453 | using System;
namespace FlowerWrapper.Models.Raw
{
//fkapi_event_dungeon event_dungeon;
public class fkapi_event_dungeon
{
public fkapi_masterDungeonList[] masterDungeonList { get; set; }
public fkapi_masterStageList[] masterStageList { get; set; }
public fkapi_masterStageBannerList[] masterStageBannerList { ... |
LudumDare38/Characters/Kamikaze.cs | Phantom-Ignition/LurumDare38 | 2 | 7057454 | <filename>LudumDare38/Characters/Kamikaze.cs
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework.Graphics;
using LudumDare38.Sprites;
using Microsoft.Xna.Framework;
using MonoGame.Extended.Particles;
using LudumDare38.Objects;
using Microsoft.Xna.Framework.Audio;
using LudumDare38.Managers;
... |
Assets/FullSerializer/Testing/RuntimeTests/RuntimeTestRunner.cs | bzwill/fullserializer | 1,019 | 7057456 | <reponame>bzwill/fullserializer<gh_stars>1000+
using System;
using System.Collections.Generic;
using FullSerializer;
using UnityEngine;
using UnityEngine.UI;
public struct TestObject {
public Func<object, object, bool> EqualityComparer;
public Type StorageType;
public object Original;
public string Se... |
Src/Compilers/CSharp/Source/Syntax/SyntaxTriviaList.cs | enginekit/copy_of_roslyn | 6 | 7057458 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Semantics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
using System.Diagnostics;
names... |
NavigationSimulator/BPTT/PolarGrid.cs | hunsteve/RobotNavigation | 1 | 7057459 | <filename>NavigationSimulator/BPTT/PolarGrid.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NavigationSimulator
{
class PolarGrid
{
internal void AddObstacle()
{
throw new NotImplementedException();
... |
LibCpp2IL/MachO/MachOSegmentFlags.cs | T5ive/Cpp2IL-GUI | 0 | 7057460 | using System;
namespace LibCpp2IL.MachO
{
[Flags]
public enum MachOSegmentFlags
{
SG_NONE = 0x0,
SG_HIGHVM = 0x1, // The file contents for this segment are for the high part of the virtual space - push the raw data as far to the end of the segment as possible.
SG_FVMLIB = ... |
code/Web Interface/Front End/ofc/dot-net-library/written-by-xiao-yifang/ofcWebTest/datafile/Pie.aspx.cs | jatanpatel92/NIMS | 1 | 7057461 | <reponame>jatanpatel92/NIMS<gh_stars>1-10
using System;
using System.Collections.Generic;
using OpenFlashChart;
public partial class Pie : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
OpenFlashChart.OpenFlashChart chart = new OpenFlashChart.OpenFlashChart();
char... |
src/Client/OpenServiceBrokerErrorHandler.cs | bacongobbler/OpenServiceBroker | 7 | 7057462 | <gh_stars>1-10
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
using OpenServiceBroker.Errors;
using TypedRest.Errors;
using TypedRest.Serializers;
namespace OpenServiceBroker
{
/// <summary>
/// Handles Open Service Broker error responses.
/// </summary>
... |
ExercisesArrayandListAlgorithms/2. Average Character Delimiter/Program.cs | tanyta78/CSharpAdvanced | 0 | 7057463 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _2.Average_Character_Delimiter
{
class Program
{
static void Main(string[] args)
{
var input = Console.ReadLine().ToCharArray();
int... |
src/Modules/GraphEngine.Client/Trinity.Client/ClientSide/IClientConnectionFactory.cs | erinloy/GraphEngine | 370 | 7057464 | <reponame>erinloy/GraphEngine<gh_stars>100-1000
using System.Threading.Tasks;
using Trinity.Network;
using Trinity.Storage;
namespace Trinity.Client
{
/// <summary>
/// Provides methods for connecting/disconnecting client connections.
/// </summary>
public interface IClientConnectionFactory
{
... |
BLTools Dot Net Std 2.0/Security/Encryption/Symmetric/TPIV.cs | bollylu/BLTools.dns.20 | 0 | 7057465 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace BLTools.Encryption {
public class TPIV {
public byte[] Password;
public byte[] IV;
private const int DEFAULT_KEY_SIZE = 16;
private const... |
src/app/WebValidation/Model/JsonProperty.cs | msalemcode/webvalidate | 0 | 7057466 | <gh_stars>0
namespace CSE.WebValidate.Model
{
public class JsonProperty
{
public string Field { get; set; }
public object Value { get; set; }
public Validation Validation { get; set; }
}
}
|
src/client/Client.cs | ArtOfCode-/Messenger | 2 | 7057467 | <reponame>ArtOfCode-/Messenger<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace MessengerClient
{
/// <summary>
/// The main sending client and UI thread
/// </summary>
class Client
{
... |
Demo/Csharp6/旧/Csharp6_CTP3/Build2014Demo/Csharp5/Point.cs | ufcpp/UfcppSample | 126 | 7057468 | namespace Build2014.Csharp5
{
/// <summary>
/// (X, Y) なクラス。X も Y も immutable に作りたい。
/// その場合、結構煩雑な定型文になってしまう…
/// </summary>
class Point
{
private int _x; // ←ここと
private int _y;
public Point(int x, int y) // ←ここと
{
_x = x; // ←ここと
_y = ... |
src/LeopardToolKit/Office/ServiceCollectionExtension.cs | LeopardToolKit/LeopardToolKit | 1 | 7057469 | using LeopardToolKit.Office;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.Extensions.DependencyInjection
{
public static partial class ServiceCollectionExtension
{
public static IServiceCollection AddN... |
AiSearch/Stats/DepthCounter.cs | rettigcd/AiSearch | 1 | 7057470 | <filename>AiSearch/Stats/DepthCounter.cs
using System.Collections.Generic;
using System.Linq;
using AiSearch.OneSide;
namespace AiSearch {
/// <summary>
/// Tracks the depth of nodes returned by a search iterator.
/// </summary>
public class DepthCounter<T> {
public DepthCounter(){
_depthCounts = new D... |
ESPProvision/ESPProvision/Utils/Extensions.cs | danardelean/ESPProvision | 0 | 7057471 | using System;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace ESPProvision.Utils
{
public static class Extensions
{
public static IDisposable SubOnMainThread<T>(this IObservable<T> observable, Action<T> onAction) =>
observable.Subscribe(x => MainThread.BeginInvokeOnMainThread(() =... |
src/services/traceability/HFX.Traceability.Domain/Models/EndPointOperation.cs | HelioFlux/Heliosphere | 0 | 7057472 | namespace HFX.Traceability.Domain.Models
{
public class EndpointOperation : Operation
{
public int? PriorOperationId { get; set; }
public Operation PriorOperation { get; set; }
public bool TrafficControlEnabled { get; set; }
public EndpointOperation() : base()
{
... |
FlubuCore.Azure/Tasks/Dla/AzureDlaAccountDeleteTask.cs | flubu-core/FlubuCore.Azure | 1 | 7057473 | <filename>FlubuCore.Azure/Tasks/Dla/AzureDlaAccountDeleteTask.cs
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Process;
namespace FlubuCore.Azure.Tasks.Dla
{
public partial class AzureDlaAccountDeleteTask : ExternalProcess... |
PaddleOCRSharp/OCRStructureResult.cs | ITMingliang/OCRDemo | 1 | 7057474 | <reponame>ITMingliang/OCRDemo
using System.Collections.Generic;
namespace PaddleOCRSharp
{
/// <summary>
/// OCR结构化识别结果
/// </summary>
public sealed class OCRStructureResult
{
public OCRStructureResult()
{
Cells = new List<StructureCells>();
TextBlocks = new ... |
Naos.Deployment.Domain/PackageDescriptionWithOverrides.cs | NaosFramework/Naos.Deployment | 12 | 7057475 | <filename>Naos.Deployment.Domain/PackageDescriptionWithOverrides.cs<gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PackageDescriptionWithOverrides.cs" company="Naos Project">
// Copyright (c) Naos Project 20... |
NetrixPackage/Core/Designer/EventDisplay.cs | apircher/netrix | 27 | 7057476 | namespace GuruComponents.Netrix.Designer
{
/// <summary>
/// Controls the behavior of event tab in PropertyGrid.
/// </summary>
public enum EventDisplay
{
/// <summary>
/// Show only events marked with EventVisible attribute.
/// </summary>
EventVisible,
/// <... |
Controle Financeiro Git/frmLogin.cs | Guilherme-Bruschi/CSharp | 0 | 7057478 | 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;
using DAO;
namespace ControleFinanceiro
{
public partial class frmLogin : Form
{
... |
src/PullRequestQuantifier.Abstractions/Exceptions/ThresholdException.cs | Michsior14/PullRequestQuantifier | 23 | 7057479 | <gh_stars>10-100
namespace PullRequestQuantifier.Abstractions.Exceptions
{
using System;
public sealed class ThresholdException : ArgumentException
{
public ThresholdException()
: base()
{
}
public ThresholdException(string message)
: base(message)
... |
src/IFormatter.cs | JTOne123/ZabbixSender.Async | 6 | 7057481 | <reponame>JTOne123/ZabbixSender.Async
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace ZabbixSender.Async
{
/// <summary>
/// An auxiliary interface which abstracts working with Zabbix sender protocol.
/// </summary>
public interface IF... |
Bot.Messenger/Models/Templates/ListTemplate.cs | Be5NzZ/Bot_DotNet | 8 | 7057482 | <reponame>Be5NzZ/Bot_DotNet
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bot.Messenger.Models
{
public class ListTemplate : ElementTemplate
{
protected override TemplateType _TemplateType
{
... |
SetMeta.Tests/StaticResources.cs | floranrv/SetMeta | 0 | 7057483 | <reponame>floranrv/SetMeta
using System.IO;
using System.Reflection;
using System.Text;
namespace SetMeta.Tests
{
public static class StaticResources
{
private const string ResourcePath = "SetMeta.Tests.Files";
public static Stream GetStream(string name)
{
var assembly = A... |
src/MediaStash.Lib/Services/Processing/ICompressionProvider.cs | fit-code/MediaStash | 1 | 7057484 | <filename>src/MediaStash.Lib/Services/Processing/ICompressionProvider.cs
#region License
// Copyright (c) 2017 <EMAIL> (<EMAIL>)
//
// 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... |
LibAPNG/Chunks/Actl.cs | Darcara/LibApng | 5 | 7057485 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Omega.Lib.APNG.Helper;
namespace Omega.Lib.APNG.Chunks
{
public class Actl : APngChunk
{
private readonly uint _numberOfFrames;
private readonly uint _numberOfLoops;
private readonly Mem... |
Snuggle.Core/Options/Game/IUnityGameOptions.cs | yretenai/Equilibrium | 3 | 7057487 | using JetBrains.Annotations;
namespace Snuggle.Core.Options.Game;
[PublicAPI]
public interface IUnityGameOptions {
public int Version { get; set; }
public IUnityGameOptions Migrate();
}
|
SysProcessViewModel/DataChecker.cs | tuoxieyz/fashionDRP | 2 | 7057488 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model.Extension;
using DBAccess;
namespace SysProcessViewModel
{
public class DataChecker
{
private LinqOPEncap _linqOP;
public DataChecker(LinqOPEncap linqOP)
{
_linqOP = linqOP;
... |
OdinMvcCore/OdinAttr/UpdateTimeAttribute.cs | odinsam/OdinPlugs | 1 | 7057489 | using System;
using OdinPlugs.OdinUtils.Utils.OdinTime;
namespace OdinPlugs.OdinMvcCore.OdinAttr
{
public class UpdateTimeAttribute : Attribute
{
public long UpdateTime { get; set; }
public UpdateTimeAttribute()
{
UpdateTime = UnixTimeHelper.GetUnixDateTime();
}
... |
Backend/Libraries/Engine/Logic/ActionHandlers/Setup/SelectRaceActionHandler.cs | Etchelon/gaiaproject | 0 | 7057490 | using System.Collections.Generic;
using System.Linq;
using GaiaProject.Engine.Enums;
using GaiaProject.Engine.Logic.Abstractions;
using GaiaProject.Engine.Logic.Entities.Effects;
using GaiaProject.Engine.Model;
using GaiaProject.Engine.Model.Actions;
namespace GaiaProject.Engine.Logic.ActionHandlers.Setup
{
public c... |
src/Middleware/Diagnostics.Abstractions/src/IDeveloperPageExceptionFilter.cs | chadqueen/AspNetCore | 16 | 7057491 | <filename>src/Middleware/Diagnostics.Abstractions/src/IDeveloperPageExceptionFilter.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.
using System;
using System.Collections.Generic;
using System.Text... |
Source/Tx.Windows/Evtx/EvtxObservable.cs | Reactive-Extensions/Tx | 57 | 7057492 | <reponame>Reactive-Extensions/Tx
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Diagnostics.Eventing.Reader;
using System.Reactive.Linq;
namespace Tx.Windows
{
public class EvtxObservable
{
... |
NinjaSync.Storage.MvxSqlite/MvxSqliteMappingStorage.cs | ninjasync/NinjaTasks | 0 | 7057493 | using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NinjaTools.Sqlite;
using NinjaSync.Model;
using NinjaSync.Model.Journal;
namespace NinjaSync.Storage.MvxSqlite
{
public class MvxSqliteStringMappingStorage : MvxSqliteMappingStorage<StringIdMap, string>,
... |
SubcutaneousTestsPresentation/SubcutaneousTestsPresentation/Features/ViewUsers/Index.cshtml | robdmoore/SubcutaneousTestsPresentation | 3 | 7057494 | <filename>SubcutaneousTestsPresentation/SubcutaneousTestsPresentation/Features/ViewUsers/Index.cshtml
@using AspNet.Mvc.Grid
@model IList<SubcutaneousTestsPresentation.Domain.Users.User>
@{
PageTitle = "View all users";
}
<h1>View all users</h1>
@Html.Grid(Model).Columns(cb =>
{
cb.For(m => m.Per... |
EOLib/PacketHandlers/Chat/PublicChatHandler.cs | Septharoth/EndlessClient | 31 | 7057495 | using System.Collections.Generic;
using AutomaticTypeMapper;
using EOLib.Domain.Character;
using EOLib.Domain.Chat;
using EOLib.Domain.Login;
using EOLib.Domain.Map;
using EOLib.Domain.Notifiers;
using EOLib.Net;
namespace EOLib.PacketHandlers.Chat
{
[AutoMappedType]
public class PublicChatHandler : PlayerCha... |
src/Data/VaccinationPlatform.Data/Migrations/20210715105404_ChangeRelationHospitalImageOneToOne.cs | Penev98/VaccinationPlatform | 0 | 7057497 | <filename>src/Data/VaccinationPlatform.Data/Migrations/20210715105404_ChangeRelationHospitalImageOneToOne.cs
using Microsoft.EntityFrameworkCore.Migrations;
namespace VaccinationPlatform.Data.Migrations
{
public partial class ChangeRelationHospitalImageOneToOne : Migration
{
protected override void Up... |
src/ProtocolGateway.Core/Extensions/TaskExtensions.cs | rana-akash/Protocol-Gateway | 3 | 7057498 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices.ProtocolGateway.Extensions
{
using System;
using System.Threading.Tasks;
public static class TaskExtensions
{
... |
Utilities/Extensions/EnumExtensions.cs | MkazemAkhgary/Midi-Player | 1 | 7057499 | <reponame>MkazemAkhgary/Midi-Player<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
using JetBrains.Annotations;
namespace Utilities.Extensions
{
public static class EnumExtensions
{
/// <summary>
/// Extracts attribute from given enumeration.
///... |
xaml-basics-starting-points/user-interface/PhotoLab/DetailPage.xaml.cs | zylakdawid/z14 | 1 | 7057500 | // ---------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The MIT License (MIT)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files... |
Backend/WebApi-PointMap/Controllers/SessionController.cs | CECS-491A/NHT-pointMap | 0 | 7057501 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using ManagerLayer.AccessControl;
using System.Text;
using DataAccessLayer.Database;
using static ServiceLayer.Services.ExceptionService;
using System.Data.Entity.Infrastructure;... |
REST-SDK/src/Cumulocity.SDK.Client/Rest/API/Measurement/MeasurementCollectionImpl.cs | SoftwareAG/cumulocity-sdk-cs | 0 | 7057502 | <gh_stars>0
using Cumulocity.SDK.Client.Rest.Representation;
using Cumulocity.SDK.Client.Rest.Representation.Measurement;
using System;
namespace Cumulocity.SDK.Client.Rest.API.Measurement
{
public class MeasurementCollectionImpl : PagedCollectionResourceImpl<MeasurementRepresentation, MeasurementCollectionRepresent... |
src/Microsoft.DotNet.Github.IssueLabeler/Models/Predictor.cs | ulisesh/arcade | 1 | 7057503 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Extensions.Logging;
using Microsoft.ML;
using System.Linq;
namespace Microsoft.DotNet.GitHub.IssueL... |
src/InconsistentService.cs | Plasma-Paris/LifetimeConsistencyCheck | 1 | 7057504 | using System;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.Extensions.DependencyInjection
{
public class InconsistentService
{
public Type ServiceType { get; set; }
public ServiceLifetime ServiceLifeTime { get; set; }
public Type CallingServiceType { get; set; }
... |
RabbitMqGateway/Core/Message.cs | evelasco85/MessagingSystemComponents | 1 | 7057505 | namespace RabbitMqGateway.Core
{
public class Message
{
public string Id { get; set; }
public object Body { get; set; }
public string AppSpecific { get; set; }
public string CorrelationId { get; set; }
public byte Priority { get; set; }
public string ReplyTo { ge... |
Scorpio-CSharp-2.0/ScorpioUnityTest/Assets/Scorpio/Exception/ExecutionException.cs | qq576067421/Scorpio-CSharpForCSHotfix | 0 | 7057506 | namespace Scorpio.Exception {
/// <summary> 执行代码抛出异常 </summary>
public class ExecutionException : System.Exception {
public string message;
public ExecutionException(string message) {
this.message = message;
}
public ExecutionException(string message, System.Exception... |
Client/Events/ModApiEvent.cs | Sladernimo/LunaMultiplayer | 0 | 7057508 | // ReSharper disable All
#pragma warning disable IDE1006
namespace LunaClient.Events
{
public class ModApiEvent
{
public static EventData<string, byte[]> onModMessageReceived { get; } = new EventData<string, byte[]>("onModMessageReceived");
}
}
|
tests/Foundatio.Tests/Utility/TestUdpListener.cs | exceptionless/Foundation | 1 | 7057509 | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Foundatio.Tests.Utility {
public class TestUdpListener : IDisposable {
private readonly List<str... |
3-Business/2-Core/lm.Comol.Core.DomainModel/Notification/Domain/dto/dtoModuleNotificationMessage.cs | EdutechSRL/Adevico | 1 | 7057510 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Mail;
using lm.Comol.Core.DomainModel;
using System.Runtime.Serialization;
namespace lm.Comol.Core.Notification.Domain
{
[Serializable,DataContract]
public class dtoModuleNotificationMessage ... |
backend/test/Lern.UnitTests/Core/Utils/PasswordUtilityTest.cs | MRmlik12/lern | 0 | 7057511 | <filename>backend/test/Lern.UnitTests/Core/Utils/PasswordUtilityTest.cs
using Lern.Core.Utils;
using Xunit;
namespace Lern.UnitTests.Core.Utils
{
public class PasswordUtilityTest
{
private const string PlainPassword = "<PASSWORD>";
[Fact]
public void TestPasswordHashing_ChecksDecrypted... |
src/Tesseract/ScewSweep.cs | AIBrain/tesseract | 0 | 7057512 | <gh_stars>0
namespace Tesseract {
/// <summary>
/// Represents the parameters for a sweep search used by scew algorithms.
/// </summary>
public struct ScewSweep {
public static ScewSweep Default = new ScewSweep( DefaultReduction, DefaultRange, DefaultDelta );
#region Constants... |
tests/Owin.Webdav.Test/OptionsTest.cs | soukoku/Soukoku.Owin.Files | 1 | 7057513 | <reponame>soukoku/Soukoku.Owin.Files
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Owin.Testing;
using System.Net.Http;
using System.Threading.Tasks;
using Soukoku.Owin.Webdav;
namespace Owin.Webdav.Test
{
[TestClass]
public class OptionsTest
{
[TestMethod]
... |
src/LibHac/Fs/Impl/DirectoryServiceObjectAdapter.cs | Xpl0itR/LibHac | 0 | 7057514 | <gh_stars>0
using System;
using System.Runtime.InteropServices;
using LibHac.Sf;
using IDirectory = LibHac.Fs.Fsa.IDirectory;
using IDirectorySf = LibHac.FsSrv.Sf.IDirectory;
namespace LibHac.Fs.Impl
{
/// <summary>
/// An adapter for using an <see cref="IDirectorySf"/> service object as an <see cref... |
code/PublishToEmbeddedSocial/EmbeddedSocial/Stop.cs | microsoft/EmbeddedSocial-SyncService-for-OBA | 2 | 7057515 | <filename>code/PublishToEmbeddedSocial/EmbeddedSocial/Stop.cs
// <copyright file="Stop.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace OBAService.PublishToEmbeddedSocial
{
using System;
using System.Threading.Tasks;
using OBAService.Storage.Model;
u... |
FileStoreApp/FileStoreAdmin/Source/Extensions/DataExtension.cs | mustafasacli/FileStoreAppRepo | 0 | 7057516 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FileStoreAdmin.Source.Extensions
{
static class DataExtension
{
/// <summary>
/// Copies just DataColumn List.
/// </summary>
/// <... |
src/Docker.DotNet/Models/SwarmInitParameters.Generated.cs | ewisted/Docker.DotNet | 0 | 7057517 | using System.Collections.Generic;
#if !NETSTANDARD2_1
using System.Runtime.Serialization;
#else
using System.Text.Json.Serialization;
#endif
namespace Docker.DotNet.Models
{
#if !NETSTANDARD2_1
[DataContract]
#endif
public class SwarmInitParameters // (swarm.InitRequest)
{
#if NETSTANDARD2_1
[JsonP... |
library/PSModuleDevelopment/PSModuleDevelopment/Template/TemplateItemFile.cs | ZanattaMichael/PSModuleDevelopment | 73 | 7057518 | <reponame>ZanattaMichael/PSModuleDevelopment
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PSModuleDevelopment.Template
{
/// <summary>
/// Describes a file that is part of a template
/// </summary>
[Serializable]
publ... |
netcoremicroservices/Gooios.ActivityService/Events/GrouponParticipatedNotificationHandler.cs | hccoo/gooios | 5 | 7057519 | <gh_stars>1-10
using Gooios.Infrastructure.Events;
using Gooios.ActivityService.Domains.Events;
namespace Gooios.ActivityService.Events
{
[HandlesAsynchronously]
public class GrouponParticipatedNotificationHandler : IEventHandler<GrouponParticipatedEvent>
{
public GrouponParticipatedNotificationHa... |
src/SDK/SDK/MiddlewaresExtends.cs | gaufung/Infrastructures | 18 | 7057520 | <gh_stars>10-100
using Aiursoft.DocGenerator.Attributes;
using Aiursoft.DocGenerator.Services;
using Aiursoft.Handler.Attributes;
using Aiursoft.Handler.Models;
using Aiursoft.SDK.Attributes;
using Aiursoft.SDK.Middlewares;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore... |
samples/MultipleAccountExample/MultipleHelper.cs | Anushiravani/InstagramApiSharp | 679 | 7057521 | using InstagramApiSharp.API;
using InstagramApiSharp.API.Builder;
using InstagramApiSharp.Classes;
using InstagramApiSharp.Classes.SessionHandlers;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... |
Radia_0.9.1/Assets/Scripts/SelectionController.cs | zoebear/Radia | 24 | 7057522 | /*!
@file SelectionController.cs
@author <NAME>. <www.zoehardistydesign.com>
<https://github.com/zoebear/Radia/SelectionController.cs>
@date June 2015
@version 0.9.1
@section LICENSE
The MIT License (MIT)
Copyright (c) 2015 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of ... |
AutoReservation.BusinessLayer.Testing/ReservationAvailabilityTest.cs | hsrdev/AutoReservation | 1 | 7057523 | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using AutoReservation.Dal.Entities;
using AutoReservation.TestEnvironment;
using Xunit;
namespace AutoReservation.BusinessLayer.Testing
{
public class ReservationAvailabilityTest
: TestBase
{
private readonly ReservationMan... |
MainForm.cs | lgengy/ProgrammeFrameCLI | 1 | 7057524 | <filename>MainForm.cs
/********************************************************************
*
* 类 名:MainForm
*
* 作 者:lgengy
*
* 描 述:主界面函数。
*
* 待 办:1、把数据库模块加到框架中,但是不进行追踪;
*
********************************************************************/
using Microsoft.WindowsAPICodePack.Dialogs;
using ProgrammeFrameCLI.Com... |
Frogger/Frogger/Enemies/Enemy.cs | DareDev1l/Frogger | 0 | 7057525 | <filename>Frogger/Frogger/Enemies/Enemy.cs
namespace Frogger.Enemies
{
using System;
using System.IO;
using System.Media;
using System.Text;
public class Enemy
{
public static string fullPath = Path.GetFullPath(@"..\..\crash.wav");
SoundPlayer crashSound = new SoundPlayer(fullP... |
TCP-CSharp/TCPListene.cs | geovens/Icasye | 1 | 7057526 | // TCP-CSharp - a C# class library for TCP affairs, including client/socket and server/listener manager. by <NAME>
using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.IO;
namespace TCP_CSharp
{
internal class TCPL... |
CSharp.oDesk.Analyze/Helpers/JsonValueHelper.cs | MalyutinS/CSharp.oDesk | 0 | 7057527 | using System;
using System.Globalization;
using Spring.Json;
namespace CSharp.oDesk.Analyze.Helpers
{
public static class JsonValueHelper
{
public static double ToDouble(this JsonValue value)
{
if (value == null || value.IsNull || string.IsNullOrEmpty(ToStringWithoutQuote... |
src/Oracle/Packets/Entry/BaselineEntry.cs | AeddGinvael/OracleReplay.Parser | 2 | 7057528 | using System;
using System.Collections.Generic;
using System.Text;
using Google.Protobuf;
namespace Oracle.Packets.Entry
{
public class BaselineEntry
{
public ByteString RawBaseLine {get; set;}
public object[] BaseLine { get; set; }
public BaselineEntry(ByteString raw)
{
... |
CSharpExcercises/ProductCatalog/ProductCatalog.Library/Product.cs | 2006-jun15-net/noah-code | 0 | 7057529 | <filename>CSharpExcercises/ProductCatalog/ProductCatalog.Library/Product.cs
using System;
namespace ProductCatalog.Library
{
public class Product
{
private double _price;
// an "auto-implemented property" or just "auto-property"
public double Price
{
get => _price;... |
tba.Accounts/Configuration/AccountsConfigurationSection.cs | toddbadams/accounts-microservice | 2 | 7057530 | using System.Configuration;
namespace tba.Accounts.Configuration
{
public class AccountsConfigurationSection : ConfigurationSection
{
/// <summary>
/// URL of the accounts microservice
/// </summary>
[ConfigurationProperty("ServiceUrl", IsRequired = true)]
public string... |
F_Sotr.cs | Bulatik-707/Home_Appliance_Store | 1 | 7057531 | using System;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
namespace Home_Appliance_Store
{
public partial class F_Sotr : Form
{
public F_Sotr() // Форма Сотрудники
{
InitializeComponent();
}
BindingSource bs_Dolzn ... |
Tests/Issues/Issue10.cs | simonmatt/booksleeve | 0 | 7057532 | <gh_stars>0
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tests.Issues
{
[TestFixture]
public class Issue10
{
[Test]
public void Execute()
{
using (var ... |
Runes.Core.Test/Collections/Immutable/StreamTest.cs | hdkruswork/runes-dotnet | 0 | 7057533 | <filename>Runes.Core.Test/Collections/Immutable/StreamTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Runes.Collections.Immutable;
namespace Runes.Core.Test.Collections.Immutable
{
[TestClass]
public class StreamTest
{
[TestMethod]
public void TestFibonacci()
{
... |
trunk/STG/Assets/Scripts/Character/Player/SpecialMode/BombAllShotRemove.cs | hiroki-kitahara/Shoooooooooooooting-kitahara | 2 | 7057534 | /*===========================================================================*/
/*
* * FileName : BombAllShotRemove.cs
*
* * Description : .
*
* * Author : Hiroki_Kitahara.
*/
/*===========================================================================*/
using UnityEngine;
using System.Collections... |
AspNet/Breeze.ContextProvider.NH/NHEagerFetch.cs | gmareater/breeze.server.net | 56 | 7057535 | <filename>AspNet/Breeze.ContextProvider.NH/NHEagerFetch.cs<gh_stars>10-100
using NHibernate;
using NHibernate.Linq;
using NHibernate.Metadata;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Breeze.ContextProvider.NH
{
/// <summary>
/// Converts OData-styl... |
src/Web.Models/ExternalMovies/MovieSearchResultModel.cs | DMEvans/CrimsonSpace.MediaLibrary | 0 | 7057536 | //-----------------------------------------------------------------------
// <copyright file="MovieSearchResultModel.cs" company="Crimson Space Media">
// Copyright Crimson Space Media
// </copyright>
//-----------------------------------------------------------------------
namespace Web.Models.ExternalMovies
{
... |
BigNumWizardApp/BigNumWizardShared/Z7.cs | NikolaySavenko/bignum-wizard | 0 | 7057537 | <filename>BigNumWizardApp/BigNumWizardShared/Z7.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace BigNumWizardShared
{
public class Z7
{
public static BigNum SUB_ZZ_Z(BigNum A, BigNum B) //// Z-7 Вычитание целых чисел. <NAME> 0305
{
BigNum abs1;
... |
Rick.RepositoryExpress.SysWebApi/Controllers/PackageExportController.cs | CodeFish5396/Rick.RepositoryExpress | 1 | 7057538 | <reponame>CodeFish5396/Rick.RepositoryExpress<gh_stars>1-10
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Rick.RepositoryExpress.SysWebApi.Models;
using Rick.Rep... |
Source/Embeddings.Processing/IEmbeddingProcessorFactory.cs | dolittle/Runtime | 12 | 7057539 | <reponame>dolittle/Runtime
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Dolittle.Runtime.ApplicationModel;
using Dolittle.Runtime.Embeddings.Store;
using Dolittle.Runtime.Projections.Store.State;
namespace D... |
ModComponent/Mapper/BehaviourMappers/BurnableMapper.cs | HAHAYOUDEAD/ModComponent | 6 | 7057540 | <reponame>HAHAYOUDEAD/ModComponent<gh_stars>1-10
using ModComponent.API.Behaviours;
using ModComponent.API.Components;
using ModComponent.Utils;
using UnityEngine;
namespace ModComponent.Mapper.BehaviourMappers
{
internal static class BurnableMapper
{
internal static void Configure(ModBaseComponent modComponent) ... |
source/Data/GenshinDataTableReader.cs | zhangeric1994/GenshinSim | 1 | 7057541 | using STK.DataTable;
using System;
namespace GenshinSim
{
public sealed class GenshinDataTableReader : DataTableReader
{
public static readonly GenshinDataTableReader Instance = new GenshinDataTableReader();
static GenshinDataTableReader() { }
private GenshinDataTableReader() { }
... |
VehicleRepair/ServiceAdd.aspx.cs | Tom2Filip/.NetProjects | 0 | 7057542 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VehicleRepair.DAL;
using VehicleRepair.BLL;
namespace VehicleRepair
{
public partial class ServiceAdd : System.Web.UI.Page
{
protected void Page_... |
src/DeveelDb.Core/Data/Sql/Statements/GoToStatement.cs | deveel/deveeldb.core | 12 | 7057543 | <reponame>deveel/deveeldb.core<gh_stars>10-100
//
// Copyright 2010-2017 Deveel
//
// 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/L... |
LeetCode.Test/0551-0600/0557-ReverseWordsInAStringIII-Test.cs | BigEggStudy/LeetCode-CS | 16 | 7057544 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Test
{
[TestClass]
public class _0557_ReverseWordsInAStringIII_Test
{
[TestMethod]
public void ReverseWords_1()
{
var solution = new _0557_ReverseWordsInAStringIII();
var result = solution... |
src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.CodeRefactoring.Testing/EnsureNoWorkspacesDesktopReferenceB.cs | Youssef1313/roslyn-sdk | 381 | 7057545 | // <auto-generated/>
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if DEBUG
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// This class will fail to compile (CS0419 Ambiguous reference in c... |
src/CAPNet.Tests/ValidatorTests/Required/Alert/Area/CeilingExistenceValidatorTests.cs | jklnz/cap-net | 6 | 7057546 | <gh_stars>1-10
using CAPNet.Models;
using Xunit;
namespace CAPNet
{
public class CeilingExistenceValidatorTests
{
[Fact]
public void AreaWithCeilingAndWitAltitudeNullIsInvalid()
{
var area = new Area();
area.Ceiling = 123;
area.Altitude = null;
... |
Essgee/MainForm.Designer.cs | xdanieldzd/Essgee | 9 | 7057547 | <reponame>xdanieldzd/Essgee
namespace Essgee
{
partial class MainForm
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Vom Windows Form-Designer generierter Code
/// <summary>
/// Erforderliche Methode für die Desig... |
AntiFormTrainer/UI/InformationWindow.xaml.cs | Rikux3/KHMemoryTools | 0 | 7057548 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... |
06_PhotoSharingApplication - Routing/PhotoSharingApplication/Views/Shared/_PhotoGallery.cshtml | ptylenda/ASPNET-MVC4-Demo | 0 | 7057549 | @model List<PhotoSharingApplication.Models.Photo>
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title></title>
</head>
<body>
<div>
@foreach (var photo in Model)
{
<h3>@Html.DisplayFor(x => photo.Title)</h3>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.