content
stringlengths
23
1.05M
/* **************************************** ******************************************* * author : kaka * create time : 2020-11-11 11:40:13 * description : ******************************************* ** ************************************* */ using System.IO; using UnityEngine; using XLua; namespace XLuaTest { #if...
using System; using System.Collections.Generic; using System.Data.Common; using System.Linq; using Dalamud; using GatherBuddy.Enums; namespace GatherBuddy.Classes; public partial class GatheringNode { public List<Gatherable> Items { get; init; } // Print all items separated by '|' or the given s...
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.ServiceFabric.Data.Mocks; using Microsoft.ServiceFabric.Data; namespace ServiceFabric.Extensions.Data.Indexing.Persistent.Test { [TestClass] public class IndexExtensionsTests { ...
using System; using System.Collections.Generic; namespace TeachMeSkills.Aksenchik.HomeWork4 { class Program { private static void Main(string[] args) { var taskList = new List<TaskOfTheDay>(); bool stop = false; TaskCheck(taskList, stop); ShowBac...
using SharpDX.Direct3D11; using System; using System.Collections.Generic; using System.Diagnostics; using VRage; using VRage.Collections; using VRage.Profiler; using VRage.Render11.GeometryStage2; using VRage.Render11.LightingStage.Shadows;using VRageMath; using Vector3 = VRageMath.Vector3; namespace VRageRender { ...
using Sentry.Internal; namespace Sentry.Integrations { internal class AutoSessionTrackingIntegration : IInternalSdkIntegration { private bool _isSessionStarted; public void Register(IHub hub, SentryOptions options) { if (options.AutoSessionTracking) { ...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using System.Collections.Generic; using System.Linq; namespace SyntaxRewriter { class RemoveBackingFieldRewriter : CSharpSyntaxRewriter { private IEnumerable<string> _fieldsToRemove; ...
namespace Grunt.Models.HaloInfinite { public class GameVariantAssetStats { public int Favorites { get; set; } public int FilmBookmarks { get; set; } public int Likes { get; set; } public AssetRating Ratings { get; set; } public int ParentAssetCount { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using Harmonia.Search; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest.Search { [TestClass] public class BinarySearchOldTest { [TestMethod] public void GetIndex_Int32() { ...
using System; using System.Collections.Generic; using System.Text; namespace Ipfs.Cryptography { /// <summary> /// Thin wrapper around bouncy castle digests. /// </summary> /// <remarks> /// Makes a Bouncy Caslte IDigest speak .Net HashAlgorithm. /// </remarks> internal cla...
using System.Runtime.InteropServices; namespace PowerPlugin.Native { public static partial class user32 { [DllImport("user32.dll")] public static extern bool LockWorkStation(); [DllImport("user32.dll")] public static extern bool ExitWindowsEx(uint uFlags, uint dwReason); }...
using System; using UnityEditor; using UnityEngine; [Obsolete()] //[CustomEditor(typeof(ItemPickup))] public class ItemPickupEditor : Editor { /*private ItemPickup instance; private SerializedObject myObj; //private GameObject gameObject; private SerializedProperty pro; void OnEnable() { ...
using addon365.Database.Entity.Chit; using System.Collections.Generic; namespace addon365.Domain.Entity.Chit { public class CustomerDueDomain { public string SubscriptionId { get; set; } public string Name { get; set; } public double Amount { get; set; } public double PaidAmoun...
// <copyright file="WeatherForecast.cs" company="MyProject"> // Copyright (c) MyProject. All rights reserved. // </copyright> namespace Core.Model { using System; /// <summary> /// WeatherFforecast class. /// </summary> public class WeatherForecast { /// <summary> /// Gets or ...
using System.Collections.Generic; using BrutileArcGIS.Lib; using BruTile; using BruTile.Web; namespace BrutileArcGIS.lib { public class NaverConfig : IConfig { public NaverConfig(string name, string url) { Name = name; Url = url; } public ITileSource Cr...
using System; using System.Linq; using System.Threading.Tasks; using NUnit.Framework; using SimMach.Playground.Backend; using SimMach.Playground.CommitLog; using SimMach.Sim; namespace SimMach.Playground { public sealed class PlaygroundTests { public static ScenarioDef InventoryMoverOverStableConnection...
using System.Data; namespace SharperArchitecture.DataAccess.Specifications { public interface IUnitOfWorkFactory { IUnitOfWork Create(IsolationLevel isolationLevel = IsolationLevel.Unspecified); } }
using System; using System.Collections.Generic; using System.Text; namespace PossumLabs.Specflow.Selenium.Selectors { public static class PrefixNames { public static string Unknown => "Unknown"; public static string Row => "Row"; public static string Under => "Under"; public st...
using System; using eXtensionSharp; using NUnit.Framework; namespace JWLibrary.NUnit.Test { public class JStringTest { [SetUp] public void Setup() { } [Test] public void JIndexOfTest() { var index = "test".IndexOf(""); Assert.GreaterOrEqual(index, 0...
namespace CribbagePatienceCP.Data; public class ScoreHandCP { public DeckRegularDict<CribbageCard> CardList { get; set; } = new DeckRegularDict<CribbageCard>(); public BasicList<CribbageCombos> Scores { get; set; } = new(); public DeckRegularDict<CribbageCard> TempList { get; set; } = new DeckRegularDict<C...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TTWebCommon.Extensions { public static class DictionnaryExtensions { public static T Map<T>(this Dictionary<string, string> dictionary, T obj = null) where T : class, new() {...
namespace SpaceStation.Core { using SpaceStation.Core.Contracts; using SpaceStation.Models.Astronauts; using SpaceStation.Models.Astronauts.Contracts; using SpaceStation.Models.Mission; using SpaceStation.Models.Planets; using SpaceStation.Repositories; using SpaceStation.Repositori...
using System.Diagnostics; using System.IO; namespace StealthTech.RayTracer { public class PpmOutput { public static void WriteToFile(string fileName, string ppmContent, bool showAfter = true) { File.WriteAllText(fileName, ppmContent); if (showAfter) { ...
namespace HOSKYSWAP.UI.WASM.Models; public class CardanoWalletInteropError { public CardanoWalletInteropErrorType Type { get; set; } public string Message { get; set; } = string.Empty; }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Medical { public class DiscController { static Dictionary<String, Disc> discs = new Dictionary<string, Disc>(); public static void addDisc(Disc disc) { discs.Add(di...
using System; using System.Collections.Generic; using System.Text; using dnlib.DotNet; namespace Confuser.Analysis { public interface IVTable { public TypeSig Type { get; } public IReadOnlyList<IVTableSlot> Slots { get; } public IReadOnlyDictionary<TypeSig, IReadOnlyList<IVTableSlot>> InterfaceSlots { get; } ...
using System; using ReMi.Contracts.Cqrs.Queries; using ReMi.DataAccess.BusinessEntityGateways.ReleasePlan; using ReMi.Queries.ReleasePlan; namespace ReMi.QueryHandlers.ReleasePlan { public class GetReleaseTaskTypesHandler : IHandleQuery<GetReleaseTaskTypesRequest, GetReleaseTaskTypesResponse> { public ...
using DCSoft.ShapeEditor; using System; using System.Windows.Forms; namespace DCSoftDotfuscate { internal static class Class188 { [STAThread] private static void smethod_0() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(defaultValue: false); frmImageShapeEditor.smet...
using System; using System.Collections.Generic; namespace Snp.ePort.Core.Infrastructure.File { public interface IFileReader : IDisposable { bool EndOfStream { get; } string ReadLine(); List<string> ReadAll(); } }
namespace Xsolla.Demo { public class UserStateRequested : BaseUserStateUI { protected override void InitUserButtons(FriendButtonsUI buttons) { EnableCancelFriendshipRequestButton(); } protected override void InitUserActionsButton(FriendActionsButton actionsButton) { EnableBlockUserOption(); } } }...
using System.Runtime.InteropServices; namespace Qiwi.BillPayments.Web { /// <summary> /// Fingerprint interface. /// </summary> [ComVisible(true)] public interface IFingerprint { /// <summary> /// Get the API client name. /// </summary> /// <returns>The A...
using System.Collections; using IotDataStation.Common.DataModel; namespace IotDataStation.Common.Interface { public interface IDataRepository { INode[] GetNodes(string path, bool recursive = false); INode GetNode(string path, string id); bool SetNode(string path, INode node); ...
@{ ViewBag.Title = "Main Page"; } @model TwitterProxy.Models.TwitterRequest @Scripts.Render("~/bundles/core") <h3 class="text-center h3">Tweet searcher</h3> <div id="form" class="form-inline text-center"> @Html.TextBoxFor(dto => dto.HashTag, new { id="query", @class = "form-co...
namespace ServiceStack.Metadata { public class Soap12WsdlMetadataHandler : WsdlMetadataHandlerBase { protected override WsdlTemplateBase GetWsdlTemplate() { return new Soap12WsdlTemplate(); } } }
using System; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Text.Json; namespace Finite.AspNetCore.JsonPatch { /// <summary> /// Defines extension methods for <see cref="JsonPointer"/>. /// </summary> public static class JsonPointerExtensions { /// <summary...
using DSharpPlus.Entities; using System; namespace sisbase.Attributes { /// <summary> /// Atribute that sets the emoji for the command group /// </summary> public class EmojiAttribute : Attribute { /// <summary> /// The emoji that will be used by the command group /// </summary> public DiscordEmoji Emoji;...
using StepsToReduceNumberToZero.Classes; using System; using Xunit; namespace XUnitTestStepsToReduceNumberToZero { public class UnitTest1 { [Theory] [InlineData(14, 6)] [InlineData(8, 4)] [InlineData(123, 12)] public void Test(int input, int expected) { ...
using System; using System.Threading; using System.Threading.Tasks; using Curiosity.AppInitializer; using Curiosity.Configuration; using Microsoft.Extensions.Logging; namespace Curiosity.SFTP.SSH.Net { /// <summary> /// Service for initialization SFTP connections /// </summary> public class SftpInitial...
using System; namespace Memento { internal class Program { private static void Main(string[] args) { //We can record a list of every single change with command design pattern //Sometimes we only need to roll back the system to a particular state //We can use...
using UnityEngine; using System.Collections; public class PowerUpItem : MonoBehaviour { public PowerUpType powerUpType = PowerUpType.Basic; void OnTriggerEnter2D(Collider2D col) { // we know from the layer mask arrangement that this trigger can only be called by the player object GameManager.instance.p...
using Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Infrasctruture.Model.Maps { public class VendaMap : IEntityTypeConfiguration<Venda> { public void Configure(EntityTypeBuilder<Venda> builder) { builder.ToTab...
using System; using Glass.Mapper.Sc.Configuration; using Glass.Mapper.Sc.Fields; using Sitecore.Data; using Sitecore.Data.Fields; using Sitecore.Data.Items; using Sitecore.Links; using Sitecore.Resources.Media; namespace Glass.Mapper.Sc.DataMappers { /// <summary> /// Class SitecoreFieldFileMapper ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DotNetty.Transport.Channels.Groups { using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.Contr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CefSharp; using Microsoft.Extensions.Logging; namespace Positron.UI.Internal { internal class PositronOnlyResourceRequestFilter : HostResourceRequestFilter { private readonly ILogg...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class YValue : MonoBehaviour { public float yValue; public static YValue ins; // instance void Awake() { ins = this; } }
using System.Collections.Generic; using System.IO; using System.Linq; using GetIntoTeachingApi.Models; using GetIntoTeachingApi.Utils; using MoreLinq; using YamlDotNet.Serialization; using YamlDotNet.Serialization.NamingConventions; namespace GetIntoTeachingApi.Services { public class ClientManager : IClientManag...
using System; namespace WebbShopFE.Views { /// <summary> /// Methods that prints out input statments for the user. /// </summary> public static class InputView { public static void AskForAmount() { Console.Write("\nEnter amount: "); } public static void...
namespace SwipeableView { public class LoadTextureCardData { public string url; } }
using System; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace Microex.All.UEditor.Handlers { internal abstract class Handler { public HttpRequest Request { get; private set; } public HttpResponse Response { get; private set; } public HttpContext Context { get; private ...
using System; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using Glosharp.Helpers; using Glosharp.Http; using Glosharp.Models.Response; using Newtonsoft.Json; using RestSharp; namespace Glosharp.Clients { public class ColumnClient : ApiClient, IColumnClient { privat...
using Microsoft.Xna.Framework.Input; namespace MononokeEngine.Input { public class KeyboardInput { private KeyboardState _previous; private KeyboardState _current; internal void Update() { _previous = _current; _current = Keyboard.GetSta...
using System; using System.Collections; using System.Collections.Generic; using Timereporter.Core.Models; namespace Timereporter.Core.Collections { public class WorkdayEnum : IEnumerator, IEnumerator<IWorkday> { private int _position = -1; private IWorkday[] _workdays; public WorkdayEnum(IWorkday...
using System.Data.Entity; using System.Data.Entity.ModelConfiguration.Conventions; namespace TechSurvey.Infrastructure.Entities { public class TechSurveyDbContext : DbContext, ITechSurveyDbContext { public TechSurveyDbContext() : base("DefaultConnectionString") { Database.SetInitia...
using MongoDB.Data.Repositories.Interfaces; using MongoDB.Driver; using MongoDB.Infrastructure; using MongoDB.Models; using MongoDB.Repository; using System.Collections.Generic; using System.Linq; namespace MongoDB.Data.Repositories { public class CustomBlogRepository : MongoDbRepository<Blog>, ICustomBlogReposit...
using Etch.OrchardCore.SEO.Redirects.Import.Models; using Etch.OrchardCore.SEO.Redirects.Import.Services; using Etch.OrchardCore.SEO.Redirects.Import.ViewModels; using FluentExcel; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Localization; using OrchardCore.DisplayManagement.Notify; using OrchardCore...
using MemoScope.Core.Data; using BrightIdeasSoftware; using WinFwk.UITools; using Microsoft.Diagnostics.Runtime; namespace MemoScope.Modules.Disposables { public class DisposableTypeInformation : ITypeNameData { public DisposableTypeInformation(ClrType type, long nbInstances) { Clr...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AplicacaoEscolas.WebApi.Hosting.Configuration; using Microsoft.Extensions.Configuration; namespace AplicacaoEscolas.WebApi.Controllers { [Route("a...
using System.Threading.Tasks; namespace CoreJob.Library.Ticketing { public interface ITicketWorker { /// <summary> /// Run ticketworker /// </summary> /// <param name="executionContext"></param> /// <returns>Process result message of this ticket worker</returns> public Task<string> Run(TicketExecutionCo...
using System.Collections; using System.Collections.Generic; using UnityEngine; /* Basic implementation of the LaserCursor abstract class. Is to be used with the BasicPointer */ public class BasicLaserCursor : LaserCursor { [SerializeField] private float lightRadius = 0.5f; [SerializeField] private f...
using System; using System.Collections; using System.Collections.Generic; using JetBrains.Annotations; namespace essentialMix.Collections { public class StackWrapper<T> : IStack<T>, ICollection, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable { private readonly Stack<T> _stack; private readonly ICollection _...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Collections.Generic; namespace CollapsedToto { public class UserRound { [Key] [ForeignKey("Owner")] [StringLength(20)] [Column(Order = 1)] public ...
using System.Collections; using System.Collections.Generic; using UnityEngine; // // Holds all audio clips that will be played alongside dialogue // public enum audioID { intro, shaking, inverted } public class AudioManager : MonoBehaviour { [Header("Audio Clips")] [SerializeField] List<AudioClip>...
using System; using System.Reflection; using DbUp; using Microsoft.Extensions.Logging; namespace Sanchez.Processing.Services.Database { public interface IDatabaseMigrator { /// <summary> /// Executes SQL scripts to create or migrate database schema. /// </summary> void Migr...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using A5Soft.DAL.Core.MicroOrm.Core; namespace A5Soft.DAL.Core.MicroOrm { /// <summary> /// represents a deleted child list mapper, i.e. a description of how a business object's deleted child objects /// ...
namespace FormUI.Domain.Util.Attributes { public enum InputMasks { NationalInsuranceNumber, SortCode, AccountNumber, } }
using System; using System.Linq; namespace Heists { class Program { static void Main(string[] args) { long[] prices = Console.ReadLine() .Split() .Select(long.Parse) .ToArray(); long priceJewels = prices[0]; l...
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.iOS.OverlayTypes { /// <summary> /// A single region in a flow thread. /// </summary> [SupportedBy("iOS")] public class Region { /// <summary> /// Gets or sets BorderQuad /...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharacterMovement : MonoBehaviour { [SerializeField] private CharacterPhysics2D physics; [SerializeField] private float gravityScale = 1; [SerializeField] private float moveSpeed = 10; [SerializeField] private float jumpV...
using CrypTool.Plugins.ChaCha.Helper; using CrypTool.Plugins.ChaCha.ViewModel.Components; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Numerics; using System.Windows.Input; namespace CrypTool.Plugins.ChaCha.ViewModel { internal class ChaChaPresentationViewModel : ...
using System; using Microsoft.Extensions.PlatformAbstractions; public class Program { public Program(IApplicationEnvironment env) { Console.WriteLine($"App Name: {env.ApplicationName}"); Console.WriteLine($"App Version: {env.ApplicationVersion}"); Console.WriteLine($"App Path: {env.Appl...
using Ay.Framework.WPF.Controls.Transitions; using System.Windows; namespace ay.Controls { // Allows different transitions to run based on the old and new contents // Override the SelectTransition method to return the transition to apply public class TransitionSelector : DependencyObject { publ...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using System.IO; [Serializable] public class AssessmentRound : Round { private string sceneID; public float HIIScore; public AssessmentRound(string sceneID) : base(sceneID){ } }
namespace Starnight; using System; /// <summary> /// Represents constants shared by the Starnight library not directly related to the discord API. /// </summary> public static class StarnightConstants { public static String Version => "0.0.1-dev"; public static String UserAgentHeader => "Starnight Library"; }
using System; using Utilities.Exceptions; namespace Algorithms.Search { /// <summary> /// Class that implements linear search algorithm. /// </summary> /// <typeparam name="T">Type of array element.</typeparam> public class LinearSearcher<T> { /// <summary> /// Finds fir...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections; using Microsoft.Build.BuildEngine.Shared; namespace Microsoft.Build.BuildEngine { /// <summary> /// A hashtable wrapper...
// ------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All Rights Reserved. // ------------------------------------------------------------------- //From \\authoring\Sparkle\Source\1.0.1083.0\Common\Source\Framework namespace System.Activities.Presentation.Interna...
/* * Lesley Reller * ITSE 1430 * 04/14/2020 */ namespace Nile { public interface IValidatableObject { string Description { get; set; } int Id { get; set; } bool IsDiscontinued { get; set; } string Name { get; set; } decimal Price { get; set; } string ToStrin...
//----------------------------------------------------------------------------- // Torque // Copyright GarageGames, LLC 2011 //----------------------------------------------------------------------------- new Material(blue_IB1) { mapTo = "blue_IB1"; diffuseMap[0] = "blue_IB1"; normalMap[0] = "blue_IB1PSDbump"...
/* ==================================================================== */ using System; using System.Xml; using System.Collections; using System.Collections.Generic; namespace Oranikle.Report.Engine { ///<summary> /// A collection of rows. ///</summar...
#region main using System; using PureDI; using PureDI.Attributes; [Bean] public class InjectionByConstructorDemo { [BeanReference] private ISomeService someService = null; public static void Main() { var constructorUser = new DependencyInjector() .CreateAndInjectDependencies< ...
namespace PicturesShop.Controllers { using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using PicturesShop.Models.GenreController; using PicturesShop.Services; using PicturesShop.Services.Interfaces; using System; using System.Collections.Generic; using System.Lin...
using System; namespace OrderService.Domain.AggregatesModels.OrderAggregate { public class Order { public long Id { get; set; } public DateTime OrderTime { get; private set; } public string Description { get; private set; } public long CustomerId { get; private set; } ...
// // ReadyToServe.cs // // Author: // K.Sinan Acar <ksa@puzzledwizard.com> // // Copyright (c) 2019 PuzzledWizard // // using System.Collections; using System.Collections.Generic; using UnityEngine; namespace PW { public class ReadyToServe : ProductGameObject { public GameObject platePrefab; ...
///////////////////////////////////////////////////////////////////////////////// // // Photoshop PSD FileType Plugin for Paint.NET // http://psdplugin.codeplex.com/ // // This software is provided under the MIT License: // Copyright (c) 2006-2007 Frank Blumenberg // Copyright (c) 2010-2016 Tao Yue // // ////////...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using Microsoft.PowerFx.Core.Types; namespace Microsoft.PowerFx.Types { public class TimeType : FormulaType { internal TimeType() : base(DType.Time) { } public override void Visit(ITypeVist...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "Turn", menuName = "PlayerState/Turn", order = 1)] public class TurnState : PlayerState { protected override void CustomStartState() { PlayerController.Instance.ForceToggleMirrored(); } ...
using TinyIoC; using Xamarin.Community.BR.Abstractions; using Xamarin.Community.BR.Services; using Xamarin.Community.BR.ViewModels.Paginas; using Xamarin.Community.BR.Views.Paginas; namespace Xamarin.Community.BR { public sealed class Startup { private readonly TinyIoCContainer _container; pri...
using System; using NUnit.Framework; namespace Ethereal.Library.Extensions.Test { [TestFixture] public class GuidExtensionsTest { #region IsEmpty [Test] public void IsEmpty_When_Guid_Is_Empty_Should_Return_True() { Assert.IsTrue(Guid.Empty.IsEmpty()); } ...
using System; using System.Collections.Generic; using System.Text; class BuyAuctionRequest : IRequest { public int PropertyId { get; set; } public BuyAuctionRequest(int propertyId) { PropertyId = propertyId; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace Net.Surviveplus.LightCutter.UI.ViewModels { public class HotkeyViewModel { public HotKeys Key { get; set; } public string Caption { get; set; } ...
using System; using System.Linq; using System.Web.Mvc; using Wms12m.Entity.Models; namespace Wms12m.Presentation.Controllers { public class CalendarController : RootController { // GET: Calendar public ActionResult Index() { var liste = db.Etkinliks.Where(m => m.Tekrarlayan...
using Burrow.RPC; using Microsoft.VisualStudio.TestTools.UnitTesting; using NSubstitute; // ReSharper disable InconsistentNaming namespace Burrow.Tests.RPC.BurrowRpcClientCoordinatorTests { [TestClass] public class MethodSendAsync { private ITunnel tunnel; [TestInitialize] public ...
using StockTradingAnalysis.Interfaces.Queries; using System.Collections.Generic; namespace StockTradingAnalysis.Domain.CQRS.Query.Queries { public class TransactionTagAllQuery : IQuery<IEnumerable<string>> { } }
using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestTools.UnitTesting; using ProTagger.Wpf; using ProTaggerTest.Mocks; using System; using System.Reactive.Disposables; namespace ProTaggerTest.Wpf { [TestClass] public class IntegerInputViewModelTest { [TestMethod...
using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; using Server_Library.Connection_Types; using Socket_Library; namespace Remote_Server.Crestron { /// <summary> /// A connection for controlling a crestron /// <Author>Mikael Nilssen</Author> /// </summary> public class CrestronConnec...
using System; using System.Collections.Generic; using System.Text; namespace Nucleo.DataServices.Modules { /// <summary> /// Represents the scheduler that controls the modules to execute. /// </summary> public abstract class BaseModuleScheduler { #region " Methods " /// <summary> /// Gets the modules that...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Device.Gpio; namespace Iot.Device.LiquidLevel { /// <summary> /// Optomax LLC200D3SH digital liquid level switch /// </summary> public class Llc200d3sh...
using System; using System.IO; using EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Config; namespace EInfrastructure.Core.Configuration.Ioc.Plugs.Storage.Params.Storage { /// <summary> /// 根据token上传文件 /// </summary> public class UploadByTokenParam { /// <summary> /// / ...
using MP.BucketStore.Models.Responses; namespace MP.BucketStore.Interface { public interface IBucket<T> where T : class { Task<WebResponse> DeleteBlob(string? blobKey); Task<WebResponse> DeleteBlobs(IEnumerable<string> blobKeys); Task DownloadBlob(string? blobKey, string? filepath, ID...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EFMExperimentsLibrary { /** * Parent class for data sets used in the Instrument environment * */ public class InstrumentDataset { //This event is raised when the...