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 |
|---|---|---|---|---|
test/TestLogger.UnitTests/Extensions/TestAdapterFactoryTests.cs | hach-que/testlogger | 3 | 7052249 | <reponame>hach-que/testlogger
// Copyright (c) Spekt Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Spekt.TestLogger.UnitTests.Extensions
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Spekt.TestLog... |
Fluid Roguelike/Assets/Scripts/Dungeon Planner/DungeonDomainDefinition.cs | ptrefall/fluid_roguelike | 7 | 7052250 |
using Fluid.Roguelike.AI;
using Fluid.Roguelike.Database;
using FluidHTN;
using UnityEngine;
namespace Fluid.Roguelike.Dungeon
{
[CreateAssetMenu(fileName = "Dungeon Domain", menuName = "AI/Domains/Dungeon")]
public class DungeonDomainDefinition : AIDomainDefinition<DungeonContext>
{
[SerializeFi... |
SPM/Views/DatabaseArchiveSettings/Edit.cshtml | KimleyHorn/ATSPM4.2 | 1 | 7052251 | @model MOE.Common.Models.ViewModel.DatabaseArchive.ArchiveSettingsViewModel
@{
ViewBag.Title = "Edit";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Database Archive Settings</h4>
<hr />
@Html.ValidationSummary(true, "... |
Assets/Scripts/Paddle/Paddle.cs | Arrow666/Pong | 0 | 7052252 | using UnityEngine;
public class Paddle : MonoBehaviour, IPaddle
{
public float movementSpeed = 8;
private int movementDirection;
private float movementBounds;
public Vector2 Velocity => velocity;
public GamePlaySide playSide { get; set; }
private Rigidbody2D myRigidBody;
private Vector2 velocity;
... |
src/SmartOffice.Models/PartnerCenter/Offers/OfferCategory.cs | erdem-erdogan/Partner-Smart-Office | 0 | 7052253 | // -----------------------------------------------------------------------
// <copyright file="OfferCategory.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Microsoft.Partner.... |
xunit.classtheory.tests/Class1.cs | asgerhallas/xunit.ClassTheory | 0 | 7052255 | using System;
using xunit.ClassTheory;
using Xunit;
[assembly: UseClassTheoryTestFramework]
namespace xunit.ClassTheory.Tests
{
[ClassTheory(typeof (IMyInterface))]
public class Class1
{
readonly IMyInterface subject;
public Class1(IMyInterface subject)
{
this.subject... |
src/API.Library/Entities/ActiveDirectory.cs | CSOIreland/Web.Library | 1 | 7052256 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Configuration;
using System.DirectoryServices.AccountManagement;
using System.Dynamic;
using System.Linq;
namespace API
{
/// <summary>
/// Active Directory
/// </summary>
public class ActiveDirectory
{
#region Pro... |
MongoUnitOfWork.Net45/TKey.cs | youngdak/MongoUnitOfWork | 12 | 7052257 | <gh_stars>10-100
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace Mongo.Data.Entity {
public interface IEntity<TKey> {
[BsonId]
TKey Id { get; set; }
}
public abstract class EntityBase : IEntity<ObjectId> {
public ObjectId Id { get; set; }
}
}
|
Cisco.DnaCenter.Api/Data/GetOverallClientHealthResponseScoreList1.cs | panoramicdata/Cisco.DnaCenter.Api | 3 | 7052258 | <reponame>panoramicdata/Cisco.DnaCenter.Api
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace Cisco.DnaCenter.Api.Data
{
/// <summary>
/// GetOverallClientHealthResponseScoreList1
/// </summary>
[DataContract]
public class GetOverallClientHealthResponseScoreList1
... |
Assets/Scripts/ExtensionMethods.cs | YanaPIIDXer/PhotonRealtimeTest | 0 | 7052259 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Game.Stream;
/// <summary>
/// 拡張メソッド
/// </summary>
public static class ExtensionMethods
{
/// <summary>
/// シリアライズ
/// </summary>
/// <param name="Stream">ストリーム</param>
public static vo... |
test/IdentityFramework.Iam.Test/IdentityFramework.Iam.TestServer/Startup.cs | esotery/identityframework-iam | 5 | 7052260 | <reponame>esotery/identityframework-iam
using IdentityFramework.Iam.Core;
using IdentityFramework.Iam.Core.Interface;
using IdentityFramework.Iam.TestServer.Iam;
using IdentityFramework.Iam.TestServer.Jwt;
using IdentityFramework.Iam.TestServer.Models;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hos... |
framework/windows-workflow-foundation/application/SuspendedInstanceManagement/CS/SuspendedInstanceManagement/Program.cs | joseocampo/samples | 2,197 | 7052261 | //----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
using System;
using System.Diagnostics;
namespace Microsoft.Samples.SuspendedInstanceManagement
{
class Program
{... |
Shipping/ShippingPolicy.cs | stefanzueger/retaildemo-rebus | 0 | 7052262 | using System;
using System.Threading.Tasks;
using Messages.Commands;
using Messages.Events;
using Rebus.Bus;
using Rebus.Sagas;
namespace Shipping
{
public class ShippingPolicy : Saga<ShippingPolicyData>,
IAmInitiatedBy<OrderPlaced>,
IAmInitiatedBy<OrderBilled>
{
private readonly IBus ... |
src/Controller/Engine/EliminationEventArgs.cs | bkoelman/DogAgilityCompetitionManagemen | 0 | 7052263 | <gh_stars>0
using System;
namespace DogAgilityCompetition.Controller.Engine
{
/// <summary />
public sealed class EliminationEventArgs : EventArgs
{
public bool IsEliminated { get; }
public EliminationEventArgs(bool isEliminated)
{
IsEliminated = isEliminated;
... |
TankInspector/UIComponents/IAccessoryViewModel.cs | McHarny/tankinspector | 80 | 7052264 | <gh_stars>10-100
namespace Smellyriver.TankInspector.UIComponents
{
internal interface IAccessoryViewModel : ISlotViewModel, IChangableComponent, IDetailedDataRelatedComponent
{
double GetWeight(double tankWeight);
string Icon { get; }
void NotifyIsEquippedChanged();
}
}
|
src/vs2017/NUnitTests/UnitTests1.cs | cake-contrib/Cake.Recipe.Tests | 0 | 7052265 | <gh_stars>0
using NUnit.Framework;
namespace NUnitTests
{
[TestFixture]
public class UnitTests1
{
[Test]
public void SumNUnit()
{
Assert.That(MathClass.Add(2, 2), Is.EqualTo(4));
}
}
} |
Http2/Settings.cs | DotNetUz/http2dotnet | 92 | 7052266 | using System;
namespace Http2
{
/// <summary>
/// Settings that are defined in the HTTP/2 specification
/// </summary>
public enum SettingId : ushort
{
HeaderTableSize = 0x1,
EnablePush = 0x2,
MaxConcurrentStreams = 0x3,
InitialWindowSize = 0x4,
MaxFrameSize ... |
WingtipToys/WingtipToys.Core/Infrastructure/Utilities/ReflectionHelper.cs | prototypev/coding-tests | 0 | 7052267 | <gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ReflectionHelper.cs" company="">
// Copyright (c) 2013 <NAME>, for OrderDynamics coding test. All Rights Reserved.
// </copyright>
// ------------------------------... |
AlipaySDKNet/Domain/TaskVoucherBasicInfo.cs | alipay/alipay-sdk-net | 0 | 7052268 | using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// TaskVoucherBasicInfo Data Structure.
/// </summary>
[Serializable]
public class TaskVoucherBasicInfo : AopObject
{
/// <summary>
/// 券图标
/// </summary>
[XmlElement("logo")]... |
Assets/Code/Providers/ModificatorProvider.cs | DSvinka/TruckLiveWar | 1 | 7052269 | <gh_stars>1-10
using System;
using Code.Controller;
using Code.Data;
using Code.Interfaces.Providers;
using UnityEngine;
namespace Code.Providers
{
internal sealed class ModificatorProvider: MonoBehaviour, IModificatorProvider
{
public event Action<GameObject, ModificatorProvider, ModificatorData> OnTr... |
SPSFramework.2.8/SPSProfessional.SharePoint.Framework/WebPartCache/SPSCacheService.cs | csegura/SPSProfessional-Full-Repo | 0 | 7052270 | <reponame>csegura/SPSProfessional-Full-Repo<gh_stars>0
using System.Collections;
using System.Diagnostics;
using SPSProfessional.SharePoint.Framework.Tools;
using SPSProfessional.SharePoint.Framework.WebPartCache;
namespace SPSProfessional.SharePoint.Framework.WebPartCache
{
/// <summary>
///
/// </summa... |
src/Application.Validation/AbstractValidators/CQRS/Categories/Commands/CategoryStorage/DeleteCategoryCommandValidator.cs | BobMakhlin/XNews-backend | 5 | 7052271 | <gh_stars>1-10
using Application.CQRS.Categories.Commands.CategoryStorage;
using FluentValidation;
namespace Application.Validation.AbstractValidators.CQRS.Categories.Commands.CategoryStorage
{
public class DeleteCategoryCommandValidator : AbstractValidator<DeleteCategoryCommand>
{
public DeleteCategor... |
examples/Betabit EventHub Example/Betabit.Lora.Nuget.Example/src/Betabit.Lora.Nuget.Example/Views/LoRa/Customers.cshtml | kpnlora/LoRaClient | 8 | 7052272 | @model Betabit.Lora.Nuget.Example.ViewModels.CustomerViewModel
@{
ViewData["Title"] = "Customers";
}
<div class="row">
<div class="col-md-3">
@Html.Partial("_LoRaSubMenu")
</div>
<div class="col-md-9">
<h2>Customers</h2>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.FirstN... |
Payments/BillingId.cs | johnnyoshika/paydemo | 0 | 7052274 | <gh_stars>0
using Newtonsoft.Json;
using Payments.Converters;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using static System.String;
namespace Payments
{
[TypeConverter(typeof(BillingIdTypeConverter))]
[JsonConverter(typeof(BillingIdJsonConverter))]
public class BillingId... |
Assets/LaunchMovingDestruction.cs | pavelkouril/ld38 | 0 | 7052275 | <filename>Assets/LaunchMovingDestruction.cs<gh_stars>0
using RUF.Tutorial;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RUF
{
public class LaunchMovingDestruction : MonoBehaviour
{
public MovingDestroyer Destroyer;
private void OnTriggerEnter(Collid... |
System.Data.SqlXml/System/Xml/Xsl/XsltOld/TemplateAction.cs | cnork/referencesource | 911 | 7052276 | <reponame>cnork/referencesource<gh_stars>100-1000
//------------------------------------------------------------------------------
// <copyright file="TemplateAction.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright> ... |
PaymentGateway/src/PaymentGateway.Application/CommandHandlers/PaymentCommandHandler.cs | gsferreira/simple-payment-gateway | 2 | 7052277 | using System.Threading;
using System.Threading.Tasks;
using MediatR;
using PaymentGateway.Application.BankProviders;
using PaymentGateway.Application.Commands;
using PaymentGateway.Core.Model;
using PaymentGateway.SharedKernel;
namespace PaymentGateway.Application.CommandHandlers
{
public class PaymentCommandHand... |
SessionState/ASP.NET Core/NCacheSessionServices/NCacheSessionServices/Configuration/CacheAffinity.cs | bbqchickenrobot/NCache | 624 | 7052278 | <filename>SessionState/ASP.NET Core/NCacheSessionServices/NCacheSessionServices/Configuration/CacheAffinity.cs
namespace Alachisoft.NCache.Web.SessionState.Configuration
{
public class CacheAffinity
{
/// <summary>
/// Name of the cache
/// </summary>
public string CacheName { ... |
01.c FillTheMatrixC/FillTheMatrixC.cs | juvemar/MultiDimentionalArrays | 0 | 7052279 | <reponame>juvemar/MultiDimentionalArrays
using System;
//c)
//7 11 14 16
//4 8 12 15
//2 5 9 13
//1 3 6 10
class FillTheMatrixC
{
static void Main()
{
Console.Write(@"Enter ""n"":");
int n = int.Parse(Console.ReadLine());
int[,] array = new int[n, n];
int number = 1;
... |
SniffCore.Navigation/NavigationPresenter.cs | devicenator/SniffCore.Navigation | 1 | 7052280 | <gh_stars>1-10
//
// 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.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using SniffCore.Navigation.Pl... |
Runtime/Conditions/IConditionData.cs | stgrosshh/Creator | 21 | 7052281 | namespace Innoactive.Creator.Core.Conditions
{
/// <summary>
/// The base interface for any condition's data class.
/// </summary>
public interface IConditionData : ICompletableData, INamedData
{
}
}
|
Taobao.Pac.Sdk/Response/CLOUDPRINT_SELLER_CUSTOM_AREA_DETAIL/CloudPrintSellerCustomAreaDetailResponse.cs | micro-chen/FlyBirdYoYo | 16 | 7052282 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using Taobao.Pac.Sdk.Core.Dto;
namespace Taobao.Pac.Sdk.Core.Response.CLOUDPRINT_SELLER_CUSTOM_AREA_DETAIL
{
[XmlRoot("response")]
public class CloudPrintSellerCustomAreaDetailRe... |
Assembly-CSharp/BodyPart.cs | FreyaFreed/mordheim | 4 | 7052283 | using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
public class BodyPart
{
public BodyPart(global::BodyPartData partData, global::UnitId unitId, string warbandAsset, string unitAsset, string altUnitAsset, string unitSkinColor, int colorIndex, int var)
{
this.data = partData;
t... |
api/AltV.Net.NetworkingEntity/IEntityStreamer.cs | fnlx089/coreclr-module | 3 | 7052284 | <filename>api/AltV.Net.NetworkingEntity/IEntityStreamer.cs
using System.Numerics;
using System.Threading.Tasks;
using AltV.Net.NetworkingEntity.Elements.Entities;
using Entity;
namespace AltV.Net.NetworkingEntity
{
public interface IEntityStreamer
{
void CreateEntity(INetworkingEntity networkingEntity)... |
tests/simpleauth.tests/Api/Discovery/CreateDiscoveryDocumentationActionFixture.cs | jjrdk/SimpleAuth | 2 | 7052285 | namespace SimpleAuth.Tests.Api.Discovery
{
using Moq;
using Shared.Models;
using Shared.Repositories;
using SimpleAuth.Api.Discovery;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
public class CreateDiscoveryDocumentationActionFixture
{
priv... |
RadioLog/RadioLog/Windows/RollCallView.xaml.cs | JoeGilkey/RadioLog | 2 | 7052286 | 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;
... |
tests/Silverback.Integration.Tests/Messaging/Outbound/TransactionalOutbox/Repositories/DbOutboxWriterTests.cs | ggnaegi/silverback | 139 | 7052287 | <gh_stars>100-1000
// Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions... |
sdk/synapse/Azure.Analytics.Synapse.Spark/src/Generated/Models/LivyStatementStates.cs | gjy5885/azure-sdk-for-net | 3,268 | 7052288 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.ComponentModel;
namespace Azure.Analytics.Synapse.Spark.Models
{
/// <summary> The LivyStatementStates. </summary>
public readonly partial struct ... |
src/Tsa.Coding.Submissions.WebApi/Controllers/ProblemsController.cs | tj-cappelletti/tsa-coding-submissions | 0 | 7052289 | <reponame>tj-cappelletti/tsa-coding-submissions<gh_stars>0
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Tsa.Coding.Submissions.WebApi.Repositories;
namespace Tsa.Coding.Submissions.WebApi.Controllers
{
[ApiController]
[Route("api/[controller]")]
public class ProblemsController : Con... |
nkSWFControl/Renderers/RendererDesignMode.cs | nkast/nkSWFControl | 0 | 7052290 | /*
Copyright (c) 2010 <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 limitation the rights
to use, copy, modify, merge, publish, distribute, s... |
Demos/ListControlDemoCS/MainForm.cs | EWSoftware/ListControls | 18 | 7052291 | <reponame>EWSoftware/ListControls<gh_stars>10-100
//===============================================================================================================
// System : EWSoftware Data List Control Demonstration Applications
// File : MainForm.cs
// Author : <NAME> (<EMAIL>)
// Updated : 10/01/2014
// Note... |
src/Orchard.Web/Modules/Time.Epicor/Controllers/InterimController.cs | pmillsaps/zone.timemfg.com | 0 | 7052292 | <reponame>pmillsaps/zone.timemfg.com<gh_stars>0
using Orchard;
using Orchard.Localization;
using Orchard.Themes;
using System.Linq;
using System.Web.Mvc;
using Time.Data.EntityModels.Epicor;
using Time.Epicor.ViewModels;
namespace Time.Epicor.Controllers
{
[Authorize]
[Themed]
public class Int... |
Assets/Games/ScratchTicket/Scripts/ST_Logic.cs | PlayArShop/mobile-application | 0 | 7052293 | <reponame>PlayArShop/mobile-application
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class ST_Logic : MonoBehaviour {
int winLoose;
private PSApi.Communication _api;
void Awake()
{
_api = GameObject.Find("@ComAPI").GetComponent<PSApi.Communication>();
}
void Start () {
winLoos... |
Server/Models/core/UserPermission.cs | kieuthiendev123/QLCV | 0 | 7052294 | using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
namespace PKO.Models
{
public class UserPermission
{
public long Id { get; set; }
[Required(ErrorMessage = "MISSING_Compan... |
src/Bakana.Core/Repositories/StepExtensions.cs | BacanCI/Bacan | 0 | 7052296 | <reponame>BacanCI/Bacan
using System.Collections.Generic;
using System.Data;
using System.Threading.Tasks;
using Bakana.Core.Entities;
using Bakana.Core.Extensions;
using ServiceStack.OrmLite;
namespace Bakana.Core.Repositories
{
public static class StepExtensions
{
internal static async Task CreateSte... |
src/WebSockets/GraphQlWebSocketsExtensions.cs | Conning/graphql-dotnet-server | 1 | 7052297 | <filename>src/WebSockets/GraphQlWebSocketsExtensions.cs
using GraphQL.Types;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Options;
namespace GraphQL.Server.Transports.WebSockets
{
pu... |
WarThunderComparer/comparerData/Collections/ShipCollection.cs | booooooogdan/xamarin-wtversus-1 | 1 | 7052299 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using WarThunderComparer.comparerData.Adapters;
using WarThunderComparer.comparerData.Collections;
using A... |
PNet/RPCUtils.cs | jbruening/PNet | 50 | 7052300 | <reponame>jbruening/PNet
using System;
using Lidgren.Network;
namespace PNet
{
/// <summary>
/// Helpers for RPCs
/// </summary>
public static class RPCUtils
{
/// <summary>
/// get the allocation size from the specified serializing objects
/// </summary>
/// <param... |
TutorialSimpleInterface/Assets/KamranWali/SimpleInterface/Scripts/Editor/Layouts/RandomScaleLayout.cs | deadlykam/TutorialSimpleInterface | 0 | 7052301 | using UnityEditor.AnimatedValues;
using UnityEngine;
using UnityEngine.Events;
namespace KamranWali.SimpleInterface.Editor.Layouts
{
public class RandomScaleLayout : BaseLayout
{
private float _randomScaleMin;
private float _randomScaleMax;
private AnimBool _randomScaleGroup;
... |
BTCPayServer.Common/Altcoins/Monero/RPC/Models/GetTransferByTransactionIdRequest.cs | darosior/btcpayserver | 3,562 | 7052302 | using Newtonsoft.Json;
namespace BTCPayServer.Services.Altcoins.Monero.RPC.Models
{
public class GetTransferByTransactionIdRequest
{
[JsonProperty("txid")] public string TransactionId { get; set; }
[JsonProperty("account_index")] public long AccountIndex { get; set; }
}
}
|
Bulutfon.Api/Models/Announcement.cs | bsakizli/bulutfon.dotNet-API | 1 | 7052303 | <gh_stars>1-10
namespace Bulutfon.Sdk.Models {
/// <summary>
/// Ses dosyası
/// </summary>
public class Announcement
{
/// <summary>
/// Ses Dosyası id'si
/// </summary>
public int id { get; set; }
/// <summary>
/// Ses Dosyası Adı
/// </su... |
AhemfekServer/Server/AhemClient.cs | noname0310/Ahemfek-Server | 0 | 7052304 | using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using TinyTCPServer.ClientProcess;
using AhemfekServer.Model;
using AhemfekServer.Storage.ClientUser;
namespace AhemfekServer.Server
{
public class AhemClient
{
public readonly ClientSocket ClientSocket;
public User Us... |
SapereKindle/TranslationAPI/GoogleProvider.cs | BeroNizic/SapereKindle | 2 | 7052305 | using System;
using System.Collections.Generic;
using System.Text;
using Google.Cloud.Translation.V2;
using System.Threading.Tasks;
namespace SapereKindle
{
public class GoogleProvider
{
public async Task<string> TranslateTextAsync(string text, string fromLang, string toLang)
{
... |
treeview/Model/LoadOnDemandModel.cs | syncfusion/winui-demos | 18 | 7052306 | #region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... |
MTFHDataLanding/UseCase/LandPersonData.cs | LBHackney-IT/mtfh-data-landing | 0 | 7052307 | <filename>MTFHDataLanding/UseCase/LandPersonData.cs
using Microsoft.Extensions.Logging;
using MTFHDataLanding.Boundary;
using MTFHDataLanding.Gateway.Interfaces;
using MTFHDataLanding.Infrastructure.Exceptions;
using MTFHDataLanding.UseCase.Interfaces;
using Hackney.Core.Logging;
using System;
using System.Threading.Ta... |
src/Jokenizer.Net/Tokens/Token.cs | umutozel/Jokenizer.Net | 6 | 7052308 | namespace Jokenizer.Net.Tokens {
public abstract class Token {
protected Token(TokenType type) {
Type = type;
}
public TokenType Type { get; }
}
}
|
CoreLib/GeneralStockMarket.CoreLib/ExtensionMethods/LoggerExtensionMethods.cs | SenRecep/GeneralStockMarketSystem | 0 | 7052309 | using System;
using GeneralStockMarket.CoreLib.Response;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Serilog;
using Serilog.Events;
using Serilog.Sinks.SystemConsole.Themes;
namespace GeneralStockMarket.CoreLib.ExtensionMethods
{
public static class LoggerExtensionMethods
{
... |
discovery/Controllers/analyzeController.cs | javadbayzavi/PatternDiscovery | 0 | 7052311 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Transactions;
using discovery.Library.Core;
using discovery.Library.analyzer;
using discovery.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
... |
Cloud/RWPMHostedSystem/RWPM/InfloWebRole/Controllers/SpeedSensorsController.cs | OSADP/Road-Weather-Performance-Management- | 0 | 7052312 | using System;
using System.Diagnostics;
using System.Linq;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Web.Http;
using InfloCommon.Models;
using InfloCommon;
using InfloCommon.Repositories;
using RoadSegmentMapping;
using RestSharp;
using System.Threading.Tasks;
usin... |
src/Streetcred.Sdk/Runtime/DefaultTailsService.cs | dznz/streetcred-sdk | 0 | 7052313 | using System.Collections.Concurrent;
using System.Threading.Tasks;
using Hyperledger.Indy.BlobStorageApi;
using Streetcred.Sdk.Contracts;
using Streetcred.Sdk.Utils;
using Hyperledger.Indy.PoolApi;
using System;
using System.Linq;
using System.Net.Http;
using System.IO;
using Newtonsoft.Json.Linq;
namespace Streetcre... |
Dev_RESTClient/Download/Login.cs | caochunsheng/AutoOrderSystem | 1 | 7052314 | 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;
using RESTClient;
using Util;
namespace Upload
{
public partial class Login : Form
{
private static WebRequestSession ... |
Assets/Scripts/UserStudyController.cs | LaurenGold/Planetary-Visor | 5 | 7052315 | <reponame>LaurenGold/Planetary-Visor
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.UI;
public class UserStudyController : MonoBehaviour
{
public int phase;
public RawImage textHolder;
public TextMeshProUGUI phaseText;
publi... |
LLDevCalculatorApp/Pages/Menus/Models/Figures/TriangleMenuModel.cs | LLDevLab/LLDevCalculator | 0 | 7052316 | using LLDevCalculatorApp.Enums;
namespace LLDevCalculatorApp.Pages.Menus.Models.Figures
{
public class TriangleMenuModel : FigureMenuModelBase
{
public PointMenuModel Point1 { get; }
public PointMenuModel Point2 { get; }
public PointMenuModel Point3 { get; }
public override Fi... |
Famoser.YoutubePlaylistDownloader.Business/Helpers/Converters/BaseConverter.cs | florianalexandermoser/YoutubePlaylistDownloader | 1 | 7052317 | <reponame>florianalexandermoser/YoutubePlaylistDownloader<filename>Famoser.YoutubePlaylistDownloader.Business/Helpers/Converters/BaseConverter.cs
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace Famoser.YoutubePlaylistDownloader.Business.Helpers.Converters
{
pub... |
System.Configuration.Install/System.Diagnostics/PerformanceCounterInstaller.cs | cbenard/Core.System.Configuration.Install | 16 | 7052318 | using System.ComponentModel;
using System.Configuration.Install;
namespace System.Diagnostics
{
/// <summary>Specifies an installer for the <see cref="T:System.Diagnostics.PerformanceCounter" /> component.</summary>
public class PerformanceCounterInstaller : ComponentInstaller
{
private string _categoryName = str... |
rhino-etl/Rhino.Etl.Core/ObjectArrayKeys.cs | brumschlag/rhino-tools | 2 | 7052319 | <filename>rhino-etl/Rhino.Etl.Core/ObjectArrayKeys.cs
namespace Rhino.Etl.Core
{
/// <summary>
/// This is a utility clss that allows to treat a set of values as key, so it can be put
/// into hash tables and retrieved easily.
/// </summary>
public class ObjectArrayKeys
{
private... |
NServiceBus 4.4 Bugs/1934/FullDuplex.Latest/MyServer.Tests/Tests.cs | Particular/BugsRepro | 0 | 7052320 | using System;
using MyMessages;
using NUnit.Framework;
using NServiceBus.Testing;
using NServiceBus;
namespace MyServer.Tests
{
[TestFixture]
public class Tests
{
[Test]
public void TestHandler()
{
Test.Initialize();
var dataId = Guid.NewGuid();
... |
src/Mvc/Mvc.Core/src/Routing/IConsumesMetadata.cs | KellenCarl/aspnetcore | 10 | 7052321 | // 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.Collections.Generic;
namespace Microsoft.AspNetCore.Mvc.Routing
{
internal interface IConsumesMetadata
{
IReadOnlyList<st... |
src/ARunner/Controllers/AccountController.cs | AbabeiAndrei/ARunner | 0 | 7052322 | <filename>src/ARunner/Controllers/AccountController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Security.Claims;
using System.Threading.Tasks;
using ARunner.BusinessLogic;
using ARunner.BusinessLogic.Exceptions;
using ARunner.BusinessLogic.Filters;
using ARunner... |
SimpleWebEditor/src/SimpleWebEditorApplication/Core/Repositories/UserRequestSqlRepository.cs | marinaRupe/FER.RAUPJC-PROJEKT | 1 | 7052324 | <reponame>marinaRupe/FER.RAUPJC-PROJEKT
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using SimpleWebEditorApplication.Core.Interfaces;
using SimpleWebEditorApplication.Core.Models;
namespace SimpleWebEditorApplication.Core.Repositories
{
public class UserRequestSqlR... |
unity-environment/Assets/ML-Agents/Examples/MyCarSimulation/Scripts/MyCarAgent.cs | Pit619/my-car-agents | 0 | 7052325 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MyCarAgent : Agent {
// #region Members
/// <summary>
/// Event for when the car hit a wall.
/// </summary>
public event System.Action HitWall;
public Sensor Sensor1;
public Sensor Sensor2;
public Sensor Sensor3;
pub... |
08_Step09/PrismSample/DataContextDisposeAction.cs | YouseiSakusen/WpfGettingStarted2020 | 8 | 7052326 | <reponame>YouseiSakusen/WpfGettingStarted2020<gh_stars>1-10
using System;
using System.Windows;
using Microsoft.Xaml.Behaviors;
namespace PrismSample
{
public class DataContextDisposeAction : TriggerAction<FrameworkElement>
{
protected override void Invoke(object parameter)
=> (this.AssociatedObject?.DataConte... |
src/Umbraco.Core/Events/EventAggregator.cs | nul800sebastiaan/Umbraco-CMS | 3,375 | 7052327 | <gh_stars>1000+
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Umbraco.Cms.Core.Notifications;
namespace Umbraco.Cms.Core.Events
{
/// <summary>
/// A factory method used to resolve all serv... |
Source/RimworldFavourites/TexCommand.cs | XeoNovaDan/RimworldFavourites | 0 | 7052328 | <gh_stars>0
using System;
using System.Collections.Generic;
using RimWorld;
using UnityEngine;
using Verse;
namespace RimworldFavourites
{
[StaticConstructorOnStartup]
public static class TexCommand
{
public static readonly Texture2D FavouriteStar = ContentFinder<Texture2D>.Get("UI/Designators/Fa... |
Source/MSHTML/Events/HTMLXMLHttpRequestEvents.cs | igoreksiz/NetOffice | 0 | 7052329 | using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using NetOffice;
using NetOffice.Attributes;
namespace NetOffice.MSHTMLApi.EventContracts
{
/// <summary>
/// HTMLXMLHttpRequestEvents
/// </summary>
[SupportByVersion... |
CRNGroupApp.Data/File.cs | DASchroeder/RedBadge | 0 | 7052330 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CRNGroupApp.Data
{
public class File
{
public int FileId { get; set; }
[StringLength(255)]
public string FileName {... |
EisenhowerMatrix.WPF/ViewModel/MainViewModel.cs | mwhite102/EisenhowerMatrix | 1 | 7052331 | using EisenhowerMatrix.WPF.DataAccess;
using EisenhowerMatrix.WPF.Models;
using GalaSoft.MvvmLight;
using System.Collections.ObjectModel;
using System.Windows.Input;
using GalaSoft.MvvmLight.CommandWpf;
using EisenhowerMatrix.WPF.DialogService;
using GalaSoft.MvvmLight.Messaging;
using EisenhowerMatrix.WPF.Messages;
n... |
TankLib/STU/Types/STU_09CA8443.cs | Mike111177/OWLib | 1 | 7052332 | <filename>TankLib/STU/Types/STU_09CA8443.cs<gh_stars>1-10
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x09CA8443)]
public class STU_09CA8443 : STU_649B2015 {
[STUFieldAttribute(0x1B53B837)]
public uint m_1B53B837;
... |
webapi/JwtAuthDemo/Data/SystemCode.cs | henryphamshc/api-auth-dmr | 0 | 7052333 | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace JwtAuthDemo.Data
{
public class SystemCode
{
public SystemCode()
{
this.DateTime = DateTime.UtcNow;
}
[Key]
[DatabaseGeneratedAttribute(D... |
MSyics.Traceyi/Trace/TraceContext.cs | MSyics/Traceyi | 0 | 7052334 | <gh_stars>0
namespace MSyics.Traceyi;
/// <summary>
/// トレース基本情報を表します。
/// </summary>
public sealed class TraceContext
{
readonly AsyncLocal<AsyncLocalStackNode<TraceScope>> scopeStackNode = new();
readonly AsyncLocal<object> activityId = new();
internal TraceContext()
{
ScopeStack = new Asyn... |
source/NBaseRepository/Common/IDeleteByIdAsync.cs | mjbradvica/n-base-repository | 0 | 7052335 | namespace NBaseRepository.Common
{
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// An interface used to describe a class that can delete an entity by <see cref="TId"/>.
/// </summary>
/// <typeparam name="TId">The type of the Id.</typeparam>
public interface IDelete... |
src/LionFire.Persistence.Abstractions/IO/ReplaceMode.cs | jaredthirsk/LionFire.Core | 0 | 7052336 | <reponame>jaredthirsk/LionFire.Core
using System;
using FileMode = System.IO.FileMode;
namespace LionFire.IO
{
public enum ReplaceMode
{
Unspecified = 0,
Create = 1 << 0,
Update = 1 << 1,
Upsert = Create | Update,
}
public static class ReplaceModeExtensions
{
... |
DemoWebsite/ViewModels/GUIDTestViewModel.cs | YogirajA/Dapper.SimpleCRUD | 3 | 7052337 | <gh_stars>1-10
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using DemoWebsite.Models;
namespace DemoWebsite.ViewModels
{
//viewmodel extends generated model and adds annotations and other items useful to the actual view
//this method could be dan... |
lib/AForge.NET Framework-2.2.4/Sources/Fuzzy/Defuzzification/IDefuzzifier.cs | rpwjanzen/blinken | 1 | 7052338 | // AForge Fuzzy Library
// AForge.NET framework
// http://www.aforgenet.com/framework/
//
// Copyright © AForge.NET, 2007-2011
// <EMAIL>
//
namespace AForge.Fuzzy
{
using System;
using System.Collections.Generic;
/// <summary>
/// Interface which specifies set of methods required to be implemented b... |
LaTexConvert/MainWindow.cs | RobertLeisner/Bodoconsult.Core.Latex | 0 | 7052339 | <reponame>RobertLeisner/Bodoconsult.Core.Latex
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 LaTexConvert.Business.ViewModels;
namespace LaTexCo... |
FluentSqlBuilder/ISelectOnQuery.cs | robinskil/SqlBuilder | 0 | 7052340 | <gh_stars>0
using System;
using System.Linq.Expressions;
namespace FluentSqlBuilder
{
public interface ISelectOnQuery<T>
{
IFinishedSqlQuery Select(Expression<Func<T, object>> select);
IFinishedSqlQuery SelectTop(Expression<Func<T, object>> select, int topAmount);
IFinishedSql... |
UA.Cli.Arguments/Parsing/Parser.cs | redoz/LBi.Cli.Arguments | 3 | 7052341 | /*
* Copyright 2012 LBi Netherlands B.V.
*
* 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 ... |
Toggl.iOS/ViewControllers/EditDurationViewController.cs | medvedy/toggl | 0 | 7052342 | using CoreGraphics;
using Foundation;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Toggl.Core.Analytics;
using Toggl.Core.UI.Helper;
using Toggl.Core.UI.Extensions;
using Toggl.Core.UI.ViewModels;
using Toggl.iOS.Extensions;
using Toggl.iOS.Extensions.... |
src/OpenTK/Platform/Linux/LinuxJoystick.cs | albfan/Opentk | 10 | 7052343 | <filename>src/OpenTK/Platform/Linux/LinuxJoystick.cs
//
// The Open Toolkit Library License
//
// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Softwa... |
WTManager/src/VisualItemRenderers/VisualFileSelectorRenderer.cs | segrived/WTManager | 2 | 7052344 | using System.Windows.Forms;
using WTManager.Controls.WtStyle;
using WTManager.Controls.WtStyle.WtConfigurator;
using WTManager.Lib;
namespace WTManager.VisualItemRenderers
{
public class VisualFileSelectorRenderer : VisualItemRenderer
{
public VisualFileSelectorRenderer(IVisualProviderObject provider) ... |
CurrencyConverterAPI/Models/Dtos/FixerAPI/FixerAPIQuery.cs | bmouthguy2008/currency-converter-api | 0 | 7052345 | namespace CurrencyConverterAPI.Models.Dtos.FixerAPI
{
/// <summary>
/// The Fixer API query details.
/// </summary>
public class FixerAPIQuery
{
/// <summary>
/// The currency to convert from.
/// </summary>
public string From { get; set; }
/// <summary>
... |
src/VstsNotifications.Models/Payloads/PullRequest/PullRequestResource.cs | svillamonte/vsts-notifications | 0 | 7052346 | <filename>src/VstsNotifications.Models/Payloads/PullRequest/PullRequestResource.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Newtonsoft.Json;
namespace VstsNotifications.Models.Payloads.PullRequest
{
public class PullRequestResource
{
public PullRequest... |
Finished/UnityProject/Assets/Scripts/AI/NeuralNetworks/NeuralLayer.cs | Hardell/FFNNGA | 0 | 7052347 | <filename>Finished/UnityProject/Assets/Scripts/AI/NeuralNetworks/NeuralLayer.cs
using System;
/// <summary>
/// Class representing a single layer of a fully connected feedforward neural network.
/// </summary>
public class NeuralLayer
{
/// <summary>
/// The amount of neurons in this layer.
/// </summary... |
user.office.api/Startup.cs | AntonMisiura/CsvRepo | 0 | 7052348 | <reponame>AntonMisiura/CsvRepo<filename>user.office.api/Startup.cs<gh_stars>0
using System;
using System.Data;
using System.IdentityModel.Tokens.Jwt;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.S... |
scr/Backend/Homuai.Infrastructure/SendEmail/Helpers/SendContactUsHelper.cs | welissonArley/Homuai | 1 | 7052349 | using Homuai.Domain.Services.SendEmail;
using Homuai.Infrastructure.SendEmail.Interface;
namespace Homuai.Infrastructure.SendEmail.Helpers
{
public class SendContactUsHelper : SendEmailHelper, ISendContactUsEmail
{
private string _message;
private string _userName;
private string _user... |
KenticoInspector.Reports/DatabaseTableSizeAnalysis/Models/Terms.cs | David-Moreira/KInspector | 0 | 7052351 | <reponame>David-Moreira/KInspector<gh_stars>0
using KenticoInspector.Core.Models;
namespace KenticoInspector.Reports.DatabaseTableSizeAnalysis.Models
{
public class Terms
{
public Term CheckResultsTableForAnyIssues { get; set; }
public Term Top25Results { get; set; }
}
} |
Src/SmtpServer/Authentication/IUserAuthenticator.cs | dosper7/SmtpServer | 481 | 7052352 | <filename>Src/SmtpServer/Authentication/IUserAuthenticator.cs
using System.Threading;
using System.Threading.Tasks;
namespace SmtpServer.Authentication
{
public interface IUserAuthenticator
{
/// <summary>
/// Authenticate a user account.
/// </summary>
/// <param name="context... |
Selfless Doctor/Assets/Scripts/Game/AudioManager.cs | Ragul572/TopDownShooter-Unity3D | 0 | 7052353 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioManager : MonoBehaviour
{
public AudioSource gunshot;
public AudioSource playerHit;
public AudioSource beepSound;
public AudioSource lastBeepSound;
public AudioSource enemyBurstSound;
public static ... |
src/Assets_Tools_Script_Helper_ColorToolWrap.cs | moto2002/kaituo_src | 1 | 7052354 | <reponame>moto2002/kaituo_src
using Assets.Tools.Script.Helper;
using LuaInterface;
using System;
using UnityEngine;
public class Assets_Tools_Script_Helper_ColorToolWrap
{
public static void Register(LuaState L)
{
L.BeginStaticLibs("ColorTool");
L.RegFunction("SetBBCodeColor", new LuaCSFunction(Assets_Tools_Scr... |
CrypPlugins/Transcriptor/SymbolComparer.cs | ekzyis/CrypTool-2 | 12 | 7052355 | <reponame>ekzyis/CrypTool-2
/*
Copyright 2014 <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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.