content stringlengths 23 1.05M |
|---|
using System.Threading.Tasks;
namespace Orleankka
{
public static class ActorRefExtensions
{
public static Task Activate(this ActorRef @ref) => @ref.Tell(Orleankka.Activate.Message);
public static Task Deactivate(this ActorRef @ref) => @ref.Tell(Orleankka.Deactivate.Message);
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace xSkrape.APIWrapper
{
internal class AvailableMailboxesResult
{
public IList<AvailableMailbox> Mailboxes;
public bool Success;
public string Source;
public string Message;
}
internal class Avai... |
using Spire.Pdf;
using Spire.Pdf.Graphics;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TextToPDF
{
public partial class Form1 : Form
{
... |
namespace ScottPlot.Demo.WinForms.WinFormsDemos
{
partial class LiveDataUpdate
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
using Godot;
using System;
using System.Collections.Generic;
public class PersonData
{
public Vector2 position;
public float elev;
public PersonAction personAction = PersonAction.Idle;
public int pathIndex = 0;
public float walkSpeed = 2;
public Tile currentTile;
public string personId;
... |
using UnityEngine;
namespace com.tinylabproductions.TLPLib.Tween.fun_tween.serialization.tweeners {
[AddComponentMenu("")]
public class Transform_Position : SerializedTweener<Vector3, Transform> {
public Transform_Position() : base(
TweenOps.vector3, SerializedTweenerOps.Add.vector3, SerializedTweenerOp... |
using System.Linq;
using TaleWorlds.Engine;
namespace AdditionalQuestsCode.Utils
{
public class Helpers
{
public static bool IsMCMLoaded()
{
bool loaded = false;
var modnames = Utilities.GetModulesNames().ToList();
if (modnames.Contains("Bannerlord.MBOpti... |
using Microsoft.AspNetCore.Http;
using HotChocolate.AspNetCore.Instrumentation;
using HotChocolate.AspNetCore.Serialization;
using HotChocolate.AspNetCore.Subscriptions;
using RequestDelegate = Microsoft.AspNetCore.Http.RequestDelegate;
namespace HotChocolate.AspNetCore;
public class WebSocketSubscriptionMiddleware :... |
@{
ViewBag.Title = "Error";
}
<br /><br />
<div class="container-fluid">
<div class="alert alert-danger col-md-6 col-md-offset-3">
<h3 class="">You have stumbled upon an error</h3>
<div>The error details have been logged.</div>
</div>
</div>
|
using Integrator.Models;
using Integrator.Models.Domain.Companies;
using System;
using System.Collections.Generic;
namespace Integrator.Models.Domain.Companies
{
public partial class CompanyRelatedIndustryRepresentive:BaseEntity
{
public int CompanyRelatedIndustryID { get; set; }
publi... |
using System;
using System.Runtime.Serialization;
namespace Apollo.Core.Model.Entity
{
[Serializable]
[DataContract]
public class OfferAction : BaseEntity
{
[DataMember]
public string Name { get; set; }
[DataMember]
public int OfferRuleId { get; set; }
[DataMemb... |
using System;
namespace New.Hope.Api.Configuration
{
public class ApiSettings
{
public String Name { get; set; }
public String Version { get; set; }
public String Environment { get; set; }
}
}
|
using System.Threading.Tasks;
using Xtender.Async;
namespace Xtender.Example.Console.Async.Extensions
{
public class StatedItemExtensionBase : IAsyncExtension<string, Item>
{
public Task Extend(Item _, IAsyncExtender<string> extender)
{
System.Console.WriteLine("Entered ItemExtensi... |
/*
* User: m4rc3lo
* Date: 12/10/2019
* Time: 01:31
*/
using System;
namespace TTT
{
//Classe para execucao e controle do jogo
public class Jogo
{
// variável de instância (tem visibilidade em toda a classe)
// abstrai o tabuleiro, tipo de dado: matrix de char
private char[ , ] tabuleiro;
private Pes... |
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using NodaTime;
namespace AspNodaTime.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class EventsController : ControllerBase
{
static readonly List<Event> events = new List<Event>()
{... |
using Logy.Maps.Geometry;
using NUnit.Framework;
namespace Logy.Maps.ReliefMaps.World.From17
{
public class ReliefToNormalWander : ReliefToNormal
{
public ReliefToNormalWander() : base(7)
{
}
/// <summary>
/// how water moves from Greenland to Datum.Normal w... |
using EdFi.SampleDataGenerator.Core.Config;
namespace EdFi.SampleDataGenerator.Core.UnitTests.Config
{
public class TestLocationInfo : ILocationInfo
{
public string State { get; set; }
public ICity[] Cities { get; set; }
public static TestLocationInfo Default = new TestLocationInfo
... |
using Verse;
namespace AnimalBehaviours
{
public class CompProperties_RegisterAlternateGraphic : CompProperties
{
public CompProperties_RegisterAlternateGraphic()
{
this.compClass = typeof(CompRegisterAlternateGraphic);
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AE.Net.Mail {
public class SafeDictionary<KT, VT> : Dictionary<KT, VT> {
public SafeDictionary() { }
public SafeDictionary(IEqualityComparer<KT> comparer) : base(comparer) { }
public virtual new VT this[KT key] {
... |
using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TaxiApp.Account;
using TaxiApp.Cars;
using TaxiApp.Cars.Dtos;
namespace TaxiApp.Orders.Dtos
{
publ... |
/*using System;
using StoreBL;
using StoreModels;
namespace StoreUI
{
public class AddProduct : IMenu
{
private static Product _prod = new Product();
private IStoreBL _storeBL;
public AddProduct(IStoreBL p_storeBL)
{
_storeBL = p_storeBL;
}
... |
using Ardalis.ApiEndpoints;
using Ardalis.Result.AspNetCore;
using Ardalis.Result.Sample.Core.DTOs;
using Ardalis.Result.Sample.Core.Model;
using Ardalis.Result.Sample.Core.Services;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
namespace Ardalis.Result.SampleWeb.WeatherForecastFeatu... |
/*
* Created by SharpDevelop.
* User: L.Schnitzmeier
* Date: 14.11.2016
* Time: 13:02
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
namespace CarsonDummy
{
/// <summary>
/// Description of Settings.
/// </summary>
public class Settings
{
Gamemode Cur... |
using System.Collections;
using System.Collections.Generic;
namespace TreeCollections
{
/// <summary>
/// Enumerator for level-order (breadth-first) traversal with optional max depth of traversal
/// </summary>
/// <typeparam name="TNode"></typeparam>
public class LevelOrderEnumerator<TNode> : IEn... |
using System;
namespace Article.Nucleotide.SampleCmdApp
{
class Program
{
static void Main(string[] args)
{
var instance = new Article.Nucleotide.Shared.Models.UnkeyedUserModel();
}
}
}
|
using Unity.Entities;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Mathematics;
namespace Refsa.Collections.QuadTree
{
public unsafe struct QuadTreeNode
{
public int Index;
public int Count;
public static QuadTreeNode Null =>
new QuadTreeNod... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace XamarinAudioPlayer
{
public class CustomSlider : Slider
{
//public static readonly BindableProperty MaxColorProperty =BindableProperty.... |
using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using System.Linq;
namespace MLDB.Domain
{
public class Survey {
public Guid Id{ get; init; }
public Guid SiteId{ get; init; }
public string CreateUserId{ get; init; }
public DateTime Cr... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Comet
{
public class Spacer : View
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Model;
using WebFrontEnd.Contracts;
namespace WebFrontEnd.Controllers
{
public class TodoController : Controller
{
privat... |
namespace OJS.Common.Constants
{
public static class CacheConstants
{
public const int OneDayInSeconds = 86400;
public const string MainContestCategoriesDropDown = "MainContestCategoriesDropDown";
public const string ContestCategoriesTree = "ContestCategoriesTree";
public const... |
using System;
using Castle.DynamicProxy;
namespace Sweet.LoveWinne.Infrastructure
{
/// <summary>
/// Need be authenticated
/// </summary>
public class AuthenticationInterceptor : IInterceptor
{
public long UserId { get; set; }
public void Intercept (IInvocation invocation)
{
var authResu... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Net;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace CropModelMKS
{
readonly struct Label
{
public readonly string ProgID;
publ... |
namespace PosixCommandline.Tests.Options
{
public class Nested
{
public Simple Options { get; set; }
}
} |
using System.IO;
using UCS.Core;
using UCS.Core.Network;
using UCS.Helpers;
using UCS.Logic;
using UCS.PacketProcessing.Commands.Server;
using UCS.PacketProcessing.Messages.Server;
namespace UCS.PacketProcessing.Messages.Client
{
// Packet 14305
internal class JoinAllianceMessage : Message
{
long m... |
using Newtonsoft.Json;
using ScannTechSDK.Entidades;
using ScannTechSDK.Utils.Excecoes;
using System;
using System.Net.Http;
namespace ScannTechSDK.Mensagens
{
public class RequestBase: IDisposable
{
[JsonIgnore]
protected HttpClient client = new HttpClient();
[JsonIgnore]
publ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace QS.DomainModel.Entity
{
public abstract class DomainTreeNodeBase<TEntity> : PropertyChangedBase, IDomainObject
where TEntity : DomainTreeNodeBase<TEntity>
{
protected static readonly NLog.Logger logger = NLog... |
using NLog;
using System;
namespace Platinum.Metrics
{
/// <summary>
/// Metric helper.
/// </summary>
public class Metric
{
private static Logger logger = LogManager.GetCurrentClassLogger();
/// <summary>
/// Writes a time-series data-point.
/// </summary>
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScoreVisualizer : MonoBehaviour
{
RectTransform rect;
RectTransform t1Rect;
RectTransform t2Rect;
Image t1Image;
Image t2Image;
int t1Tween = 0;
int t2Tween = 0;
int prevS1;
int prevS2;
voi... |
using System;
using System.Text.RegularExpressions;
namespace Satochat.Shared.Util {
public static class StringUtil {
public static string ConvertLineEndings(string input, string lineEnding) {
return Regex.Replace(input, "\r\n|[\r\n]", lineEnding);
}
public static string Conve... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Real = System.Double;
namespace M2M.Position
{
public interface IPosition3D : IPosition2D
{
Real GetZ();
}
} |
// 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.Numerics;
using System.Runtime.Intrinsics;
using System.Runtime.CompilerServices;
public class GitHub_27551
{
static int returnVal = 100;
[Method... |
using Microsoft.AspNetCore.Http;
using System.IO;
using System.Net;
using System.Threading.Tasks;
namespace FeatureLoom.Web
{
public interface IWebRequestHandler
{
string Route { get; }
Task<bool> HandleRequestAsync(IWebRequest request, IWebResponse response);
}
public interface IWeb... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Devart.Data.MySql;
namespace MySqlBackupTestApp
{
public partial class FormTestExcludeTables : Form
{
public FormTestExcludeTables(... |
using Visma.Sign.Api.Client.Dtos;
namespace Visma.Sign.Api.Client.UnitTests.Builders.Dtos
{
sealed class PartnerAccessTokenDtoBuilder
{
private string m_accessToken = "xxxx";
private int m_expiresIn = 1;
private string m_tokenType = "Bearer";
private string m_scope = "";
... |
<div id="index-banner" class="parallax-container">
<div class="section no-pad-bot">
<div class="row valign-wrapper">
<div class="col s8 m6 l4 offset-s1 offset-m1 offset-l1">
<h1 class="center teal-text text-darken-3">Sofia</h1>
<h5 class="teal-text">
... |
using System;
using McMaster.Extensions.CommandLineUtils;
using PortainerClient.Helpers;
namespace PortainerClient.Command
{
/// <summary>
/// Base abstractions for CMD command
/// </summary>
/// <typeparam name="T">Portainer API type</typeparam>
public abstract class BaseApiCommand<T> : ICommand w... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System.IO;
using System.Threading.Tasks;
namespace PvPGameServer
{
class Program
{
static async Task Main(string[] args)
... |
using System.Html;
using System.Runtime.CompilerServices;
namespace System.Net.Messaging {
[IgnoreNamespace, Imported(ObeysTypeSystem = true)]
public partial class MessageEvent : Event {
internal MessageEvent() {
}
public MessageEvent(string type) {
}
public MessageEvent(string type, MessageEventInit ev... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Waker
{
public class DestroyPoolOfLifeCycle : MonoBehaviour
{
private int id;
private void OnDestroy()
{
Pool.DestroyPool(id);
}
public void Regist(int id)
{
this.id = id;
}
}
} |
using Newtonsoft.Json.Linq;
using System;
namespace IF.Lastfm.Core.Objects
{
/// <summary>
/// TODO YearFormed -> FormationList
/// "formationlist": {
/// "formation": {
/// "yearfrom": "2003",
/// "yearto": ""
/// }
/// }
///
/// TODO links
/// "links": {
... |
using System.Text.Json.Serialization;
using Terminal.Gui;
namespace PhantomKit.Models;
[Serializable]
public record HumanEditableColorScheme(HumanEditableAttribute Normal, HumanEditableAttribute Focus,
HumanEditableAttribute HotNormal, HumanEditableAttribute HotFocus,
HumanEditableAttribute Disabled) : IEquat... |
@model DancingGoat.Models.Cafe
<div class="col-md-6">
<div class="cafe-tile cursor-hand js-scroll-to-map" data-address="@Model.City, @Model.Street">
@if (ViewData.ContainsKey("ShowImage") && (bool)ViewData["ShowImage"] == true)
{
var photo = Model.Photo.FirstOrDefault();
<d... |
using System;
public class Appointment {
public string Content { get; set; }
private bool validDate = false;
private DateTime date;
public string Date {
get { return Date.ToString(); }
set {
if (DateTime.TryParse(value, out var dateValue)) {
date = dateValue;... |
namespace Wallr.ImageSource
{
public interface IImageFromSource
{
IImage Image { get; }
ImageSourceId SourceId { get; }
}
public class ImageFromSource : IImageFromSource
{
public ImageFromSource(IImage image, ImageSourceId sourceId)
{
Image = image;
... |
using System.Collections.Generic;
namespace PT.PM.Matching.PatternsRepository
{
public class CombiningPatternsRepository : MemoryPatternsRepository
{
private IPatternsRepository[] patternsRepositories;
public CombiningPatternsRepository(params IPatternsRepository[] patternsRepositorie... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AcademyPopcorn
{
class AcademyPopcornMain
{
const int WorldRows = 23;
const int WorldCols = 40;
const int RacketLength = 6;
static void Initialize(Engi... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace MonoDevelop.MSBuild
{
/// <summary>
/// Represents texts that can be displayed to the user
/// </summary>
public struct DisplayText
{
pu... |
using System;
using System.Globalization;
namespace Nager.ConfigParser
{
public abstract class BaseParserUnit
{
internal readonly CultureInfo _cultureInfo;
internal readonly char _valueDelimiter;
public BaseParserUnit()
{ }
public BaseParserUnit(CultureInfo cultureInf... |
using ConsultoraAPI.Models.Entities;
using ConsultoraAPI.Models.Repository;
using ConsultoraAPI.Models.RepositoryImpl;
using ConsultoraAPI.Models.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ConsultoraAPI.Models.ServiceImpl
{
public class Proy... |
namespace MediatRFluentDemo.Features.Milestones.Queries.GetMilestoneById
{
using MediatR;
using MediatRFluentDemo.Context;
using MediatRFluentDemo.Features.Milestones.Queries.GetAllMilestones;
using Microsoft.EntityFrameworkCore;
using Models;
using System.Collections.Generic;
using System.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Keylock : MonoBehaviour
{
public GameObject door;
public int id;
bool isDoorOpen;
public void OpenDoor()
{
//Cambiar rotacion de puerta para que se abra
door.transform.Rotate(0f, 90f, 0f)... |
namespace Apskaita5.DAL.Common.DbSchema
{
/// <summary>
/// Represents a type of a DbError, i.e. schema inconsistence.
/// </summary>
public enum DbSchemaErrorType
{
FieldMissing = 0,
FieldDefinitionObsolete = 1,
FieldObsolete = 2,
TableMissing = 3,
TableObso... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Controls Cube Behaviours
/// </summary>
public class CubeBehaviours_Example : MonoBehaviour
{
/// <summary>
/// Public variable to set the Cube's speed
/// </summary>
public float Speed = 0.3f;
/// <summary>
/// Pr... |
using System;
using System.Numerics;
using System.Text.RegularExpressions;
namespace Counting
{
public class StartUp
{
public static void Main()
{
string input = Console.ReadLine();
BigInteger number = BigInteger.Parse(Regex.Match(input, @"\d+").Value);
fo... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery;
namespace Microsoft.CodeAnalysis.CSharp.Completion.KeywordRecommenders
{... |
using System;
using System.Linq;
using System.Reflection;
using FullInspector.Internal;
using FullSerializer.Internal;
namespace FullInspector {
/// <summary>
/// Allows you to customize the `Add` item in, say, a Dictionary or a
/// HashSet. This is analogous to InspectorCollectionItemAttributes so please... |
using System;
using Teamway.WorkManagementService.Repository;
namespace Teamway.WorkManagementService.Repository.Entities
{
internal class ShiftEntity
{
public int Id { get; set; }
public DateTime Day { get; set; }
public ShiftType Type { get; set; }
public int WorkerId { ge... |
namespace DouduckLib {
public interface IState {
IStateController controller { get; set; }
bool isStarted { get; }
bool isCompleted { get; }
void StateUpdate ();
IState GetNextState ();
}
} |
using System;
using System.Reflection;
[assembly: AssemblyCopyright("Copyright © Tom Reich 2019")]
[assembly: AssemblyVersion("2019.2.10.*")] |
namespace LittleHeroes {
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class EnemyFactory : MonoBehaviour {
public float MaxEnemies;
public float MaxMeteor;
public Vector2 XRange;
public Vector2 YRange;
[SerializeField]
private GameObject _planet;
[Seriali... |
using System.Text.Json;
namespace EarWorm.Code {
public class SavedData {
const string SETTINGS_KEY = "SETTINGS";
const string SETDEF_KEY = "SETDEFS";
const string RESULTS_HISTORY_KEY = "RESULTS_HISTORY";
const string CURRENT_TEST_RESULT = "CURRENT_TEST_RESULT";
private Se... |
using System;
using System.Windows.Markup;
namespace Plainion.Windows.Xaml
{
/// <summary>
/// Xaml markup comparable to XInclude. Allows simple include of Xaml files into other Xaml files.
/// </summary>
[MarkupExtensionReturnType( typeof( object ) )]
public class IncludeExtension : MarkupExtensi... |
using UnityEngine;
namespace XFramework.Draw
{
public partial class RuntimeHandle
{
protected class Resources
{
public Material lineMat;
public Material quadeMat;
public Material shapMatRed;
public Material shapMatBlue;
public Materia... |
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
using ClangSharp.Interop;
namespace ClangSharp
{
public sealed class RecordType : TagType
{
internal RecordType(CXType handle) : ba... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sds.Osdr.WebApi.ConnectedUsers
{
public class ConnectedUserManager : IConnectedUserManager
{
IDictionary<Guid, Guid> _users = new Dictionary<Guid, Guid>();
private object _sync = new obje... |
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using StockExchangeYahooFinance.DbContext;
namespace StockExchangeYahooFinance.Migrations
{
[DbContext(typeof(YahooFi... |
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using Benchmarks.AspNet.Models;
namespace Benchmarks.AspNet.Controllers
{
public class EntityFrameworkController : Controller
{
Random random = new Random();
public ActionResult Index(string providerName, string queries)
... |
namespace Panther.CodeAnalysis.Syntax
{
public enum SyntaxKind
{
// Special Tokens
EndOfInputToken,
IdentifierToken,
CommaToken,
// Trivia tokens
InvalidTokenTrivia,
EndOfLineTrivia,
WhitespaceTrivia,
LineCommentTrivia,
BlockComme... |
namespace Interfaces.Animal.Cat
{
class Tomcat : Cat
{
public Tomcat(string animal, int age, char gender = 'M') : base(animal, age, gender)
{
}
}
}
|
namespace MoviesRecommendationSystem.Data
{
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using MoviesRecommendationSystem.Data.Models;
public class MoviesRecommendationDbContext : IdentityDbContext<User>
{
public MoviesRecommendationDbConte... |
namespace Fonet.Cli
{
using System;
using System.IO;
using Fonet.Cli.Parser;
using Fonet.Render;
using Fonet.Render.Pdf;
/// <summary>
/// Command line interface for FO.NET.
/// </summary>
public class FonetCli
{
/// <summary>
/// Option to specify the input FO f... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LoopingOsc : MonoBehaviour {
// Use this for initialization
public float intensity = 1.0f;
public float rate = 3.0f;
float start;
float iX;
void Start () {
start = Time.time;
iX = GetComponent<RectTransform> ().loc... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Security.AccessControl;
using System.Web;
namespace ResTB.DB.Models
{
/// <summary>
/// process dependent calculation parameters
/// </summary>
publ... |
using System;
using System.Runtime.InteropServices;
namespace RemoteControlSystem.ClientMessage
{
[Guid("F3B5D2EE-A02A-4c8c-89A1-319B525DD1C7")]
[Serializable]
public sealed class ControlEnterMessage
{
}
}
|
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using FlaUInspect.ViewModels;
namespace FlaUInspect.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow
{
private readonly MainViewModel _vm;
pu... |
public static class DungeonTextExtension
{
public enum RoomType
{
LesserMob,
Boss,
Start,
Finish,
Loot
}
public enum TextType
{
RoomEnter,
Greeting,
Main,
Question,
Success,
Failure,
Dismissal,
... |
using System;
using UnityEngine;
using SA.Android.Editor;
using SA.iOS.Editor;
namespace SA.CrossPlatform.Editor
{
[Serializable]
class UM_ExportedSettings
{
public string Settings => m_Settings;
public AN_ExportedSettings AndroidSettings => m_AndroidSettings;
public ISN_ExportedS... |
using System;
using System.ComponentModel;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
using Toaster.Interfaces;
namespace Toaster.WebAPI
{
/// <summary>
/// Monitor the toaster status. Supports long polling.
/// </summary>
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BethanysPieShop.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace BethanysPieShop.Controllers
{
public class OrderController : Controller
{
private readonly ... |
using System;
using System.Runtime.Serialization;
namespace SlnParser.Contracts.Exceptions
{
/// <summary>
/// An <see cref="Exception" /> that describes an unexpected structure of a Solution
/// </summary>
[Serializable]
public class UnexpectedSolutionStructureException : Exception
{
... |
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using HarmonyLib;
namespace SolastaCommunityExpansion.Patches.Encounters
{
[HarmonyPatch(typeof(GameLocationBattle), "GetMyContenders")]
[SuppressMessage("Minor Code Smell", "S101:Types should be named in PascalCase", Justification = "Pa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LentoCore.Util;
namespace LentoCore.Evaluator
{
public class TokenizeDoneEventArgs : EventArgs
{
public TokenStream TokenStream { get; }
public TokenizeDoneEventArgs(Token... |
using System;
namespace Toggl.Foundation.Analytics
{
public enum LoginErrorSource
{
InvalidEmailOrPassword,
GoogleLoginError,
Offline,
ServerError,
MissingApiToken,
Other
}
}
|
using SFA.DAS.AssessorService.Api.Types.Models.Dashboard;
namespace SFA.DAS.AssessorService.Application.Api.Client.Clients
{
public interface IDashboardApiClient
{
System.Threading.Tasks.Task<GetEpaoDashboardResponse> GetEpaoDashboard(string epaoId);
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using BaroqueUI;
public class UnknownBox : MonoBehaviour
{
public Material activeMat, defaultMat, probablyBombMat, extraLightMat, probablyBombExtraLightMat;
public bool probablyBomb;
public Vector3Int position;
public Mine... |
// JAMBOX
// General purpose game code for Unity
// Copyright (c) 2021 Ted Brown
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Jambox
{
/// <summary>
///
/// </summary>
public class FpsTrigger : MonoBehaviour
{
public Action OnInteract;
public bool... |
using System;
using System.Collections.Generic;
using Starship.Core.Extensions;
namespace Starship.Core.Security {
public class PermissionContext {
public PermissionContext() {
Permissions = new Dictionary<Type, Dictionary<string, Permission>>();
}
public PermissionTypes Get(T... |
// 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.EnterpriseServices.Internal;
namespace ICSharpCode.AspNet.Mvc
{
public class IIS6Administrator : ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Text;
namespace WpfHexEditor.Sample.MVVM.Contracts.Hex {
/// <summary>
/// This interface parse the stream to custom Seagments;
/// </summary>
public interface IStreamToSeagmentsParse... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.