content
stringlengths
23
1.05M
using System.Globalization; using System.Security.Cryptography; using System.Text; namespace RabbitMQ.Migrations.Helpers { internal static class HashHelper { public static string ComputeSha256Hash(object data) { var rawData = JsonConvertHelper.SerializeObjectToByteArray(data); ...
using System; using System.Runtime.InteropServices; namespace UnityEngine.XR.iOS { public struct ARLightEstimate { public float ambientIntensity; } [Serializable] public struct UnityARLightEstimate { public float ambientIntensity; public float ambientColorTemperature; public UnityARLightEstimate(float...
using System.Collections.Generic; using Avalonia.Controls; namespace Avalonia.Markup.Xaml.PortableXaml { internal class AvaloniaNameScope : Portable.Xaml.Markup.INameScope { public object Instance { get; set; } private Dictionary<string, object> _names = new Dictionary<string, object>(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ICSharpCode.ILSpy; using ICSharpCode.ILSpy.TreeNodes; namespace PgoPlugin.ReloadAssembly { [ExportContextMenuEntry(Header = "_Reload", Icon = "refresh.png")] public class ReloadAssemblyCommand : IContextMenuEntry {...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Lib.Data; using Lib.Indexing.Collectors; using Lib.Indexing.Prototypes; namespace Lib.Indexing { /// <summary> /// The IndexCollector wrappert /// </summary> /// <typeparam name="TEntity"></typeparam> ...
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; namespace Miru; public abstract class MiruStartup { public IConfiguration Configuration { get; } public IHostEnvironment Environment { get; } public MiruStartup(IHostEnvironment env, IConfiguration configuration) { ...
using System; using System.Collections.Generic; using Cysharp.Threading.Tasks; using UnityEngine; namespace Symnity.Http.Model { [Serializable] public class ApiMultisig : MonoBehaviour { public static async UniTask<MultisigRoot> GetMultisigAccountInfomation(string node, string address) { ...
namespace Vue2API.ViewModels.Validations { using FluentValidation; public class LoginWithRecoveryCodeViewModelValidator : AbstractValidator<LoginWithRecoveryCodeViewModel> { public LoginWithRecoveryCodeViewModelValidator() { RuleFor(vm => vm.RecoveryCode).NotEmpty().Wit...
using System.Collections.Generic; using System.Linq; using UnbeatableTicTacToe.Common.Utils; namespace UnbeatableTicTacToe.GameCore.Participants.Computer.Strategies { public class RandomStrategy : IGameStrategy { private readonly IRandomNumbersProvider _randomNumbersProvider; public GameStrat...
using QuikSharp.Messages; using QuikSharp.Quik.Events; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace QuikSharp.Quik.Client { public interface IQuikClient { #region Events /// <summary> /// Событие вызывается когда библиотека...
using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using CUE4Parse.Utils; namespace CUE4Parse.UE4.Objects.Core.Math { [StructLayout(LayoutKind.Sequential)] public struct FRotator : IUStruct { private const float KindaSmallNumber = 1e-4f; public static rea...
namespace HoustonTranStar.Entities.Elements { public class DestinationId { } }
using System.Threading.Tasks; using Dapper.CustomTypeHandlers.Tests.Models; namespace Dapper.CustomTypeHandlers.Tests.Repositories { internal interface ITestObjectRepository { Task<TestXmlObject> GetTestXmlObject(long id); Task SaveTestXmlObject(TestXmlObject testObject); Task<TestJsonO...
using System.Windows.Forms; namespace Lamedal_UIWinForms.UControl.UControlTest { public partial class Form_TestWindowsUControls : Form { public Form_TestWindowsUControls() { InitializeComponent(); } } }
namespace DFrame.Kubernetes.Models { public class V1Probe { public V1ExecAction Exec { get; set; } public int? FailureThreshold { get; set; } public V1HTTPGetAction HttpGet { get; set; } public int? InitialDelaySeconds { get; set; } public int? PeriodSeconds { get; set; ...
using System; using UnityEngine; [Serializable] public struct VInt3 { public const int Precision = 1000; public const float FloatPrecision = 1000f; public const float PrecisionFactor = 0.001f; public int x; public int y; public int z; public static readonly VInt3 zero = new VInt3(0, ...
/* * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved * * 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 * * Unles...
using System; using System.Linq; using GeekDinner.Core; using Xunit; namespace GeekDinner.Tests { public class DinnerAddRsvp { private readonly DateTime _testEventDate; private readonly TimeSpan _rsvpHours; public DinnerAddRsvp() { // 1 Jun 2016 18:00 _t...
// Copyright (c) Pixel Crushers. All rights reserved. namespace PixelCrushers.DialogueSystem { /// <summary> /// Quest state is a bit-flag enum that indicates the state of a quest. /// This enum is used by the QuestLog class. /// </summary> [System.Flags] public enum QuestState ...
using UnityEngine; using System.Collections; public class LevelManager : MonoBehaviour { private static string levelSceneName; // Use this for initialization void Start () { } public static void setLevelSceneName(string name) { levelSceneName = name; } public static string getLevelSceneName() { retu...
using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Driver.GeoJsonObjectModel; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using Xunit; namespace MongoDB.Driver.Tests { public class GeoJsonCoordinatesTest { [Fact] ...
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using DataBaseTree.Model.DataBaseConnection; using DataBaseTree.Model.Providers; using DataBaseTree.Model.Tree; namespace DataBaseTree.M...
/** * Authored by Tomasz Piowczyk * License: https://github.com/Prastiwar/TPFramework/blob/master/LICENSE * Repository: https://github.com/Prastiwar/TPFramework */ using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace TP.Framework { public static partial class Ra...
//////////////////////////////////////////////////////////////////////////////////////// // The MIT License (MIT) // // Copyright (c) 2014 Paul Louth // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // i...
using System.Collections.Generic; using System.Linq; using Microsoft.ProgramSynthesis; using Microsoft.ProgramSynthesis.Rules; using Microsoft.ProgramSynthesis.Specifications; using Microsoft.ProgramSynthesis.Learning; namespace ProseTutorial { public class WitnessFunctions : DomainLearningLogic { public ...
using System; using System.Collections; using System.Reflection; using System.Web; namespace PeanutButter.TestUtils.MVC { // refactored from: http://bigjimindc.blogspot.co.za/2007/07/ms-kb928365-aspnet-requestheadersadd.html public static class HttpRequestExtensions { private static readonly Bindi...
using System; using Xamarin.Forms; namespace OfficeLocator { public class ImageButton : Button { public ImageButton () { } public Color Tint{ get; set;} } }
using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine; namespace TowerDefense.MeshCreator.Editor { [CustomEditor(typeof(AreaMeshCreator))] public class AreaMeshCreatorEditor : UnityEditor.Editor { protected AreaMeshCreator m_AreaMeshCreator; protected MeshObject m_CurrentMes...
 using System.Collections.Generic; using System.Data.Entity; namespace CodeFirst { public class Course { public int Id { get; set; } public string Title { get; set; } public string Description { get; set; } public CourseLevel Level { get; set; } public float FullPrice {...
/* * ******************************************************* * * 作者:hzy * * 开源地址:https://gitee.com/hzy6 * * ******************************************************* */ //错误的请求结果 BadRequestResult 400 //冲突结果 ConflictResult 409 //没有内容结果 NoContentResult 204 //没有找到结果 NotFoundResult 404 //好的结果 OkResult 200 //未经授权的结果...
public static class Game { public static readonly string Version = "v0.1.0"; }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Windows; using Microsoft.Common.Core.Imaging; using Microsoft.Common.Core.Services; using Microsoft.R.Components.ConnectionManager.ViewModel; namespace...
using System; using System.Collections.Generic; using System.Text; namespace JX.Core.Entity { /// <summary> /// SiteMap实体类 /// </summary> public class SiteMapEntity { /// <summary> /// 名称 /// </summary> public string Title { get; set; } /// <summary> /// URL /// </summary> public string Url...
using System; using Observer.Entities; namespace Observer.Impl { internal class MoneyWallet : IDisposable { private const decimal ExchangeRate = 2700; private BitcoinExchange _bitcoinExchange; private decimal _currentBalance; public MoneyWallet(BitcoinExchange bitcoinExchange) { _bitcoinExchange = b...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using DTO; using Microsoft.Win32; namespace Bll.Abstract { public interface IShellTools { Boolean OpenFile(); List<BridgeWeibull> Plots { get; } } }
using Microsoft.VisualStudio.TestTools.UnitTesting; using Yolol.Grammar; using Yolol.Grammar.AST.Expressions.Unary; namespace YololEmulator.Tests.Expressions { [TestClass] public class ModifyTests { [TestMethod] public void IsNotConstant() { var app = new PreIncrement(n...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Harlow { public class VectorPoint : VectorFeature { /// <summary> /// /// </summary> /// <param name="numOfPoints"></param> public VectorPoint(int numOfP...
using System.Runtime.Serialization; namespace set_bing_wallpaper.Dto { [DataContract] public class Results { [DataMember(Name = "images")] public ResultImage[] Images { get; set; } } [DataContract] public class ResultImage { [DataMember(Name = "enddate")] ...
using System; using System.Collections.Generic; using AvsCommon.Enums; namespace AvsCommon { public enum TestKind { Correctness, Performance } [Serializable] public class TestCase { public string ImageName { get; set; } public string TestName { get; set; } ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #nullable enable namespace LoRaWan.Tests.Unit.Logger { using System; using System.Threading; using System.Threading.Tasks; using global::Logger; us...
using System; namespace TestableCodeDemos.Project2.After { public interface IPrinter { void WriteLine(string arg); } public class Printer : IPrinter { public void WriteLine(string arg) { Console.WriteLine(arg); } } }
using System; using Itinero.Transit.Data; using Itinero.Transit.Data.Synchronization; using Itinero.Transit.IO.LC; using Itinero.Transit.Tests.Functional.Utils; using Itinero.Transit.Utils; namespace Itinero.Transit.Tests.Functional.Data { public class NoDuplicationTest : FunctionalTest { public override stri...
// NameNode.cs // Script#/Core/ScriptSharp // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Collections; using System.Diagnostics; using System.Text; namespace ScriptSharp.CodeModel { internal abstract class NameNode : ParseNode { p...
using System; public class Program { public static void Main (string[] args) { DoWork(); } private static void DoWork() { DateTime now = DateTime.UtcNow; Console.WriteLine(now.ToString()); DoWork(); } }
// Decompiled with JetBrains decompiler // Type: ZoningToggles.DeactivatableButtonWrapper // Assembly: ZoningToggles, Version=1.0.6719.2836, Culture=neutral, PublicKeyToken=null // MVID: FFB208AB-A9FB-49A7-85DD-5B4D116898E3 // Assembly location: C:\Users\sid44\Desktop\ZonningToggles\ZoningToggles.dll using ColossalFr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigati...
@model Threax.IdServer.Models.AccountViewModels.LoggedOutViewModel @{ ViewData["Title"] = "Logged out"; } <div class="page-header"> <h1> Logout <small>You are now logged out</small> </h1> <p>Close your browser window to ensure you are completely logged out.</p> @if (Model.SignOu...
// (C) Copyright 2011 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software // in object code form for any purpose and without fee is hereby // granted, provided that the above copyright notice appears in // all copies and that both that copyright notice and the limited // warran...
using System.Diagnostics; using SharpDX; using T3.Core.Logging; using T3.Core.Operator; using T3.Core.Operator.Attributes; using T3.Core.Operator.Slots; namespace T3.Operators.Types.Id_eb818dd0_0c9c_40ee_b76e_2148f958b987 { public class ScaleResolution : Instance<ScaleResolution> { [Output(Guid = "83b4...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; namespace AndBurn.HDT.Plugins.CardCollection { [TestClass] public class CardCollectionTest { [TestMethod] public void TestGetCardListFromDB() { int count = CollectionExporter.GetCardList(...
using FCSAlterraIndustrialSolutions.Configuration; using FCSAlterraIndustrialSolutions.Logging; using FCSAlterraIndustrialSolutions.Models.Controllers; using FCSCommon.Utilities; using System; using System.Collections; using UnityEngine; namespace FCSAlterraIndustrialSolutions.Utilities { public static class Mod ...
namespace Sitecore.FakeDb.AutoFixture.Tests { using System; using FluentAssertions; using global::AutoFixture; using global::AutoFixture.Xunit2; using Sitecore.Data.Items; using Xunit; public class AutoContentCustomizationTest { [Theory, AutoData] public void SutThrowsI...
using SocketIO; using System.Collections; using System.Collections.Generic; using System.Threading; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; [RequireComponent (typeof(SocketIOComponent))] public class SocketIODriveClient : MonoBehaviour { public GameObject carObj; ...
namespace GW2Api.NET.V2.Wvw.Dto { public record WvwRank( int Id, string Title, int MinRank ); }
using System; using System.Collections.Generic; using Common.Geometry.Shapes; using Common.Mathematics.LinearAlgebra; using PositionBasedDynamics.Collisions; using PositionBasedDynamics.Sources; namespace PositionBasedDynamics.Bodies.Fluids { public class FluidBoundary3d { public Vector3d[] Positio...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ShoppingPeeker.Utilities; using ShoppingPeeker.Utilities.Http; namespace ShoppingPeeker.Web.Mvc { public class BaseResult<T> { public BaseResult() { } //...
using System; using System.Windows; using System.Windows.Controls; using System.Collections.Generic; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Sha...
// ReSharper disable UnusedMember.Global namespace NWayland.CodeGen { [System.SerializableAttribute] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace lm.ErrorsNotification.DataContract.Domain { [Serializable] public class MailNotificationSettings { public long Id { get; set; } public String ComolUniqueID { get; set; } public DateTime?...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Hocon.Immutable.Extensions; namespace Hocon.Immutable.Builder { public sealed class HoconImmutableArrayBuilder : List<HoconImmutableElement> { public HoconImmutableArrayBuilder Add...
using System.Collections.Generic; namespace Lsquared.Foundation.Net.Hal { /// <summary> /// Provides contract to build an <see cref="HalLink">HAL link</see> in fluent manner. /// </summary> public interface IHalLinkBuilder : IFluent { /// <summary> /// Builds an HAL link. //...
/* Copyright (c) 2009-2011 250bpm s.r.o. Copyright (c) 2007-2009 iMatix Corporation Copyright (c) 2011 VMware, Inc. Copyright (c) 2007-2015 Other contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ is free software; you can redistribute it and/or modify it under the ter...
 using UnityEngine; public abstract class Liquid : Item { protected string liquidName; protected Vector2[] UVs; protected Vector2[] flowUVs; public override string GetName() { return liquidName; } public Vector2 GetUV(byte side) { // For blocks with all sides same tex...
using System; // ReSharper disable once CheckNamespace namespace System.Runtime.CompilerServices { // Add extension methods support to .NET 2.0 runtime [AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)] public class ExtensionAttribute : Attribute { ...
using System; using System.Collections.Generic; using AntJob.Data; using NewLife; namespace AntJob.Providers { /// <summary>作业提供者接口</summary> public interface IJobProvider { /// <summary>调度器</summary> Scheduler Schedule { get; set; } /// <summary>开始工作</summary> void Start(...
 namespace Serenity.Test.Data { using System; using Serenity.Data; public partial class RowMappingTests { public class BasicRow : Row { public string AString { get { return Fields.AString[this]; } set { Fields.AString[this] = valu...
namespace CPUMonitor { partial class frmCPU { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
using System; using System.Drawing; using System.Windows.Forms; namespace Application4 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Click(object sender, EventArgs e) { int a = ( this.Width - 16 ) / 2;...
// Decompiled with JetBrains decompiler // Type: RoadFlow.Platform.Email // Assembly: RoadFlow.Platform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 07F26AFD-DE3B-4003-89AF-01A62494BA58 // Assembly location: C:\inetpub\wwwroot\RoadFlowMvc\bin\RoadFlow.Platform.dll using System; namespace RoadFlow....
using System.Threading.Tasks; using Application.CasosDeUso.CadastrarFornecedor; using Microsoft.AspNetCore.Mvc; namespace WebApi.CasosDeUso.CadastrarFornecedor { [ApiController] [Route("api/[controller]")] public class Fornecedores : ControllerBase { [HttpPost] public async Task<IActio...
namespace TinyBitTurtle { public partial class ScoreCtrl { private int numArrows; public UILabel scoreUI; public UILabel hiScoreUI; public UILabel numArrowsUI; public void addScore(int _Score) { UpdateScore(_Score); // display user scor...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Bluehands.Hypermedia.Client.Reader; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Bluehands.Hypermedia.Client.Extensions.NewtonsoftJson { public class Ne...
namespace Graphing.Review.Core { using System; using System.Collections.Generic; using System.Linq; public class PriorityQueue<TItem> { private readonly IDictionary<TItem, int> queue; public PriorityQueue() { this.queue = new Dictionary<TItem, int>(); ...
using GodotTools.Core; using System.Collections.Generic; using System.IO; using DotNet.Globbing; using Microsoft.Build.Construction; namespace GodotTools.ProjectEditor { public static class ProjectUtils { public static void AddItemToProjectChecked(string projectPath, string itemType, string include) ...
using Plugin.CloudFirestore; using System; using System.Collections.Generic; using System.Threading.Tasks; using Changa.Models; namespace Changa.Services { public class NoticeService : INoticeService { private readonly IFirestore _firestore; public NoticeService() { _firest...
using System; using System.Globalization; using Socket.Newtonsoft.Json.Utilities; namespace Socket.Newtonsoft.Json.Converters { public class StringEnumConverter : JsonConverter { public bool CamelCaseText { get; set; } public bool AllowIntegerValues { get; set; } public StringEnumConverter() { th...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using SwiftRuntimeLibrary.SwiftMarshal; namespace SwiftRuntimeLibrary { [SwiftTypeName ("Swift.UnsafeRawPointer")] public struct UnsafeRawPointer { public UnsafeRawPointer (IntPtr p) { Pointer = p; } public UnsafeRaw...
using Yolol.Execution; using Yolol.Grammar; namespace Yolol.Analysis.Types { public interface ITypeAssignments { Type? TypeOf(VariableName varName); } public class NullTypeAssignments : ITypeAssignments { public Type? TypeOf(VariableName varName) { retu...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using Google.Protobuf.WellKnownTypes; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Vidly.Data; using Vidly.Models; using Vidly.ViewModels; namespace Vidly.Controllers { publ...
using DotnetKubernetesClient.Entities; using k8s; using k8s.Models; using Prometheus; namespace KubeOps.Operator.DevOps { internal class ResourceControllerMetrics<TEntity> where TEntity : IKubernetesObject<V1ObjectMeta> { private static readonly string[] Labels = { "operato...
using UnityEngine; using AI_Midterm_RTS.UnityCore.Extensions; namespace AI_Midterm_RTS.Indicators.Unity { /// <summary> /// An overhead meter, implemented in Unity. /// </summary> public sealed class UnityMeter : MonoBehaviour, IMeter { #region State Fields private float targetSca...
using System; using Elektronik.PluginsSystem.UnitySide; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; namespace Elektronik.UI { [RequireComponent(typeof(Button))] public class Return2Menu : MonoBehaviour { public PluginsPlayer Player; public void OnBackToSett...
using System; namespace FullSerializer { public static class fsGlobalConfig { public static bool IsCaseSensitive = true; public static bool AllowInternalExceptions = true; public static string InternalFieldPrefix = "$"; } }
namespace Core7.UpgradeGuides._6to7.ConnectionStrings { using System.Configuration; using NServiceBus; public class ConfigurationChanges { void ProvideConfiguration(TransportExtensions<LearningTransport> transport) { #region 6to7ConnectionStrings va...
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using LearningApp.Views; using LearningApp.Views.AbsoluteLayoutPanel; using LearningApp.Views.IntractiveInterface; using LearningApp.Views.RestService; using LearningApp.Views.TriggersDemo; using LearningApp.Views.XamlHarmonyViews; using System; using System....
using System; namespace AwesomeCharts { public interface IValueFormatter { string FormatAxisValue(float value, float min, float max); } }
// TaskIterrator.cs // using System; using System.Collections.Generic; namespace Xrm { public delegate void TaskIteratorTask(Action successCallBack,Action errorCallBack); /// <summary> /// Provides an easy way of running n number of tasks with async callbacks /// </summary> public class TaskIterra...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Internal; using Microsoft.Extensions.Ca...
using UnityEngine; [CreateAssetMenu(fileName = "New Spell", menuName = "Character/Spells")] public class Spell : ScriptableObject { [SerializeField] new string name = "New Spell"; [TextArea] [SerializeField] string description = "Default Description"; [SerializeField] Sprite icon = null; //[Seri...
// Copyright (c) SDV Code Project. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace SdvCode.Areas.Identity.Pages.Account.Manage { using System; using System.ComponentModel.DataAnnotations; using System.Linq; using Syst...
using System.Threading.Tasks; using DomainResults.Common; using Raven.Yabt.Domain.BacklogItemServices.ByIdQuery.DTOs; namespace Raven.Yabt.Domain.BacklogItemServices.ByIdQuery { public interface IBacklogItemByIdQueryService { /// <summary> /// Get a Backlog Item by its ID /// </summary> /// <param name="...
using System; using System.Diagnostics; namespace OpenVPNADAuth.BL { internal class Credentials { internal string UserName { get; private set; } internal string Pass { get; private set; } internal bool HasData { get { return (UserName.Length > 0 && Pass.Length > 0); } } inte...
using Forge.Factory; using Forge.Networking.Messaging; using Forge.Serialization; using Forge.ServerRegistry.Messaging.Interpreters; namespace Forge.ServerRegistry.Messaging.Messages { [ServerListingMessageContract(1, typeof(ForgeGetServerRegistryMessage))] public class ForgeGetServerRegistryMessage : ForgeMessage ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace UnityProj { public class ScoreCounter : MonoBehaviour { public int Count(int score, int add){ return score + add; } } }
using System; using Enigma.Testing.Fakes.Entities.Cars; namespace Enigma.Test.TestDb { public static class Scenario { public static TestDbContext SomeCars() { var context = new TestDbContext(); context.Cars.Add(RandomCars.AK9777); context.Cars.Add(RandomCa...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using EquipmentManagement.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; namespace EquipmentManagement.Controllers { public class BSLDNAExtC...
using System.Collections.Generic; using Robust.Server.GameObjects; using Robust.Server.Interfaces.GameObjects; using Robust.Shared.GameObjects; using Robust.Shared.Interfaces.Random; using Robust.Shared.IoC; using Robust.Shared.Random; using Robust.Shared.Serialization; namespace Content.Server.GameObjects.Components ...
using MongoDB.Bson.Serialization.Attributes; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MongoDB.Models { public class Coin : TransactionOutput { [BsonId] public string Id { ...
using System.Collections; using UnityEngine; using UnityEngine.SceneManagement; public class GamemanagerScript : MonoBehaviour { private CannonScript[] _cannons; private GridBehaviour _gridBeh; private int _winCounter; public float BeamTime = 4; [SerializeField] private RectTransform _transmi...
using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using Newtonsoft.Json; namespace DashboardAPI.Models { public class User { [BsonId] // Announce primary key [BsonRepresentation(BsonType.ObjectId)] // Converts string into ObjectId public string Id { get; set; } // Require...