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 |
|---|---|---|---|---|
source/Core/CreativeCoders.Core/Caching/CachedValue.cs | CreativeCodersTeam/Core | 0 | 7062009 | using System;
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace CreativeCoders.Core.Caching
{
[PublicAPI]
public class CachedValue<TKey, TValue> : ICachedValue<TValue>
{
private readonly ICache<TKey, TValue> _cache;
private readonly TKey _key;
p... |
Repository/RoleRepository.cs | parameshg/mdw | 0 | 7062011 | using MDW.Entity;
using MDW.Repository.Interfaces;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MDW.Repository
{
public class RoleRepository : RepositoryBase, IRoleRepository
{
public async Task<List<Role>> GetRoles()
{
var result = new List<... |
src/Mapex.Tests/Services/TypeConverterTests.cs | alexander-forbes/mapex | 0 | 7062012 | <gh_stars>0
using System;
using System.Dynamic;
using Mapex.Services;
using Mapex.Specifications;
using NUnit.Framework;
namespace Mapex.Tests.Services
{
[TestFixture]
public class When_calling_apply_on_type_converter
{
[Test]
public void It_should_not_do_anything_if_a_convert_specification_is_not_present()
... |
sbid/_VM/SidePanel/CTLTree_P_VM.cs | LauZyHou/sbid-ava | 11 | 7062013 | using ReactiveUI;
using sbid._M;
using System;
using System.Collections.Generic;
using System.Text;
namespace sbid._VM
{
public class CTLTree_P_VM : SidePanel_VM
{
public static int _id = 0;
private Connector_VM activeConnector;
private Formula cTLFormula = new Formula("");
pri... |
Foundry.Core/DelegateProvider.cs | Shirasho/Foundry | 0 | 7062014 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
namespace Foundry
{
/// <summary>
/// A class that contains cached no-op delegates.
/// </summary>
public ... |
Core/WidgetController.cs | cushmily/wUI | 0 | 7062015 | <reponame>cushmily/wUI
namespace wLib.UIStack
{
public abstract class WidgetController<TWidget> : IWidgetController where TWidget : Widget
{
protected TWidget View { get; private set; }
protected IUIManager Manager { get; private set; }
protected UIMessage Message { get; private set; }... |
src/dotnet/Micky5991.Samp.Net.Commands/Attributes/CommandAttribute.cs | Micky5991/samp-dotnet | 0 | 7062016 | <filename>src/dotnet/Micky5991.Samp.Net.Commands/Attributes/CommandAttribute.cs
using System;
using Dawn;
using JetBrains.Annotations;
namespace Micky5991.Samp.Net.Commands.Attributes
{
/// <summary>
/// Attribute which defines how the command is called and how its used.
/// </summary>
[MeansImplicitUs... |
Assets/Model/Component/GlobalConfigComponent.cs | MrHanKing/UnityHotfixDemoAddressableAndILRuntime | 2 | 7062017 | using System;
using System.IO;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.Networking;
namespace ETModel
{
public class GlobalConfigType
{
/// <summary>
/// 版本号
/// </summary>
public string version { get; set; }
/// <summary>
/// 热更地址
... |
DanSharp.XmlViewer/DanSharp.XmlViewer/Helpers/XsdValidationHelper.cs | probertdaniel/dansharpxmlviewer | 6 | 7062018 | ////////////////////////////////////////////////////////
/// File: XsdValidationHelper.cs
/// Author: <NAME>
/// Date: 27-07-2008
/// Version: 1.0
////////////////////////////////////////////////////////
namespace DanSharp.XmlViewer.Helpers
{
#region Using Statements
using System;
using System.Collections.... |
QuickTest/Program.cs | goblinfactory/progress-bar | 61 | 7062019 | using Konsole;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Diagnostics;
namespace QuickTest
{
class Program
{
private static string[] Files = new[] { "12520437.cpx", "12520850.cpx", "@AudioToastIcon.png", "@Enrol... |
Assets/Scripts/Ai Scripts/AIBehavior/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.cs | BugSlayer123/Flight-Sim-Repo | 7 | 7062020 | <reponame>BugSlayer123/Flight-Sim-Repo
using UnityEngine;
// Require a character controller to be attached to the same game object
[RequireComponent(typeof(CharacterController))]
public class ThirdPersonController : MonoBehaviour
{
public AnimationClip idleAnimation;
public AnimationClip walkAnimation;
public Anima... |
ljepotaservis/ljepotaservis.Infrastructure/DataTransferObjects/StoreDtos/EmployeeDto.cs | AnteVuletic/ljepotaservis | 1 | 7062021 | <filename>ljepotaservis/ljepotaservis.Infrastructure/DataTransferObjects/StoreDtos/EmployeeDto.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using ljepotaservis.Data.Entities.Models;
using ljepotaservis.Infrastructure.Helpers;
using Newtonsoft.Json.Linq;
namespace ljepotaservis.Infrastructure.DataT... |
CrabZinc/CrabZinc.Data/Mappings/PostMap.cs | mwcaisse/blog-platform | 0 | 7062022 | <reponame>mwcaisse/blog-platform
using System;
using System.Collections.Generic;
using System.Text;
using CrabZinc.Common.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OwlTin.Common.Data;
namespace CrabZinc.Data.Mappings
{
public class PostMap : IEntit... |
Assets/PocketPlanesScript.cs | eXish/ktane-pocketplanes | 0 | 7062023 | <reponame>eXish/ktane-pocketplanes
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KModkit;
using System.Text.RegularExpressions;
using System;
public class PocketPlanesScript : MonoBehaviour {
public KMAudio audio;
public KMBombInfo bomb;
public KM... |
src/Tests.Rrs.ObjectCompare/Factories/StringListClassFactory.cs | rrs/ObjectCompare | 0 | 7062025 | using System.Collections.Generic;
using Tests.Rrs.ObjectCompare.Classes;
namespace Tests.Rrs.ObjectCompare.Factories
{
class StringListClassFactory : IObjectFactory<StringListClass>
{
public StringListClass New() => new StringListClass
{
ListProperty = new List<string>
... |
ChatApp/Views/Home/ChatView.cshtml | kysu1313/ChatWebApp | 1 | 7062027 | @page
<div class="container">
<div class="row"> </div>
<div class="row">
<div class="col-2">User Name: </div>
<div class="col-4"><input type="text" id="userName" /></div>
</div>
<div class="row">
<div class="col-2">Message</div>
<div class="col-4"><input type=... |
Assets/MasterServerToolkit/MasterServer/Scripts/Mst/EncryptionData.cs | rafaeldolfe/MasterServerChess | 0 | 7062028 | <reponame>rafaeldolfe/MasterServerChess
using System.Security.Cryptography;
namespace MasterServerToolkit.MasterServer
{
public partial class MstSecurity
{
private class EncryptionData
{
public string ClientAesKey { get; set; }
public RSACryptoServiceProvider ClientsCsp... |
src/ProductionService/Core/Application/Common/ProductDto.cs | cloudnative-netcore/modernstore | 30 | 7062029 | <gh_stars>10-100
namespace ProductionService.Core.Application.Common
{
public class ProductDto
{
public int Id { get; set; }
public string Name { get; set; }
public BrandDto Brand { get; set; }
public CategoryDto Category { get; set; }
public int ModelYear { get; set; }
... |
Bonrix App Store/Store/Home.aspx.cs | bonrix/AndroidAppStore | 7 | 7062030 | <filename>Bonrix App Store/Store/Home.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Bonrix_App_Store.Class;
using System.Configuration;
using System.IO;
using System.Web.UI.HtmlControls;
using Newtonsoft.Json.Lin... |
ProcessingSteps/Index/IndexGrantDetailsAccountUsage.cs | Snowflake-Labs/sfgrantreport | 37 | 7062031 | <gh_stars>10-100
// Copyright (c) 2021 Snowflake Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless requi... |
src/DatDigger/Sections/Sound/SscfSection.cs | nohbdy/ffxivmodelviewer | 27 | 7062032 | using System;
using System.Collections.Generic;
namespace DatDigger.Sections.Sound
{
public class SscfSection : SectionBase
{
private long startHeaderOffset;
public SscfHeader SscfHeader { get; private set; }
public List<int> VoiceOffsets { get; protected set; }
public overri... |
Assets/AnionScript2.cs | lbhs/SolubilityTester | 0 | 7062033 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AnionScript2 : MonoBehaviour
{
public int AnionIndex;
public float netCharge;
// Start is called before the first frame update
void Start()
{
netCharge = GetComponent<MobileIonScript>().charge;
... |
BS.API/Data/IBSRepository.cs | vladosfi/Angular-BS | 0 | 7062034 | <reponame>vladosfi/Angular-BS
using System.Collections.Generic;
using System.Threading.Tasks;
using BS.API.Helpers;
using BS.API.Models;
namespace BS.API.Data
{
public interface IBSRepository
{
void Add<T>(T entity) where T : class;
void Delete<T>(T entity) where T : class;
Task<bool>... |
Content/Script/App/MessageIcon.cs | Neriok/RC | 0 | 7062035 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rc.App
{
public enum MessageIcon
{
None = 0,
Warning = 1,
Information = 2,
Critical = 3
}
}
|
Ssz.Xi.Client/Internal/Context/XiContextWrites.cs | ru-petrovi4/Ssz.Utils | 1 | 7062036 | <reponame>ru-petrovi4/Ssz.Utils
using Ssz.Utils;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xi.Contracts;
using Xi.Contracts.Data;
namespace Ssz.Xi.Client.Internal.Context
{
internal partial class XiContext
{
#region public functions
/// <summary>
... |
Assets/Scripts/Game/Ghost/Record.cs | vthem/PolyRace | 3 | 7062037 | using System;
using System.Collections.Generic;
namespace Game.Ghost
{
[System.Serializable]
public class SerializableRecord
{
public List<byte[]> _frames;
public byte[] _properties;
public string _framePropertyTypeName;
public int _endRaceType;
}
public class Record
{
private readonly List<Frame> _fr... |
GameSpace/Views/Team/Edit.cshtml | Simeon-Yankov/GameSpace | 1 | 7062038 | <filename>GameSpace/Views/Team/Edit.cshtml
@model EditTeamFromModel
@{
ViewData["Title"] = "Edit Team";
}
<div class="row">
<div class="col-sm-12 offset-lg-2 col-lg-8 offset-xl-3 col-xl-6">
<h2 class="heading-margin text-center">Edit Team</h2>
<form method="post">
<div class="for... |
src/RegisterApp/NDDDSample.RegisterApp/Views/MessageBoxCreator.cs | lorencin/ndddsample_copy | 15 | 7062039 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NDDDSample.RegisterApp.Views
{
using System.Windows;
public class MessageBoxCreator : IMessageBoxCreator
{
public void ShowMessageBox(string title, string message)
{
Me... |
Catalogue.Service/IAdministratorService.cs | n3v3r94/Catalogue | 0 | 7062040 | <reponame>n3v3r94/Catalogue
namespace Catalogue.Service
{
using Catalogue.Models.EntityModels;
using Catalogue.Models.ViewModels;
using System.Collections.Generic;
public interface IAdministratorService
{
IEnumerable<Product> GetAllProduct();
IEnumerable<Category> GetAllCategorie... |
TestClient/Program.cs | umby24/libMC.NET | 6 | 7062041 | <filename>TestClient/Program.cs<gh_stars>1-10
using System;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using libMC.NET.Client;
namespace TestClient {
class Program {
static void Main(string[] args) {
var MinecraftServer = new MinecraftClient(args[0], int.Parse(args[1]), "US... |
src/Microsoft.Health.Dicom.Core/Serialization/JsonGuidConverter.cs | rohankhera/dicom-server | 205 | 7062042 | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
Backend/MyE.Api/Controllers/MedicalEquipmentController.cs | ScueroInc/My-E | 0 | 7062043 | <reponame>ScueroInc/My-E
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using MyE.Service;
using MyE.Entity;
namespace MyE.Api.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class MedicalEquipmentController : ControllerBase
{
private IMedicalEquipmentServ... |
src/Fixie/Internal/RedirectedConsole.cs | Meberem/fixie | 0 | 7062044 | namespace Fixie.Internal
{
using System;
using System.IO;
class RedirectedConsole : IDisposable
{
readonly TextWriter outBefore;
readonly TextWriter errBefore;
readonly StringWriter console;
public RedirectedConsole()
{
console = new StringWriter();... |
WaterMeterReader/IAnalysisResult.cs | essenius/WaterMeterReader | 0 | 7062045 | // Copyright 2021 <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 required by applicable law or agreed t... |
messages/csharp/src/Deltix.Timebase.Messages/EPAM.Deltix.Timebase.Messages.Schema/BinaryDataType.cs | epam/TimeBaseCommons | 1 | 7062046 | /*
Copyright 2021 EPAM Systems, Inc
See the NOTICE file distributed with this work for additional information
regarding copyright ownership. 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 a... |
Assets/Scripts/Game/Puzzles/Zorb.cs | Bennef/BIP | 0 | 7062047 | <gh_stars>0
using UnityEngine;
namespace Scripts.Game.Puzzles
{
public class Zorb : MonoBehaviour
{
private AudioSource _aSrc;
public AudioClip boing1, boing2, boing3;
float randomNumber;
// Use this for initialization
void Start() => _aSrc = GetComponent<AudioSource>(... |
CommandRunnerDemo/CommandTemplate.cs | simonjaeger/commandrunner-demo | 0 | 7062048 | <reponame>simonjaeger/commandrunner-demo<filename>CommandRunnerDemo/CommandTemplate.cs
using Serilog;
using System;
using System.IO;
using System.Linq;
using System.Text;
namespace CommandRunnerDemo
{
public static class CommandTemplate
{
private const string DefaultTemplateFilePath = "DefaultTemplate... |
Uv2ray/Uv2ray.Core/Models/Protocol.cs | AngelBeats-Kanade/v2rayU | 0 | 7062049 | using System;
using System.Collections.Generic;
using System.Text;
namespace Uv2ray.Core.Models
{
public class BlackHoleOutBoundConfiguration
{
public Response Response { get; set; }
}
public class BlackHole
{
public BlackHoleOutBoundConfiguration OutBoundConfiguration { get; set;... |
OpenServicesFx/FrameworkPCL.Reference/EmptyStatusNotificationService.cs | catalintomescu/OpenFx | 0 | 7062050 | <reponame>catalintomescu/OpenFx<gh_stars>0
namespace CTOnline.OpenServicesFx.Reference
{
public class EmptyStatusNotificationService : IStatusNotificationService
{
public void SendNotification(string level, string message, dynamic context, string callerFileName, string callerMember)
{ ... |
street/Program.cs | takkii/Street | 1 | 7062051 | using System;
using System.Threading;
namespace street
{
public class ClassWithDelegate
{
public delegate int DelegateThatReturnsInt();
public DelegateThatReturnsInt TheDelegate;
public void Run()
{
for (;;)
{
Thread.Sleep(500);
... |
src/Data/FitnessBuddy.Data/Seeding/UsersSeeder.cs | beshev/FitnessBuddy | 4 | 7062052 | <reponame>beshev/FitnessBuddy
namespace FitnessBuddy.Data.Seeding
{
using System;
using System.Linq;
using System.Threading.Tasks;
using FitnessBuddy.Common;
using FitnessBuddy.Data.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
public cla... |
src/IxMilia.Lisp/LispReplResult.cs | ixmilia/lisp | 1 | 7062053 | <reponame>ixmilia/lisp<gh_stars>1-10
namespace IxMilia.Lisp
{
public class LispReplResult
{
public LispExecutionState ExecutionState { get; }
public int ExpressionDepth { get; }
public LispObject LastResult => ExecutionState?.LastResult;
public LispReplResult(LispExecutionStat... |
SkeddlySDK/Constants/Ec2InstanceIdentificationMethods.cs | eleven41/skeddly-sdk-net | 1 | 7062054 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Skeddly.Constants
{
public static class Ec2InstanceIdentificationMethods
{
public const string AllInstances = "all-instances";
public const string ByResourceTag = "by-resource-tag";
pu... |
Reactors/ReactorBucketFacade.cs | RoyalVeterinaryCollege/EventSaucing | 1 | 7062055 | using Akka.Actor;
using Akka.Cluster.Tools.PublishSubscribe;
using EventSaucing.Reactors.Messages;
namespace EventSaucing.Reactors {
/// <summary>
/// A convenience service which lets you easily publish reactor messages
/// </summary>
public interface IReactorBucketFacade {
void Tell(ArticlePu... |
src/System.Xml.ReaderWriter/tests/XmlReader/ReadContentAs/ReadAsLongAttributeTests.cs | shana/corefx | 0 | 7062056 | <filename>src/System.Xml.ReaderWriter/tests/XmlReader/ReadContentAs/ReadAsLongAttributeTests.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
using System;
using System.Xml;
namespace XMLTests.ReaderW... |
Assets/Plugins/GameCreator/Characters/Actions/ActionCharacterDash.cs | SK0P3iN/Rapid-Prototyping-Unity-Game | 2 | 7062057 | <reponame>SK0P3iN/Rapid-Prototyping-Unity-Game
namespace GameCreator.Characters
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using GameCreator.Core;
using GameCreator.Characters;
using GameCreator.Variables;
#if UNITY_EDITOR
using U... |
TournamentTracker/TrackerLibrary/DataAccess/TextConnectorProccessor.cs | JoyfulReaper/CSharp-Mini-Projects | 0 | 7062058 | using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.IO;
using TrackerLibrary.Models;
namespace TrackerLibrary.DataAccess.TextHelpers
{
public static class TextConnectorProccessor
{
/// <summary>
/// Get the full path for the given file
/// </su... |
CRUSDL/RespositoryCloud.cs | 211004-Reston-NET/Carvell_Wilkins-P1 | 0 | 7062059 | using System.Collections.Generic;
using Model = CRUSModels;
using CRUSDL;
using CRUSModels;
using System.Linq;
namespace CRUSDL
{
public class RepositoryCloud : IRepository
{
private ClothesRUSdemoContext _context;
public RepositoryCloud(ClothesRUSdemoContext p_context)
{
_c... |
src/product/ServiceProvider/Sms/Microsoft.Azure.EngagementFabric.SmsProvider/Model/SignatureEx.cs | msfrankchen/azure-cef | 4 | 7062060 | // <copyright file="SignatureEx.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.// Licensed under the MIT license.
// </copyright>
using Newtonsoft.Json;
namespace Microsoft.Azure.EngagementFabric.SmsProvider.Model
{
public class SignatureEx : Signature
{
public SignatureE... |
clients/keto/dotnet/src/Ory.Keto.Client.Test/Model/KetoInlineResponse500Tests.cs | UkonnRa/sdk | 0 | 7062061 | /*
* ORY Keto
*
* Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.
*
* The version of the OpenAPI document: v0.0.0-alpha.46
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-genera... |
src/LLL.DurableTask.EFCore/Configuration/Converters/UtcDateTimeConverter.cs | lucaslorentz/durabletask-extensions | 8 | 7062062 | <reponame>lucaslorentz/durabletask-extensions
using System;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace LLL.DurableTask.EFCore.Configuration.Converters
{
public class UtcDateTimeConverter : ValueConverter<DateTime, DateTime>
{
public UtcDateTim... |
src/CShap2JSAnalysis/Gennertor.cs | alllucky1996/AnkhSVN2019 | 0 | 7062063 | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CShap2JSAnalysis
{
public /*internal*/ class Gennertor
{
public string content;
public AnaniticsResult Res... |
Zergatul/Network/Http/Http2Client.cs | Zergatul/ZergatulLib | 5 | 7062064 | <reponame>Zergatul/ZergatulLib<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using Zergatul.IO;
using Zergatul.Network.Http.Frames;
using Zergatul.Network.Tls;
namespace Zergatul.Network.Http
{
// TODO
// implement settings timeout https://tools.ietf.org/html/rfc7540#section-6... |
trunk/src/LythumOSL.Reporting.CR/ReportCR.cs | Lythum/LythumOSL.NET | 0 | 7062065 | <filename>trunk/src/LythumOSL.Reporting.CR/ReportCR.cs<gh_stars>0
using System;
using System.Data;
using System.Diagnostics;
using System.Collections.Generic;
using System.Text;
using CrystalDecisions.CrystalReports.Engine;
using LythumOSL.Core;
using LythumOSL.Core.Data;
using LythumOSL.Reporting;
using LythumOSL.R... |
src/Application/Paises/Queries/GetPaisesById/GetPaisesByIdQuery.cs | BaseTech-Inc/Server | 1 | 7062066 | using Application.Common.Interfaces;
using Application.Common.Models;
using Domain.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Application.Paises.Queries.GetPaisesById
{
public class Ge... |
src/LSP.Client/Handlers/DelegateHandler.cs | tintoy/dotnet-language-client | 13 | 7062067 | <reponame>tintoy/dotnet-language-client<gh_stars>10-100
using System;
namespace LSP.Client.Handlers
{
/// <summary>
/// The base class for delegate-based message handlers.
/// </summary>
public abstract class DelegateHandler
: IHandler
{
/// <summary>
/// Create a n... |
src/Domain.Test/PostalCodes/PostalCodeTests.cs | meutley/ISTS | 3 | 7062068 | using System;
using Moq;
using Xunit;
using ISTS.Domain.PostalCodes;
namespace ISTS.Domain.Tests.PostalCodes
{
public class PostalCodeTests
{
private readonly Mock<IPostalCodeValidator> _postalCodeValidator;
public PostalCodeTests()
{
_postalCodeValidator = new Mock<IPost... |
EventManager.Client/Shared/Components/WM/FieldModal.razor.cs | karcagtamas/PlanManager-Backend | 0 | 7062069 | <gh_stars>0
using EventManager.Client.Enums;
using EventManager.Client.Models;
using EventManager.Client.Services;
using EventManager.Client.Services.Interfaces;
using EventManager.Client.Shared.Common;
using ManagerAPI.Shared.DTOs.WM;
using ManagerAPI.Shared.Models;
using ManagerAPI.Shared.Models.WM;
using Mic... |
10Day/02Events/UserInterface.cs | rusky65/HowToCSharp | 0 | 7062070 | using System;
namespace _01ObserverPattern
{
public class UserInterface
{
public void Message(object sender, EventDto e)
{
// If the detailed data are needed, it has to use data converting.
var data = (LongRunningProcess)sender;
// but if only highlighted d... |
UI/BackScreen/Toolbox/DataTypeStore/SharedDataTypes.cs | Theadd/Humankind-GUI-Tools | 6 | 7062071 | using Amplitude;
using UnityEngine;
namespace DevTools.Humankind.GUITools.UI
{
public class DefinitionsGroup
{
public string Title { get; set; }
public DataTypeDefinition[] Values { get; set; }
}
public class DataTypeDefinition
{
public StaticString DefinitionName { get; s... |
src/MavveErp.Api/Startup.cs | smuriano/crud-user-csharp-dotnetcore | 0 | 7062072 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MavveErp.Api.Domain.Handlers;
using MavveErp.Api.Domain.Repositories;
using MavveErp.Api.Infra.Contexts;
using MavveErp.Api.Infra.Repositories;
using MavveErp.Api.Security;
using Microsoft.AspNetCor... |
ResXManager.Model/ResourceTableEntryRulePunctuationTail.cs | adv12/ResXResourceManager | 0 | 7062073 | namespace tomenglertde.ResXManager.Model
{
using System;
using System.Collections.Generic;
using System.Linq;
using tomenglertde.ResXManager.Model.Properties;
[LocalizedDisplayName(StringResourceKey.ResourceTableEntryRulePunctuationTail_Name)]
[LocalizedDescription(StringResourceKey.Resou... |
QuickDevelop.Core/QuickDevelopCoreModule.cs | loonyi/QuickDevelop | 2 | 7062074 | using System.Reflection;
using Abp.Localization.Dictionaries;
using Abp.Localization.Dictionaries.Xml;
using Abp.Localization.Sources;
using Abp.Localization.Sources.Xml;
using Abp.Modules;
using Abp.Zero;
namespace QuickDevelop
{
[DependsOn(typeof(AbpZeroCoreModule))]
public class QuickDevelopCoreModule : Ab... |
Section7/end/Cms.Data.Repository/Repositories/InMemoryCmsRepository.cs | PacktPublishing/Hands-on-.NET-Web-API-Documentation-with-Swagger-OpenAPI | 1 | 7062075 | <gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Cms.Data.Repository.Models;
namespace Cms.Data.Repository.Repositories
{
public class InMemoryCmsRepository : ICmsRepository
{
List<Course> courses = null;
List<Student> students = null;
... |
Assets/Scripts/UI/Sliders/HealthSlider.cs | AbbyNode/ProjectSmoothbore | 2 | 7062076 | <reponame>AbbyNode/ProjectSmoothbore
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class HealthSlider : StatSlider {
Quaternion rotation;
Vector3 position;
float timeSinceHit;
public Image background, fill;
private void Start() {
... |
NDB.Covid19/NDB.Covid19/Models/UserDefinedExceptions/DSOSDateMissingException.cs | folkehelseinstituttet/Fhi.Smittestopp.App | 98 | 7062077 | <filename>NDB.Covid19/NDB.Covid19/Models/UserDefinedExceptions/DSOSDateMissingException.cs
using System;
namespace NDB.Covid19.Models.UserDefinedExceptions
{
[Serializable]
public class DSOSDateMissingException: Exception
{
public DSOSDateMissingException()
{
}
public DSOS... |
BlizzardApiReader.WorldOfWarcraft/Models/Boss.cs | pointed-GG/BlizzardApiReader | 34 | 7062078 | using System;
using System.Collections.Generic;
using System.Text;
namespace BlizzardApiReader.WorldOfWarcraft.Models
{
public class Boss
{
public int Id { get; set; }
public string Name { get; set; }
public string UrlSlug { get; set; }
public string Description { get; set; }
... |
WalletKeeper.API.Persistence/Repositories/UsersRepository.cs | jeydo6/WalletKeeper | 0 | 7062079 | <gh_stars>0
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;
using WalletKeeper.API.Domain.Repositories;
using WalletKeeper.Core.Domain.Entities;
using WalletKeeper.Core.Domain.Exceptions;
using WalletKeeper.Core.Domain.Extensions;
namespace WalletKe... |
Olympus.FNA/UI/Style.cs | 0x0ade/Olympus.FNA | 0 | 7062080 | <reponame>0x0ade/Olympus.FNA
using FontStashSharp;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Dynamic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
... |
Appserver/TextractDocument/Block.cs | xc5kxc/IDD | 0 | 7062082 | <filename>Appserver/TextractDocument/Block.cs<gh_stars>0
using System.Collections.Generic;
namespace Appserver.TextractDocument
{
/// <summary>
/// The Block base class is what other members of the Textract Document inherit from.
/// All common properties are listed here.
/// </summary>
... |
OtterLoc/StringMatcherLetters.cs | Ottermandias/Accountant | 2 | 7062083 | using System.Linq;
using System.Text;
using Dalamud.Game.Text.SeStringHandling;
namespace OtterLoc;
public sealed class StringMatcherLetters : ILocMatcher
{
public StringMatcherLetters(string name)
{
var sb = new StringBuilder(name.Length);
foreach (var c in name.Where(char.IsLette... |
WebAutomationKit/Utils.cs | Serdiev/WebAutomationKit | 0 | 7062084 | <reponame>Serdiev/WebAutomationKit
using System.IO;
using System.Reflection;
//using Microsoft.Extensions.Configuration;
namespace WebAutomationKit
{
public class Utils
{
/// <summary>
/// Retrives the absolute path to the executing assembly.
/// </summary>
public static string... |
Assets/Scripts/AI/Behaviors/MoveAndAttack.cs | Domiii/UnityTowerDefense3D | 0 | 7062086 | <filename>Assets/Scripts/AI/Behaviors/MoveAndAttack.cs
using UnityEngine;
using System.Collections;
namespace Behaviors {
/// <summary>
/// Move to destination. Attack any enemy you encounter on the way.
/// </summary>
public class MoveAndAttack : AIBehavior {
// Use this for initialization
void Start () {
... |
Synapse-X-Infinity/SynapseXbeta.cs | Epikest/Synapse-X-Infinity | 0 | 7062087 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using sxlib;
using sxlib.Special... |
Runtime/Lobbies/ILobbySearchBuilder.cs | Squidward63/HouraiNetworking | 67 | 7062089 | <filename>Runtime/Lobbies/ILobbySearchBuilder.cs
namespace HouraiTeahouse.Networking {
public enum SearchComparison {
LessThanOrEqual = -2,
LessThan = -1,
Equal = 0,
GreaterThan = 1,
GreaterThanOrEqual = 2,
NotEqual = 3,
}
public enum DistanceFilter {
Close = 1... |
src/StateTree/Action/StateTreeAction.cs | BlazorHub/Skclusive.Mobx.StateTree | 28 | 7062090 | using Skclusive.Mobx.Observable;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Skclusive.Mobx.StateTree
{
public static class StateTreeAction
{
#region Core Actions
private static readonly ThreadLocal<IMiddlewareEvent> CurrentActionContex... |
src/DSharp.Mscorlib/Collections/Stack.cs | strofimo/dsharp | 0 | 7062091 | <reponame>strofimo/dsharp
using System.Runtime.CompilerServices;
namespace System.Collections
{
[ScriptImport]
public sealed class Stack
{
[ScriptField]
public extern int Count { get; }
public extern void Clear();
public extern bool Contains(object item);
public ... |
Danmaku_MoriNaoki/Assets/Resources/HaniwaSource/Script/Player/ChaseShot/Player_Chase_Bullet.cs | o-atsu/Danmaku_MoriNaoki | 0 | 7062092 | <filename>Danmaku_MoriNaoki/Assets/Resources/HaniwaSource/Script/Player/ChaseShot/Player_Chase_Bullet.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Player_Chase_Bullet : Bullet
{
private Rigidbody2D rb;
float conv_rad = Mathf.... |
code/src/Plexdata.CapacityConverter/Converters/CapacityConverter.cs | akesseler/Plexdata.CapacityConverter | 1 | 7062093 | <filename>code/src/Plexdata.CapacityConverter/Converters/CapacityConverter.cs
/*
* MIT License
*
* Copyright (c) 2019 plexdata.de
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software w... |
src/coreimage.cs | kangaroo/monomac | 1 | 7062094 | //
// coreimage.cs: Definitions for CoreImage
//
// Copyright 2010, Novell, Inc.
//
// 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... |
E-Commerce/Data/MyContext.cs | NohaTarek/E-Commerce | 0 | 7062095 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace E_Commerce.Data
{
public class MyContext : DbContext
{
public MyContext(DbContextOptions<MyContext> options)
: base(options)
{
}
... |
src/XamarinForms/XGraphics.XamarinForms/Canvas.cs | BretJohnson/XGraphics | 66 | 7062096 | <reponame>BretJohnson/XGraphics
// This file is generated from ICanvas.cs. Update the source file to change its contents.
using System.Collections.Generic;
using XGraphics.Brushes;
using XGraphics.XamarinForms.Brushes;
using XGraphics;
using Xamarin.Forms;
namespace XGraphics.XamarinForms
{
[ContentProperty("Chil... |
AppKit/AppKit.Droid/Services/Platforms/ServiceClientPlatformAndroid.cs | JTOne123/appkit | 5 | 7062097 | namespace AdMaiora.AppKit.Services
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Net;
using Android.Telephony;
public class ServiceClientPlatformAndroid : IServiceClientPlatform
{
... |
Starfield.Core/Block/Blocks/BlockStoneStairs.cs | dskprt/nylium | 10 | 7062098 | // FILE AUTOGENERATED. DO NOT MODIFY
using System;
namespace Starfield.Core.Block.Blocks {
[Block("minecraft:stone_stairs", 633, 10153, 10232, 10164)]
public class BlockStoneStairs : BlockBase {
public override ushort State {
get {
if(Facing == "north" && Half ==... |
Source/Examples/Metro/ExampleBrowser/MainPage.xaml.cs | ylatuya/oxyplot | 10 | 7062099 | <reponame>ylatuya/oxyplot<gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MainPage.xaml.cs" company="OxyPlot">
// The MIT License (MIT)
//
// Copyright (c) 2012 <NAME>
//
// Permission is hereby grante... |
DownloadManagerPortal/DownloadCompletedForm.Designer.cs | aalitor/AltoMultiThreadDownloadManager-master | 7 | 7062100 | namespace DownloadManagerPortal
{
partial class DownloadCompletedForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </su... |
AdventOfCode2021/Day01.cs | AdeZwart/adventofcode2021 | 0 | 7062101 | using Tidy.AdventOfCode;
namespace AzW.AdventOfCode.Year2021
{
public class Day01 : Day.NewLineSplitParsed<int>
{
public override object ExecutePart1()
{
var largerMeasurementsCount = 0;
int? previousMeasure = null;
foreach (var i in Enu... |
ParallelLib/ParallelConstruct.cs | netmatze/ParallelLib | 0 | 7062102 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Intact.ParallelLib
{
public delegate void Func();
//public delegate TResult Func<TResult>();
//public delegate TResult Func<T, TResult>(T value);
//public delegate TResult Func<T1, T2, TResult>(T1 value1, T2 value... |
Controller/Commands/Atomic/PSM/MacroWrappers/cmdRenamePSMSchema.cs | mff-uk/exolutio | 1 | 7062103 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Exolutio.Controller.Commands;
using Exolutio.Model.PIM;
using Exolutio.Model;
using Exolutio.Model.PSM;
using Exolutio.Controller.Commands.Atomic.PSM;
namespace Exolutio.Controller.Commands.Atomic.PSM.... |
CMS/Models/ProductModel.cs | izzeldeen/Youth | 0 | 7062104 | using Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CMS.Models
{
public class ProductModel
{
public int Id { get; set; }
public string NameEn { get; set; }
public string NameAr { get; set; }
public string De... |
src/LinqAn.Google/Dimensions/Dimension124.cs | kenshinthebattosai/DotNetAnalytics.Google | 0 | 7062105 | <reponame>kenshinthebattosai/DotNetAnalytics.Google
using System.ComponentModel;
namespace LinqAn.Google.Dimensions
{
/// <summary>
/// The name of the requested custom dimension, where 124 refers the number/index of the custom dimension.
/// </summary>
[Description("The name of the requested custom dimension, wh... |
src/BKind.Web/Infrastructure/Helpers/StringHelpers.cs | idukic/b-kind | 4 | 7062106 | <reponame>idukic/b-kind
using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using Microsoft.AspNetCore.Cryptography.KeyDerivation;
namespace BKind.Web.Infrastructure.Helpers
{
public static class StringHelpers
{
public static string ComputeHash(string content, strin... |
Banjo.CLI.Tests/Services/ReflectorisorTests.cs | sgryphon/Auth0Banjo | 5 | 7062107 | <reponame>sgryphon/Auth0Banjo<filename>Banjo.CLI.Tests/Services/ReflectorisorTests.cs
using System.IO;
using System.Threading.Tasks;
using Auth0.ManagementApi.Models;
using Banjo.CLI.Services;
using DeepEqual.Syntax;
using Newtonsoft.Json;
using Shouldly;
using Xunit;
namespace Banjo.CLI.Tests.Services
{
public cl... |
Source/NostalgicPlayerKit/Encoders/EncoderBase.cs | neumatho/lfs_copy | 20 | 7062108 | /******************************************************************************/
/* This source, or parts thereof, may be used in any software as long the */
/* license of NostalgicPlayer is keep. See the LICENSE file for more */
/* information. ... |
Assets/WorldMap/Runtime/WorldMapController.cs | JonLevin25/WorldMap | 0 | 7062109 | <gh_stars>0
using System;
using System.Linq;
using UnityEngine;
using WorldMap.DependencyInjection;
using WorldMap.Inputs;
using WorldMap.Navigation;
using WorldMap.Nodes;
namespace WorldMap
{
// Interface should contain methods for input delegate to use
public interface IMapController
{
event Act... |
2020-12-08 c# record serialization/Program.cs | jtenos/60-second-dev | 2 | 7062110 | <filename>2020-12-08 c# record serialization/Program.cs
using System.Collections.Generic;
using Newtonsoft.Json;
using static System.Console;
var people = new List<Person> {
new Person(1, "John", "Doe"),
new Person(2, "Jane", "Smith")
};
string json = JsonConvert.SerializeObject(people);
WriteLine(... |
WebApp/Views/Rol/vVerRol.cshtml | afermon/TuBus | 0 | 7062111 | <filename>WebApp/Views/Rol/vVerRol.cshtml
@using WebApp.Helpers;
@{
ViewBag.Title = "Ver Rol";
Layout = "~/Views/Shared/_LayoutDashboard.cshtml";
}
<!-- Styles -->
@section Styles {
<link rel="stylesheet" href="~/Content/views/index.css">
}
<!-- Scripts -->
@section Scripts {
<script src="~/Scripts/j... |
tests/Abbot.CommandLine.Tests/Commands/AuthCommandTests.cs | aseriousbiz/abbot-cli | 1 | 7062112 | <filename>tests/Abbot.CommandLine.Tests/Commands/AuthCommandTests.cs
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Threading.Tasks;
using Serious.IO.CommandLine.Commands;
using UnitTests.Fakes;
using Xunit;
public class AuthCommandTests
{
[Fact]
public async Task WithTokenArgStore... |
src/Facteur.Smtp.Tests/SmtpTests.cs | gitter-badger/facteur | 0 | 7062113 | <filename>src/Facteur.Smtp.Tests/SmtpTests.cs
using System.Threading.Tasks;
using Facteur.Smtp;
using Facteur.TemplateProviders.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Facteur.Tests
{
[TestClass]
public class SmtpTests
{
[TestMethod]
public async Task Smtp_SendTemp... |
Modix.Services.Test/Core/DesignatedRoleServiceTests.cs | spixy/MODiX | 124 | 7062114 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using Shouldly;
using Modix.Data.Models.Core;
using Modix.Data.Repositories;
using Modix.Services.Core;
using Modix.Common.Te... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.