content
stringlengths
23
1.05M
using System.ComponentModel.DataAnnotations; namespace TT.Domain.Models { public class DMRoll { public int Id { get; set; } [StringLength(128)] public string MembershipOwnerId { get; set; } public string Message { get; set; } public string Tags { get; set; } pub...
using UnityEngine; using UnityEngine.UI; namespace Juce.Cheats.Widgets { public class ToggleWidget : MonoBehaviour { [SerializeField] private Button button = default; [SerializeField] private TMPro.TextMeshProUGUI text = default; [SerializeField] private GameObject toggleCheck = defaul...
using System; using LibSvnSharp.Interop.Svn; namespace LibSvnSharp { [Flags] public enum SvnCommitTypes { None = 0, Added = svn_client_commit_item_enum_t.SVN_CLIENT_COMMIT_ITEM_ADD, Deleted = svn_client_commit_item_enum_t.SVN_CLIENT_COMMIT_ITEM_DELETE, ContentModified = svn...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Collections.Tests { public class PriorityQueue_Generic_Tests_string_string : PriorityQueue_Generic_Tests<string, string> { protected override (string...
using HVision.Varins.Interfaces.Algorithms; using HVision.Varins.Interfaces.ViewModels; using Microsoft.Practices.Prism.Mvvm; using Microsoft.Practices.Unity; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HVision.Va...
#if WORKINPROGRESS using System.Windows; using System; #if MIGRATION namespace System.Windows.Media.Animation #else namespace Windows.UI.Xaml.Media.Animation #endif { public sealed partial class DiscreteDoubleKeyFrame : DoubleKeyFrame { public DiscreteDoubleKeyFrame() { } } } #endif
using LiteNetLib.Utils; namespace MultiplayerARPG { public struct RequestPickupLootBagItemMessage : INetSerializable { public int dataId; public short fromIndex; public short toIndex; public void Deserialize(NetDataReader reader) { dataId = read...
namespace Barber.OpenApi.Settings { using Newtonsoft.Json; public class SettingsModel { public SettingsModel() { } /// <summary> /// Which body Media Type is used for setting the Parameter Type /// </summary> /// <remarks> /// Since a API ca...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Sandbox; namespace kake { [Library( "trigger_red" )] public partial class TriggerRed : TriggerMultiple { public override void OnTriggered( Entity other ) { if ( other is KakePlayer clien...
using System; using System.IO; using System.Net.Mail; using System.Net.Mime; using System.Web; using CAPPamari.Web.Models; namespace CAPPamari.Web.Helpers { public static class EmailHelper { public static bool EmailToAdvisor(string username, AdvisorModel advisor) { var document = P...
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using System.Diagnostics; using Devsense.PHP.Syntax; using Peachpie.CodeAnalysis.Symbols; namespace Pchp.CodeAnalysis.Symbols { /// ...
using Agoda.RateLimiter.Models; using System; using System.Collections.Generic; using System.Text; namespace Agoda.RateLimiter.Extensions { public static class DateTimeExtensions { private const long SecondsPerMinute = 60; private const long SecondsPerHour = 3600; public static long G...
#region License /* * Copyright 2002-2012 the original author or authors. * * 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 ...
using System; using System.Linq; using CommandLine; using CommandLine.Text; using log4net; using CKAN.Versioning; namespace CKAN.CmdLine { public class Cache : ISubCommand { public Cache() { } private class CacheSubOptions : VerbCommandOptions { [VerbOption("list", HelpText...
using BL.Ventas; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BL.Ventas { public class DatosdeInicio : CreateDatabaseIfNotExists<Contexto> { protected override void Seed(Contexto contexto) ...
using Newtonsoft.Json; namespace SDroid.SteamTrade.InternalModels.EconomyItemsAPI { internal class SchemaOverviewString { [JsonProperty("index")] public int Index { get; set; } [JsonProperty("string")] public string Value { get; set; } } }
using System; using Xunit; using Microsoft.EntityFrameworkCore; using DL; namespace Test { public class UnitTest1 { private readonly DbContextOptions<Entity.reviewdbContext> options; public TestRepo() { options = new DbContextOptionsBuilder<Entity.reviewdbContext>().UseSqli...
 using Newtonsoft.Json; namespace LoESoft.Server.Core.Networking.Data { public struct Stat { public int StatType { get; set; } public object Data { get; set; } public void Write(NetworkWriter writer) { writer.Write(StatType); writer.WriteUTF(JsonConvert...
using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TagEChartsBlazor.Components { public abstract class BaseRichComponent : ComponentBase, IDisposable { [CascadingParameter] protect...
using System; using PlanesRabbitMQ.BL.Models; namespace PlanesRabbitMQ.Contracts.Planes { public interface PlaneBatchAddRequested { public Guid BatchId { get; set; } public Plane Plane { get; set; } } }
using System.Linq; using Elektronik.Containers; using Elektronik.RosPlugin.Ros2.Bag; using Elektronik.RosPlugin.Ros2.Bag.Containers; using NUnit.Framework; namespace Elektronik.Ros.Tests.Rosbag2 { public class ReadingTestsYaml { private readonly Rosbag2ContainerTree _tree = new(""); [SetUp, Pl...
using MagicalLifeAPI.Asset; using MagicalLifeAPI.World.Data.Disk; using MagicalLifeAPI.World.Data.Disk.DataStorage; using MagicalLifeGUIWindows.GUI.Reusable; using Microsoft.Xna.Framework; using MonoGame.Extended.Input.InputListeners; namespace MagicalLifeGUIWindows.GUI.Save { public class OverwriteButton : MonoB...
using Streamliner.Blocks.Base; using Streamliner.Definitions; namespace Streamliner.Core.Links { public interface IBlockLinkFactory { IBlockLink<T> CreateLink<T>(ISourceBlock<T> from, ITargetBlock<T> to, FlowLinkDefinition<T> link); IBlockLinkReceiver<T> CreateReceiver<T>(FlowLinkDefinition<T>...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class Gpu : Product { public Gpu(double price) : base(price, 0.7) { } }
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.EntityFrameworkCore.TestUtilities.FakeProvider; using Xunit; #pragma warning disable RCS1102 // Make class static. namesp...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AsepriteAnimator { public enum AsepriteAlignment { Center = 0, TopLeft = 1, TopCenter = 2, TopRight = 3, LeftCenter = 4, RightCenter = 5, BottomLeft = 6, Bot...
using System; using System.Linq; using Telerik.Sitefinity.Web.UI.Fields.Contracts; namespace Sitefinity.Samples.UserGeneratedContent.Fields.ImageUrlField { public interface IImageUrlFieldControlDefinition : IFieldControlDefinition { /// <summary> /// Gets or sets the sample text. /// <...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Hoops.Core.Models { public partial class Director { [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] [Column("ID")] p...
using Sakuno.KanColle.Amatsukaze.Services; using System.ComponentModel; using System.Windows; namespace Sakuno.KanColle.Amatsukaze.Views { /// <summary> /// Browser.xaml の相互作用ロジック /// </summary> partial class Browser { public static Browser Instance { get; private set; } UIElement...
namespace AKSaigyouji.HeightMaps { /// <summary> /// Height maps provide a float y for each coordinate pair x,z of floats. MinHeight and MaxHeight /// indicate the lower and upper bounds for the height values. /// </summary> public interface IHeightMap { /// <summary> /// Minim...
using System; using System.Collections.Generic; using System.Text; namespace Abmes.DataCollector.Vault.Configuration { public class User { public string IdentityUserId { get; set; } public IEnumerable<string> DataCollectionNames { get; set; } public User() { ...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Windows; using Cryptons.Views.Dialogs; namespace Cryptons { class Functionals { private Functionals() { } private static Functionals _Functionals; public static Functionals DB()...
using Site.Models; using System; using System.Collections.Generic; namespace Site.Services { public interface ISitemapModelRepository { public IEnumerable<SitemapModel> Sitemaps { get; } SitemapModel GetPage(uint? pageNumber); SitemapModel GetPageById(Guid? sitemapModelId); ...
using System.Linq; using StackExchange.Redis; using Broadcast.Storage.Serialization; namespace Broadcast.Storage.Redis { /// <summary> /// Extensions for object /// </summary> public static class SerializerExtensions { /// <summary> /// Serialize objects to HashEntries /// </summary> /// <param name="obj...
using System.Collections.Generic; namespace GameServer.Data { public sealed class Conversation { public int Id { get; set; } public string Name { get; set; } public int ChatCount { get; set; } public Dictionary<int, Chat> Chats { get; set; } public Conversation() { ...
namespace SkyApm.Diagnostics.AspNetCore { internal static class TagsExtension { public static string REQUEST = "request"; public static string RESPONSE = "response"; public static string HEADERS = "header"; public static string EXCEPTION = "exception"; } }
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Reflection; using JetBrains.Annotations; using Microsoft.DotNet.Cli.Utils; using Microsoft.EntityFrameworkCore.Tools.DotNet....
using System; using SWPCCBilling2.Infrastructure; using System.Runtime.InteropServices; using SWPCCBilling2.Completions; using System.Collections.Generic; using System.Linq; using SWPCCBilling2.Models; using System.Diagnostics; using System.IO; namespace SWPCCBilling2.Controllers { public class InvoiceController : C...
// Takes a little less than an hour to run using System; using System.Collections.Generic; using System.Diagnostics; using ExcelLibrary.SpreadSheet; // Used for Excel Integration namespace dejonker1._0 { class Program { const int MAX_NODES = 100; const int TRIES = 5; // Amount of tr...
using System.Collections.Generic; using Newtonsoft.Json; namespace Particle.Models { public class ParticleGeneralResponse { [JsonProperty("ok")] public bool Ok { get; set; } [JsonProperty("errors")] public List<string> Errors { get; set; } [JsonProperty("code")] public int Code { get; set; } } }
namespace Menees.Windows.Forms { #region Using Directives using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; #endregion public static partial class WindowsUtility { #region Private Methods static partial void SetHighDpiMode() { Application.SetHighDpiMode...
using System; namespace intro { class Program { static void Main(string[] args) { Console.WriteLine("***** Delegates as event enablers *****\n"); // First, make a Car object. Car c1 = new Car("SlugBug", 100, 10); // Register multiple targets for ...
using System; using NLog; namespace Daisy.Terminal.Log { public sealed class FileLogger : ILogger { private static readonly Logger _instance; static FileLogger() { LogManager.ReconfigExistingLoggers(); _instance = LogManager.GetCurrentClassLog...
@model CategoryNameModel @{ ViewData["Title"] = "Delete Category"; } <h2>@ViewData["Title"]</h2> <hr /> <h3>Are you sure you want to delete <font color="red">@Model.Name</font> category?</h3> <div> <form asp-action="Delete"> <input type="submit" value="Delete" class="btn btn-danger" /> | <a...
using System; using System.Collections.Generic; namespace Foster.Framework { /// <summary> /// A Virtual Input Button that can be mapped to different keyboards and gamepads /// </summary> public class VirtualButton { public interface INode { bool Pressed(float buffer, l...
using System; using System.Text; using Kinetix.ComponentModel; namespace Kinetix.Reporting { /// <summary> /// Méthodes utilitaires pour l'encodage de fichiers en base 64. /// </summary> public static class FileBase64Utils { /// <summary> /// Calcule la source d'une image HTML pour a...
using Plugin.Permissions.Abstractions; using WorkingWithMaps.Views; using Xamarin.Forms; namespace WorkingWithMaps { public class App : Application { public App () { var tabs = new TabbedPage (); tabs.Children.Add (new MapPage {Title = "Map/Zoom", Icon = "glyphish_74_location.png"}); tabs.Ch...
#region Arx One FTP // Arx One FTP // A simple FTP client // https://github.com/ArxOne/FTP // Released under MIT license http://opensource.org/licenses/MIT #endregion namespace ArxOne.FtpTest { using System; using Ftp; using Ftp.Exceptions; using Microsoft.VisualStudio.TestTools.UnitTesting; [Tes...
/* LongLongInteger.Relation.cs Copyright (c) 2017 Palmtree Software This software is released under the MIT License. https://opensource.org/licenses/MIT */ using System; // 演算子のオーバーロードに関するガイドライン: // http://msdn.microsoft.com/ja-jp/library/ms229032.aspx namespace Palmtree.Math { partial struct LongLon...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SQLite; namespace Jargon { internal class Jarsql { public SQLiteConnection connection; public Jarsql() { connection = new SQLiteConnection...
namespace AgileObjects.ReadableExpressions.Translations { #if NET35 using Microsoft.Scripting.Ast; #else using System.Linq.Expressions; #endif internal static class RuntimeVariablesTranslation { public static ITranslation For(RuntimeVariablesExpression runtimeVariables, ITranslationContext con...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PortableKnowledge.Controls { /// <summary> /// State of the ...
using System; using System.Threading; namespace SharedResources { public class Program { private static bool isCompleted; static readonly object lockCompleted = new object(); public static void Main(string[] args) { Thread thread = new Thread(HelloWorld); ...
using System.Collections.Generic; using GreenhousePlusPlus.Core.Vision; using SixLabors.ImageSharp; namespace GreenhousePlusPlus.Core.Models { public class FilterResult { public Image RedImage; public Image GreenImage; public Image LeafImage; public Image EarthImage; public Image EdgeImage; ...
using SitecoreCognitiveServices.Foundation.MSSDK.Speech.Models; using System; using System.IO; using System.Threading.Tasks; namespace SitecoreCognitiveServices.Foundation.MSSDK.Speech { public interface ISpeakerVerificationRepository { Verification Verify(Stream audioStream, Guid id); Task<Ve...
using System; using System.Collections.Generic; using System.Text.RegularExpressions; public static class Kata { public static string Order(string words) { if (words == "") return words; var rx = new Regex("[a-zA-Z]"); var wordsList = new List<string>(words.Split(" ")); string[...
using System.Net; using System.Threading.Tasks; using DotDns.Records; namespace DotDns.Middlewares { public class ExampleMiddleware : IDnsMiddleware { private readonly IDnsMiddleware.MiddlewareDelegate _next; public ExampleMiddleware(IDnsMiddleware.MiddlewareDelegate next) { ...
using CatFactory.CodeFactory; namespace CatFactory.Tests.CodeBuilders { public class CSharpCodeBuilder : CodeBuilder { public override string FileExtension => "cs"; public override string FileName => ObjectDefinition.Name; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tesseract.Core.Graphics.Accelerated; using Tesseract.Core.Native; namespace Tesseract.Vulkan.Graphics.Impl { public class VulkanBuffer : IBuffer { public VulkanGraphics Graphics { get; } p...
using SmartEnergy.Contract.DTO; using SmartEnergy.Contract.Enums; using System; using System.Collections.Generic; using System.Security.Claims; using System.Text; using System.Threading.Tasks; namespace SmartEnergy.Contract.Interfaces { public interface IIncidentService : IGenericService<IncidentDto> { ...
using System; namespace MahTweets.Core.Settings { ///// <summary> ///// Declare a UIElement as a feature of a plugin ///// </summary> //[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)] //public class ExportFeatureAttribute : Attribute //{ // /// <summary...
using IronText.Framework; using IronText.Reflection; namespace CSharpParser { [Vocabulary] public class CsScanner { [Match(@"'//' ~('\r' | '\n' | u0085 | u2028 | u2029)*")] public void LineComment() { } [Match("'/*' (~'*'* | '*' ~'/')* '*/'")] public void MultiLineComment(...
// define this for some diagnostics #define LOG_TRACE_VERBOSE // ReSharper disable InconsistentNaming namespace App { /// <summary> /// Global game parameters. /// /// TODO: Make not static so can be tweaked at runtime. /// </summary> public static class Parameters { /// <summary...
#region copyright // (C) Copyright 2015 Dinu Marius-Constantin (http://dinu.at) and others. // // 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/LICEN...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Framework.G1 { public static class OptionalCreateExtensions { public static Optional<T>.Value ToOptional<T>(this T value) { return new Optional<T>.Value(value); } public...
using System.Collections.Generic; namespace SearchEngine { public static class Sources { public static List<Page> Pages = new List<Page>(); } }
#region License /* Copyright (c) 2018-2020 Wes Hampson * * 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, mod...
using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace RuntimeInspectorNamespace { [RequireComponent( typeof( ScrollRect ) )] public class RecycledListView : MonoBehaviour { // Cached components [SerializeField] private RectTransform viewportTransform; [SerializeField] priva...
using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace IS4.AuthorizationCenter.Models.Entity { /// <summary> /// 自定义用户 /// </summary> public class ApplicationUser : IdentityUser<Guid> { /// <summary> ...
using System.Collections.Generic; using System.Drawing; using TRTexture16Importer.Textures.Grouping; namespace TRTexture16Importer.Textures.Target { public class DynamicTextureTarget { public Dictionary<int, List<Rectangle>> DefaultTileTargets { get; set; } public Dictionary<TextureCategory, D...
using System; using System.Collections.Generic; using System.Linq; using LinqExtender; using Linq.Flickr.Repository; using Linq.Flickr.Repository.Abstraction; namespace Linq.Flickr { public class CommentCollection : Query<Comment> { public CommentCollection(IFlickrElement elementProxy) ...
namespace ISAAR.MSolve.Solvers.LinearSystems { /// <summary> /// Objects implementing this interface will be notifying before <see cref="ILinearSystem.Matrix"/> is modified. /// Authors: Serafeim Bakalakos /// </summary> public interface ISystemMatrixObserver { /// <summary> ...
using System.IO; namespace SystemEx { public static class PathEx { public static string Combine(char separator, params string[] paths) => Path.Combine(paths).Replace(Path.DirectorySeparatorChar, separator); } }
namespace Spect.Net.EvalParser.SyntaxTree { /// <summary> /// This class represents a single literal node /// </summary> public sealed class LiteralNode : ExpressionNode { /// <summary> /// The value of the literal node /// </summary> public uint LiteralValue { get; ...
using System; using Evol.Common.IoC; namespace Evol.Domain.Configuration { public interface IDependencyRegister { //void Register(ServiceLifetime? lifetime = null); //void Register(Type from, Type to, ServiceLifetime? lifetime = null); void Register(); void Register(Type fro...
using System; using System.Linq; using System.Collections.Generic; using RUSTWebApplication.Core.DomainService; using RUSTWebApplication.Core.Entity.Product; namespace RUSTWebApplication.Core.ApplicationService.Services { public class ProductMetricService : IProductMetricService { private readonly IPro...
using System.ComponentModel; using UnityEngine; using UnityEngine.Timeline; namespace Timeline.Samples { // Uses the USS style defined in `Editor/Stylesheets/Extensions/common.uss`. // See `ReadMe-USS-Styles.md` for more details. [CustomStyle("AnnotationStyle")] [DisplayName("Annotation")] public c...
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace WebKit.Tests { [TestClass] public class Cookies { private static TestHarness _testHarness; [ClassInitialize] public static void Initi...
namespace EventHorizon.Blazor.TypeScript.Interop.Generator.Tests.GenerateClassStatementStringTests { using EventHorizon.Blazor.TypeScript.Interop.Generator.AstParser.Model; using Xunit; public class TypeAliasGenerationTests : GenerateStringTestBase { [Theory(DisplayName = "TypeAlias")] ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Entitas.CodeGeneration.Plugins.ComponentsLookupGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto...
/** * Runtime player settings * scene list */ using System.Collections; using System.Collections.Generic; using UnityEngine; namespace SS { public class RuntimePlayerSettings : DataAsset<RuntimePlayerSettings> { // Scene list in build settings public List<string> scenes = new List<string>(...
// Copyright (c) 2019, WebsitePanel-Support.net. // Distributed by websitepanel-support.net // Build and fixed by Key4ce - IT Professionals // https://www.key4ce.com // // Original source: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary f...
using System; using System.IO; using System.Diagnostics; namespace Tmds.DotnetTrace.Tool { class TraceFolder { private const string IgnorePidExtension = ".ignorepid"; public string Path { get; } public bool Exists => Directory.Exists(Path); public TraceFolder(string path) ...
namespace PinPadLib.Raw { public enum AcknowledgmentResponseInterruption { Acknowledgment, NegativeAcknowledgment, Abort, } }
using Newtonsoft.Json; namespace DancingGoat.Areas.Admin.Models { public class SampleProjectOptions { [JsonProperty("projectName")] public string ProjectName { get; set; } } }
using RetSim.Items; using RetSim.Misc; using RetSim.Units.Player.Static; using System; namespace RetSimWeb { public class AppState { public Equipment Equipment { get; } = new(); public void ChangeItem(int slot, EquippableItem item) { switch (slot) { ...
using System.Threading; using System.Threading.Tasks; using AutoFixture.Xunit2; using Reinforce.RestApi; using Xunit; namespace ReinforceTests.RestApiTests { public class ISObjectDescribeTests { [Theory, AutoData] public async Task ISObjectDescribe(string sObjectName) { usin...
using CLRProfiler.Attributes; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using Microsoft.Diagnostics.Runtime; using System.Collections.ObjectModel; using System.Windows.Input; namespace CLRProfiler.ViewModel { [WeaveRaisePropertyChanged] public class ProcessViewViewModel : ViewModelBase { public...
using System; namespace Gimela.Data.Mapping { public interface ITypeMapFactory { TypeMap CreateTypeMap(Type sourceType, Type destinationType, IMappingOptions mappingOptions, MemberList memberList); } }
using System; using System.Web; using System.Web.Mvc; namespace Sandbox.Delivery.Web.Views.Shared.ViewHelpers { public static class UrlHelperExtensions { public static string AbsoluteUrl(this UrlHelper urlHelper, string relativeContentPath) { var url = new Uri(HttpContext.Current.R...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Threading.Tasks; namespace ReactiveTests { class TestTa...
using System.Collections.Generic; using System.ComponentModel; using System.Linq; using MiniC.Compiler.Demo.Annotations; using MiniC.Compiler.Demo.TreeItems; namespace MiniC.Compiler.Demo { public class MainWindowViewModel : INotifyPropertyChanged { private string _sourceCode; public string SourceCode { ge...
@{ ViewBag.Title = "Contacts"; } <h2>@ViewBag.Title</h2> <div class="error" style="display: none; color: red;"> <p> It looks like your session has timed out. Click <a href="/users/logout">here</a> to log back in. </p> </div> <p> <button data-bind="click: refresh">Refresh</button...
namespace GtkSharp.Hosting { public class GtkHostBuilderOptions { public bool SuppressEnvironmentConfiguration { get; set; } = false; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DSO.Interfaces { public interface IParameter<T> { string ParameterName { get; } string ParameterValue { get; } string ParameterUnit { get; } bool IsReadOnly { get; } T GetPara...
namespace Borda.UnitOfWork { public class EventBase { } }
using System; using System.Collections.Generic; using System.IO; using Lumina.Extensions; // ReSharper disable InconsistentNaming // ReSharper disable UnassignedField.Global #pragma warning disable 649 #pragma warning disable 169 namespace Lumina.Data.Parsing { public static class MdlStructs { [Flags]...
// file: Supervised\Perceptron\PerceptronModel.cs // // summary: Implements the perceptron model class using System; using System.Linq; using numl.Math.LinearAlgebra; using System.Collections.Generic; namespace numl.Supervised.Perceptron { /// <summary>A data Model for the perceptron.</summary> public class Pe...
#tool nuget:?package=vswhere ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); ///////////////////////////////...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace TIBCO.LABS.EFTL { public interface IDataHandler { void OnData (JsonObject message); void Publish(JsonObject message); } }