content
stringlengths
23
1.05M
using UnityEngine; using UnityEngine.UI; namespace Tesla.UI.HUD { public class HudPanel : MonoBehaviour { // Horribly rushed method that kills alpha values (repeated in other panels too) public void SetVisible(bool visible) { float alpha = visible ? 1.0f : 0.0f; ...
using System; using Lucene.Net.Documents; namespace Lucene.Net.Odm.Mapping.Configuration { public interface IHasIndex { Field.Index Index { get; set; } } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Utilities; using System; using System.Collections.Generic; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.UI { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataHelper.Model { /// <summary> /// 一卡通存款信息 /// </summary> public class CampusCardDepositInfo:ResultBase { public int total_page { get; set; } public int c...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ComponentBind; using GeeUI; using GeeUI.Managers; using GeeUI.ViewLayouts; using GeeUI.Views; using Lemma.GeeUI.Composites; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.In...
using System.Collections.Generic; using Xunit; namespace HotChocolate.Execution.Processing { public class ResultMapTests { [InlineData(8)] [InlineData(4)] [InlineData(2)] [Theory] public void EnsureCapacity(int size) { // arrange var resul...
using System.Runtime.CompilerServices; // for unit testing [assembly: InternalsVisibleTo("Aguacongas.IdentityServer.KeysRotation.Test")]
using Infrastructure.Rest; using RestSharp; namespace Infrastructure.Events { public class EventGetter : IEventGetter { private readonly IRestGetter restGetter; public EventGetter(IRestGetter restGetter) { this.restGetter = restGetter; } public IRestRespon...
using System; using System.Text.Json.Serialization; using Examples.WebApi.Infrastructure.JsonSupports; namespace Examples.WebApi.Applications.Serialization.Models { public class SerializableData { public Guid Id { get; init; } public int SearchId { get; init; } public Date...
using System; namespace Digiseller.Client.Core.Exceptions { public class DigisellerException : Exception { public DigisellerException(string message) : base(message) { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CrudTcp.Serialization; namespace CrudTcp.Core { public class SerializerRegistry { private Dictionary<List<string>, ISerializer> Dictionary { get; set; } private ISerializer...
//// SPDX-FileCopyrightText: © 2022 Siemens Healthcare GmbH //// SPDX-License-Identifier: MIT using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ETWAnalyzer.Analyzers { /// <summary> /// /// </summary> public enum Severiti...
namespace ShuffleWallpaper.DTOs { using System.Collections.Generic; public class BingArchiveDto { public ICollection<BingImagesArchiveDto> Images { get; set; } public BingToolTips ToolTips { get; set; } } }
using System; namespace BorderControl { public class Rebel : IHuman, IBuyer { public string group; public Rebel(string name, string age, string group) { this.Name = name; this.Age = age; this.group = group; this.Food = 0; } ...
using System.ComponentModel; using System.Reactive; using Avalonia.Input; using Avalonia.Threading; using OpenTracker.Models.Requirements; using OpenTracker.Utils; using OpenTracker.ViewModels.BossSelect; using OpenTracker.ViewModels.Items.Adapters; using ReactiveUI; namespace OpenTracker.ViewModels.Items { /// <s...
namespace Pinata { public enum Options { None = 1, ClearAfterExecute } }
using System; using System.Collections.Generic; namespace Timetable.Web.Model { public class ScheduledStop { public LocationId Location { get; set; } public DateTime? Arrival { get; set; } public DateTime? Departure { get; set; } public DateTime? PassesAt { get; set; } ...
using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; namespace Michaelsoft.BodyGuard.Common.HttpModels.Authentication { public class UserLoginRequest { [Required] [JsonRequired] [Display(Name = "email_address")] public string EmailAddress { get; set; } [...
namespace CodeMania.Core.EqualityComparers { public interface IReferenceTypeEqualityComparer<in T> where T : class { bool Equals(T x, T y, EqualityComparerContext context); int GetHashCode(T obj, EqualityComparerContext context); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace VoiceModel.TropoModel { public class Session { public string accountId {get; set;} public string callId {get; set;} public ToFrom from {get; set;} public string headers {get; set;} ...
// // Mono.Messaging.RabbitMQ // // Authors: // Michael Barker (mike@middlesoft.co.uk) // // (C) 2008 Michael Barker // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restri...
using System; using System.Runtime.InteropServices; // <Snippet1> [BestFitMapping(false, ThrowOnUnmappableChar = true)] interface IMyInterface1 { //Insert code here. } // </Snippet1> public class InteropBFMA : IMyInterface1 { public static void Main() { InteropBFMA bfma = new Inte...
using Portal.Model.Context; using Portal.Model.ViewModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Portal.Service.Interfaces { public interface IUserResourcesService { bool AddEventBookMark(int eventId,string userName...
namespace DivineInject.Test { public class TestClassWithConstructorWithDependency { public TestClassWithConstructorWithDependency(ITestDependency dependency) { Dependency = dependency; } public ITestDependency Dependency { get; private set; } } }
using System; using System.Collections.Generic; using System.Text; namespace Blacksmiths.Tests.Wolf.EF.Models { public class uspGetManagerEmployees { public int RecursionLevel { get; set; } public string OrganizationNode { get; set; } public string ManagerFirstName { get; set; } } }
// Licensed under the Apache License, Version 2.0 (the "License"). // See the LICENSE file in the project root for more information. using System; namespace DevDecoder.ViscaNet.Commands { /// <summary> /// Enum ViscaResponseType indicates the type of a response from a Visca camera. /// </summary> ...
using System.Collections.Generic; using System.Linq; using System.Text; using TSQL; using TSQL.Tokens; namespace SQLServerTools.Database.Text { public class SqlFormatter : IFormatter { public string FormatText(string query) { foreach(var token in TSQLTokenizer.ParseTokens(query)) { if (...
using System.Runtime.InteropServices; using System; using System.IO; using cor64.IO; namespace cor64.RCP { public class RspMemory : Stream { private readonly UnmanagedBuffer m_Buffer; private readonly IntPtr m_Ptr; public RspMemory(UnmanagedBuffer rspMemoryBuffer, bool isImem) { ...
#region License info... // Stile for .NET, Copyright 2011-2013 by Mark Knell // Licensed under the MIT License found at the top directory of the Stile project on GitHub #endregion #region using... using System; using System.Linq; using System.Linq.Expressions; using JetBrains.Annotations; using Stile.Patterns.Behavio...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Move: MonoBehaviour { private Collider2D collider; // Use this for initialization void Start() { collider = GetComponent<BoxCollider2D>(); } // Update is called once per frame void Update(...
@model SFA.DAS.LoginService.Web.Controllers.InvitationsWeb.ViewModels.CreatePasswordViewModel @{ ViewBag.Title = (!ViewData.ModelState.IsValid ? "Error: " : "") + "Create password"; } <main class="govuk-main-wrapper " id="main-content" role="main"> <div class="govuk-grid-row"> <div class="govuk-grid-c...
//------------------------------------------------------------------------------ // <copyright file="TransferRequestHandler.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //-----------------------...
using System; using System.IO; using System.Net; using System.Threading.Tasks; using FileStorage.Data.Models; using FileStorage.Domain.Exceptions; using Microsoft.AspNetCore.Http; namespace FileStorage.Domain.Utilities { /// <summary> /// Class with extension that allows FormFile processing /// </summary>...
using System.Collections.Generic; namespace Rinsen.DatabaseInstaller { public interface IInstallerStartup { void DatabaseVersionsToInstall(List<DatabaseVersion> databaseVersions); } }
using Zarmon.Connection.Core.Generic; using Zarmon.Device.ApiCore.Core; using Zarmon.Device.ApiCore.Rubidium.Models; using Zarmon.Device.Implementation.RubidiumCore; using Zarmon.Device.SyntaxCore.Core.Generic; namespace Zarmon.Device.ApiCore.Rubidium { public class RubidiumApi : Api , IRubidiumApi { ...
/* * Copyright © 2012-2016 VMware, Inc. 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 * * Unless required by applic...
namespace Facebook.Models { using System.Collections.Generic; using System.Runtime.Serialization; [DataContract] public sealed class FacebookTargeting { /// <summary> /// ISO 3166 contry codes /// </summary> [DataMember(Name = "countries")] public List<strin...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DayNight : MonoBehaviour { public GameObject DayNightObject; public float RotationSpeed = 2.0f; private bool m_Start = false; public void Initialize () { m_Start = true; } void Update () { ...
using UnityEngine; using System.Xml; using System.Collections; using System; abstract public class Obj : MonoBehaviour { public enum Colour { WHITE, BLACK, NONE }; static public ArrayList objStack; public Colour color; public int levelIndex = 0; static Obj() { objStack = new ArrayList(); } public Obj()...
using Autofac; using Xunit; namespace PracticeAutofac.GetStarted.Test { public class MakeContainer { private IContainer _container; [Fact] public void MakeContainerTest() { var builder = new ContainerBuilder(); builder.RegisterType<ConsoleOutput>().As<I...
/* * MIT License * * Copyright (c) 2021 Nils Andresen * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mo...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Graphics.Containers; namespace osu.Game.Rulesets.RP.UI.GamePlay.Playfield.Layout { /// <summary> /// 遊戲場景的Layout ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; // Written by Mats Gefvert // Distributed under MIT License: https://opensource.org/licenses/MIT // ReSharper disable UnusedMember.Global namespace DotNetCommons.Text; public static class StringExtensio...
using backend.Domains.Models; namespace backend.Domains.Services.Communication { public class CompanyResponse : BaseResponse { public Company Company {get;private set;} private CompanyResponse(bool success,string message, Company _company) : base(success,message){ Company ...
[Equals] public class StructPropertyClass { public int A { get; set; } public SimpleStruct B { get; set; } }
//---------------------------------------------------------------------------- // This file is automatically generated, do not modify. //---------------------------------------------------------------------------- using System; using System.Runtime.InteropServices; using Emgu.CV; using Emgu.CV.Structure; using ...
using Ploeh.Samples.BookingApi.Sql; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Xunit.Sdk; namespace Ploeh.Samples.BookingApi.SqlTests { public class UseDatabaseAttr...
/* ==================================================================== */ using System; using System.Collections; using System.IO; using System.Reflection; using Oranikle.Report.Engine; namespace Oranikle.Report.Engine { /// <summary> /// IdentifierK...
using System.Linq; using Caliburn.Micro; using WhoWhat.UI.WindowsPhone.Core; namespace WhoWhat.UI.WindowsPhone.Services { public class SingOuter { private readonly INavigationService navigationService; private readonly AppSettings appSettings; public SingOuter(INavigationService navig...
// Licensed under the BSD license // See the LICENSE file in the project root for more information using NLog.Common; namespace NLog.Targets.Syslog.Policies { internal class DefaultIfEmptyPolicy : IBasicPolicy<string, string> { private readonly string defaultValue; public DefaultIfEmptyPolicy...
namespace LobotJR.Data.User { /// <summary> /// Maps the username to their twitch id. /// </summary> public class UserMap : TableObject { /// <summary> /// User's current username. /// </summary> public string Username { get; set; } /// <summary> /// ...
// NosSharp // CharacterStatsDto.cs namespace NosSharp.SDK.DTO { public class CharacterStatsDto { /* * PVE */ public int PveKill { get; set; } public int PveHit { get; set; } public int PveHitReceived { get; set; } public int PveDeath { get; set; } ...
namespace POETradeHelper.ItemSearch.ViewModels { public class MinMaxStatFilterViewModel : StatFilterViewModel, IMinMaxFilterViewModel { public decimal? Min { get; set; } public decimal? Max { get; set; } public string Current { get; set; } } }
/* * This sample illustrates the use of the WCF Server Connector in a standalone application setting. It * listens for SOAP messages on http://localhost:8000 and responds to them with a generic acknowledgement. The * acknowledgement contains validation errors from the received message. * * Note: You can use the...
namespace SocietyManager.Data.Entities { public class SocietyEvent { public int SocietyId { get; set; } public int EventId { get; set; } public virtual Society Society { get; set; } public virtual Event Event { get; set; } } }
//<Snippet1> using System; using System.Diagnostics; class TraceTest { private static TraceSource mySource = new TraceSource("TraceSourceApp"); static void Main(string[] args) { // Issue an error and a warning message. Only the error message // should be logged...
using System; using System.Collections.Generic; using System.Windows.Input; using Forms = System.Windows.Forms; using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight; using Pin.ColorPicker; using Pin.Model; namespace Pin.ProjectContainer { public class ProjectViewModel : ViewModelBase, IProjectViewModel ...
using System.Security.Claims; using System.Web; using Stardust.Interstellar; using Stardust.Particles; namespace Stardust.Core.Service.Web { /// <summary> /// /// </summary> /// <typeparam name="T"></typeparam> public class StardustHttpServiceApplication<T> : HttpApplication where T : Blueprint, n...
using System; namespace LateBindingApi.Excel.Enums { public enum XlBarShape { xlBox = 0, xlPyramidToPoint = 1, xlPyramidToMax = 2, xlCylinder = 3, xlConeToPoint = 4, xlConeToMax = 5 } }
using Godot; using System; using IgorFoundABug.Codigo.Model.BLL; using IgorFoundABug.Codigo.Model.DTO; using IgorFoundABug.Codigo.Controller; namespace IgorFoundABug.Codigo.Model.Utils { public class Camera2DFollow : Node2D { public KinematicBody2D player; public JogadorDTO jogadorDTO; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SolidCP.EnterpriseServer.Base.Virtualization { public class VirtualMachineTimeZoneList { private VirtualMachineTimeZoneList(string index, string displayName, string standardNam...
using EchoGrpcMagicOnion.Shared; using Grpc.Core; using MagicOnion; using MagicOnion.Hosting; using MagicOnion.Server; using MagicOnion.Server.Hubs; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Linq; using System.Thre...
using System; using System.Collections.Generic; using System.Linq; using Autodesk.Revit.DB; using SelfConstruction.GeneticProgrammingCode.Models; using Action = SelfConstruction.GeneticProgrammingCode.Models.Action; namespace SelfConstruction.GeneticProgrammingCode { public class Utils { } }
namespace QuickView.Domain { public class IFeedMessage { } }
using System; using System.Collections.Generic; using System.Text; namespace Soju06 { public static class ILovePython { public static byte[] Encode(this string s, Encoding encoding = null) => (encoding ?? Encoding.UTF8).GetBytes(s); public static string Decode(this byte[] s, Encoding e...
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Sop.Data.Tests.Entities; using Sop.Data.Tests.Repositories; using System; using System.Data; using Sop.Data.Repository; using Xunit; namespace Sop.Data.Tests { /// <summary> /// /// </summary> public class EfDb...
using Newtonsoft.Json; namespace Adriva.Extensions.Analytics.Server.AppInsights.Contracts { public partial class PageViewPerfData : PageViewData { [JsonProperty("perfTotal")] public string PerfTotal { get; set; } [JsonProperty("networkConnect")] public string NetworkCon...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CenterOfMassSet : MonoBehaviour { public Rigidbody2D Rigidbody; public Transform CenterMassPoint; void Start() { if (Rigidbody == null) return; Rigidbody.centerOfMass = CenterMassPoint.l...
using System; using System.Collections; using Zyan.Communication.Protocols; namespace Zyan.Communication { /// <summary> /// Describes configuration settings for setup a single Zyan Connection. /// </summary> [Serializable] public class ZyanConnectionSetup { /// <summary> /// Creates a new inst...
////*************************Copyright © 2020 Feng 豐************************** // Created : 6/19/2020 4:15:54 PM // Description: IDepositService.cs // Revisions : // **************************************************************************** using Common.Contract; using Sid.Bss.Banking; using S...
@model List<_AreaControl.Models.Area> @{ ViewBag.Title = "Check"; } <form class="form-horizontal"> <fieldset> <!-- Select Basic --> <div class="form-group" style="height:39px!important;"> <label class="col-md-4 control-label" for="selectbasic">選擇畫面</label> ...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Newtonsoft.Json; namespace EditorConfigGenerator.Core.Styles; public static class StyleGenerator { public static async Task<string> Generate(DirectoryInfo directory, TextWriter writer, bool generateS...
using System; using System.Numerics; namespace _10.Odd_and_Even_Product { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); string s = Console.ReadLine(); string[] numbers = s.Split(' '); int[] numArray = ne...
using UnityEngine; using System.Collections; namespace Schema { /// <summary> /// Test config document schema. /// </summary> public class TestConfig { public const string Id = "id"; public const string Name = "name"; public const string Doc = "doc"; } }
using System; using System.Threading.Tasks; using EnergonSoftware.Launcher.Windows; using log4net.Appender; using log4net.Core; namespace EnergonSoftware.Launcher { public class OutputAppender : AppenderSkeleton { protected override void Append(LoggingEvent loggingEvent) { try { ...
using ChatOverflow.Attributes; using ChatOverflow.Models.DB.UserModels; using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ChatOverflow.Infrastructure.UserProividers.UserProvider { [InjectableInterface] public interfa...
using UnityEngine; using UnityEngine.UI; using Visage.StatBarUI.Runtime; namespace Visage.StatBarUI.Samples { public class ActionRPGSampleMain : MonoBehaviour { public Button takeDamageBtn; public Button healBtn; public Button fireballBtn; public Button manaPotionBtn; ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; namespace StudentGroups { class Program { static void Main() { Dictionary<Town, List<Student>> Registry = new Dictionary<Town, List<Student>>(); string input = Console.ReadLine(); while (input.Conta...
using System.Collections; using UnityEngine; using UnityEngine.Networking; namespace HoloAzureSample.Utility { /// <summary> /// Webの画像をTextureとして取得するクラス /// </summary> public class WebTexture : MonoBehaviour { /// <summary> /// コールバック定義 /// </summary> /// <param na...
using ModSettings; namespace ExtremeSnowWalker { internal class ExtremeSnowWalkerModSettings : JsonModSettings { [Name("Recharge Multiplier")] [Description("Scales the speed at which the stamina bar refills. Snow Walker feat not required.")] [Slider(0.2f, 20f, 100)] public floa...
using System; using System.Collections.Generic; using System.Linq; using Framework.Pipeline.GameWorldObjects; using Framework.Pipeline.Geometry; using Framework.Pipeline.PipelineGuarantees; using Framework.Pipeline.PipeLineSteps; using Framework.Util; using UnityEngine; namespace Framework.Pipeline.Standard.PipeLineSt...
using OrchardCore.Modules; using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; using System; using Microsoft.AspNetCore.Http; namespace Modules.HelloWorld { public class Startup : StartupBase { public override void ConfigureServices(I...
using REC.Model; using System.Collections.Generic; namespace REC.Data.Contracts { public interface ICampaignRepository { IEnumerable<Campaign> GetAll(int? idchannel); Campaign Get(int id); Campaign Add(Campaign campaign); Campaign Update(Campaign campaign); IEnumera...
namespace Comet.Samples; public class ShapeViewSample : View { [Body] View body() => new ZStack { new ShapeView( new Circle() .Stroke(Colors.Blue, 4) .Fill(Colors.Black) ) .Frame(width:80,height:80), new ShapeView( new Comet.Shapes.Rectangle() .Fill(Colors.Red) ).Frame(width:40...
namespace FriendLetter.Models { public class LetterVariable { private string _recipient; private string _sender; private string _location; private string _newLocation; public string GetRecipient() /*Get Recipient*/ { return _recipient; } public void SetRecipient(string newRe...
using Newtonsoft.Json; namespace AnticaptchaNet.ApiResponse { public abstract class AnticaptchaResponse { /// <summary> /// <para>Error id.</para> /// <para>Error list: <see cref="https://anticaptcha.atlassian.net/wiki/spaces/API/pages/196679"/></para> /// </summary> [J...
using System; using System.Collections.Generic; using System.Text; namespace ExcelKit.Core.Constraint.Consts { /// <summary> /// 信号量key约束 /// </summary> internal class SemaphoreKeyConst { /// <summary> /// 获取Sheet /// </summary> internal const string GetSheet = "get_sheet"; /// <summary> /// 创建Sheet...
using System.IO; using Chroma8NeverDoneBefore.Chip.Graphics; namespace Chroma8NeverDoneBefore.Chip { public class Chip8 { public Processor Processor; public MemoryController Memory; public AudioModule Audio; public InputHandler Input; public Renderer Renderer; p...
namespace InsurancePolicy.Infrastructure.Data.Context { using Domain.Models; using Microsoft.EntityFrameworkCore; using System.Linq; public class InsurancePolicyDbContext : DbContext, IDbContext { public InsurancePolicyDbContext(DbContextOptions options) : base(options) { } ...
// Jeebs Unit Tests // Copyright (c) bfren.uk - licensed under https://mit.bfren.uk/2013 using Xunit; using static F.OptionF.Enumerable.Msg; namespace Jeebs.ImmutableList_Tests { public class Indexer_Tests { [Fact] public void Exists_Returns_Some_With_Value() { // Arrange var i0 = F.Rnd.Str; var i1 ...
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Internationalization.FileProvider.FileHandler.Universal.Tests { [TestClass] public class UniversalFileHandlerTests { private const string TextFilePath = @"TestResources\UniversalFHTestResources\Text.txt"; ...
using DDTek.Oracle; using Microsoft.Practices.EnterpriseLibrary.Data; using Microsoft.Practices.EnterpriseLibrary.Data.Sql; using NLog; using System; using System.Configuration; using System.Data; using System.Data.Common; namespace EIS.DataAccess { public class CustomDb { private Database database_0 = null; pr...
namespace OpenDreamShared.Dream { public enum MouseOpacity { Transparent = 0, PixelOpaque = 1, Opaque = 2 } }
namespace SuggestionAppLibrary.Models; public class SuggestionModel { [BsonId] [BsonRepresentation(BsonType.ObjectId)] public string Id { get; set; } public string Suggestion { get; set; } public string Description { get; set; } public DateTime DateCreated { get; set; } = DateTime.UtcNow; ...
using System; using System.Linq; using System.Threading.Tasks; using Buxfer.Client.Responses; using Buxfer.Client.Transactions; using FluentAssertions; using NUnit.Framework; namespace Buxfer.Client.Tests.Web { [TestFixture] [Category("Transactions")] public class TransactionsTest { ...
using System; using System.Collections.Generic; namespace NetGridBuilder { public class Row<T> { public Row<T> ParentRow { get; set; } // if it's a leaf node, return null public List<Row<T>> AggregateChildren { get; set; } // only has value if there're no more aggregate...
using Sandbox.Common; using Sandbox.Common.ObjectBuilders; using Sandbox.Game.Entities; using Sandbox.Game.Entities.Character; using Sandbox.Game.Multiplayer; using Sandbox.Game.Weapons; using Sandbox.Definitions; using System; using System.Collections.Generic; using System.Diagnostics; using VRage.Collections; using ...
using Tricentis.TCAPIObjects.Objects; namespace Tricentis.Automation.WseToApiMigrationAddOn.Migrator.Parser.Interfaces { public interface IPayloadParser { #region Public Methods and Operators string Parse(XModule wseModule, string tql = ""); string Parse(XTestStep xTestStep, string tql =...
namespace Zametek.Maths.Graphs { public interface IHaveContent<out T> { T Content { get; } } }
using System; using System.IO; namespace Srp { public class DataSaver { public static void SaveData(string filename, byte[] data) { using (var timeFile = new FileStream(filename + ".time", FileMode.OpenOrCreate)) { using (var newFile = new FileStream(filename, FileMode.OpenOrCreate)) { var bac...