content stringlengths 23 1.05M |
|---|
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
using PubsAndBeersDomain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorWasmValidation.ViewModels
{
public class PubViewModel4 : ViewModelComponentBase
{
... |
// Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NodaTime.Utility;
using System;
namespace NodaTime.Annotations
{
/// <summary>
/// Indicates that a parameter is trusted to be valid, so c... |
using MinecraftMappings.Internal.Textures.Block;
namespace MinecraftMappings.Minecraft.Java.Textures.Block
{
public class OrangeConcretePowder : JavaBlockTexture
{
public OrangeConcretePowder() : base("Orange Concrete Powder")
{
AddVersion("orange_concrete_powder")
... |
namespace ShaderSim.Sdf2d
{
public enum OpType : byte
{
Empty = 0,
Union = 1,
Intersect = 2,
Subtract = 3,
ShapeCircle = 11,
ShapeRectangle = 12,
TransformTranslate = 21,
TransformRotate = 22,
TransformScale = 23,
Color = 31,
... |
/*
Copyright (C) 2016 Thomas Levesque // http://www.thomaslevesque.com/2015/08/16/weak-events-in-c-take-two
Copyright (C) 2016 Francois Botha (igitur@gmail.com)
This file is part of QLNet Project https://github.com/amaggiulli/qlnet
QLNet is free software: you can redistribute it and/or modify it
under the terms... |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Windows.Forms;
namespace Mosa.Tool.Bootstrap
{
/// <summary>
/// Class containing the entry point of the program.
/// </summary>
internal static class Program... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Runtime.InteropServices;
using System.IO;
using UnityEngine.UI;
using UnityEngine.XR.iOS; // Import ARKit Library
public class SaveAndLoadAMap : MonoBehaviour, PlacenoteListener
{
// Unity ARKit Session handler
priva... |
using System.Security.Claims;
namespace ZeroSlope.Domain.Interfaces
{
public interface ITokenService
{
string BuildToken(string key, string issuer, string emailAddress);
string BuildTokenWithClaims(string key, string issuer, Claim[] claims);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class Result<T>
{
public bool success;
public string message;
public T data;
}
/*public class DataResult
{
public bool success;
public string message;
public List<HighScore> dat... |
using FubuCore.Configuration;
using FubuMVC.StructureMap;
using FubuTestingSupport;
using NUnit.Framework;
namespace FubuMVC.Tests.AppSettings
{
[TestFixture]
public class AppSettingsProviderIntegratedTester : InteractionContext<AppSettingsProvider>
{
protected override void beforeEach()
{
... |
using System;
using Sanford.StateMachineToolkit;
namespace TestExample
{
/// <summary>
/// Summary description for Example.
/// </summary>
public class Example : ExampleBase
{
private bool foo;
public void SendA()
{
Send(EventID.A);
}
public void SendB()
{
Send(EventID.B);
... |
using Dictator.ConsoleInterface.Common;
namespace Dictator.ConsoleInterface.Audience
{
/// <summary>
/// Represents the dialog that is displayed when the player needs to decide on
/// the decision of the petition by one of the groups. It includes the treasury
/// costs involved.
/// </... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Minotaur_FallCheck : MonoBehaviour
{
[HideInInspector] public Minotaur_Charging Minotaur_ChargingScript;
[HideInInspector] public bool IsRunning = false;
[HideInInspector] public bool IsGrounded = false;
priva... |
using System;
using System.Text;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Pkix;
namespace Org.BouncyCastle.Pkix
{
/// <summary>
/// Summary description for PkixCertPathBuilderResult.
/// </summary>
public class PkixCertPathBuilderResult
: PkixCertPathValidatorResult//, ICertPathBuilderR... |
[AttributeUsageAttribute] // RVA: 0xABFB0 Offset: 0xAC0B1 VA: 0xABFB0
[ComVisibleAttribute] // RVA: 0xABFB0 Offset: 0xAC0B1 VA: 0xABFB0
[Serializable]
public class FlagsAttribute : Attribute // TypeDefIndex: 232
{
// Methods
// RVA: 0x179FBD0 Offset: 0x179FCD1 VA: 0x179FBD0
public void .ctor() { }
}
|
using System;
using andrefmello91.Extensions;
using Autodesk.AutoCAD.DatabaseServices;
using UnitsNet;
using UnitsNet.Units;
namespace SPMTool.Application
{
/// <summary>
/// Units class.
/// </summary>
public class Units : IEquatable<Units>
{
#region Properties
/// <summary>
/// Default toleranc... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class SortLine : MonoBehaviour
{
public SortMethod Method;
[Header("Obj refs")]
[SerializeField]
private Image[] _sortButtons;
void Awake()
{
for (int i = 0; i < _sortButtons.Length; i++)
{
int... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OlympicGames.Core.Commands.Abstracts;
using OlympicGames.Core.Contracts;
using OlympicGames.Utils;
namespace OlympicGames.Core.Commands
{
public class ListOlympiansCommand : Command, ICommand
{
private string ... |
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
using MatrixSharp.Api.EventSchemas.Schema.CoreEventSchema;
namespace MatrixSharp.Api.EventSchemas.Schema
{
/// <summary>
/// A map of which rooms are considered 'direct' rooms for specific users
/// is kept in ... |
using System;
using Xamarin.Forms;
using ElPasoHighSchool;
namespace SelectedStudentDetail
{
public partial class SelectedStudentDetailPage : ContentPage
{
public SelectedStudentDetailPage()
{
InitializeComponent();
// Set BindingContext.
BindingContext = n... |
using System;
using System.Collections.Generic;
using System.Linq;
using Wul.Interpreter.Types;
namespace Wul.Interpreter.MetaTypes
{
public class ListMetaType : MetaType
{
public static readonly ListMetaType Instance = new ListMetaType();
private ListMetaType()
{
//Equali... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MuseumOfFineArts.Tests
{
[TestClass]
public class MuseumUnitTests
{
[TestMethod]
public void MuseumWithOneAnonymousPainting_GetCountOfAnonymousPaintings_ReturnsOne()
{
Museum m = new Museum();
Painting p = new Painting
{
Name = "Painti... |
using System.Threading.Tasks;
using Amped.Core;
using MassTransit;
namespace Amped.API;
public class EventStream : IEventStream
{
private readonly IBus _bus;
public EventStream(IBus bus) => _bus = bus;
public async Task Broadcast<T>(T message) where T : class => await _bus.Publish(message);
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ApolloInterop.Types.Delegates;
using ApolloInterop.Structs.MythicStructs;
using ApolloInterop.Enums.ApolloEnums;
namespace ApolloInterop.Interfaces
{
public interface ITaskManager
{
string[] GetExecutingTaskIds... |
<div class="container container-main">
<div class="row">
<div class="col-12">
<h1 class="title-text">@ViewBag.Subtitle</h1>
</div>
<div class="col-md-4">
<h2>Parker Smart</h2>
<h5>Creator / Writer / President</h5>
</div>
<div class="col-md-3">
<a class="btn btn-default" href="~/CiCi/CreditPa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GameSystem.Setting;
using GameSystem.Networking;
using System;
namespace GameSystem
{
public partial class NetworkSystem : SubSystem<NetworkSystemSetting>
{
public static float timer;
/// <summary>
///... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event Reference Listener of type `CollisionPair`. Inherits from `AtomEventReferenceListener<CollisionPair, CollisionPairEvent, CollisionPairEventReference, CollisionPairUnityEvent>`.
/// </summary>
[EditorIcon("atom-icon-orange... |
namespace WebApp.Models
{
using System.Net;
using Etc;
using Etc.EF;
public class WebSite : Repository<WebSite, Storage>
{
public string Domain { get; set; }
public long Interval { get; set; }
public HttpStatusCode LastStatus { get; set; }
public string Name { get; ... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using static BalletStudio.Data.DataConstants.Dancer;
namespace BalletStudio.Models.Dancers
{
public class AddDancerFormModel
{
[Required]
[StringLength(FirstNameMaxLength),MinLength(FirstNameMinLength)]
pu... |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using GitMind.GitModel.Private;
namespace GitMind.Utils.Git
{
public interface IGitCommitService
{
Task<R<IReadOnlyList<GitFile>>> GetCommitFilesAsync(
string sha, CancellationToken ct);
Task<R<GitCommit>> CommitAllCha... |
// This file has been generated by the GUI designer. Do not modify.
namespace QSProjectsLib
{
public partial class CreatorProgress
{
private global::Gtk.VBox vbox2;
private global::Gtk.ProgressBar progressCreation;
protected virtual void Build ()
{
global::Stetic.Gui.Initialize (this);
// Widget QS... |
using SolutionName.Application.Common.Interfaces;
using MediatR;
using System.Threading;
using System.Threading.Tasks;
using System;
namespace SolutionName.Application.OperationName.Queries
{
public class OperationNameQuery : IRequest<int>
{
// TODO: Query properties go here
}
public class Ope... |
using Godot;
using System;
public struct Point {
public static Point Zero = new Point(0.0, 0.0);
public double x { get; private set; }
public double y { get; private set; }
public Point(double x, double y) {
this.x = x;
this.y = y;
}
}
public struct IntPoint {
public static I... |
// Copyright (c) 2007 James Newton-King. All rights reserved.
// Use of this source code is governed by The MIT License,
// as found in the license.md file.
using System.Dynamic;
public class LinqDynamicTests : TestFixtureBase
{
[Fact]
public void AccessPropertyValue()
{
var rawJson = @"{
""tas... |
using Cheviri.Client.Web.Helpers;
using Cheviri.Client.Web.Models.InputModels;
using Cheviri.Common.Helpers;
namespace Cheviri.Client.Web.Models
{
public class LabelTranslationCreateModel : BaseModel
{
public string Label { get; set; }
public string Language { get; set; }
pub... |
using System;
using System.IO.Ports;
namespace ExtendedSerialPort
{
public class ReliableSerialPort : SerialPort
{
public ReliableSerialPort(string portName, int baudRate, Parity parity, int dataBits, StopBits stopBits)
{
PortName = portName;
BaudRate = baudRate;
... |
using System;
using System.Text;
namespace Algorithm {
public class SinglyLinkedList<T> {
class Node<T1> {
public readonly T1 val;
public Node<T1> Next { get; set; }
public Node(T1 val) { this.val = val; }
}
private readonly Node<T> head;
priva... |
using Softv.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace SoftvMVC.Controllers
{
public partial class BaseController
{
public bool validateString(String Str)
{
if ((Str != null && Str.ToString().Trim()... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Data.Entity.Redis.Extensions;
using Microsoft.Framework.DependencyInjection;
namespace Microsoft.Data.Entity.Tests
{
... |
using Algenic.Commons.DesignByContract;
using Algenic.Compilation.Utilities;
namespace Algenic.Queries.Compilation
{
public class CompilationQuery
{
public string SourceCode { get; }
public string Input { get; }
public ProgrammingLanguage ProgrammingLanguage { get; }
private C... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace GoogleAnalyticsClientDotNet
{
public partial class FileLocalTracker : ILocalTracker
{
public string SourceName { get; set; }
public string Name { get; set; }
public FileLocalTracker()
{
Name... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Web.Mvc;
using Owin;
using SFA.DAS.NLog.Logger;
namespace SFA.DAS.Support.Portal.Web
{
[ExcludeFromCodeCoverage]
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
... |
using System;
using System.Diagnostics;
using Microsoft.Xna.Framework;
namespace MonsterGame
{
public class Icon : Sprite
{
private static readonly Random Random = new Random();
private float _direction = 1;
private float _colorVal;
private const float ScalePerFrame = 0.01f;
private const float ScaleMax ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HomeUser : MonoBehaviour {
public GameObject threeCeilingLight_off;
public GameObject threeCeilingLight_on;
public GameObject ceilingLight_off;
public GameObject ceilingLight_on;
public GameObject dark2;
pu... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Xeora.Web.Global
{
[Serializable]
public class xServiceSessionInfo : IEnumerable
{
private readonly List<KeyValuePair<string, object>> _SessionItems;
public xServiceSessionInfo(string publicKey,... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace Stratus
{
[CustomPropertyDrawer(typeof(StratusPositionField))]
public class StratusPositionFieldDrawer : PropertyDrawer
{
float typeWidth { get; } = 0.3f;
float inputValueWidth { get { return 1f - typeWid... |
using System;
using System.Threading;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using Exolutio.Dialogs;
using Exolutio.Model.OCL;
using Exolutio.Model.PIM;
using Exolutio.Model.PSM;
using Exolutio.... |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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.a... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace PizzaBox.Domain.Models
{
public class Order
{
public long OrderId { get; set; }
public DateTime OrderDate { get; set; }
public Store Store { get; set; }
public long StoreId {get; set; }
//Get the total price of the ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
public class PriceCalculator
{
private decimal pricePerNight;
private int nights;
private Seasons season;
private Discounts discount;
public PriceCalcu... |
using System;
namespace Twitch.Base.Models.NewAPI.Channels
{
/// <summary>
/// Information about a channel moderator event.
/// </summary>
public class ChannelModeratorEventModel
{
private const string ModEventType = "moderation.moderator.add";
private const string UnmodEventType =... |
using System;
namespace ES.Kubernetes.Reflector.Core.Constants
{
public static class Requests
{
public static int DefaultTimeout { get; } = (int) TimeSpan.FromHours(1).TotalSeconds;
}
} |
using System;
using Lucene.Net.Analysis;
using Lucene.Net.Index;
using Lucene.Net.Store;
namespace EDFI.Modules.Search.Lucene
{
/// <summary>
/// This class represents a Lucene index for a Lucene directory.
/// It will create a write lock until it is disposed of so there should only ever be one ... |
using System;
using System.Reflection;
using System.Windows;
namespace YomeNotif
{
/// <summary>
/// InfoWindow.xaml の相互作用ロジック
/// </summary>
public partial class InfoWindow : Window
{
public InfoWindow()
{
InitializeComponent();
Assembly ass... |
/*
* Copyright 2014 Splunk, Inc.
*
* 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 by applicable law or agreed t... |
/*
Dataphor
© Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
using System;
using System.Windows.Forms;
using System.Collections;
using System.ComponentModel;
using Crownwood.Magic.Controls;
namespace Al... |
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Custom <see cref="View"/> class for listing <see cref="Location"/>s
/// </summary>
public class LocationlistView : View, IOnLocationItemSelect
{
/// <summary>
/// <see cref="GameObject"/> acting as the parent for instantiated <see cref="LocationlistIt... |
using System;
/*------------------------------------------------------------------------------
* 单元名称:
* 单元描述:
* 创建人:
* 创建日期:
* 修改日志
* 修改人 修改日期 修改内容
*
* ----------------------------------------------------------------------------*/
namespace DBLayer.Core
{
public enum KeyType{
/// <summary>
/... |
using System;
namespace DiscUtils.Core.Internal
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
internal sealed class LogicalVolumeFactoryAttribute : Attribute {}
} |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
using System;
using my.binarytree;
namespace my.test
{
class TestAvl01 : TestBase
{
public override void doTask()
{
var avl = new AvlTree<int>();
foreach (var value in new int[] { 10, 20, 30, 40, 50, 25 })
avl.Insert(value);
Console.WriteL... |
namespace FourFlagsRPG.Models.Contracts.Quests
{
using Enemies;
using Events;
using Items;
using System.Collections.Generic;
public delegate void QuestCompletedHandler(object sender, QuestCompletedEventArgs args);
public interface IQuest
{
int ID { get; }
string Name { ge... |
using System;
using System.Collections;
using System.Collections.Generic;
public static class TEvent<Type>
{
private static Dictionary<Type, Delegate> dic = new Dictionary<Type, Delegate>();
public static void Add(Type type, Action method)
{
lock (dic)
{
if (!dic.ContainsKey(t... |
using System;
using System.Linq;
using System.Collections.Generic;
using Qkmaxware.Astro.Coordinates;
using Qkmaxware.Measurement;
namespace Qkmaxware.Astro.Celestia {
public static partial class StarCatalogue {
private static void _addHipparcos_93() {
_Hipparcos.Add(
new Star(
primaryId: "HIP 41310",
sec... |
//=============================================================================
//= $Id: MonitorUsingAttribute.cs 184 2006-10-14 18:46:48Z eroe $
//=
//= React.NET: A discrete-event simulation library for the .NET Framework.
//= Copyright (c) 2005, Eric K. Roe. All rights reserved.
//=
//= React.NET is free softwa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BusinessLayer
{
public class kategori
{
int kategoriId;
public int KategoriId
{
get { return kategoriId; }
set { kategoriId = value; }
}
string kateg... |
using BotSharp.Platform.Models.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace BotSharp.Platform.Models.AiResponse
{
public class AiResponse
{
public AiResponse()
{
Entities = new List<NlpEntity>();
}
public string ResolvedQue... |
namespace Scada.Admin.Extensions.ExtCommConfig.Forms
{
partial class FrmDeviceCommand
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading;
using System.Threading.Tasks;
using Atc.Cosmos.EventStore.Streams;
using Atc.Test;
using AutoFixture.AutoNSubstitute;
using AutoFixture.Xunit2;
using FluentAssertions;
using NSubstitute;
using Xunit;
namespace... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Arek.Contracts
{
public interface IGitServer
{
Task<AdditionalProjectDetails> RetrieveAdditionalProjectDetails(string projectId, string commitHash);
Task<IMergeRequest[]> GetOpenMergeRequests(string projectId);
Di... |
// ********************************************************
// Copyright (C) 2022 Louis S. Berman (louis@squideyes.com)
//
// This file is part of JonesRovers
//
// The use of this source code is licensed under the terms
// of the MIT License (https://opensource.org/licenses/MIT)
// ************************************... |
using System.Diagnostics;
namespace Miru.Core
{
[DebuggerStepThrough]
public static class A
{
public static MiruPath Root => new(string.Empty);
public static MiruPath Path => new(string.Empty);
public static MiruPath TempPath => new(System.IO.Path.GetTempPath());
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Car
{
class HeaviWeightCar : BaseCar, IHeaviWeightCar
{
int _LoadCapacity;
const double _DiscountHeaviWeightCar = 0.2;
public HeaviWeightCar(int year, string m... |
using System;
using System.IO;
using Xunit.Runner.Data;
namespace Xunit.Runner.Worker
{
internal abstract class XunitUtil
{
protected static void Go(string assemblyFileName, Stream stream, AppDomainSupport appDomainSupport,
Action<XunitFrontController, TestAssemblyConfiguration, ClientWrit... |
using System;
using System.Collections.Generic;
using System.Text;
namespace day4
{
public class MyDictionary<TKey, TValue>
{
TKey[] keys;
TValue[] values;
public int Count
{
get { return keys.Length; }
}
public MyDictionary()
{
... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks.Dataflow;
using Gridsum.DataflowEx;
namespace Sandbox.DataflowPipeline
{
public sealed class OutputtersFlow : Dataflow<IReadOnlyList<string>>
{
private readonly Concurre... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AwsN... |
namespace NGM.Forum.Extensions {
public static class Constants {
public const string LocalArea = "NGM.Forum";
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace AnZwDev.ALTools.ALSymbolReferences
{
public enum ALAppAccessMode
{
Public = 0,
Local = 1,
Protected = 2,
Internal = 3
}
}
|
using Mono.Cecil.Cil;
using Mono.Cecil;
using System;
using System.Linq;
using RTCLI.AOTCompiler3.Meta;
using System.Collections.Generic;
namespace RTCLI.AOTCompiler3.ILConverters
{
public class CgtConverterCXX : ICXXILConverter
{
public OpCode TargetOpCode() => OpCodes.Cgt;
public string Conv... |
using Fluxor;
using Spacetime.Core.gRPC;
namespace Spacetime.Blazor.gRPC.Store
{
[FeatureState]
public class GrpcState
{
public bool IsSaving { get; set; }
public List<GrpcServiceDefinition> Services { get; set; } = new();
public List<GrpcRequest> Requests { get; set; } = new();
... |
namespace Frank.Libraries.CodeGeneration.Generators
{
public interface IGenerator
{
string Generate(string namespaceName, string className);
}
} |
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using AAS.Architecture.Extensions;
using GuardNet;
using Microsoft.AspNetCore.Hosting;
namespace AAS.Architecture.Services
{
internal sealed class FileReader : IFileReader
{
private readonly IWebHostEnvironment e... |
namespace Chunkyard.Infrastructure;
/// <summary>
/// An implementation of <see cref="IBlobSystem"/> using the file system.
/// </summary>
public class FileBlobSystem : IBlobSystem
{
private readonly string[] _files;
private readonly string _parent;
public FileBlobSystem(
IEnumerable<string> files... |
using CsvHelper;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
namespace BalanceSimulation
{
public class SimResult
{
public int Month { get; set; }
public int Year { get; set; }
public double AnnualizedGain { get; set; }
public s... |
using LT.Chakra.Core.MongoDb.Configuration;
namespace LT.TEST.Chakra.Core.MongoDbRepository.Config
{
public class DevMongoDbOptions : MongoDbOptions
{
public DevMongoDbOptions()
{
//mongodb://router1.example.com:27017,router2.example2.com:27017,router3.example3.com:27017/
... |
using Ensure.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ensure.Web.Data
{
/// <summary>
/// Represents a user in the database
/// </summary>
public class AppUser
{
/// <summary>
/// The us... |
using static System.IO.File;
using static System.Console;
using System.Linq;
using System.Collections.Generic;
var required = new string[] { "byr", "iyr", "eyr", "hgt", "hcl", "ecl", "pid" };
var validEyeColors = new HashSet<string> { "amb", "blu", "brn", "gry", "grn", "hzl", "oth" };
WriteLine(
ReadAll... |
namespace VTEX.Transport
{
using Newtonsoft.Json;
/// <summary>
/// The stats item.
/// </summary>
public sealed class StatsItem
{
/// <summary>
/// Gets or sets the total number of items.
/// </summary>
///
/// <value>
/// The total number of... |
using UnityEngine;
using System.Collections;
public class Enemy : MonoBehaviour
{
private GameManager gameManager;
private Vector3 playerPos;
private Vector3 position;
private Vector3 velocity;
private float moveSpeed;
private Utilities.ColorType colorType;
public int damage { get; pri... |
using Newtonsoft.Json;
namespace JodelNet.Json.RequestModels
{
public class VerifyPushTokenJson : JodelRequest
{
[JsonProperty("server_time")]
public string ServerTime { get; set; }
[JsonProperty("verification_code")]
public string VerificationCode { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
namespace Toggle.Net.Specifications
{
/// <summary>
/// Is enabled for certain user(s).
/// If parameter value contains comma(s),
/// it is treated as a list.
/// If not, a single string as currentUser is expected.
/// </summary>
public class U... |
using Engine.Utilities.Extensions;
using Engine.Utilities.Mathematics;
using GoRogue;
using NUnit.Framework;
using System.Collections.Generic;
namespace Tests.Utilities.Extensions
{
[TestFixture]
public class ListOfCoordExtensionsTests
{
List<Coord> _hardCodedRange = new List<Coord>();
... |
//<unit_header>
//----------------------------------------------------------------
//
// Martin Korneffel: IT Beratung/Softwareentwicklung
// Stuttgart, den 14.12.2016
//
// Projekt.......: MkPrgNet.Pattern.StateMachine
// Name..........: State.cs
// Aufgabe/Fkt...: Basisklasse der Zustände endlicher Automaten.
//... |
using System;
using Atata;
namespace Sample.AspNetCore.SystemTests.PageObjectModels.Base
{
/// <summary>
/// Specifies that a control should be found by CSS selector with the automation attribute.
/// Finds the descendant or self control in the scope of the element found by the specified CSS sele... |
using System.Collections.Generic;
namespace Volleyball {
namespace Generator {
/// Stores the state of the Generator after each step, i. e. after two rounds have been
/// successfully generated / all teams are assigned once.
class Step {
public List<Team> usedCombis;
... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
using JetBrains.Annotations;
namespace LoadingIndicator.WinForms
{
public sealed class LoadingIndicatorControl : Control
{
private const float Tolerance = 0.000001f;
pri... |
using Microsoft.Extensions.Logging;
using UnityEngine;
namespace LiteNetLibManager
{
public static class Logging
{
public static void Log(string tag, object message)
{
Log(tag, message.ToString());
}
public static void Log(string tag, string message, params object[... |
//
// Copyright (c) 2017, Norbert Wagner (nw@bytefeld.com)
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Bytefeld.Epc
{
/// <summary>
/// Provides common SGTIN properties that are provided by pure SGTIN ids and SGTIN-xx tags.
/// </summary>
public... |
/**
Copyright (c) 2018-present, Walmart Inc.
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 by applicable law or agreed to in ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.