content stringlengths 23 1.05M |
|---|
using Sirenix.OdinInspector;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[TypeInfoBox("[ILevelLocal] Manage Setup Scene behaviour")]
public class SetupManager : MonoBehaviour, ILevelLocal
{
public void InitScene()
{
Debug.Log("INIT setup !!");
S... |
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace TatumPlatform.Model.Requests
{
public class UpdateVirtualCurrency
{
[Required]
[StringLength(30, MinimumLength = 1)]
[RegularExpression(@"^[a-zA-Z0-9_]+$")]
[JsonPropertyName("name")]
... |
using System;
using UnityEngine;
using System.Collections;
using System.Reflection;
using System.Security;
using uAdventure.Core;
namespace uAdventure.Editor
{
public class ChangeBooleanValueTool : ChangeValueTool<object, bool>
{
public ChangeBooleanValueTool(object data, bool newValue, string prope... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MarkerManager : MonoBehaviour
{
public static MarkerManager instance;
public GameObject clickMarker;
bool destroyOldestMarker = false;
List<GameObject> activeMarkers = new List<GameObject>();
Transform ef... |
// 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
namespace DotNetNuke.Web.Common
{
using System;
using System.ComponentModel;
public class LazySer... |
using System.Collections;
using System.Collections.Generic;
using DigitallyCreated.Utilities.Bcl.Linq;
namespace DigitallyCreated.Utilities.Mvc
{
/// <summary>
/// View model that supports the <see cref="DigitallyCreated.Utilities.Bcl.Linq.Sorter{T}"/> class and
/// paging of data
/// </summary>
/// ... |
using BefunCompile.CodeGeneration.Generator;
using BefunCompile.Graph.Optimizations.Unstackify;
using BefunCompile.Math;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BefunCompile.Graph.Expression
{
public class ExpressionVariable : BCExpression, MemoryAccess
{
public readonly strin... |
using AChildsCourage.Game.Floors.Courage;
namespace AChildsCourage.Game.Floors.RoomPersistence
{
public readonly struct SerializedCouragePickup
{
public TilePosition Position { get; }
public CourageVariant Variant { get; }
public SerializedCouragePickup(TilePosition position, Cour... |
//namespace BlamanticUI
//{
// using Abstractions;
// using YoiBlazor;
// [HtmlTag]
// [CssClass("popup")]
// public class Popup : BlamanticChildContentComponentBase,IHasUIComponent
// {
// protected override void CreateComponentCssClass(Css css)
// {
// }
// }
//}
|
using Usemam.IdentityServer4.KeyRack;
namespace Usemam.IdentityServer4.KeyRack.IntegrationTests
{
public interface IKeyServiceIntegrationFactory
{
IKeyService CreateService(KeyRackOptions options);
}
} |
using Microsoft.AspNetCore.Mvc;
using DotNetCoreAngular.Data.Services;
using DotNetCoreAngular.Data.Models;
using System;
namespace DotNetCoreAngular.Controllers
{
[Route("api/[controller]")]
public class BookController : Controller
{
private IBookService _service;
public BookController(I... |
using System.Threading.Tasks;
namespace ModernSlavery.Core.Interfaces
{
public interface IPostcodeChecker
{
Task<bool> IsValidPostcode(string postcode);
}
} |
using System;
namespace EzSurvey.Presentation.State
{
internal class ActionSubscription
{
public readonly Type ActionType;
public readonly Action<object> Callback;
public readonly object Subscriber;
public ActionSubscription(object subscriber, Type actionType, Action<object> c... |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.CollectionsGeneric;
namespace NetOffice.PublisherApi
{
#region Delegates
#pragma warning disable
public delegate void Application_WindowActivateEventHandler(NetOffice.PublisherApi.Window wn);
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Biblioteca.Controllers
{
public class LivroController
{
private BibliotecaContainer contexto = new BibliotecaContainer();
public void Adicionar (Livro livro)
{
contexto.Livros.Ad... |
using DG.Tweening;
using UnityEngine;
using UnityEngine.UI;
public class SettingsMenuController : MonoBehaviour
{
[Header("Space between menu items")] [SerializeField]
private Vector2 spacing;
[SerializeField] private MenuItem[] menuItems;
[Space] [Header("MainButton Rotation")] [SerializeField]
... |
using Plus.Domain.Entities;
using System.Linq;
namespace Plus.Auditing
{
public static class EntityHistorySelectorListExtensions
{
public const string AllEntitiesSelectorName = "Plus.Entities.All";
public static void AddAllEntities(this IEntityHistorySelectorList selectors)
{
... |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0.Asm
{
using System;
using System.Runtime.CompilerServices;
using static ... |
using System.Runtime.Serialization;
namespace MultiPlug.Ext.RasPi.Config.Models.Components.Home
{
public class HomeProperties : SharedProperties
{
[DataMember]
public string RaspberryPiModel { get; set; }
[DataMember]
public string OSVersion { get; set; }
public string ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chip8
{
[Serializable]
struct EmuState
{
public byte[] mem; //size 4096 (4kb)
public byte[] V; //registers (0-F)
public UShortStack stac... |
using System.Runtime.Serialization;
namespace Rundeck.Api.Models
{
/// <summary>
/// System Stats
/// </summary>
[DataContract]
public class Stats
{
/// <summary>
/// Uptime
/// </summary>
[DataMember(Name = "uptime")]
public Uptime Uptime { get; set; } = new Uptime();
/// <summary>
/// CPU info
... |
using System;
using System.IO;
using System.Collections.Generic;
namespace generics
{
public delegate T GenericDelegate<T>(ref T t);
public class A
{
}
public class A<T>
{
public delegate U GenericDelegateInGenericClass<U>(T t, U u);
public T bar<X>(X x, T t) where X : new()... |
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Korzh.NLP
{
/// <summary>
/// Defines the interface for a language-detection service
/// </summary>
public interface ILanguageDetector
{
/// <summary>
/// Returns an array of detecte... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using RevStack.Pattern;
namespace RevStack.Cache
{
public class CacheRepository<TEntity,TKey> : ICacheRepository<TEntity,TKey> where TEntity :class, IEntity<TKey>
{
protected double _hours=2;
... |
// <Snippet1>
using System;
using System.Text;
class UnicodeEncodingExample {
public static void Main() {
UnicodeEncoding unicode = new UnicodeEncoding();
String encodingName = unicode.EncodingName;
Console.WriteLine("Encoding name: " + encodingName);
}
}
// </Snippet1>
|
using System.Web.Http;
using System.Web.Routing;
using Sitecore.Pipelines;
namespace ContainerWarmer.Pipelines
{
public class LoadRoutes
{
public void Process(PipelineArgs args)
{
// Registration
RouteTable.Routes.MapHttpRoute("warmup", "healthz/warm", new { action = "W... |
using SampleAspNetMvcWebProject.Helpers.HttpResponseHandlers;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
namespace SampleAspNetMvcWebProject.Helpers
{
public abstract class HttpResponseHandler
{
protected HttpStatusCode OkStatusCode { get { return HttpStat... |
using Verifiable.Core.Did;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Verifiable.Tests
{
/// <summary>
/// https://www.w3.org/TR/did-core/#s... |
//
// Copyright (c) 2018 Rodrigo Zechin Rosauro
//
using System.Collections.Generic;
using System.Reflection;
namespace JiraKanbanMetrics
{
/// <summary>
/// On-disk cache contract
/// </summary>
public class Cache
{
public string Version { get; set; } = Assembly.GetEntryAssembly().GetName... |
using UnityEditor;
using UnityEngine;
namespace GTVariable.Editor
{
public class EditorGroupElement<T>
where T : MonoBehaviour
{
public EditorGroupElement(T component,string name = "",bool useDefaultNameIfEmpty = true)
{
Component = component;
SerializedObject =... |
using System;
using System.Linq;
namespace Multithreading_and_asynchronous_processing.Exemplos.UtilizandoPLINQ
{
public class CatchingAggregateException
{
public CatchingAggregateException()
{
var numbers = Enumerable.Range(0, 20);
try
{
va... |
using System.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using OmniSharp.Extensions.JsonRpc.Generators.Contexts;
namespace OmniSharp.Extensions.JsonRpc.Generators
{
internal interface IExtensionMethodGeneratorStrategy
{
IEnumerable<MemberDeclarationSyntax> Apply(GeneratorData item)... |
using System;
using System.Linq;
using System.Threading;
using WireMock.Logging;
using WireMock.Server;
namespace WireMock.Net.StandAlone.NETCoreApp
{
class Program
{
private static int sleepTime = 30000;
private static FluentMockServer server;
static void Main(string[] args)
... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using HotChocolate.Execution;
using HotChocolate.Utilities;
using Microsoft.AspNetCore.WebUtilities;
namespace HotChocolate.Stitching.Execution;
internal sealed class Http... |
namespace RhythmCodex.Beatmania.Converters
{
public interface IBeatmaniaPs2KeyProvider
{
string GetKeyFor14thStyle();
string GetKeyFor15thStyle();
string GetKeyFor16thStyle();
}
} |
using System;
namespace Stl.Time
{
public static class MomentEx
{
public static Moment ToMoment(this DateTime source) => new Moment(source);
public static Moment ToMoment(this DateTimeOffset source) => new Moment(source);
}
} |
namespace DepRegAttributes.ExampleLibrary.RegisteredClasses.Singletons
{
[RegisterSingleton]
public class SingletonClassRegigisteredAsSelf
{
readonly string _id;
public SingletonClassRegigisteredAsSelf()
{
_id = Guid.NewGuid().ToString();
}
public void ... |
using System;
using Unity.Entities;
using Unity.Transforms;
#if UNITY_DOTSPLAYER
using Unity.Tiny.Input;
using Unity.Tiny.Audio;
#else
using UnityEngine;
#endif
namespace TinyRacing.Systems
{
/// <summary>
/// Update the main menu UI
/// </summary>
[UpdateBefore(typeof(ResetRace))]
public cla... |
using System;
using System.Collections.Generic;
using System.Linq;
using FlightManager.Common;
using FlightManager.Data;
using FlightManager.Domain;
using FlightManager.Services.Models;
using Microsoft.EntityFrameworkCore;
namespace FlightManager.Services
{
public class FlightService : IFlightService
{
... |
using System.Threading.Tasks;
using System.Web.Http;
using WebForms.Tools;
namespace WebForms.Controllers
{
[RoutePrefix("api/test")]
public class TestController : ApiController
{
[HttpGet]
[Route("{id}")]
public async Task<int> GetAsync(int id)
{
await HttpCall... |
using UnityEngine;
public class ActionPoint : MonoBehaviour, IRespawnable {
public void Respawn() {
gameObject.SetActive(true);
}
}
|
namespace NET6.Infrastructure.Repositories;
/// <summary>
/// 日志仓储
/// </summary>
public class OperationLogRepository : BaseRepository<OperationLog, OperationLogView>
{
public OperationLogRepository(IHttpContextAccessor context, SqlSugarScope sqlSugar) : base(context, sqlSugar)
{
}
}
|
using System;
namespace BepuPhysicsExample.BepuPhysicsIntegration
{
[Flags]
public enum BepuPhysicsEngineFlags
{
None = 0x0,
CollisionsOnly = 0x1,
SoftBodySupport = 0x2,
MultiThreaded = 0x4,
UseHardwareWhenPossible = 0x8,
ContinuousCollisionDetection = ... |
namespace NPOI.SS.UserModel
{
/// <summary>
/// Common defInition of a HSSF or XSSF page header.
/// For a list of all the different fields that can be
/// placed into a header, such as page number,
/// bold, underline etc, see
/// </summary>
public interface IHeader : IHeaderFooter
{
}
}
|
@using System.Web.Optimization
@model IndicatorsUI.MainUI.Models.AreaList.AreaListViewModel
@{ Layout = "~/Views/Shared/_LayoutPage.cshtml"; }
@section headContent {
@Html.Partial("_JavaScriptAndCssForContentPage")
@Styles.Render("~/bundles/css-login")
@Styles.Render("~/bundles/css-area-list-index")
}
@Scr... |
namespace Assets.Src.Game.Creatures
{
using UnityEngine;
public class EvilFish : MonoBehaviour
{
private float Speed;
void LateUpdate()
{
Speed *= 1.05f;
gameObject.transform.Translate(-Speed*Time.deltaTime,0,0);
}
public void SpeedUp()
... |
@using FantasyFL.Web.ViewModels.Transfers
@model List<AddPlayerListingViewModel>
@{
ViewData["title"] = "Add Player";
}
<h5 class="text-center text-danger pb-4">Choose a new player</h5>
<form asp-action="AddPlayer">
<div class="overflow-auto rel-view">
<table id="playersTable" class="table table-hov... |
namespace WebAPI.Common.Services
{
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebAPI.Common.Helper;
using WebAPI.Common.Models;
public c... |
using Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Repositories.Generic
{
public class DbRepository<T> : IDbRepository<T> where T : class, IDbEntity
{
public DbContext Context ... |
using System.Collections.Generic;
using System.Linq;
using ErrorCentral.Application.Services;
using ErrorCentral.Application.Validators;
using ErrorCentral.Domain.DTOs;
using ErrorCentral.Domain.Models;
using ErrorCentral.Infra.Context;
using ErrorCentral.Infra.Repositories;
using ErrorCentral.Test.Unit.Infra.Context;... |
using FishTechWebManager.Models;
using System.Collections.Generic;
namespace FishTechWebManager._Repository.Core
{
public interface ITanqueRepository
{
void Include(Tanque item);
void Update(Tanque item);
void Delete(int Id);
Tanque GetbyID(int Id);
IEnumerable<Tanque> ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class ShootingEnemy : Enemy
{
public AudioSource DeathSound;
//interval at which the enemy will shoot at the player
public float shootingInterval = 4f;
//to ensure enemy shoots when in a specifi... |
namespace Upds.Sistemas.ProgWeb2.Tintoreria.Core
{
public class TrabajoDetalle
{
#region Atributos
public int IdTrabajoDetalle { get; set; }
public string CodigoPrenda { get; set; }
public Categoria Categoria { get; set; }
public decimal PrecioFinal { get; set; }
... |
//------------------------------------------------------------------------------
// Copyright (c) 2019 Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using Microsoft.SqlServer.Types;
using SQL... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Raytracer {
public class AnimatedProperty {
public class Keyframe {
public float time;
public float floatValue;
public Vector3 vec... |
using UnityEngine;
using System.Collections;
public class ButterfyAnimatorController : MonoBehaviour {
Animator anim;
void Start () {
anim = GetComponent<Animator>();
StartCoroutine(StartStopFlying());
}
private IEnumerator StartStopFlying()
{
while (true)
{
... |
using System.Collections.Generic;
using System.Windows.Forms;
using ExcelTableConverter.ExcelContent;
using ExcelTableConverter.ExcelContent.Model;
namespace ExcelTableConverter.TableConverter
{
public abstract class BaseTableConverter
{
public abstract string ConverterName { get; }
/// <summary>
/// ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class afItemRenderer : MonoSingleton<afItemRenderer>
{
public RenderTexture m_itemRenderTexture;
public Camera m_itemCamera;
public cxUITweenFx m_itemFx;
public Transform m_attachT;
GameObject m_itemObject;
public RenderTex... |
using System.Collections.Generic;
using System.Linq;
namespace Chromia.Postchain.Client
{
public class Operation
{
public string OpName;
public List<GTXValue> Args;
private object[] _rawArgs;
public Operation(string opName, object[] args): this()
{
this.OpNa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using Fhi.Controls.MVVM;
using FhiModel.Common;
namespace Fhi.Controls.Utils
{
public class IndicatorMetadataViewModel : ViewModelBase
{
... |
using System;
using NUnit.Framework;
using SharpBucket.V2.EndPoints;
using SharpBucket.V2.Pocos;
namespace SharpBucketTests.V2
{
[SetUpFixture]
public class SampleRepositories
{
public const string MIRROR_ACCOUNT_NAME = "mirror";
public const string MIRROR_ACCOUNT_UUID = "{71b06a8f-295c-43... |
@model PDSC.Common.ViewModelBase
<input type="hidden" asp-for="SortExpression" />
<input type="hidden" asp-for="SortExpressionPrevious" />
<input type="hidden" asp-for="SortDirection" />
<input type="hidden" asp-for="SearchAsJson" />
<input type="hidden" asp-for="Pager.PageIndex" />
<input type="hidden" asp-for... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MonoBehaviorExtension;
using TMPro;
public class PlayerResources: ResourceGroup
{
public Resource health;
public Resource food;
public Resource water;
void Awake()
{
this.resources = new Diction... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading;
namespace rawtrack.TrackData
{
public class TrackInfo
{
public string outFileName = "";
public int inputFrameLength = 1024;
public int outputFrameLength = 768;... |
using System;
using System.Configuration;
using System.Runtime.InteropServices;
namespace ManagedCOMService
{
[Guid("F4D3BC92-0F55-44C6-AAAD-7825E50CD6BA")]
[ClassInterface(ClassInterfaceType.None)]
public class Calculator:ICalculator
{
public int Add(int num1, int num2)
{
... |
extern alias akka;
using akka::Akka.Actor;
using akka::Akka.Routing;
using ConsoleApp.Shared.Exceptions;
using System;
namespace ConsoleApp.App
{
internal static class CommandHandlerActorConfig
{
/// <summary>
/// Consistent Hash Mapping function
/// </summary>
private readonly static ConsistentHashMapping... |
using System.IO;
using System.Text;
namespace SharpGlyph {
/// <summary>
/// Control Value Program (prep).
/// <para>TrueType Outline</para>
/// </summary>
//[TrueTypeOutline]
public class PrepTable : Table {
public const string Tag = "prep";
/// <summary>
/// Set of instructions executed whenever point... |
namespace Meziantou.GitLabClient.Generator.GitLabModels
{
partial class Models
{
public static ParameterEntityBuilder UserIdOrUserNameRef { get; } = CreateParameterEntity(entity =>
entity.SetRefs(
ParameterEntityRef.Create("userId", ModelRef.NumberId),
Parame... |
using Jbet.Core.AuthContext.Commands;
using Jbet.Domain;
using Jbet.Tests.Customizations;
using Jbet.Tests.Extensions;
using Microsoft.EntityFrameworkCore;
using Shouldly;
using System.Threading.Tasks;
using Xunit;
namespace Jbet.Tests.Business.AuthContext
{
public class RegisterHandlerTests : ResetDatabaseLifeti... |
using ResultFunctionalXUnit.Mocks.Interfaces;
using Moq;
using ResultFunctional.FunctionalExtensions.Sync;
using Xunit;
namespace ResultFunctionalXUnit.FunctionalExtensions.Sync
{
/// <summary>
/// Методы расширения для действий. Тесты
/// </summary>
public class VoidExtensionsTest
{
/// <... |
namespace Raven.Server.Dashboard
{
public enum DashboardNotificationType
{
TrafficWatch,
DatabasesInfo,
IndexingSpeed,
MachineResources,
DriveUsage
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using sXb_service.Helpers.ModelValidation;
namespace sXb_service.Models {
public class Book {
[Key]
public Guid Id { get; set; }
... |
using FluentNHibernate.Mapping;
namespace FluentNHibernate.Conventions.Inspections
{
public interface IParentInspector : IInspector
{
string Name { get; }
Access Access { get; }
}
} |
using NUnit.Framework;
using System;
using RestSharp;
using System.Net;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace Solitude.Server.Tests
{
[TestFixture ()]
public class WebApiTests : WebApiMethods
{
// [Test()]
// public void TestUsers ()
// {
// f... |
global using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HappySpoonBL;
using HappySpoonDL;
using HappySpoonUI;
namespace HappySpoonUI
{
//Main Menu display and Main Menu choice interaction
class MainMenu : IMenu
{
... |
using System;
using ScriptDelivery;
using System.Security.Cryptography;
using System.IO;
using ScriptDelivery.Maps;
namespace ScriptDelivery.Files
{
/// <summary>
/// サーバ側でのみ使用。Mappingファイルの情報を格納
/// </summary>
internal class MappingFile
{
public string Path { get; set; }
... |
// Copyright © 2019 Shawn Baker using the MIT License.
using System.Collections.Generic;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace RPiCameraViewer
{
/// <summary>
/// Help page.
/// </summary>
public sealed partial class HelpPage : Page
{
/// <summary>
/// Constructor - ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Htecs {
bool in_combat;
protected SortedList<float, ActiveUnit> readies;
List<ActiveUnit> active_units;
ActiveUnitMarker active_unit_marker;
public Htecs(ActiveUnitMarker _active_unit_marker) {
in_combat = false... |
namespace Framework.Core.Common.Contracts
{
public interface IDomainEvent
{
public string AggregateId { get; }
public long Id { get; }
public bool SavedInPersistenceMedia { get; }
public string UniqueTypeId { get; }
public ushort Version { get; }
public bool S... |
namespace bytePassion.FileRename.RenameLogic.Enums
{
public enum ItemType
{
File,
Directory
}
}
|
// ReSharper disable InconsistentNaming
// ReSharper disable SuggestVarOrType_Elsewhere
// ReSharper disable SuggestVarOrType_BuiltInTypes
using System.Runtime.CompilerServices;
#if (NETCOREAPP2_1 || NETSTANDARD2_1)
using System;
#endif
namespace Farmhash.Sharp
{
/// <summary>
/// Class that can calculate 32... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AddonCardManager : MonoBehaviour
{
public static AddonCardManager Instance { get; private set; }
public string[] addonCardNames { get; private set; }
[SerializeField] private AddonCardGroup[] addonCa... |
using System.Security.Principal;
namespace Conclave.Process.User {
public interface IUserCredentials : IData, IIdentity {
string Id { get; }
// string Name { get; } is present on IIdentity
string Password { get; }
long Mask { get; }
string Email { get; }
}
} |
using System;
namespace Aegis.Model
{
public class AegisPersonInfo
{
public Guid Id { get; }
public string Name { get; }
public byte[] PublicKeyHash { get; }
public byte[] PublicKey { get; }
public string Role { get; }
public AegisPersonInfo(Guid id, string name... |
using System;
using System.ComponentModel.DataAnnotations;
using LuisDelValle.TimesheetSolution.Abstractions;
namespace LuisDelValle.TimesheetSolution.WebApi.Models
{
public class Timesheet : ITimesheet
{
public int TimesheetId { get; set; }
[Required]
public DateTime Date { get; set; ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using TMS.Common;
namespace TMS.WinUI
{
public partial class FormSearch : Form
{
public FormSearch()
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using Caliburn.Micro;
namespace ConductorScreenDemo.ViewModels
{
public class Screen3ViewModel : Screen
{
}
}
|
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
namespace UniDortmund.FaProSS17P3G1.MapGenerator.Algorithm
{
public class GridWithJitterCache
{
private readonly GridWithJitter mGridWithJitter;
private readonly Dictionary<Vector2, Vector2> mCache
... |
using Liversage.Primitives;
using System;
using System.Text.Json.Serialization;
namespace SystemTextJson
{
[Primitive]
[JsonConverter(typeof(TimestampConverter))]
public readonly partial struct Timestamp
{
readonly DateTimeOffset timestamp;
public static Timestamp Now => DateTimeOffse... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UniRx;
using UniRx.Triggers;
using InputObservable;
using Zenject;
namespace Arex.Examples
{
public class PlaceObject : MonoBehaviour
{
[SerializeField] GameObject prefab = default;
... |
using HaloOnline.Server.Core.Http.Model.ArbitraryStorage;
using HaloOnline.Server.Model.ArbitraryStorage;
namespace
HaloOnline.Server.Core.Http.Interface.Services
{
public interface IArbitraryStorageService
{
WriteDiagnosticsDataResult WriteDiagnosticsData(WriteDiagnosticsDataRequest request);
... |
// 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.VisualStudio.TestPlatform.Common.ExtensionFramework.Utilities
{
using System;
using System.Collections.Generic;
public abst... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ClusterMovement : MonoBehaviour
{
public float initialSpeed = 2f;
public float additionalSpeedOnBounce = 1f;
public float maxSpeed = 20f;
public float dropDistancePerBounce = 1;
private Vector3 ... |
namespace EEFApps.ApiInstructions.DataInstructions.Instructions.Structures
{
/// <summary>
/// Aggreagation type for grouping instruction
/// TODO: there will be added several types in future when their implementation is done
/// </summary>
public enum AggregationType
{
Count
}
}
|
using OpenKh.Common;
using OpenKh.Imaging;
using OpenKh.Kh2;
using OpenKh.Kh2.Contextes;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace OpenKh.Tools.ImageViewer.Services
{
public partial class ImageFormatService
{
private static bool IsKh2Font(Stream input... |
using System.Reflection;
using LiberisLabs.DogStatsD.Interceptors.Annotations;
using LiberisLabs.DogStatsD.Interceptors.Interceptors;
using Moq;
using NUnit.Framework;
namespace LiberisLabs.DogStatsD.Interceptors.Tests.Interceptors.TimerInterceptorTests
{
[TestFixture]
public class TimerInterceptorCanIntercep... |
using System;
using System.Text;
using NittyGritty.Platform.Payloads;
namespace NittyGritty.Uwp.Activation.Operations.Configurations
{
public class ProtocolForResultsConfiguration
{
public ProtocolForResultsConfiguration(string path, SingleViewConfiguration<ProtocolForResultsPayload> view)
{
... |
using Application.Common.Validators;
using FluentValidation;
namespace Application.Users.Command.EditUserProfile
{
public class EditUserProfileValidation : AbstractValidator<EditUserProfileCommand>
{
public EditUserProfileValidation()
{
RuleFor(f => f.DisplayName)
.... |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.Rendering;
namespace E7.NotchSolution
{
[Serializable]
internal class SimulationDevice
{
public MetaData Meta;
public ScreenData[] Screens;
public S... |
@using CASServer
@{
this.ViewBag.Title = "Avator";
}
@section Scripts{
@{
BundleConfig.Js.Loadmask();
BundleConfig.Js.Toastmessage();
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.