content
stringlengths
23
1.05M
using System; namespace Juniper.Puzzles { public struct Tile : IEquatable<Tile> { public ConsoleColor Fore { get; set; } public ConsoleColor Back { get; set; } public char Token { get; set; } public bool Equals(Tile other) { return other.Fore == Fore ...
namespace PokeBrowser.ViewModels { public class BoolToVisible { } }
namespace Gecko.WebIDL { using System; internal class UncaughtRejectionObserver : WebIDLBase { public UncaughtRejectionObserver(nsIDOMWindow globalWindow, nsISupports thisObject) : base(globalWindow, thisObject) { } public void OnL...
/* ======================================================================== * Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved. * * OPC Foundation MIT License 1.00 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using AzureRenderHub.WebApp.Arm.Deploying; using AzureRenderHub.WebApp.Code.Contract; using System.Collections.Generic; using System.Threading.Tasks; using WebApp.Config.Storage; using WebApp.Models.Storage.Create; namespa...
using Microsoft.Practices.Unity; using System; using System.Collections.Generic; using System.Web.Mvc; namespace DI_Unity.App_Start { /// <summary> /// Resolver /// </summary> internal class UserResolver : IDependencyResolver { private IUnityContainer _unityContainer; public User...
using InterflowFramework.Core.Factory.PointFactory; using InternalFramework.Nancy.InputPoint; using Nancy.Hosting.Self; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InternalFramework.NencyInPoint { class Program { static void Main(st...
using System; using System.IO; using Xunit; namespace LeapYear.Tests { public class UnitTest1 { [Fact] public void TestIsDivisibleByFour() { Assert.True(Program.IsLeapYear(1604)); Assert.False(Program.IsLeapYear(1700)); Assert.False(Progr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Concurrency.Msdn { class LockInLock { private readonly object _sync1 = new object(); private readonly object _sync2 = new object(); pu...
using System.Globalization; using Reductech.Sequence.Core.Enums; namespace Reductech.Sequence.Core.Steps; /// <summary> /// Converts a string to a particular case. /// </summary> [Alias("ChangeCase")] [Alias("ToCase")] [SCLExample("StringToCase String: 'string to change' Case: TextCase.Title", "String To Change")] [...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Linq; namespace HotelManagerSimulator.Logic { [Serializable] class Floor { public List<Room> Rooms { get; set; } public Floor() {} public Floor(byte nu...
using HotChocolate; using HotChocolate.Types; using MusicApp.API.Data; using MusicApp.API.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MusicApp.API.GraphQL.SubGenres { public class SubGenreType : ObjectType<SubGenre> { protected ove...
using Unity.Entities; using Unity.Mathematics; using UnityEngine; using Unity.Transforms; using XLuaFramework; using SprotoType; namespace UnityMMO { //synch entities property to server public class SynchSystem : ComponentSystem { float lastSynchTime = 0; public struct Data { ...
using NLog; using RestEase; using SyncTrayzor.Services.Config; using SyncTrayzor.Syncthing.ApiClient; using SyncTrayzor.Syncthing.EventWatcher; using SyncTrayzor.Syncthing.TransferHistory; using SyncTrayzor.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; usin...
using System; using System.Collections.Generic; using Repository.Framework; using Simptom.Framework.Models; using Simptom.Framework.Repositories; namespace Simptom.Framework.Services { public partial interface IFlareUpService : IService<IFlareUp, IFlareUpKey, IFlareUpSearch, IFlareUpsSearch> { } }
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; [Serializable] public class MaterialSetImportConfiguration { [Serializable] public class Variant { [JsonProperty("name")] public string name; [JsonProperty("paths")] public string[] materialsDufPaths; } [Serializable]...
public sealed class UnityAction<T0, T1> : MulticastDelegate // TypeDefIndex: 3110 { // Methods // RVA: -1 Offset: -1 public void .ctor(object object, IntPtr method) { } /* GenericInstMethod : | |-RVA: 0x2CB56A0 Offset: 0x2CB57A1 VA: 0x2CB56A0 |-UnityAction<BodyPartsCollision, Collider>..ctor |-UnityAction<obje...
 namespace EC.Libraries.Core.Validator.Rule { /// <summary> /// 购物车动作检查 /// </summary> /// <remarks>2014-1-21 苟治国 创建</remarks> public class Rule_CartAction : IRule { private string actionCode; /// <summary> /// 验证购物车动作 /// </summary> /// <param name="act...
using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; using Replace.Service; using Replace.Service.Test; namespace Replace.App.Test { [TestClass] public class ParameterTest : Testbase { [TestMethod] public void TestInvalidParameters() { using (StringWrite...
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace TeamCityConsole.Utils { public class PathHelper { public static string PathRelativeTo(string path, string root) { var pathParts = GetPathParts(path); var rootParts = GetPathPar...
using System; namespace CodeHollow.FeedReader.Feeds { /// <summary> /// The parsed "dc:" elements in a feed /// </summary> public class DublinCore { /// <summary> /// The "title" element /// </summary> public string Title { get; set; } /// <summary> ...
using Microsoft.IdentityModel.Tokens; using System; using System.Collections.Generic; using System.Text; namespace Solid.ServiceModel { internal class IssuedTokenClientCredential { public SecurityToken Token { get; set; } public SecurityTokenHandler[] Handlers { get; set; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shot : MonoBehaviour { public float speed = .2f; private MiniGameController controllerPrime; public void init (MiniGameController controllerPrime) { this.controllerPrime = controllerPrime; if (this.controllerPrime ==...
using Microsoft.EntityFrameworkCore.Storage; using Sio.Cms.Lib.Models.Cms; using Sio.Cms.Lib.Services; using Sio.Common.Helper; using Sio.Domain.Data.ViewModels; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; namespace Sio.Cms.Lib.ViewMo...
// <copyright file="PlayerInformation.cs" company="Primas"> // Company copyright tag. // </copyright> namespace FD.Data.Model { using System.Collections.Generic; using Newtonsoft.Json; /// <summary> /// The PlayerInformation class /// </summary> public class PlayersInformation { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EDITH_Core.Models { public class ConfigModel { public string WolframAlphaAPIKey { get; set; } public string AzureApiKey { get; set; } public string AzureRegion ...
using System; using Jerrycurl.Relations.Metadata; namespace Jerrycurl.Data.Queries.Internal.State { internal class TypeState { public ISchema Schema { get; } public IndexState Indexer { get; } = new IndexState(); public AggregateState Aggregate { get; } public TypeState(ISchem...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Bullet : MonoBehaviour { [SerializeField] private float destroyTime = 2f; public float distance; public int damage = 10; public GameObject destEffect; void Update() { D...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Data; using System.Net; using System.IO; namespace DAL { public class SQL { #region Properties private DataTabl...
namespace P7CoreTests.Models { public class MyPublicClassJustStrings { private string SomePrivateString { get; set; } public const string SomePublicConstString = "hi"; public string SomePublicString { get; set; } } }
// --------------------------------------------------------------------------------------------- #region // Copyright (c) 2005-2015, SIL International. // <copyright from='2005' to='2015' company='SIL International'> // Copyright (c) 2005-2015, SIL International. // // This software is distributed under the...
namespace Nancy.ModelBinding { using System.Collections.Generic; using DefaultBodyDeserializers; using DefaultConverters; /// <summary> /// Provides default binding converters/deserializers /// The defaults have less precedence than any user supplied ones /// </summary> pub...
using System; using System.Collections.Generic; using LogoFX.Templates.Data.Contracts.Dto; using LogoFX.Templates.Data.Contracts.Providers; namespace LogoFX.Templates.Data.Real.Providers { //TODO: Use explicit implementation internal sealed class SampleModelDataProvider : ISampleModelDataProvider { ...
using MicroQuiz.Services.Operations.Core.Models; using MicroQuiz.Services.Operations.Core.Repositories; using MongoDB.Driver; using System; using System.Threading.Tasks; namespace MicroQuiz.Services.Operations.Infrastructure.Mongo.Repositories { public class OperationRepository : IOperationRepository { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IntegrationTool.Core { public interface IValidate<TValidatationRule> where TValidatationRule: IValidationRule { public IIntegrationLogger Logger { get; init; } ...
using System; using System.ComponentModel.DataAnnotations.Schema; namespace Aiursoft.EE.Models { public class Chapter { public int Id { get; set; } public string Name { get; set; } public string VideoAddress { get; set; } public int ViewTimes { get; set; } public DateTi...
using Microsoft.WindowsAzure; using Microsoft.WindowsAzure.StorageClient; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CloudLogs { public class LogManager { CloudStorageAccount storageAccount; CloudTableClient tableClient; string table...
using System; using System.Reflection; using ILLightenComparer.Extensions; using Illuminator; namespace ILLightenComparer.Variables { internal sealed class FieldMemberVariable : IVariable { public static IVariable Create(MemberInfo memberInfo) => memberInfo is FieldInfo info ...
using VRChatAPI.Enums; using VRChatAPI.Objects; namespace VRChatAPI.Interfaces { public interface IFavoriteGroup : IVRCObject { EFavoriteType FavoriteGroupType { get; } string FavoriteGroupName { get; } UserID UserID { get; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MyCalculator.Parsers.Interfaces; namespace MyCalculator.Parsers { public class XmlCalculator { private readonly IPostfixCalculator _postfixCalculator; private readonly IXmlTokenizer _xmlTokenizer; ...
using System; public class SecurityPassMaker { public string GetDisplayName(TeamSupport support) { throw new NotImplementedException($"Please implement the SecurityPassMaker.GetDisplayName() method"); } } /**** Please do not alter the code below ****/ public interface TeamSupport { string Title {...
using CLAP; using System; using System.Text; namespace CL_Argument_Parser.Runner { class Program { static void Main(string[] args) { var result = TextFormatter.FormatHeader("HEADER", 12, TextFormatter.OutlineType.Underline, leftMargin: 5); Console.WriteLine(result); //var swA = new Co...
using System.IO.Compression; using System.Windows.Media; namespace ScreenToGif.Util { public class Parameters { public Export Type { get; set; } public string Filename { get; set; } public int Height { get; set; } public int Width { get; set; } public bool CopyToCli...
using System; using Csla; namespace ProjectTracker.Library { // This should fail because it doesn't have a no-arg ctor [Serializable] public class ResourceExistsCommand : CommandBase<ResourceExistsCommand> { public ResourceExistsCommand(int id) { ResourceId = id; } public static Propert...
using GivenSpecs.Application.Reporting; using System.Collections.Generic; using System.Linq; namespace GivenSpecs.Application.Services.XunitGenerator { public class XunitGenerator_Scenario { public string DisplayName { get; set; } public List<string> Tags { get; set; } public string Me...
//*************************************************** // Utility Functions // Copyright (c) Rylogic Ltd 2008 //*************************************************** #nullable disable using System; using System.Collections; using System.Collections.Generic; namespace Rylogic.Common { /// <summary> /// A Comparer im...
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // ------------------------------------------------------------ namespace Dapr.AspNetCore.IntegrationTest { using Dapr.AspNetCore.IntegrationTest.App; using Microsoft.AspNe...
/* Yet Another Forum.NET * Copyright (C) 2006-2013 Jaben Cargman * http://www.yetanotherforum.net/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or...
using System.Xml.Serialization; namespace Monofoxe.Spriter.Models { public class SpriterEventline : SpriterElement { [XmlElement("key")] public SpriterKey[] Keys; } }
using NHM.Common; using System.Collections.Generic; using System.Linq; namespace NHMCore.Notifications { public class NotificationsManager : NotifyChangedBase { public static NotificationsManager Instance { get; } = new NotificationsManager(); private static readonly object _lock = new object(...
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using DCL.Builder; using NUnit.Framework; using UnityEditor; using UnityEngine; public class ProjectCardViewShould { private ProjectCardView cardView; [SetUp] public void SetUp() { const strin...
using System; using System.Collections; using System.Collections.Generic; using Microsoft.Windows.ProjFS; namespace PakFS { internal class FileEnumeration: IEnumerator<PakFileSystemInfo> { private readonly IEnumerable<PakFileSystemInfo> files; private IEnumerator<PakFileSystemInfo> enumerator; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SharpTibiaProxy.Domain { public class CreatureEventArgs : EventArgs { public Creature Creature { get; set; } } public class CreatureAddedEventArgs : CreatureEventArgs { } public cl...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; namespace OpenVIII.Battle { /// <summary> /// base is a rectangle. the top vertex is centered over the base. /// </summary> public class RegularPyramid { private const float persistentAlpha = .9f; ...
using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.OpenApi.Interfaces; using Microsoft.OpenApi.Models; using Yardarm.Names; using Yardarm.Spec; namespace Yardarm.Generation.Schema { pub...
using CH09.EmployeeService.Services; using System; using System.ServiceModel; using System.ServiceModel.Description; namespace CH09.SelfHostingDemo { class Program { static void Main(string[] args) { var serviceUrl = new Uri("http://localhost:59795/Services/EmployeeService"); ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // // // Content: Line Services managed wrapper // // using System; using System.Windows; using System.Window...
// <copyright file="AttributeNameTest.cs" company="Oleg Sych"> // Copyright © Oleg Sych. All Rights Reserved. // </copyright> namespace T4Toolbox.TemplateAnalysis { using NSubstitute; using Xunit; public static class AttributeNameTest { [Fact] public static void Attribute...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Audit.Elasticsearch.Providers; using Audit.WebApi; using AutoMapper; using BusinessLogic.Interfaces; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; us...
using System; using System.Collections.Generic; using Newtonsoft.Json; using reQuest.Models; namespace reQuest { public class Player { /// <summary> /// Gets or sets the identifier. /// </summary> /// <value>The identifier assigned by azure mobile services.</value> [JsonProperty(PropertyName = "id")] ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class ProgramMenu : MonoBehaviour { public GameObject level_menu; public Text header; public GameObject trigger_prefab; public GameObject trigger_list; pub...
using System.Collections.Generic; namespace Evol.Common { public class PagedList<T> : List<T>, IPaged<T> { public PagedList() { } public PagedList(IEnumerable<T> items, int total, int pageIndex, int pageSize) { this.AddRange(items); RecordTotal...
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; using SewerScavenger.ViewModels; namespace SewerScavenger.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class TutorialPage : ContentPage { // Holds the current image on the page private TutorialView...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RotateAxis : TransformAxis { private const float SNAP = 45; private float startTouchAngle; private float startAxisAngle; private bool moving; private float value; public override void Update() { ...
namespace HealthyNutGuysAPI.Helpers { public class TokenOptionsStrings { public const string RefreshTokenProvider = "DataProtector"; public const string RefreshToken = "RefreshToken"; public const string ApplicationToken = "application_token"; public const string ExpiredToken = "Token-Expired"; ...
// <copyright file="TestRunLogService.cs" company="Automate The Planet Ltd."> // Copyright 2018 Automate The Planet Ltd. // 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.or...
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace MvcContrib.TestHelper.Ui { public class DisplayTable<T> { protected List<RowFilter<T>> filters = new List<RowFilter<T>>(); protected readonly IBrowserDriver _browser; public DisplayTable(IBrowserDriver browser) { _br...
using SharpLearning.CrossValidation.Samplers; using System; using System.Linq; namespace SharpLearning.CrossValidation.TrainingTestSplitters { /// <summary> /// Creates a set of training and test indices based on the provided targets. /// The return values are two arrays of indices which can be used with ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DocumentFormat.OpenXml.Tests.SimpleTypes { public class DecimalValueTests : OpenXmlComparableSimpleValueTests<decimal> { public DecimalValueT...
using System; using System.Collections.Generic; using System.Diagnostics; namespace Swift.Commands { public class Update : CommandLineMethod { public override string Command { get { return "update"; } } public override string DocString { get { return "Update Swift if any updates ar...
using System; using HttpEx.REST; namespace Library.DataTransferObjects { public class LendingRecordResource : Resource { public string State { get; set; } public Hyperlink<BookResource> Book { get; set; } public DateTime CheckoutDate { get; set; } public DateTime DueDate { get...
using CoreCourse.Spyshop.Domain; using CoreCourse.Spyshop.Domain.Catalog; using CoreCourse.Spyshop.Web.Areas.Admin.ViewModels; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.IO; using System.Linq; usin...
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace MCPE.AlphaServer { class Program { static async Task Main(string[] _) { Console.WriteLine("Starting MCPE.AlphaServer."); // For RakEncoder Debug.Assert(BitConverter....
using UnityEngine; using System.IO; using System.Collections.Generic; public class MultiCompile : MonoBehaviour { private AssetBundleManifest manifest; private readonly Dictionary<string,Object> hash = new Dictionary<string, Object>(); private void Start() { Analy(); } void OnGUI() ...
using System; namespace Resizetizer { public interface IPngOptimizer { void Optimize(string pngFilename); } public enum PngOptimizerEngine { ImageSharp } public static class PngOptimizerFactory { static ImageSharpPngOptimizer imageSharp; public static PngOptimizer Create(PngOptimizerEngine engine) ...
namespace SentryOne.UnitTestGenerator { internal static class Constants { #pragma warning disable SA1401 // Fields should be private public static string ExtensionName = "SentryOne Unit Test Generator"; #pragma warning restore SA1401 // Fields should be private } }
namespace BulletMLLib.SharedProject.Nodes { public class VanishNode : BulletMLNode { public VanishNode() : base(ENodeName.vanish) { } } }
// Write a program that finds the biggest of five numbers by using only five if statements. using System; class Program { static void Main(string[] args) { Console.Write("Enter a(first): "); float a = float.Parse(Console.ReadLine()); Console.Write("Enter b(second): "); float b...
using UnityEngine; using System.Collections; using System; public class Game { public string nome; public string categoria; public string lancamento; public Game(string nome, string categoria){ this.nome = nome; this.categoria = categoria; this.lancamento = DateTime.Now.ToString(); } }
using System; using System.Collections.Generic; namespace Server.Routing { using Contracts; using Server.Handlers.Contracts; using Server.Handlers; public class RoutingContext : IRoutingContext { public RoutingContext(RequestHandler handler, List<string> parameters) { Parameters = parameters; RequestH...
using System; using System.Linq; using System.Reflection; namespace NFleet.Data { public static class DataUtil { public static T ToRequest<T>(this object data) { Type t = data.GetType(); PropertyInfo[] propertyInfos = t.GetProperties(BindingFlags.Public | BindingFlags.I...
namespace NanoAuth.Data.Audits { public enum UserAuditEventType { Login, FailedLogin, Logout } }
namespace GW2EIEvtcParser.EIData { internal abstract class GainComputer { public bool Multiplier { get; protected set; } public bool SkillBased { get; protected set; } = false; public abstract double ComputeGain(double gainPerStack, int stack); } }
using System; namespace Tagolog { public interface ITagScope : IDisposable { /// <summary> /// Gets collection of tags available within this scope. /// </summary> ITagCollection Tags { get; } /// <summary> /// Gets readonly collection of tags inherited from upp...
@model MessageBoardClient.Models.Thread @using (Html.BeginForm()) { @Html.HiddenFor(t => t.ThreadId) @Html.LabelFor(t => t.Title) @Html.TextBoxFor(t => t.Title) <input type="submit" value="Update Title" class="btn btn-secondary" /> }
using System; namespace ClientServicePropertyExample { public class Service1 : IService { public bool Called1 { get; set; } public void ServiceMethod() { Called1 = true; // Service Method implementation. } } }
using System.Drawing; namespace FileFormatWavefront.Model { /// <summary> /// Represents a texture map. /// </summary> public class TextureMap { /// <summary> /// Gets the path to the texture file. /// </summary> public string Path { get; internal set; } ///...
#if UNITY_EDITOR using System; using UnityEditor; using UnityEngine; // Original idea from: https://gist.github.com/Jquirky/ namespace Toolnity { [InitializeOnLoad] public static class HierarchyColorizer { private const string UNDO_APPLY_COLOR_NAME = "Modify Hierarchy Color"; static HierarchyColorizer() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using HtmlAgilityPack; using NetRunner.Executable.Common; namespace NetRunner.Executable.Invokation.Functions { internal sealed class AddTraceLine : AbstractTableChange { private readonl...
using System.Text.RegularExpressions; using FluentValidation; using FluentValidation.Results; using FluentValidation.TestHelper; using Xunit.Sdk; namespace Enmeshed.UnitTestTools.FluentValidation { public static class ValidationFailuresExtensions { public static IEnumerable<ValidationFailure> WithErro...
using Newbe.Claptrap.StorageProvider.Relational.Options; namespace Newbe.Claptrap.StorageProvider.SQLite.Options { public interface ISQLiteStorageMigrationOptions : IAutoMigrationOptions, ISQLiteStorageProviderOptions { } }
 namespace Graphviz4Net.Tests.Graphs { using NUnit.Framework; using Graphviz4Net.Graphs; [TestFixture] public class GraphChangedTests { private Graph<Model> graph; private int graphChangedCalled; [SetUp] public void SetUp() { th...
using Moq; namespace WcfLib.Test.TestFramework { public static class MoqExtensions { /// <summary> /// Similar to Mock's <see cref="It.IsAny{T}" /> but even more generic because it doesn't test the /// object derives from <see cref="TValue" /> /// </summary> pub...
using System.Collections.Generic; using Qsi.Oracle.Common; using Qsi.Tree; namespace Qsi.Oracle.Tree { public class OracleJsonColumnExpressionNode : QsiExpressionNode { public QsiTreeNodeList<OracleJsonColumnNode> Columns { get; } public override IEnumerable<IQsiTreeNode> Children => Columns;...
using System; namespace XForms.Controls { public interface IScrollViewRenderer : IViewRenderer { View Content { get; set; } bool IsVerticalScrollingEnabled { get; set; } bool IsHorizontalScrollingEnabled { get; set; } } public class ScrollView : View { public Scr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VirtualDisplayPlugin { public class DisplayPixel { public DisplayPixel(int x, int y, int chan, int pixChan, string colorOrder) { X = x; Y = y; Chan = chan; PixelChan = pixCha...
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace DataModels { public class MarketHours { public string date { get; set; } public string marketType { get; set; } public string exchange { get; set; } public string category { get; set; } pu...
using Hestify; namespace Wd3w.AspNetCore.EasyTesting.Hestify { public static class HestifyExtensionHelper { public static HestifyClient Resource(this SystemUnderTest sut, string relativeUri) { return new HestifyClient(sut.CreateClient(), relativeUri); } } }
using System; using System.Collections.Generic; using System.Linq; using ICSharpCode.NRefactory; using ICSharpCode.NRefactory.Ast; namespace SharpRefactoring { public interface ISelection { bool ContainsPosition(int column, int line); Location EndPosition { get; } Location S...
// <Snippet6> using System; public class Example { public static void Main() { Console.Clear(); DateTime dat = DateTime.Now; Console.WriteLine("\nToday is {0:d} at {0:T}.", dat); Console.Write("\nPress any key to continue... "); Console.ReadLine(); } } // The e...