content stringlengths 23 1.05M |
|---|
using System;
namespace RadLine
{
public sealed class AutoCompleteCommand : LineEditorCommand
{
private const string Position = nameof(Position);
private const string Index = nameof(Index);
private readonly AutoComplete _kind;
public AutoCompleteCommand(AutoComplete kind)
... |
using System;
namespace Zw.EliteExx.Core.Config
{
public class Env
{
public string AppFolder { get; }
public Env(string appFolder)
{
this.AppFolder = appFolder;
}
}
}
|
namespace ReactiveXComponent.Serializer
{
public enum SerializationType
{
Binary = 0,
Json = 1,
Bson = 2,
Custom = 3
}
} |
using System.Collections.Generic;
namespace slack_bot_hive.Services.Filters
{
public class EventFilterBuilder : IEventFilterBuilder
{
List<IFilter> _filters = new List<IFilter>();
public EventFilterBuilder AddGroupDmFilter()
{
_filters.Add(new GroupDmFilter());
... |
using Microsoft.Xna.Framework.Graphics;
namespace HxEngine.Graphics
{
public class Sprite : GameObject
{
public Texture2D Texture;
}
} |
using System.Linq;
using Quidjibo.Models;
namespace Quidjibo.Extensions
{
public static class ScheduleItemExtensions
{
public static bool EquivalentTo(this ScheduleItem item, ScheduleItem existingItem)
{
return existingItem != null && item.Name == existingItem.Name
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CollectibleItem : MonoBehaviour
{
public int healthRestoration = 1;
public GameObject lightingParticles;
public GameObject burstParticles;
private SpriteRenderer _rederer;
private Collider2D _collider;
private void Aw... |
namespace SimpleShop.App.Commands.Contracts
{
public interface ICommandParser
{
ICommand Parse(string commandName);
}
}
|
using System;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.IO;
using com.tammymakesthings.circtool.lib;
namespace com.tammymakesthings.circtool.lib
{
public class Version
{
public static System.Version APP_VERSION
{
get { return (new System.Version(1, ... |
// Encog(tm) Artificial Intelligence Framework v2.5
// .Net Version
// http://www.heatonresearch.com/encog/
// http://code.google.com/p/encog-java/
//
// Copyright 2008-2010 by Heaton Research Inc.
//
// Released under the LGPL.
//
// This is free software; you can redistribute it and/or modify it
// under the terms ... |
namespace MediatorUploader.Domain
{
public interface IAppContext
{
string MapDataPath(string path);
};
}
|
using System;
using System.Collections;
using Server;
namespace Server.Engines.PartySystem
{
public class DeclineTimer : Timer
{
private Mobile m_Mobile, m_Leader;
private static Hashtable m_Table = new Hashtable();
public static void Start( Mobile m, Mobile leader )
{
DeclineTimer t = (DeclineTimer)m_T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TeachingPlatformApp.Validations
{
public class AngleValidationRule : IValidationRule<float>
{
public string ValidationMessage { get; set; } = "角度不在范围内";
public bool Ch... |
using FluentAssertions;
using Xunit;
namespace Dgt.Minesweeper.Engine
{
public class InvalidLocationExceptionTests
{
[Fact]
public void Ctor_Should_InitialiseLocationWhenLocationIsPassed()
{
// Arrange
var location = Location.Parse("C3");
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using Newtonsoft.Json;
namespace Modix.WebServer.Models
{
public enum UserRole
{
Member,
Staff
}
public class DiscordUser
{
public string Name { get; set... |
using FSight.Core.Entities;
namespace FSight.Core.Specifications
{
public class ProjectsWithMembersSpecification : BaseSpecification<Project>
{
public ProjectsWithMembersSpecification(ProjectSpecParams projectParams)
: base (x =>
(string.IsNullOrEmpty(projectParams.Search) |... |
using System;
using System.Linq;
using ZzukBot.Constants;
using ZzukBot.ExtensionMethods;
using ZzukBot.Game.Statics;
using ZzukBot.Helpers;
using ZzukBot.Mem;
namespace ZzukBot.Objects
{
/// <summary>
/// Class for the local player
/// </summary>
public class LocalPlayer : WoWUnit
{
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Doublelives.Api.Models.Menu
{
public class RouterViewModel
{
public List<RouterViewModel> Children { get; set; }
public string Component { get; set; }
public bool Hidden { get; ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace StoreProcedures.PostgreModels
{
[Table("reservation")]
public partial class Reservation
{
public Reservation()
{
Reservatio... |
using Autofac.Builder;
using Autofac.Pooling.Tests.Shared;
using System;
using Xunit;
namespace Autofac.Pooling.Tests
{
public class RegistrationExtensionsTests
{
[Fact]
public void RequiresCallbackContainer()
{
// Manually create a registration builder, then call AsPooled
... |
namespace MSyics.Traceyi;
internal sealed class AsyncLocalStackNode<T>
{
public AsyncLocalStackNode(T element, AsyncLocalStackNode<T> prev = null)
{
Element = element;
Prev = prev;
Count = prev is null ? 1 : prev.Count + 1;
}
public int Count { get; }
public T Element { g... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Zyborg.Vault.Ext.Token
{
public class TokenLookupResponse
{
[JsonProperty("id")]
public string Id
{ get; set; }
[JsonProperty("policies")]
public string[] Policies
{ get; set; }
[JsonPro... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Microsoft.ServiceBus.Messaging;
using StatsdNet.Middleware;
namespace StatsdNet.Azure.EventHub.Frontend
{
public class StatsdFrontendEventProcessor : IEventProcessor
... |
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace StrawberryShake
{
public interface IOperationSerializer
{
Task SerializeAsync(
IOperation operation,
IReadOnlyDictionary<string, object?>? extensions,
bool includeDocument,
... |
// Copyright (c) 2019 Lykke Corp.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using MarginTrading.TradingHistory.Client;
using MarginTrading.TradingHistory... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
//--------自制ScrollBar,用于垂直方向的ScrollRect
public class SkillScrollBar : MonoBehaviour {
//要修改的目标
public RectTransform rectTrans;
//面板上能够显示的Grid数量
public int gridNum = 4;
//单个Grid的长度
public int gridHeight = 64;
private Scrol... |
using System.Collections.Generic;
using UniRx;
using UnityEngine;
using UnityEngine.XR.MagicLeap;
using Utils;
using Utils.MagicLeaps;
namespace Prisms
{
// Move prism according to camera location until disposed
public class PrismTransformer : MonoBehaviour
{
[SerializeField]
Transform _prism;
[SerializeFiel... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Corwords.Core.Blog.EntityFrameworkCore
{
public class Tag : ITag<Blog, BlogPost, PostTag>
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOptio... |
namespace Metime.Test.Utils
{
public class FixedGetOffset : ICanGetOffset
{
public int GetOffset()
{
return 180;
}
}
}
|
using System;
namespace TinyGet.Requests
{
internal class RequestSenderCreator : IRequestSenderCreator
{
public IRequestSender Create(Context context)
{
return new RequestSender(context);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MvcEasyOrderSystem.Models;
using MvcEasyOrderSystem.Models.Repositry;
using System.Web.Mvc;
using System.Configuration;
using WebMatrix.WebData;
using MvcEasyOrderSystem.Controllers;
namespace MvcEasyOrderSystem.BussinessLogic
... |
// Licensed to Finnovation Labs Limited under one or more agreements.
// Finnovation Labs Limited licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FinnovationLabs.OpenB... |
using System;
namespace SolarSystem.Backend.Classes
{
public class OrderBoxProgress : IComparable
{
public OrderBox OrderBox { get; }
public DateTime TimeOfArrival { get; }
public int SecondsToSpend { get; private set; }
public OrderBoxProgress( OrderBox order, int secondsToSp... |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Net.Sh_Lab.PlayingCards;
using Net.Sh_Lab.PlayingCards.Pyramid;
namespace PyramidTest
{
[TestClass]
public class PyramidTest
{
/// <summary>
/// 一段目 K
/// 二段目 Q A
/// ... |
using System.Xml.Serialization;
namespace openTRANS
{
public partial class AllowOrCharge
{
[XmlAttribute("type")]
public string Type;
[XmlElement("ALLOW_OR_CHARGE_SEQUENCE")]
public int AllowOrChageSequence;
[XmlElement("ALLOW_OR_CHARGE_NAME")]
public string A... |
using System;
using System.Linq;
using System.Threading.Tasks;
using OrchardCore.DisplayManagement.Shapes;
namespace OrchardCore.DisplayManagement.Zones
{
public interface IZoneHolding : IShape
{
Zones Zones { get; }
}
/// <summary>
/// Provides the behavior of shapes that have a Zones pro... |
using SolidPrinciples.LiskovSubstitutionPrinciple.WithPrinciple.Abstract;
namespace SolidPrinciples.LiskovSubstitutionPrinciple.WithPrinciple.Implementation;
public class PermanentEmployee : Employee
{
public PermanentEmployee(int id, string name): base(id, name) { }
public override decimal CalculateBon... |
using System;
using Android.Content;
using Android.Support.V7.App;
namespace Lion.XDroid.Libs
{
public class AppDialog
{
private static AppDialog sigleton = null;
public static AppDialog SNG
{
get
{
if (sigleton == null)
sigle... |
namespace CoreDocker.Shared
{
public static class SignalRHubUrls
{
public const string ChatUrl = "/chat";
public const string ChatUrlSendCommand = "send";
public const string ChatUrlReceiveCommand = "receive";
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using Microsoft.Owin.Hosting;
using Newtonsoft.Json;
using Owin;
namespace DeserializationPOC
{
class Program
{
static void Main(string[] args)
... |
using UnityEngine;
using Random = UnityEngine.Random;
namespace Utility
{
public class ScreenShake : MonoBehaviour
{
[SerializeField] private float _duration;
[SerializeField] private float _intensity;
[SerializeField] private AnimationCurve _dropoff;
[SerializeField] private T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AtomicArcade.DataModels.Content;
using AtomicArcade.ViewModels.Content;
namespace AtomicArcade.ViewLogic.Content
{
public interface IGameVMConverter
{
IEnumerable<GameViewModel> Ge... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using x360ce.Engine;
using System.IO;
namespace x360ce.App.Controls
{
public partial class GameSettingDetail... |
using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
public class UIMenuManager : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
// removed for optimization, not called
// code not used
/*void Update () {
if (a ... |
namespace RepositoryAndUnitOfWork.DomainModels
{
public class SiteOrder
{
public int SiteOrderId { get; set; }
//preliminary info - step1
public string SiteOrderWebSiteType { get; set; }
public string SiteOrderNumberOfMockUp { get; set; }
public string SiteOrderDevelo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Graph
{
class GreedyColAlgorithm
{
public static Grapher<VertexBase> ColorVertices(Grapher<VertexBase> graphToColor)
{
var graph = graphToColor.Clone();
... |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Channels
{
using System;
static class RedirectionConstants
{
public const string... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
/// <summary>
/// Represents a highscores list.
/// </summary>
[Serializable]
public class Highscores
{
private const string HIGHSCORES_FILE = "Alphabet.... |
using Moq;
using NUnit.Framework;
[TestFixture]
public class WeaversConfiguredInstanceLinkerTests
{
[Test]
public void CustomWeaverInWeaversProject()
{
var mock = new Mock<Processor>();
mock.Setup(x => x.WeaverProjectContainsType("CustomWeaver"))
.Returns(true);
mock.Ca... |
using System;
using System.Collections.Generic;
using System.Linq;
using Behemoth.Util;
namespace Behemoth.Apps
{
/// <summary>
/// Component-based App class.
/// </summary>
public class App
{
public App()
{
if (App.instance != null)
{
throw new ApplicationException("Trying to in... |
using System;
using XElement.CloudSyncHelper.InstalledPrograms;
namespace XElement.CloudSyncHelper.UI.Win32.DataTypes
{
#region not unit-tested
public class InstalledProgramViewModel
{
public InstalledProgramViewModel( IInstalledProgram installedProgram )
{
this._installedProgram =... |
using FossLock.Model.Base;
namespace FossLock.Model
{
/// <summary>
/// An individual version of a product.
/// In FossLock, <see cref="Customers"/> actually license a particular
/// ProductVersion, instead of the Product itself.
/// </summary>
public class Version : EntityBase
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityStandardAssets.Utility
{
public class ObjectResetter : MonoBehaviour
{
private Vector3 originalPosition;
private Quaternion originalRotation;
private List<Transform> or... |
using System;
using System.Collections.Generic;
using System.Text;
using Tedd.ModuleLoader.Test.Common;
namespace Tedd.ModuleLoader.Test.Module1
{
public class ArgsModule : ICtorArgsModule
{
public string Arg1 { get; private set; }
public int Arg2 { get; private set; }
public ArgsModu... |
using System;
namespace Biglab.Remote.Client
{
[Serializable]
public enum ElementType
{
Button,
InputField,
Dropdown,
Slider,
Toggle,
Label
};
} |
using Mindstorms.Core.Enums;
namespace Mindstorms.Core.Commands.Mathematics.Arithmetic
{
public class Or : TwoOperatorOperand
{
public Or(byte value1, byte value2)
: base (value1, value2, OpCode.Or8)
{ }
public Or(short value1, short value2)
: base(value1, valu... |
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace KF.GoogleUrlShortenerApi
{
public class UrlShortener
{
private readonly string _apiKey;
private readonly string _uri;
private const string De... |
@model cloudscribe.Core.IdentityServerIntegration.Models.ClientEditViewModel
@using cloudscribe.Core.IdentityServerIntegration
@using Microsoft.Extensions.Localization
@inject IStringLocalizer<CloudscribeIds4Resources> sr
<div class="row">
<div class="col-md-10 col-md-push-2">
@if (Model.CurrentClient == n... |
using UnityEngine;
using System.Collections;
public class MainMenuDropdownHandler : MonoBehaviour {
private DropdownMenu Menu = null;
private MenuScroller Scroller = null;
void Start ()
{
Menu = FindObjectOfType<DropdownMenu>();
Scroller = FindObjectOfType<MenuScroller>();
... |
using System;
using System.Collections.Generic;
namespace Inventor.Semantics.WPF.ViewModels
{
internal class ConceptDecorator : IConcept
{
#region Properties
public ILocalizedString Name
{ get { return Concept.Name; } }
public String ID
{ get { return Concept.ID; } }
public ILocalizedString Hint
{ ... |
using IMDBProject.DAL.RepositoryConcrete;
using IMDBProject.Entities.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using IMDBProject.Entities.DTO;
namespace IMDBProject.BLL.IMDBService
{
public class DirectorS... |
using System;
using it.unifi.dsi.stlab.networkreasoner.gas.system.exactly_dimensioned_instance.listeners;
namespace it.unifi.dsi.stlab.networkreasoner.model.textualinterface
{
public class RunnableSystemComputeGivenEventListener : RunnableSystemCompute
{
public NetwonRaphsonSystemEventsListener EventListener { get... |
using System;
namespace Rafty
{
public class RemoteServerLocation
{
public RemoteServerLocation(string url, Guid id)
{
this.Url = url;
}
public string Url { get; private set; }
public Guid Id { get; private set; }
}
} |
using System.ComponentModel.DataAnnotations;
using System.Xml.Serialization;
namespace MusicHub.DataProcessor.ImportDtos
{
[XmlType("Song")]
public class PerformerSongsDto
{
[XmlAttribute("id")]
public int SongId { get; set; }
}
}
|
using TrickingRoyal.Database;
using Battles.Application.ViewModels;
using MediatR;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Battles.Application.Services.Users.Queries;
using Battles.Enums;
using Transmogrify;
namespace Battles.Applicat... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
n... |
namespace Primordially.LstToLua
{
internal class EquipmentBonus : Bonus
{
public EquipmentBonus(TextSpan value) : base(value)
{
}
public override bool IsEquipment => true;
}
} |
using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using numl.Serialization;
using numl.Supervised.NeuralNetwork;
using numl.Supervised.NeuralNetwork.Recurrent;
using numl.Utils;
using numl.Math.Functions;
namespace numl.Supervised.NeuralNetwork.Serializer.Recurrent
{
/// <summary... |
using System.Collections;
using System.Collections.Generic;
public class EditorCoroutine : IEnumerator
{
private Stack<IEnumerator> executionStack;
public EditorCoroutine(IEnumerator iterator)
{
this.executionStack = new Stack<IEnumerator>();
this.executionStack.Push(iterator);
}
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
namespace System.Linq.Expressions.Tests
{
internal class LocalsSignatureParser : SigParser
{
private readonly Stack<Type> _types = ... |
using TokenAuthentication.Requests;
namespace TokenAuthentication.Services
{
public interface IRegistrationService
{
void Register(RegisterUserRequest register);
}
} |
using System.Linq;
namespace SensorThings.OData
{
public class QuerySelect : AbstractQuery<string[]>
{
public QuerySelect(string[] values) : base("select", values) { }
public override string GetQueryValueString()
{
return Value.Aggregate((x, y) => $"{x},{y}");
}
... |
namespace LoudPizza
{
public unsafe abstract class AudioStream : AudioSource
{
//public int mFiletype;
//public string? mFilename;
//public File* mMemFile;
//public File* mStreamFile;
public uint mSampleCount;
public AudioStream()
{
//mFilena... |
using AutoMapper;
using FizzWare.NBuilder;
using Moq;
using NUnit.Framework;
using ReMi.BusinessEntities.Api;
using ReMi.DataAccess.BusinessEntityGateways.Auth;
using System;
using System.Collections.Generic;
using System.Linq;
using ReMi.Common.Utils.Repository;
using ReMi.Contracts.Plugins.Data;
using ReMi.TestUtils.... |
using System.Reflection;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
namespace Marble.Benchmarks
{
[SimpleJob(RuntimeMoniker.NetCoreApp31)]
[MarkdownExporterAttribute.GitHub]
[MeanColumn, MemoryDiagnoser]
public class Inst... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace NYTimes.NET.Tests.Mocks
{
public class GeneralUseMocks
{
public static JObject GetEmptyJArray()
{
var mockArray = new
{
results = System.Array.Empty<object>()
};
return... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Weapon : MonoBehaviour
{
Animator animator;
void Start ()
{
animator = GetComponentInParent<Animator> ();
}
public float damage = 2;
void OnTriggerEnter (Collider other)
{
MeleeUn... |
using GetcuReone.MvvmFrame.Wpf.TestAdapter.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace GetcuReone.MvvmFrame.Wpf.TestAdapter.Helpers
{
/// <summary>
/// thread helper
/// </summary>
pub... |
namespace DataTanker.AccessMethods.RadixTree
{
using System.Collections.Generic;
using MemoryManagement;
internal interface IRadixTreeNode
{
/// <summary>
/// Gets or sets common prefix bytes stored in this node.
/// </summary>
byte[] Prefix { get; set; }
/// ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TrampaPuas : MonoBehaviour
{
public SpriteRenderer spriteRenderer;
public Sprite conEspinas;
public Sprite sinEspinas;
bool danino;
private int damage = 1;
void Start()
{
spriteRenderer = ga... |
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace FG5eParserModels.Player_Models
{
public class Classes : INotifyPropertyChanged
{
private string ClassName { get; set; }
private string ClassDescription { get; set; }
private string HitDice { get... |
using UnityEngine;
public class ThroableOrb : MonoBehaviour
{
public AudioClip hitSound;
public AudioClip throwSound;
public AudioClip bridgeApearSound;
public GameObject target;
public Vector3 defaultPos;
AudioSource source;
bool isBeingThrown = false;
GameObject[] bridgePiece... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerInput : MonoBehaviour
{
Board board;
Collider clickEnter;
public Transform t1, t2;
private Vector3 position;
private float width, height;
private float lastDistance = 0f;
void Start()
... |
using EC.Libraries.Framework;
namespace EC.Libraries.MongoDB
{
/// <summary>
/// 存放NoSqlDB的连接配置信息
/// </summary>
public class MongoDBConfig : BaseConfig
{
/// <summary>
/// NoSqlDB服务器的连接参数
/// 格式为:mongodb://[user:password@]<host>:<port>
/// </summary>
public... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
//
using System;
using System.Diagnostics.Contracts;
using System.Diagnostics.Tracing;
using System.Runtime.Comp... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using P... |
using System.Threading.Tasks;
using Twitch.Net.Interfaces;
namespace Twitch.Net.Strategies
{
internal class RateLimitIgnoreStrategy : IRateLimitStrategy
{
public Task Wait()
{
return Task.CompletedTask;
}
}
}
|
using System;
using System.Collections.Generic;
namespace AwsCredentialHelper.Core
{
public record GitParameters
{
public readonly string Protocol;
public readonly string Host;
public readonly string Path;
public static GitParameters FromDictionary(Dictionary<string, string> p... |
namespace Effort.Extra.Tests
{
using System;
using System.Collections.Generic;
using Effort.DataLoaders;
using Machine.Fakes;
using Machine.Specifications;
internal class ObjectTableDataLoader
{
public class Ctor
{
[Subject("ObjectTableDataLoader.Ctor")]
... |
using RoyalCode.PipelineFlow.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace RoyalCode.PipelineFlow
{
/// <summary>
/// <para>
/// Dispatcher are delegated to get a pi... |
using System;
using System.IO;
using System.Threading.Tasks;
using Android.Content.Res;
using Newtonsoft.Json.Linq;
using XamarinImgur.Interfaces;
namespace MonocleGiraffe.Android
{
public class SecretsProvider : ISecretsProvider
{
AssetManager assets;
public SecretsProvider(AssetManager assets)
{
this.ass... |
namespace CrawlerMv.Models
{
public class CrawledItem
{
public MapInfosItem MapInfo { get; set; }
public MapItem Map { get; set; }
}
}
|
using System.ComponentModel.DataAnnotations;
namespace Application.Models.Forms
{
public class RecaptchaForm
{
#region Properties
[Display(Name = "Test-value")]
[Required]
public virtual string Value { get; set; }
#endregion
}
} |
using System;
namespace ServiciosProfesionales.Entities
{
public class Concepto
{
public int Id { get; set; }
public DateTime Fecha { get; set; }
public int FacturaId { get; set; }
public int ServicioId { get; set; }
public decimal Importe { get; set; }
public d... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Oddity.Cache;
using Oddity.Models;
namespace Oddity.Builders
{
/// <summary>
/// Represents a list builder used to retrieve data (collection of objects) without any filters.
/// </summary>
/// <typeparam name="TReturn">Type which wi... |
using System;
using System.Linq.Expressions;
using Nirvana.Mediation;
namespace Nirvana.TestFramework
{
public abstract class TestBase<TSutType, TInputType>
where TInputType : new()
{
protected IMediator Mediator;
protected TSutType Sut;
protected TInputType Task;
publi... |
using VRage.Profiler;
namespace VRageRender.Profiler
{
public class MyNullRenderProfiler : MyRenderProfiler
{
protected override void Draw(VRage.Profiler.MyProfiler drawProfiler, int lastFrameIndex, int frameToDraw)
{
}
}
}
|
using System.Collections;
using System.Collections.Generic;
namespace IPHelper
{
public class TcpTable : IEnumerable<TcpRow>
{
#region Private Fields
private readonly IEnumerable<TcpRow> tcpRows;
#endregion
#region Constructors
public TcpTable(IEnumer... |
using System.Collections.Generic;
using UnityEngine;
namespace Unity.UIWidgets.ui {
class TabStops {
int _tabWidth = int.MaxValue;
Font _font;
int _fontSize;
int _spaceAdvance;
const int kTabSpaceCount = 4;
public void setFont(Font font, int size... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Internal.IL;
using Internal.TypeSystem;
using Internal.Type... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.