content stringlengths 23 1.05M |
|---|
using System;
using H.NET.Core.Runners;
using Telegram.Bot;
using Telegram.Bot.Types;
namespace H.NET.Targets
{
public class TelegramRunner : SimpleRunner
{
#region Properties
private int _userId;
public int UserId
{
get => _userId;
set {
... |
using System.Collections.Generic;
using WOD.Game.Server.Core.NWScript.Enum;
using WOD.Game.Server.Enumeration;
using WOD.Game.Server.Service.PerkService;
namespace WOD.Game.Server.Service.SpaceService
{
public class ShipDetail
{
public string Name { get; set; }
public AppearanceType Appearance... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MovePartyNote : MonoBehaviour {
SpriteRenderer spriteRenderer;
[SerializeField]
Sprite lightImages;
[SerializeField]
Sprite noteImage;
//ノーツのスピードを入れる変数
[HideInInspector]
public flo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KGP
{
public class OneEuroFilterProperties
{
public OneEuroFilterProperties()
{
this.MinCutoff = 1.0f;
this.Beta = 0.7f;
this.Deriva... |
using Discord;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace PrideBot
{
public class BusyMessage : IDisposable
{
bool disposed;
IMessage message;
public BusyMessage(IMessageChannel channel, string text)
{
... |
using System.Collections.Generic;
using Newtonsoft.Json;
using PhotosXamarin.Models;
namespace PhotosXamarin.DTO
{
public class PhotosDTO
{
[JsonProperty("total")]
public int Total { get; set; }
[JsonProperty("total_pages")]
public int TotalPages { get; set; }
[JsonPr... |
namespace QuizSystem.Services.Data.Contracts
{
using System.Threading.Tasks;
using QuizSystem.Web.ViewModels.Administration.Answers.InputModels;
public interface IAnswersService
{
Task<string> CreateAsync(CreateAnswerInputModel inputModel);
Task<string> EditAsync();
T GetByI... |
using AutoMapper;
using SmartConsult.Data.Requests;
using SmartConsult.Services.SqlServer.Entities;
using System;
namespace SmartConsult.Services.SqlServer.Mappers
{
public class DoctorMapperProfile : Profile
{
public DoctorMapperProfile()
{
CreateMap<DoctorProfileEntity, DoctorPro... |
using System.Collections.Generic;
namespace CStoJS.Tree
{
public class LocalVariablesNode : StatementNode
{
public List<LocalVariableNode> variablesNodes;
public LocalVariablesNode(){
this.variablesNodes = new List<LocalVariableNode>();
}
public LocalVariablesNode(... |
using UnityEngine;
[CreateAssetMenu(menuName = "Variables/Vector3 Variable")]
public class GlobalVector3Variable : GlobalVariable<Vector3> { }
|
using System;
using Grasshopper.Kernel;
namespace RhinoInside.Revit.GH.Components.Materials
{
public class QueryAssetsOfMaterial : AnalysisComponent
{
public override Guid ComponentGuid =>
new Guid("1f644064-035a-4fa1-971b-64d7da824f09");
public override GH_Exposure Exposure => GH_Exposure... |
#if FEATURE_DYNAMIC_ROOT_SOURCE
namespace AgileObjects.AgileMapper.UnitTests.Dynamics
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Dynamic;
using TestClasses;
using Xunit;
public class WhenMappingFromDynamicsToNewEnumerables
{
... |
namespace RSharp.Enum
{
public enum RenderPriority
{
First,
Input,
Camera,
Character,
Last,
}
} |
<div>
<br/>
<div ng-hide="userCtrl.user.projects && userCtrl.user.projects.length" uib-alert type="info">
<i class="fa fa-lg fa-exclamation-triangle"></i>
No projects are added yet.
</div>
<div class="table-responsive" ng-show="userCtrl.user.projects && userCtrl.user.projects.length">... |
using System;
using System.Collections.Generic;
#nullable disable
namespace WebApplication1.Model
{
public partial class SampleTable
{
public int Number { get; set; }
public string Text { get; set; }
}
}
|
using System;
using System.Linq;
using System.Text;
using System.Web;
using System.Reflection;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Micro... |
using System;
namespace Furion.FriendlyException
{
/// <summary>
/// 异常元数据特性
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
public sealed class ErrorCodeItemMetadataAttribute : Attribute
{
/// <summary>
/// 构造函数
/// </summary>
/// <param name="errorMe... |
namespace OmniGui.Tests
{
using System;
using System.Reactive.Subjects;
using Microsoft.VisualStudio.TestPlatform.CoreUtilities.Tracing;
public class TestPlatform : IPlatform
{
private readonly ISubject<Layout> focusedElementSubject = new Subject<Layout>();
public TestPlatform()
... |
namespace Muplonen.GameSystems
{
/// <summary>
/// Enumeration of incoming message ids.
/// </summary>
public static class IncomingMessages
{
public const ushort AccountRegistration = 1;
public const ushort AccountLogin = 2;
public const ushort Chat = 3;
public const... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Data_CS.Migrations
{
public partial class RemoveOldCarTable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Car");
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Utilities.Extensions
{
public static partial class EnumExtensions
{
public static int GetEnumIndexByName<TEnum>(string enumString) where TEnum : struct
{
TEnum genericEnum;
if (Enum.TryParse<TE... |
namespace InvestFunctionApp
{
public static class InvestorType
{
public const string Individual = "IndividualInvestor";
}
}
|
using System;
using System.Collections.Generic;
namespace Commons
{
public static partial class Validator
{
/// <summary>
/// <paramref name="actions"/>の処理を順次実行する。
/// すべての処理で例外が発生していれば
/// <see cref="AggregateException"/>を発生させる。
/// 一つでもエラーが発生しなかった処理が存在する場合、例... |
public class PathSettlerMayor
{
public uint Id { get; set; }
public uint LocalizedTextId00 { get; set; }
public uint LocalizedTextId01 { get; set; }
public uint LocalizedTextId02 { get; set; }
public uint LocalizedTextId03 { get; set; }
public uint LocalizedTextId04 { get; set; }
... |
using System;
namespace Microsoft.Maui
{
/// <summary>
/// IPlatformApplication.
/// Hosts the platform application.
/// </summary>
public interface IPlatformApplication
{
#if !NETSTANDARD2_0
/// <summary>
/// Gets the current IPlatformApplication.
/// This must be set in each implementation manually, as... |
using System;
namespace Json.Schema;
/// <summary>
/// Used to log processing details.
/// </summary>
public interface ILog
{
/// <summary>
/// Logs a message with a newline.
/// </summary>
/// <param name="message">The message.</param>
/// <param name="indent"></param>
void Write(Func<string> message, int ind... |
using System;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Testing;
namespace E2ETests
{
public class StoreSetupFixture : IDisposable
{
private readonly IDisposable _logToken;
private readonly ILogger<StoreSetupFixture> _logger;
private readonly Store _store;
... |
using UnityEngine;
namespace FPCSharpUnity.unity.Tween.fun_tween.serialization.eases {
[AddComponentMenu("")]
public class Ease_Punch : ComplexSerializedEase {
[
SerializeField,
Tooltip("Indicates how much will the punch vibrate")
] int _vibrato = 10;
[
SerializeField, Range(0, 1),... |
using System;
namespace net.effects.Utils
{
/// <summary>
/// Utils for faste resources access
/// </summary>
internal static class ResourceUtils
{
public static Uri GetPackageUri(string path)
{
return new Uri("pack://application:,,, /net.effects;component/" + path);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class AssignGameManager : MonoBehaviour
{
public Button play, nextLevel, previousLevel, nextSkin, previousSkin;
private GameManager gameManager;
void Start()
{
gameManager... |
namespace Sudoku.Bot.Communication.Models;
/// <summary>
/// Indicates an ARK message unit encapsulation.
/// </summary>
/// <remarks>
/// The data type is referenced from
/// <see href="https://bot.q.qq.com/wiki/develop/api/openapi/message/model.html#messageark">this link</see>.
/// </remarks>
public sealed class Me... |
using Altairis.AskMe.Data.Base.Objects;
using NUnit.Framework;
namespace Olbrasoft.AskMe.Data.Unit.Tests.Base.Objects
{
public class QuestionTest
{
[Test]
public void Id()
{
//Arrange
const int id = 1976;
//Act
var question = new Questio... |
using System;
using System.Reflection;
namespace AspectSharp.DynamicProxy
{
public sealed class AspectContextActivator
{
public Type ServiceType { get; }
public MethodInfo ServiceMethod { get; }
public Type ProxyType { get; }
public MethodInfo ProxyMethod { get; }
p... |
/// <summary>
/// Author: Krzysztof Dobrzyński
/// Project: Chemistry.NET
/// Source: https://github.com/Sejoslaw/Chemistry.NET
/// </summary>
namespace Chemistry.NET.Particles.Models
{
/// <summary>
/// Describes any elementary particle
/// </summary>
public partial class Particle
{
public... |
namespace StaticAnalysisPlayground.DependenciesAnalyzer.Models
{
public record TypesLink : ILink
{
public string SourceId { get; }
public string TargetId { get; }
public LinkType Type { get; }
public TypesLink(TypeNode source, TypeNode target, LinkType type)
{
... |
#region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Routing;
using System.Web.Mvc;
namespace Kooboo.Web.Mvc.Grid
{
... |
////////////////////////////////////////////////////////////////////////////////
//EF Core Provider for LCPI OLE DB.
// IBProvider and Contributors. 18.05.2018.
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Lcpi.EntityFrameworkCore.DataProvider... |
using AzureRestApi.Services;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Text;
namespace AzureRestApi.Utils
{
public class ErrorDetails
{
public int Code { get; set; }
public string Message { get; set; }
}
public class ErrorObjectResult : ObjectResult... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Linq;
using ICSharpCode.AvalonEdit.Folding;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.... |
using System.Threading.Tasks;
namespace CSharpFunctionalExtensions
{
public partial struct Result
{
/// <summary>
/// Creates a failure async result with the given error message.
/// </summary>
public static Task<Result> FailureAsync(string error)
{
retu... |
using System.IO;
using System.Text;
using Newtonsoft.Json;
namespace RvtWPFTemplate.Utilities
{
public class JsonUtils
{
public static T Load<T>(string configPath)
where T : new()
{
if (!File.Exists(configPath))
return CreateDefaultConfigurationFile<T>(configP... |
using System.Linq;
using System.Text.RegularExpressions;
using TemplatesVSIX.MsBuild;
namespace TemplatesVSIX.Trados.Patches
{
internal class HintPathPatch : IStudioPluginPatch
{
private readonly string _newVersion;
public HintPathPatch(string newVersion)
{
_newVersion = n... |
// File #1
// Put this in BlendShapeController.cs
using UnityEngine;
[RequireComponent(typeof(SkinnedMeshRenderer))]
public class BlendShapeController : MonoBehaviour
{
SkinnedMeshRenderer _skinnedMeshRenderer = null;
public SkinnedMeshRenderer skinnedMeshRenderer
{
get
{
if ( !_skinnedMeshRenderer )
{
... |
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("NuGetGallery")]
[assembly: InternalsVisibleTo("NuGetGallery.Facts")] |
namespace SingletonPatternDemo
{
public class SingleObject
{
//create an object of SingleObject
private static SingleObject instance = new SingleObject();
//make the constructor private so that this class cannot be instantiated
private SingleObject(){}
//Get the only ob... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WinSceneWait : MonoBehaviour {
// Use this for initialization
IEnumerator Start () {
yield return new WaitForSeconds (3.0f);
GameObject.Find ("Canvas/Fade").GetComponent<FadeScript> ().fadeOut ("Main");
}
// Update... |
using System.Drawing;
using Newtonsoft.Json;
using TriggersTools.CatSystem2.Json;
using TriggersTools.CatSystem2.Structs;
namespace TriggersTools.CatSystem2 {
/// <summary>
/// An attribute attached to an HG-3 frame which includes positioning and color information.
/// </summary>
public sealed class Hg3Attribute... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour {
MoveController playerMove;
public bool controlled;
[Header("Death Judge")]
GameManager gameManager;
public Transform face;
void Awake()
{
playerMove = GetComponent<MoveController>();
game... |
////////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: Tss.cs
//
// Note:
//
namespace Microsoft.Singularity.Isal.IX
{
using System;
using System.Runtime.InteropServ... |
namespace Snuggle.Core.Extensions;
public static class ValueExtensions {
public static long ToTebiByte(this int value) => value * 1024 * 1024 * 1024 * 1024;
public static long ToGibiByte(this int value) => value * 1024 * 1024 * 1024;
public static long ToMebiByte(this int value) => value * 1024 * 1024;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EnCor.ModuleLoader
{
internal class DefaultModuleProviderAttribute : Attribute
{
private Type _defaultModuleProviderType;
public DefaultModuleProviderAttribute(Type defaultModuleProviderType)
{
_de... |
namespace BankSystem.Models
{
using BankSystem.Interfaces;
class DepositAccount : Account
{
public DepositAccount(ICustomer customer, decimal balance, double interestRate)
: base(customer, balance, interestRate) { }
public override double CalculateInterest(uint months)
{
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using P01_BillsPaymentSystem.Models;
namespace P01_BillsPaymentSystem.Data.EntityConfig
{
class CreditCardConfig : IEntityTypeConfiguration<CreditCard>
{
public void Configure(EntityTypeBuilder<CreditCard> cred... |
using Interfaces.Writers;
using System;
namespace Writer.Writers
{
class FileWriter : IWriter
{
private readonly string _path;
public FileWriter(string path)
{
_path = path;
}
public void Write(string result)
{
Console.WriteLine("Writing... |
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(Text))]
public class ShowInertialData : MonoBehaviour
{
public enum IMUDisplaySelect
{
Acceleration,
Gyroscope,
Compass
}
public IMUDisplaySelect displaySelect;
Text m_Text;
void Start()
{
m... |
// 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;
using Microsoft.AspNet.Mvc.Razor;
namespace RazorWebSite
{
public class NonMainPageViewLocationExpander : IViewLo... |
using System.Net;
using Azure;
using Azure.Storage.Blobs.Models;
namespace Orleans.Storage
{
internal static class StorageExceptionExtensions
{
public static bool IsPreconditionFailed(this Microsoft.Azure.Cosmos.Table.StorageException storageException)
{
return storageException?.Req... |
using Maraytr.Numerics;
using Maraytr.RayCasting;
namespace Maraytr.Cameras {
public interface ICamera {
Size Size { get; set; }
Ray GetRay(double x, double y);
}
}
|
namespace KangaModeling.Compiler.ClassDiagrams.Model
{
/// <summary>
/// Represents one field of an IClass instance.
/// </summary>
public interface IField : IDisplayable
{
string Name { get; }
string Type { get; }
VisibilityModifier Visibility { get; }
}
} |
using Voody.UniLeo;
namespace Ingame.Enemy.Provider
{
public class ShootingModelProvider : MonoProvider<ShootingModel>
{
}
} |
using System.Diagnostics.Contracts;
namespace System.Reactive.Linq
{
/// <summary>
/// Provides a set of <see langword="static"/> methods for query operations over observable sequences of <see cref="Either{TLeft,TRight}"/> objects.
/// </summary>
public static partial class EitherObservable
{
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Web;
using System.Threading.Tasks;
using System.Diagnostics;
namespace HeyHttp.Core
{
delegate void RemoveConnectionDelegate(HeyHttpServerThread co... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LifeComponent : ComponentBase
{
private int _life;
public int Life
{
get { return _life; }
set
{
_life = value;
MsgMgr.DispatchMsg(MsgEvent.EVENT_HP,_life,LifeMax);
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace tools.Localization.Timezone
{
/// <summary>
/// https://docs.microsoft.com/en-us/dotnet/standard/datetime/converting-bet... |
@model int
@{
Layout = "_Layout";
}
<div id="notfound">
<div class="notfound">
<div class="notfound-404">
<h1>Oops!</h1>
</div>
<h2>@Model - Page not found</h2>
<p>The page you are looking for might have been removed had its name changed or is temporarily unavailab... |
using BrawlLib.Imaging;
using BrawlLib.OpenGL;
using BrawlLib.SSBB.ResourceNodes;
using OpenTK.Graphics.OpenGL;
namespace System.Windows.Forms
{
public class GLTexturePanel : GLPanel
{
private GLTexture _currentTexture;
public GLTexture Texture
{
get => _currentTexture;
... |
namespace TeaTime.Data.MySql.Repositories
{
using System.Threading.Tasks;
using Common.Abstractions;
public class MySqlIdGenerator : BaseRepository, IIdGenerator<long>
{
public MySqlIdGenerator(IMySqlConnectionFactory factory) : base(factory)
{
}
public Task<long> Gene... |
//using static DNAI.Astar2.Astar2;
//namespace Assets.Scripts.Pacman
//{
// /// <summary>
// /// Extension classes for help.
// /// </summary>
// public static class Extensions
// {
// public static string Display(this Position p)
// {
// return p.X + " " + p.Y + " " + p.Z;
// ... |
using System.Collections.Generic;
using System.Linq;
using Xe.Game.Animations;
using Xe.Tools.Projects;
namespace Xe.Tools.Services
{
/// <summary>
/// Manages animation files from a project
/// </summary>
public class AnimationService
{
public ProjectService ProjectService { get; }
... |
namespace CleanArchitecture.WebApi.Extensions.StartupExtensions;
using CleanArchitecture.Application.Common.Exceptions;
using FluentValidation;
using Hellang.Middleware.ProblemDetails;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
public static c... |
namespace Serenity.Web
{
public interface IDynamicScriptManager
{
event Action<string> ScriptChanged;
void Changed(string name);
void CheckScriptRights(string name);
Dictionary<string, string> GetRegisteredScripts();
IEnumerable<string> GetRegisteredScriptNames... |
using SuchByte.MacroDeck.GUI.CustomControls;
namespace SuchByte.MacroDeck.GUI.InitialSetupPages
{
partial class SetupPage2
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TimeAdjustmentProvider.cs" company="WildGums">
// Copyright (c) 2008 - 2018 WildGums. All rights reserved.
// </copyright>
// ---------------------------------------------------... |
using Cpnucleo.Infra.CrossCutting.Util.Commands.TipoTarefa;
using Cpnucleo.Infra.CrossCutting.Util.Queries.TipoTarefa;
namespace Cpnucleo.Infra.CrossCutting.Util.Interfaces;
public interface ITipoTarefaGrpcService : IService<ITipoTarefaGrpcService>
{
UnaryResult<OperationResult> AddAsync(CreateTipoTarefaCommand ... |
//---------------------------------------------------------------------------
//
// Copyright (C) 2004 by Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.Reflection;
using System.Text;
using System.Windows;
using S... |
// *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// *************************************************************
namespace GraphQL.Subscriptions.Tests.Executio... |
using FortnoxApiSDK.Models.Authorization;
namespace FortnoxNET.Communication.Expenses
{
public class ExpenseListRequest : FortnoxApiListedResourceRequest
{
public ExpenseListRequest(string accessToken, string clientSecret) : base(accessToken, clientSecret)
{
}
public ExpenseLi... |
namespace Devolutions.Wayk.Native
{
using System;
using System.Runtime.InteropServices;
internal static partial class NativeNow
{
[DllImport(LibName, CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr NowI18n_Get(bool init);
[DllImport(LibName, CallingCon... |
using UnityEngine;
using UnityEditor;
////////////////////////////////////////////////////////////////////////////////////
/**********************************************************************************/
/**********************************************************************************/
/*************************... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class CursorLight : MonoBehaviour
{
public Camera MainCamera;
private bool _visible = false;
void Update()
{
if (Input.GetKeyDown(KeyCode.Escape))
_visible = !_visible;
Cursor.visible = _visible;
Vector3 pos = MainCa... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor.Build;
namespace SimpleBuild
{
internal static class InternalUtility
{
/// <summary>
/// Reflection を用いて IPreprocessBuildAssetBundle や IPostprocessBuildAssetBundle のインスタンスを読み込む
/// </summary>
//... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReportingService.Configuration
{
public class ReportGeneratorSection : ConfigurationSection
{
[ConfigurationProperty("directory")]
public Di... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Valkyria.Engine.Interfaces;
namespace Valkyria.Engine.Models
{
public class LockableEntity : VEntity, ILockable
{
protected bool m_isLocked;
protected IList<IKey> m_keys;
public void Lock(IKey ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(BoxCollider))]
public class BulletEmpty : MonoBehaviour
{
public Bullet bullet;
private BoxCollider collider;
private void Awake()
{
collider = GetComponent<BoxCollider>();
}
priva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Desktop.Commands
{
class MapCommand : ICommand
{
public string Payload { get; }
public string Type => CommandTypes.Map;
private MapCommand() { }
public... |
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Castle.Core.Internal;
using Shouldly;
using Xunit;
namespace Checkout.Webhooks
{
public class WebhooksIntegrationTest : SandboxTestFixture
{
private readonly List<string> _eventTypes = new List<string>
{
... |
//-----------------------------------------------------------------------
// <copyright file="BugSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
//------... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
namespace Sample.Core.Helpers
{
public static class RestHelper
{
#region Methods
public static Tuple<string, string> GetTokenProperties(string url, string userName, str... |
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Engine.Imaging
{
[NativeCppClass] [StructLayout(LayoutKind.Sequential)]
public unsafe struct Texture
{
internal Image buffer; //Propositalmente salvo por valor
internal float hoffset;
internal fl... |
using System.Collections.Generic;
using DeconTools.Workflows.Backend.Results;
namespace DeconTools.Workflows.Backend.FileIO
{
public class DeuteratedTargetedResultToTextExporter : TargetedResultToTextExporter
{
public DeuteratedTargetedResultToTextExporter(string filename)
: base(f... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class Counter : MonoBehaviour
{ //Countdown timer variables
public float currentTimeText = 0f;
public float startingTimeProgressBar = 0f;
public float TimeForWait;
publ... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ContextsSample.Modules.Occurrences.Models
{
[Table("Occurrence", Schema = "many_contexts")]
public class OccurrenceModel
{
[Key, Column("Id", Order = 0, TypeName = "UNIQUEIDENTI... |
// https://strusoft.com/
using System.Xml.Serialization;
namespace FemDesign.Releases
{
/// <summary>
/// rigidity_data_type1
/// </summary>
[System.Serializable]
public partial class RigidityDataType1
{
[XmlElement("motions", Order=1)]
public Releases.Motions Motions { get; s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class PlayerController : MonoBehaviour
{
public float speed = 10f;
public float jumpTakeOffSpeed = 10f;
bool facingRight = true;
Animator anim;
Rigidbody2... |
using System;
using System.Collections;
using System.Text;
namespace QueueWithStacks
{
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
QueueWithStacks();
}
public static void QueueWithStacks()
{
Queue stack1 = new Queue(new... |
public class Rectangle
{
public string Id { get; set; }
private double Width { get; set; }
private double Height { get; set; }
private double X1 { get; set; }
private double Y1 { get; set; }
public Rectangle(string id, double width, double height, double topLeftX, double topLeftY)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using FreeSql;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using OvOv.Core.Domain;
using OvOv.Core.Models;
using OvOv.Core.Web;
namespace OvOv.FreeSql.Controll... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SchulIT.UntisExport.Extractor;
using Sprache;
using System;
namespace UntisExport.Test.Extractor
{
[TestClass]
public class SettingsExtractorTest
{
[TestMethod]
public void TestParseSettings()
{
var input = "AA02... |
using MediatR;
namespace GlassZebra.Application.Events.Public
{
public interface IPublicEvent : INotification
{
public int GameId { get; }
}
}
|
using NetCoin.Common;
using NetCoin.Common.Helpers;
using NetCoin.Communication.Socket;
using System;
using System.Net;
namespace ClientChainApp.Wins10
{
class Program
{
const string IP_ARG_NAME = "--ip";
const string PORT_ARG_NAME = "--port";
static void Main(string[] args)
{... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.