content stringlengths 23 1.05M |
|---|
namespace SharpSharp.Benchmarks {
public abstract class PerfBase {
protected int Height { get; } = 588;
protected int Width { get; } = 720;
}
}
|
/*
Copyright 2017 Enkhbold Nyamsuren (http://www.bcogs.net , http://www.bcogs.info/)
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... |
using System;
using System.IO;
using System.Linq;
using FluentAssertions;
using PrivateWiki.DataModels.Pages;
using PrivateWiki.Services.AppSettingsService.BackendSettings;
using PrivateWiki.Services.Backends;
using PrivateWiki.Services.Backends.Sqlite;
using Xunit;
using Path = System.IO.Path;
namespace PrivateWiki.T... |
using System;
using Jint.Runtime;
namespace Jint.Native
{
/// <summary>
/// The _object value of a <see cref="JsSymbol"/> is the [[Description]] internal slot.
/// </summary>
public sealed class JsSymbol : JsValue, IEquatable<JsSymbol>
{
internal readonly string _value;
public JsS... |
using System.IO;
using System.Threading.Tasks;
using LeanCode.CodeAnalysis.Analyzers;
using LeanCode.CodeAnalysis.Tests.Verifiers;
using Microsoft.CodeAnalysis.Diagnostics;
using Xunit;
namespace LeanCode.CodeAnalysis.Tests.Analyzers
{
public class SuggestCommandsHaveValidatorsTests : DiagnosticVerifier
{
... |
using System;
using Xunit;
using BattleshipGame.Models;
namespace BattleshipGameTest
{
public class PlayerTest
{
[Fact]
public void CreatePlayer()
{
string name = "John";
Player player = new Player(name);
Assert.Equal(player.Name, name);
... |
namespace Dependinator.ModelViewing
{
/// <summary>
/// Contains the model viewing of nodes, lines and links.
/// </summary>
public class NamespaceDoc
{
}
}
|
using System;
using System.Xml;
using System.Text;
namespace EnhancedPresence
{
public class RoamingData :
OutContentBase
{
private Categories categories;
protected RoamingData()
{
}
public static RoamingData Create(Categories categories)
{
... |
using System;
using Hasty.Client.Api;
namespace Hasty.Client.Debug
{
public class OctetBufferDebug
{
private static readonly uint[] g_lookupTable = CreateLookupTable();
const int lookupTableSize = 256;
private static uint[] CreateLookupTable()
{
var result = new uint[lookupTableSize];
for (int i = 0;... |
using System;
namespace ControlFlow
{
class Program
{
static void Main(string[] args)
{
/*Write a program to count how many numbers between 1 and 100 are
divisible by 3 with no remainder. Display the count on the console.*/
var count = 0;
for (var... |
using NSubstitute.Core.Arguments;
namespace NSubstitute.Core
{
public class CallSpecificationFactoryFactoryYesThatsRight
{
public static ICallSpecificationFactory CreateCallSpecFactory()
{
return
new CallSpecificationFactory(
new ArgumentSpecific... |
using AutoMapper;
using IdentityServer4.NCache.Entities;
namespace IdentityServer4.NCache.Mappers
{
public static class ClientMappers
{
static ClientMappers()
{
Mapper = new MapperConfiguration(cfg => cfg.AddProfile<ClientMapperProfile>())
.CreateMapper();
}... |
namespace FubuCsProjFile.Templating.Runtime
{
public interface ITemplateLogger
{
void Starting(int numberOfSteps);
void TraceStep(ITemplateStep step);
void Trace(string contents, params object[] parameters);
void StartProject(int numberOfAlterations);
void EndProj... |
using System.Collections.Generic;
using System.Linq;
using Xpand.Persistent.Base.Logic.Model;
namespace Xpand.ExpressApp.Logic.DomainLogic {
public class ModelActionExecutionContextDomainLogic {
public static List<string> Get_ExecutionContexts(IModelActionExecutionContext modelExecutionContext) {
... |
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace Common.Concurrency
{
public class ConcurrentDictionaryOfCollections<TKey, TValue>
{
private ConcurrentDictionary<TKey, ConcurrentCollection<TValue>> Values { get; }
public ConcurrentDictionaryO... |
namespace ShelterAPI.Models
{
public class Cat : Animal
{
public int CatId { get; set; }
}
} |
using System;
using System.Collections.Generic;
using Com.Ericmas001.Windows.Demo.TabControlApp.ViewModels.FirstCategory;
using Com.Ericmas001.Windows.Demo.TabControlApp.Views.MainTabViews;
using Com.Ericmas001.Windows.Demo.TabControlApp.Views.MenuViews;
namespace Com.Ericmas001.Windows.Demo.TabControlApp
{
publi... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Windows.Storage.Streams;
namespace Ghostly
{
public static class StringExtensions
{
[SuppressMessage("Reliability", "CA2000:Dispose objects before losing scope", Justification = "Used after scope")]
public ... |
using Newtonsoft.Json;
namespace MoneroClient.Wallet.DataTransfer
{
public class TransferResultDto
{
[JsonProperty("amount")]
public ulong Amount { get; set; }
[JsonProperty("fee")]
public ulong Fee { get; set; }
[JsonProperty("multisig_txset")]
public string M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DragonFly.Permissions
{
public class AssetPermissions
{
public const string Asset = "Asset";
public const string AssetRead = "AssetRead";
public const string A... |
using System;
namespace Shamisen.Codecs.Native.Flac.LibFLAC
{
public partial struct FLAC__FrameFooter
{
[NativeTypeName("FLAC__uint16")]
public ushort crc;
}
}
|
using System.ServiceModel;
using Microsoft.Practices.Unity;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ProxyHelper.Tests.Support;
using ProxyHelper.Wcf;
namespace ProxyHelper.Tests.UnitTests
{
[TestClass]
public class WcfProxyHelperTest
{
private ServiceHost _serviceHost;
pr... |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System.Threading.Tasks;
namespace Xenko.Core
{
/// <summary>
/// An interface allowing... |
using System;
using System.Collections.Generic;
namespace XamList.UnitTests
{
public class DependencyServiceStub : IDependencyService
{
#region Constant Fields
readonly Dictionary<Type, object> _registeredServices = new Dictionary<Type, object>();
#endregion
#region Methods
... |
using Microsoft.AspNetCore.Mvc;
using ServiceLayer.Logger;
namespace BookApp.Controllers
{
public class BaseTraceController: Controller
{
protected void SetupTraceInfo()
{
ViewData["TraceIdent"] = HttpContext.TraceIdentifier;
ViewData["NumLogs"] = HttpRequestLog.GetHttp... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using TMPro;
using UnityEngine.EventSystems;
public class MainMenu : MonoBehaviour, ISelectHandler, IDeselectHandler
{
public GameObject selectFrame;
public AudioSource select... |
using MongoDB.Bson;
using MongoDB.Driver;
namespace NRLS_APITest.TestModels
{
public class MockDUpdateResult : UpdateResult
{
public MockDUpdateResult() { }
public MockDUpdateResult(long updatedCount, bool isAcknowledged)
{
_modifiedCount = updatedCount;
_isAck... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Mediachase.Ibn.Assignments
{
public enum AssignmentExecutionResult
{
Accepted = 1,
Declined = 2,
Canceled = 3,
}
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace sort.Infrastructure
{
public class FileSorter
{
public Task SortFile(string fileName)
{
if (string.IsNullOrWhiteSpace(fileName))
throw new ArgumentNullException... |
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Octokit.GraphQL.Model
{
/// <summary>
/// The possible states in which a deployment can be.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum DeploymentState
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace Ceebeetle
{
[DataContract(Name="BagItem")]
[KnownType(typeof(CCBCountedBagItem))]
public class CCBBagItem : IEquatable<CCBBagItem>, IComparable<CCBBagItem>
{
... |
using System.Collections.Generic;
using UML = TSF.UmlToolingFramework.UML;
namespace TSF.UmlToolingFramework.UML.Interactions.BasicInteractions {
//This is an enumerated type that identifies the type of message.
public enum MessageKind : int {
//sendEvent and receiveEvent are present.
complete,
... |
namespace Skybrud.Social.Vimeo.Models.Users {
/// <summary>
/// Enum class indicating the gender of a Vimeo user.
/// </summary>
public enum VimeoGender {
/// <summary>
/// Indicates that the user hasn't yet specified their gender.
/// </summary>
Unspecified,
... |
using System.Threading.Tasks;
namespace AspNetCore.Mvc.Extensions.Notifications
{
public interface INotificationService
{
Task SendAsync(string message, string userId);
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Mawor.Net.Interface
{
/// <summary>
/// Represents an identifiable object
/// </summary>
/// <typeparam name="T">Type of the identification, preferred Guid or Int</typeparam>
public interface IIdentifiable<T>:IEquatable<T... |
using System;
using System.Data;
using System.Collections.Generic;
using WCMS.Framework.Core;
namespace WCMS.Framework.Core
{
public interface IWebSiteProvider : IDataProvider<WSite>
{
IEnumerable<WSite> GetList(int parentId);
WSite Get(string identity);
int GetMaxRank();
}
}
|
namespace DotNet.ProgrammingPrinciples.LSP.New
{
public class Circle : IShape
{
public void Draw()
{
// Draws a circle
}
}
}
|
using Newtonsoft.Json;
namespace Dracoon.Sdk.SdkInternal.ApiModel.Requests {
internal class ApiGetS3Urls {
[JsonProperty("size", NullValueHandling = NullValueHandling.Ignore)]
public long Size {
get; set;
}
[JsonProperty("firstPartNumber", NullValueHandling = NullValueH... |
namespace LisoTetris.Components.Tetris.Engine.Elements
{
public static class Presets
{
public static readonly bool[,] FigureO = new bool[2, 2] { { true, true }, { true, true } };
public static readonly bool[,] FigureI = new bool[1, 4] { { true, true, true, true } };
public static read... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pause : MonoBehaviour
{
private float currentTime;
private void OnEnable()
{
currentTime = Time.timeScale;
Time.timeScale = 0;
}
private void OnDisable()
{
Time.timeScale = curr... |
using Moq;
using System.Threading.Tasks;
using Xunit;
namespace Domain0.Api.Client.Test
{
public class Domain0ContextAttachedClientTest
{
public interface ITestClient
{
Task MethodA();
void MethodB();
}
[Fact]
public async void AttachedClientLo... |
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Buffers;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Text;
using ImageProcessor.Quantizers;
namespace ImageProcessor.Formats
{
/// <summary>
... |
using PnP.Core.Services;
namespace PnP.Core.Admin.Model.SharePoint
{
internal sealed class SiteCollectionAppManager : AppManager<ISiteCollectionApp>, ISiteCollectionAppManager
{
protected override string Scope => "sitecollection";
internal SiteCollectionAppManager(PnPContext pnpContext) : bas... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;... |
using System.Threading.Tasks;
namespace Knapcode.Delta.Common
{
public interface IAsyncEnumerator<T>
{
T Current { get; }
Task<bool> MoveNextAsync();
}
}
|
using DoctorHouse.Data;
namespace DoctorHouse.Business.Services
{
public interface IWebCacheService
{
User GetUserById(int id);
}
} |
using Stamps.DataAccess;
using System.Windows;
namespace Stamps.View
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
/// <summary>
/// This serves as the main function of the complete application. It creates initial state, ... |
using System;
using PublicHolidays.Au.Internal.PublicHolidays;
using Shouldly;
using Xunit;
namespace PublicHolidays.Au.UnitTests.Internal.PublicHolidays
{
public class LabourDayTests
{
const int Year = 2017;
private readonly LabourDay _labourDay;
public LabourDayTests()
{
... |
using Cafe.Domain.Entities;
using MediatR;
using Optional;
using System;
using System.Threading.Tasks;
namespace Cafe.Domain.Repositories
{
public interface IBaristaRepository
{
Task<Option<Barista>> Get(Guid id);
Task<Unit> Update(Barista barista);
Task<Unit> Add(Barista barista);
... |
using NinMemApi.Data.Models;
using System.Collections.Generic;
namespace NinMemApi.Data
{
public class GraphInput
{
public List<NatureAreaDto> NatureAreas { get; set; }
public List<RedlistCategory> NatureAreaRedlistCategories { get; set; }
public List<RedlistTheme> NatureAreaRedlistThe... |
namespace SLStudio
{
public interface IStudioModule : IHaveName
{
string Author { get; }
int Priority { get; }
bool ShouldBeLoaded { get; }
bool IsLoaded { get; }
void Load(IModuleContainer container);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dodge
{
struct Area
{
public int startRow;
public int endRow;
public int startCol;
public int endCol;
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenuAttribute(fileName = "New NPC Data", menuName = "Character Data/NPC")]
public class NPCData : CharacterData
{
}
|
using System;
class PrintNumbers
{
static void Main()
{
Console.WriteLine("{0}\n{1}\n{2}", 1, 101, 1001);
}
} |
using CommandLine;
using Newtonsoft.Json;
using Serilog;
using System.IO;
using System.Text;
using System.Xml;
namespace Xml2JsonConsole
{
internal static class Program
{
private static ILogger Logger { get; set; }
static void Main(string[] args)
{
Logger = new LoggerConfiguration()
... |
using FluentValidation;
namespace Din.Domain.Commands.Accounts
{
public class ActivateAccountCommandValidator : AbstractValidator<ActivateAccountCommand>
{
public ActivateAccountCommandValidator()
{
RuleFor(cmd => cmd.Code)
.NotEmpty().WithMessage("The code cannot b... |
//---------------------------------------------------------------------
// <copyright file="Simplifier.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner [....]
// @backupOwner [....]
//----------------------------------------------------------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TouchController : MonoBehaviour {
private Vector3 lastTouchPosition;
[SerializeField] private float dragThreshold;
[SerializeField] private float dragThresholdX;
[SerializeField] private float dragThresholdY;... |
using System;
namespace RThomasHyde.PluginFramework.Catalogs.Roslyn
{
public class InvalidCodeException : Exception
{
public InvalidCodeException(Exception exception) : this("", exception)
{
}
public InvalidCodeException(string message, Exception exception) : base(message, exc... |
/****************************************************************************
Copyright 2016 sophieml1989@gmail.com
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/licen... |
using System;
namespace CreatureConstructor
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Welcome to the ASCII Art Creature Constructor!");
Console.WriteLine("Construct a random creature? [y/n]");
string random = Console.ReadLine();
if (random == "y")
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Biz.Morsink.Identity
{
/// <summary>
/// This interface describes the underlying component value of the most identifying component (last component).
/// </summary>
/// <typeparam name="K">The type of the underlying c... |
// Copyright (c) Doug Swisher. All Rights Reserved.
// Licensed under the MIT License. See LICENSE.md in the project root for license information.
using System;
using System.ComponentModel;
using System.Globalization;
using SwishSvg.IO;
namespace SwishSvg.DataTypes
{
/// <summary>
/// A length is a distance ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Store.PartnerCenter.PowerShell.Utilities
{
using System;
using Identity.Client;
using Microsoft.Extensions.Caching.Memory;
... |
using ChatBackend.Auth;
using ChatBackend.Dto;
using ChatBackend.Middleware.Auth;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
namespace ChatBackend.Controllers
{
[ApiController]
[Route("auth")]
[EnableCors]
public class AuthController : ControllerBase
{
private re... |
using System.Text.RegularExpressions;
namespace Harbor.Tagd.Extensions
{
public static class StringExtensions
{
public static Regex ToCompiledRegex(this string input, RegexOptions options = RegexOptions.None) =>
string.IsNullOrEmpty(input) ? null : new Regex(input, options | RegexOptions.Compiled);
... |
using System;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
namespace StackExchange.Redis
{
internal static class TaskExtensions
{
private static readonly Action<Task> observeErrors = ObverveErrors;
private static void ObverveErrors(this Task task... |
using ApplicationCore.Helpers;
using ApplicationCore.Interfaces.Repository;
using ApplicationCore.Models;
using ApplicationCore.Services;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Infrastructure.Data.Repositories
{
public clas... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Castle.Components.DictionaryAdapter.Xml;
namespace MIMWebClient.Core.Player.Skills
{
using MIMWebClient.Core.Events;
using MIMWebClient.Core.PlayerSetup;
using MIMWebClient.Core.Room;
... |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// AlipayMerchantOrderRefundModel Data Structure.
/// </summary>
public class AlipayMerchantOrderRefundModel : AlipayObject
{
/// <summary>
/// 业务场景,某些... |
using CropsNDrops.Scripts.Enum;
using CropsNDrops.Scripts.Scriptables.Inventory.CropsNDrops.Scripts.Scriptables;
using CropsNDrops.Scripts.Tools;
using UnityEngine;
using UnityEngine.UI;
namespace CropsNDrops.Scripts.UI
{
public class Item : MonoBehaviour
{
[Header("Definitions")]
[SerializeField] private GameO... |
using System.Windows.Media;
namespace MyPad.Views.Components
{
public class TextView : ICSharpCode.AvalonEdit.Rendering.TextView
{
public TextView()
{
// HACK: 依存関係プロパティ ColumnRulerPen の設定
// おそらく SearchPanel.MarkerBrush と似たような理由だと思われる。
this.ColumnRulerPen =... |
using System;
using System.Collections.Generic;
using Akka;
using Akka.Actor;
using Akka.Cluster;
using Akka.Persistence;
using Cik.Magazine.Shared.Messages;
namespace Cik.Magazine.Shared.Domain
{
public class AggregateRootCreationParameters
{
public AggregateRootCreationParameters(Guid id, IActorRef ... |
#region Using directives
using System;
using System.Threading;
using System.Threading.Tasks;
#endregion
namespace Blazorise.RichTextEdit
{
/// <summary>
/// Base <see cref="Blazorise.RichTextEdit"/> component
/// </summary>
public class BaseRichTextEditComponent : BaseComponent
{
#region C... |
using System;
using System.Linq;
using System.Text.Json;
using Forms.Infrastructure.CloudFoundry.Models;
using StackExchange.Redis;
namespace Forms.Infrastructure.CloudFoundry
{
public static class CloudFoundryConnectionHelpers
{
public static ConnectionMultiplexer CreateRedisConnection()
{
... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics;
namespace Financier.DataAccess.Data
{
[DebuggerDisplay("{Title}")]
[Table(Backup.ATTRIBUTES_TABLE)]
public class AttributeDefinition : Entity, IIdentity
{
public const int TYPE_TEXT = 1;
public const int TYP... |
public static class XmlExtensions
{
public static void AppendChild(this System.Xml.XmlNode node, string name, string value)
{
System.Xml.XmlElement child = node.OwnerDocument.CreateElement(name);
child.AppendChild(node.OwnerDocument.CreateTextNode(value));
node.AppendChild(child);
}
public static void Appen... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenKh.Engine.Parsers.Kddf2
{
public class Kkdf2MdlxBuiltModel
{
public SortedDictionary<int, Model> textureIndexBasedModelDict;
public Kkdf2MdlxParser parser;
}
}
|
using System;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
namespace JJerkBot.Modules
{
public class HelloCommand : ICommand
{
public string Name => "hello";
public string Description => "Greets people.";
public string[] Alias => new []{ "hi", "hey" };
p... |
using System;
namespace Hinode.Izumi.Data.Enums.DiscordEnums
{
public enum DiscordContext : byte
{
Guild = 1,
DirectMessage = 2,
Group = 3
}
public static class IzumiDiscordContextHelper
{
public static string Localize(this DiscordContext context) => context switch... |
using Android.Content;
using Android.Runtime;
using Java.Util.Concurrent;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AndroidX.Work
{
public partial class OneTimeWorkRequest
{
public static OneTimeWorkRequest From<TWork... |
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.Mvc;
public class MvcController : Controller {
[OutputCache(Duration = 60, VaryByParam = "none", Location = OutputCacheLocation.ServerAndClient)]
public ActionResult Index() {
this.ViewData["generated... |
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class ShaderGUIBase : ShaderGUI
{
protected MaterialEditor _editor;
protected MaterialProperty[] _properties;
private static GUIContent _staticLabel = new GUIContent();
protected GUIContent MakeLa... |
using System;
namespace VS_Offline_Install_Cleaner
{
internal static class DirectorySize
{
public static string GetFolderSize(string folderPath)
{
Scripting.FileSystemObject fso = new Scripting.FileSystemObject();
Scripting.Folder folder = fso.GetFolder(folderPath);
... |
namespace Core.Data
{
public interface IHtmlWidgetRepository : IRepository<HtmlWidget>
{
}
public class HtmlWidgetRepository : Repository<HtmlWidget>, IHtmlWidgetRepository
{
AppDbContext _db;
public HtmlWidgetRepository(AppDbContext db) : base(db)
{
_db = db;
... |
using MarbleBot.Common.Games.Scavenge;
using MarbleBot.Common.Games.Siege;
using MarbleBot.Common.Games.War;
using System.Collections.Concurrent;
namespace MarbleBot.Modules.Games.Services
{
public class GamesService
{
public ConcurrentDictionary<ulong, Scavenge> Scavenges { get; set; } = new();
... |
using System;
using System.IO;
using System.Linq;
using ChromeCast.Desktop.AudioStreamer.Application.Interfaces;
using NAudio.Lame;
using NAudio.Wave;
namespace ChromeCast.Desktop.AudioStreamer.Classes
{
/// <summary>
/// MP3 encode a WAV stream.
/// </summary>
public class Mp3Stream
{
pri... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CheckPoint : MonoBehaviour
{
public bool _reached = false;
Material _material;
private void Awake()
{
_material = GetComponent<Renderer>()?.material;
}
void Start()
{
}
private void OnTriggerEnter(Collider othe... |
namespace Interfaces
{
public interface IThing
{
}
}
|
using Qurre.API.Events;
using Qurre.Events.Modules;
namespace Qurre.Events
{
public static class Round
{
public static event Main.AllEvents Waiting;
public static event Main.AllEvents Start;
public static event Main.AllEvents Restart;
public static event Main.AllEvents<RoundEndE... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using SceneLoadingSystem;
/// <summary>
/// Main class for sceneloader.
///
/// Holds all ui and logic objects.
/// </summary>
public class SceneLoader : ... |
using System.Collections.Generic;
using Diablerie.Engine.IO.D2Formats;
using Diablerie.Engine.LibraryExtensions;
namespace Diablerie.Engine.Datasheets
{
[System.Serializable]
[Datasheet.Record]
public class ItemStat
{
public static List<ItemStat> sheet;
static Dictionary<string, ItemSt... |
namespace Orleans.Consensus.Utilities
{
using System.Linq;
using Orleans.Consensus.Contract.Log;
public static class PersistentLogExtensions
{
public static string ProgressString<TOperation>(this IPersistentLog<TOperation> log)
{
return $"[{string.Join(", ", log.GetCursor(0... |
using System.Collections.ObjectModel;
namespace StartPagePlus.UI.ViewModels
{
using Options.Models;
public class StartViewModel : TabViewModel
{
public StartViewModel() : base()
{
Name = "Start";
Title = StartTabOptions.Instance.StartTabTitleText;
IsVi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ResolveScoreCommand : ICommand
{
private int _savedScore = -1;
private PlayerState _player;
private CustomerCardState _customer;
public static ResolveScoreCommand Create(
PlayerState player,
Cu... |
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;
namespace dllPlanReport
{
public partial class frmTenants : Form
{
public int id_tenant ... |
using System.Text;
using System.Text.RegularExpressions;
namespace ThemesOfDotNet.Indexing.GitHub;
public readonly struct GitHubAreaPathExpression
{
private readonly Regex _regex;
public GitHubAreaPathExpression(string pattern)
{
ArgumentNullException.ThrowIfNull(pattern);
_regex = new R... |
using System.ComponentModel.DataAnnotations.Schema;
using Aware.Model;
using Aware.Util;
using Aware.Util.Enum;
namespace Aware.File.Model
{
public class FileRelation : BaseEntity
{
public string FileName { get; set; }
public FileType Type { get; set; }
public string Path { get; set; ... |
namespace QuantConnect
{
using QuantConnect.Algorithm;
using QuantConnect.Algorithm.Framework.Alphas;
using QuantConnect.Algorithm.Framework.Execution;
using QuantConnect.Algorithm.Framework.Portfolio;
using QuantConnect.Algorithm.Framework.Risk;
using QuantConnect.Algorithm.Framework.Selection;... |
using FluentValidation;
namespace MillionAndUp.Core.Application.Feautures.PropertyImages.Commands.CreatePropertyImageCommand
{
public class CreatePropertyImageCommandValidator : AbstractValidator<CreatePropertyImageCommand>
{
public CreatePropertyImageCommandValidator()
{
RuleFor(p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.