content
stringlengths
23
1.05M
using tvn.cosine.ai.learning.neural.api; namespace tvn.cosine.ai.learning.neural { public class PureLinearActivationFunction : IActivationFunction { public double Activation(double parameter) { return parameter; } public double Deriv(double parameter) { ...
using System; using System.Collections.Generic; using System.Text; using Vacuum.Core.Clr.Flags; using Vacuum.Core.Clr.Indexes; namespace Vacuum.Core.Clr { public struct ClrMetaReader { private ClrReader _reader; private Dictionary<Type, bool> _bigIndexes; public ClrMetaRea...
namespace GameCreator.Core { using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; [AddComponentMenu("")] public class IgniterMouseHoldRight : Igniter, IPointerDownHandler, IPointerUpHandler, IPointerExitHandler { #if UNITY_EDITOR p...
namespace JoinRpg.Dal.Impl.Migrations { using System.Data.Entity.Migrations; public partial class RevertShowOnUnApprovedIncorrectFlag : DbMigration { public override void Up() => Sql("UPDATE dbo.ProjectFields SET ShowOnUnApprovedClaims = 1 WHERE FieldBoundTo = 1"); public override void Dow...
namespace SportsBetting.Data { using MongoDB.Driver; using SportsBetting.Data.Contracts; using SportsBetting.Data.Models.Base; public class SportsBettingDbContext : ISportsBettingDbContext { private const string DATABASE_HOST = "mongodb://127.0.0.1"; private const string DATABASE_...
using GenHTTP.Api.Content.Caching; namespace GenHTTP.Modules.Caching.Memory { public sealed class MemoryCacheBuilder<T> : IMemoryCacheBuilder<T> { public ICache<T> Build() { return new MemoryCache<T>(); } } }
using System; using System.Collections.Generic; using System.Threading.Tasks; using ExcelKit.Consoles.Methods; namespace ExcelKit.Consoles { class Program { static async Task Main(string[] args) { //泛型导出 ExcelWriteTest.GenericWrite(); //动态导出 //ExcelWriteTest.DynamicWrite(); //泛型读取 //ExcelRea...
using Microsoft.Diagnostics.Tracing.Parsers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProcMonX.Models { enum EventType { None, ProcessStart = 100, ProcessStop, ProcessDCStart, ProcessDCStop, ThreadStart = ...
// Developed by Softeq Development Corporation // http://www.softeq.com using System.Threading.Tasks; using Softeq.NetKit.Auth.Domain.Models.UserRoles; using Softeq.NetKit.Auth.Infrastructure.Interfaces.Infrastructure; namespace Softeq.NetKit.Auth.Repository.Interfaces.Repositories { public interface IReadUserRoles...
using System.Collections.Generic; using Analogy.Interfaces; namespace Analogy.LogServer { public class ServiceConfiguration { public int HoursToKeepHistory { get; set; } public int CleanUpIntervalMinutes { get; set; } public bool LogAlsoToLogFile { get; set; } public int Memory...
using System.IO; using GroupDocs.Annotation.Options; namespace GroupDocs.Annotation.Examples.CSharp { /// <summary> /// This example demonstrates generating preview of document without rendering comments /// </summary> class GeneratePreviewWithoutAnnotations { public static void Run() ...
using System; using CastForm; namespace Microsoft.Extensions.DependencyInjection.Extensions { /// <summary> /// /// </summary> public static class IServiceCollectionExtensions { /// <summary> /// Add CastForm mapper /// </summary> /// <param name="service"></param>...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using AutoMapper; using MagicPotion.Objects; using MagicPotion.Repository; using MagicPotion.Web.Models.Post; using MagicPotion.Web.Models.View; namespace MagicPotion.Web.App_Start { public static class AutoMapperConfig { public ...
namespace Marketing.Events.ViewModelComposition { using System.Collections.Generic; public class ProductsLoaded { public IDictionary<dynamic, dynamic> OrdersDictionary { get; set; } } }
using System; namespace PExplain.PortableExecutable { [Flags] public enum SectionFlags : uint { TypeNoPad = 0x00000008, CntCone = 0x00000020, CntInitializedData = 0x00000040, CntUninitializedData = 0x00000080, LnkOther = 0x00000100, LnkInfo = 0x00000200, ...
public interface IHealthStatsInfo { IHealthSource Source { get; } float Current { get; } float Max { get; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using RSG; using System.Threading; namespace Example1 { class Program { /// <summary> /// State while the shark is just swimming around. /// </summary> class NormalState : AbstractState ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Net; namespace dp2weixin { // 2019/5/29 注: 原来这个类是在 DigitalPlatform.LibraryRestClient 中。但为了这一个类引用 DigitalPlatform.LibraryRestClient.dll 不划算,所以这里把代码单独复制过来了 /// <summary> /// 从WebClient继承 /// </summary> ...
using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using TextureType = CrossPlatform.Code.FileInfos.TextureFileInfo.TextureType; namespace TerrLauncherPackCreator.Code.Models { public class ModifiedTextureModel : ModifiedFileModel { public TextureType CurrentTextu...
/* * Copyright (c) 2014, Furore (info@furore.com) and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the BSD 3-Clause license * available at https://raw.githubusercontent.com/ewoutkramer/fhir-net-api/master/LICENSE */ using Hl7.Fhir.Introspection; using Hl7.Fhir.Model; u...
// 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. namespace System.Drawing.Drawing2D { /// <include file='doc\SmoothingMode.uex' path='docs/doc[@for="SmoothingMod...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MinerWars.CommonLIB.AppCode.ObjectBuilders; using System.Net; using Lidgren.Network; namespace MinerWars.CommonLIB.AppCode.Networking.Multiplayer { public struct MyEventShipConfigUpdate : IMyEvent { [Flags] ...
using System.Collections; using UnityEngine; namespace Interpolactic { public partial class Interpolation { /** * Creates a Runner object for the Interpolation. * * \param monoBehaviour The MonoBehaviour object to be used as the starter * and stopper for the Runner...
using Newtonsoft.Json; namespace Warframe.World.Models { public class MissionReward { [JsonProperty] public string[] Items { get; private set; } [JsonProperty("countedItems")] public SystemResource[] Resources { get; private set; } [JsonProperty] public int Cr...
using FFXIVRelicTracker.Helpers; using FFXIVRelicTracker.Models.Helpers; using System; using System.Collections.Generic; using System.Drawing; using System.Text; using System.Windows; namespace FFXIVRelicTracker.ARR.Animus { public class AnimusObject :ObservableObject { public string name{ get; s...
namespace TJOwin.HealthCheck { public interface ICheckHealth { HealthStatus CheckHealth(); } }
using System.Diagnostics.Contracts; namespace SocketIoT.Core.Tcp.Packets { public abstract class Packet { public Packet(string deviceId) { Contract.Requires(!string.IsNullOrEmpty(deviceId) && !string.IsNullOrWhiteSpace(deviceId)); this.DeviceId = deviceId; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using waxbill.Packets; using waxbill.Pools; using waxbill.Protocols; using waxbill.Sessions; namespace waxbill.demo.Tests { public class TerminatorTest { public static void Start(Int32 p...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using SolutionManagement.SKUManager; using Xunit; namespace SolutionManagerTests { public class SKUManagerTests { private ISkuManager skuManager; public SKUManagerTests() { ...
using ArtPlantMall.Models; using ArtPlantMall.Services; using ArtPlantMall.ViewModel.Base; using System.Collections.ObjectModel; using System.Linq; using System.Windows.Input; using Xamarin.Forms; namespace ArtPlantMall.ViewModel { public class PlantMallViewModel : ViewModelBase { private ObservableCo...
@inherits Umbraco.Web.Mvc.UmbracoViewPage<IPublishedContent> @{ Layout = "layout.cshtml"; } @if (Model.HasProperty("layout")) { @Html.GetGridHtml(Model, "layout", "bootstrap3-fluid") } else if (Model.HasProperty("bodyText")) { @Html.GetGridHtml(Model, "bodyText", "bootstrap3-fluid") }
using System.Runtime.Serialization; namespace Xero.Api.Core.Model.Status { [DataContract(Namespace = "")] public enum BankTransactionStatus { [EnumMember(Value = "AUTHORISED")] Authorised, [EnumMember(Value = "DELETED")] Deleted } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data.SqlClient; using System.Data; namespace HomePage.Models { public class ArticleComments { private const string conn = @"Data Source =.\SQLEXPRESS; uid =uid; pwd =pwd; Initial Catalog =HomePage;"; ...
using ABB.Robotics.RobotStudio.Stations; namespace WZcalculator.Interfaces { public interface IZone { /// <summary> /// Returns the zone type associated with this instance. /// </summary> /// <returns></returns> ZoneType GetZoneType(); /// <summary> ///...
using System; using System.Threading.Tasks; using Disqord.Gateway.Api; using Disqord.Serialization.Json; namespace Disqord.Gateway.Default.Dispatcher { public class InterceptingHandler<TModel, TEventArgs> : Handler<TModel, TEventArgs> where TModel : JsonModel where TEventArgs : EventArgs ...
using Newtonsoft.Json; using RevolutionaryStuff.Core; namespace RevolutionaryStuff.Mergers { public abstract class MergeInputs<TTemplateInfo, TMergeDataInfo, TMergeOutputSettings> : IMergeInputs where TTemplateInfo : TemplateInfo where TMergeDataInfo : MergeDataInfo where TMergeOutputSetti...
using System; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Prism.DryIoc; using Prism.Ioc; using Shiny.Prism.Mocks.Delegates; using Xunit.Abstractions; namespace Shiny.Prism.Mocks { public class MockStartup : PrismStartup...
using Elsa.Activities.Console; using Elsa.Builders; using Elsa.Samples.CustomOutcomeActivityConsole.Activities; namespace Elsa.Samples.CustomOutcomeActivityConsole.Workflows { /// <summary> /// A basic workflow with just one WriteLine activity. /// </summary> public class DemoWorkflow : IWorkflow ...
using System; using System.Threading.Tasks; using Xunit; namespace SamplesTest { public class SamplesTestRun { [Fact] public void AutoForwardTest() { Assert.Equal(0, AutoForward.Program.Main(new string[0])); } [Fact] public void DuplicateDetectionTes...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nemo { public enum OperationNamingConvention { Default, Operation, PrefixOperation, PrefixTypeName_Operation, PrefixTypeNameOperation, TypeName_Operation, Typ...
namespace Constants { static class Constants { public const double BmrMaleOffset = 66; public const double BmrFemaleOffset = 655; public const double SedentaryFactor = 1.2; public const double LightlyActiveFactor = 1.375; public const double ModeratelyActiveFactor = 1.5...
using Ignite.Areas.Admin.ViewModels; using Ignite.Areas.Admin.ViewModels.statistics; using Ignite.Data.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; namespace Ignite.Areas.Admin.Services.Interfaces { public interface IStatisticsService ...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MLEM.Startup; namespace Pong.Entities { public class Board: BaseEntity { private Texture2D boardSprite = MlemGame.LoadContent<Texture2D>("board"); public Board(Vector2 position) : base(position) ...
namespace RoomMeasurer.Client.Contracts { using System; public interface INavigationService { void Navigate(Type sourcePageType); void Navigate(Type sourcePageType, object parameter); void GoBack(); } }
using UIKit; namespace SmartHotel.Clients.Maintenance.iOS { static class NavigationItemHelper { public static void UpdateBadgeCounter(UINavigationItem navigationItem, int numberOfPendingTasks) { var badgeButton = new UIButton(UIButtonType.Custom); badgeButton.SetImage(U...
using Android.Views; using MvvmCross.Platforms.Android.Binding.Target; namespace MvxExtensions.Platforms.Droid.Components.Targets { /// <summary> /// Binding that tries to set the focus on a view /// </summary> public class ViewIsFocusedTargetBinding : MvxAndroidTargetBinding<View,bool> { ...
namespace TyGoTech.Tool.LightweightScriptManager; using System.Text.Json.Serialization; #pragma warning disable CA1822, CA2227 public class RuntimeConfig { [JsonPropertyName("$schema")] public Uri Schema => Constants.RuntimeConfigSchemaUri; public Uri? PackageUri { get; set; } public IList<ResourceM...
using Newtonsoft.Json; namespace Data.Entities { public class Summarization { [JsonProperty("duration")] public double Duration { get; set; } [JsonProperty("outputStorage")] public string OutputStorage { get; set; } } }
using System; using System.Collections.Generic; using System.Text; namespace NScrapy.Infra { public interface IDownloaderMiddleware { void PreDownload(IRequest request); void PostDownload(IResponse response); } }
using UnityEditor; using UnityEngine; namespace Yorozu.DB { /// <summary> /// Script をExportする場所においておくアセット /// 設定ファイルを作成してもいいが、用途がなさすぎるので簡易にこちらで /// </summary> internal class YorozuDBScriptExportMarker : ScriptableObject { } #if UNITY_EDITOR [UnityEditor.CustomEditor(typeof(YorozuD...
using Imagin.Common.Models; using System.Windows; namespace Imagin.Common.Controls { internal sealed class DragReference { public readonly Content[] Content; public readonly Point Start; public DragReference(Content[] content, Point start) { Content = content; ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Runtime.Serialization; using System.IO; using MicroRuleEngine.Tests.Models; using System.Xml; using System.Runtime.Serialization.Json; using System.Text; namespace MicroRuleEngine.Tests { [TestClass] public class SerializationTests...
using Microsoft.AspNetCore.Identity; using System; using System.ComponentModel.DataAnnotations; using Website.Models.Database.Enums; #nullable disable namespace Website.Models.Database { public class QuoteFlag { public int Id { get; set; } [Required] public IdentityUser Flagger { get;...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging; namespace ThinkingHome.Core.Plugins { public abstract class PluginBase ...
using System; using System.Threading; using Meadow; using Meadow.Devices; using Meadow.Foundation.Sensors.Motion; namespace Sensors.Motion.mpu5060_Sample { public class MeadowApp : App<F7Micro, MeadowApp> { Mpu6050 mpu; public MeadowApp() { Console.WriteLine("Initializing"...
using System; using System.Collections.Generic; using System.Linq; using DataStructuresLib; namespace GMac.IDE.Scripting { internal static class NamespacesUtils { public static readonly Dictionary<string, Type> ExportedTypes = new Dictionary<string, Type>(); public static readonl...
using SkiaSharp; namespace HotUI.Skia { public static class SkiaGraphicsExtensions { public static SKColor ToSKColor(this Color target) { var r = (byte) (target.R * 255f); var g = (byte) (target.G * 255f); var b = (byte) (target.B * 255f); var a =...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Exceptionless.Core.Queues.Models; namespace Exceptionless.Core.Mail { public class InMemoryMailSender : IMailSender { private readonly Queue<MailMessage> _recentMessages = new Que...
namespace VAdvantage.Model { /** Generated Model - DO NOT CHANGE */ using System; using System.Text; using VAdvantage.DataBase; using VAdvantage.Common; using VAdvantage.Classes; using VAdvantage.Process; using VAdvantage.Model; using VAdvantage.Utility; using System.Data; /** Generated Model for C_ContractSchedule *...
using System; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using BeYourMarket.Web.Models; using BeYourMarket.Model.Models; using BeYourMarket.Web.Utilities; using BeYourMark...
using FluentValidation; using Leelite.Core.Validation; namespace Leelite.Modules.MessageCenter.Dtos.MessageDtos { public class MessageCreateRequestValidator : Validator<MessageCreateRequest> { public MessageCreateRequestValidator() { } } }
using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using SoundCloud.Api.Entities; using SoundCloud.Api.QueryBuilders; using SoundCloud.Api.Web; namespace SoundCloud.Api.Endpoints { internal class Groups : Endpoint, IGroups { private const string GroupArtworkDataKey = "gro...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DigiturkArticleProject.API.Statics; using DigiturkArticleProject.Core.Infrastructure; using DigiturkArticleProject.Data.Model.Entities; using DigiturkArticleProject.Data.Service.ConcreateServices; using DigiturkArtic...
namespace Lockethot.Engines.Tweening { public class DelayedStartTween : ITween { #region Private Properties private ITween _ProceedingTween; #endregion #region Immutable Properties public float CurrentTime { get; private set; } public float TotalTime { get; priv...
using System; using UnityEngine; namespace Framework.SceneObject { [Serializable] public class SceneAsset : ScriptableObject { //public ScriptInstance[] interactionMaps; public BaseSceneInstance[] interactionMaps; public static SceneAsset CreateInstance() { ret...
namespace Autodesk.PackageBuilder.Model.Application { using System.Xml; using System.Xml.Serialization; public class CompanyDetails { public CompanyDetails() { } public CompanyDetails(string name, string url, string email = null) { Name = name; Url = url;...
using System; using System.IO; using FHICORC.Core.Interfaces; namespace FHICORC.Tests.TestMocks { public class MockConfigurationProvider : IConfigurationProvider { public MockConfigurationProvider() { } public Stream GetConfiguration() { return null; ...
using System; namespace Binding.Validators { /// <summary> /// Defines the interface that objects that participate binding validation must implement. /// </summary> public interface IBindingValidator { /// <summary> /// Validates value. /// </summary> Va...
using System; using Newtonsoft.Json; using System.Collections.Generic; namespace ScanAndREST { public static class Extensions { public static T ToEnum<T>(this string value) where T: struct { return (T)Enum.Parse(typeof(T), value); } } public class SettingValues ...
/* * Copyright 2015, Catlike Coding * http://catlikecoding.com */ using UnityEngine; namespace CatlikeCoding.SDFToolkit.Examples { /// <summary> /// Simple component to switch two spotlight on and off via a slider. /// </summary> public class SpotSwitch : MonoBehaviour { /// <summary> /// First spotligh...
/* * Copyright (c) 2014-Present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ names...
using System; namespace OpenInvoicePeru.Estructuras { [Serializable] public class UblExtension { public ExtensionContent ExtensionContent { get; set; } public UblExtension() { ExtensionContent = new ExtensionContent(); } } }
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using PIL_Fantasy_Data_Integration.API.Fantasy_Data.DAL.DB; namespace PIL_Fantasy_Data_Integration.API.Fantasy_Data.CommonDefinitions.Records { public class LeagueRecord...
using UnityEngine; using Random = System.Random; public class SpawnAndRemoveMarkers:MonoBehaviour { private void OnGUI() { if (GUILayout.Button("Spawn")) { double tlx, tly, brx, bry; OnlineMaps.instance.GetCorners(out tlx, out tly, out brx, out bry); Random ...
using System; using Underlords.Models.ChessBoard; namespace Underlords.Models { public class Chess : IChess { public Chess() { Name = GetType().Name; CurrentMana = 0; IsRange = AttackRange > 1; CurrentHP = MaxHP; } public Position...
using System.Collections.Generic; using System.Linq; namespace PiRhoSoft.Utilities { public class SceneSelectorAttribute : PropertyTraitAttribute { public SceneSelectorAttribute() : base(ControlPhase, 0) { } } }
using System; using System.Collections.Generic; using System.Text; public class Frog : Animal { public Frog(string animalLine) : base(animalLine) { } public override string ProduceSound() { return "Ribbit"; } public override string ToString() { return "Frog" + Environ...
using System; using SocialGame.Dialog; using UniRx; namespace SocialGame.Internal.Dialog { internal interface IDialogIntent { void Close(object result); IObservable<RequestDialog> OnOpenAsObservable(); IObservable<Unit> OnClearAsObservable(); } }
using System.Runtime.InteropServices; namespace SRTPluginProviderDR1.Structs.GameStructs { [StructLayout(LayoutKind.Explicit, Pack = 1, Size = 0x29)] public struct PlayerStatusesMemoryInfo { #region Fields /// <summary> /// Field for the PP Counter /// </summary> ...
@using Microsoft.AspNetCore.Identity @using System.Text.Json; @inject SignInManager<IdentityUser> SignInManager @inject UserManager<IdentityUser> UserManager @{ ViewData["Title"] = "Home Page"; } <div class="text-center"> <h1 class="display-4">Welcome</h1> <p>Learn about <a href="https://docs.microsoft.co...
namespace SqlServerSpatial.Toolkit.Viewers { partial class SpatialViewer_GDI { /// <summary> /// Variable nécessaire au concepteur. /// </summary> private System.ComponentModel.IContainer components = null; #region Code généré par le Concepteur de composants /// <summary> /// Méthod...
namespace E_Shop_Engine.Services.Migrations { using System; using System.Data.Entity.Migrations; public partial class Fixcascadedeleteonorderscartsproductsusers : DbMigration { public override void Up() { DropForeignKey("dbo.Addresses", "AppUser_Id", "dbo.AppUsers"); ...
using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using OpenQA.Selenium.Support.UI; using System; namespace QuickApp.Tests.Selenium { [TestFixture] public class RegistrationFormTests { private IWebDriver _driver; [SetUp] public void SetUp() { ...
using UnityEngine; using Zhdk.Gamelab.InventorySystem; [CreateAssetMenu(fileName = "NewItemCounter", menuName = "Inventory System/Item Counter", order = 99)] public class ItemCounter : InventoryObject { [SerializeField] private int counter = 0; public override void OnAddToInventory(Inventory inventory) { ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Linq; namespace CodeWars { /// <see cref="https://www.codewars.com/kata/552c028c030765286c00007d/solutions/csharp"/> [TestClass] public class IQTest { [TestMethod] public void Test() ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace AnimeRaiku.SDK.Messages { public class Error { [JsonProperty(propertyName: "status")] public int Status { get; set; } [JsonProperty(propertyName: "title")] public string Title {...
using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Filters; using System.Web.Http.ModelBinding; namespace Orckestra.Composer.WebAPIFilters { public class ValidateModelStateAttribute : ActionFilterAttribute { public override void OnA...
using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; using System.Web; using Azure.Core; using Azure.Identity; namespace VideoIndexerArm { public class Program { ...
namespace Models.NorthwindIB.NH { using System; using System.Collections.Generic; public partial class Region { public Region() { this.Territories = new HashSet<Territory>(); } public virtual int RegionID { get; set; } public virtual string RegionDes...
using Couchbase; using Couchbase.Core; using NLog; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using System.Web; using WebApi.OutputCache.Core.Cache; namespace web_api_demo { class CouchbaseCach...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Twilio.AspNet.Common; using Twilio.TwiML; namespace TwilioActors { [Serializable] public class TwilioVoiceTakeOffHoldState { VoiceRequest _LastVoiceRequest; public VoiceReque...
using System; using UnityEditor; using UnityEngine; using CSObjectWrapEditor; using XLua; namespace XLuaTest { public static class BuildFromCLI { /// <summary> /// 此方法通过Unity菜单调用。 /// </summary> [MenuItem("XLua/Examples/13_BuildFromCLI")] public static voi...
namespace ViennaNET.Diagnostic.Data { /// <summary> /// Содержит результат диагностики функции сервиса /// </summary> public class DiagnosticInfo { /// <summary> /// Инициализирует экземпляр передаваемыми параметрами /// </summary> /// <param name="name">Имя диагностируемой функции</param...
using System.Threading.Tasks; namespace ServiceFabric.Metrics { public abstract class MetricBase { public MetricBase(string name) { Name = name; } public string Name { get; private set; } public abstract MetricType Type { get; } public virtual int? ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Text; namespace Hris.Common.API { public class HTTPWebRequestUtilities<T> where T : class { private readonly string _basePath; private readonly string _token; public H...
using System.Collections.Generic; using System.Drawing; using System.Linq; using OpenTK; using OpenTK.Graphics.OpenGL; using Sledge.Common.Mediator; using Sledge.DataStructures.Geometric; using Sledge.Graphics; using Sledge.UI; using Vertex = Sledge.DataStructures.MapObjects.Vertex; namespace Sledge.Editor.Tools.VMTo...
using System.Linq.Expressions; namespace Impatient.EntityFrameworkCore.SqlServer { public class QueryFilterRepointingExpressionVisitor : ExpressionVisitor { private readonly ParameterExpression dbContextParameter; public QueryFilterRepointingExpressionVisitor(ParameterExpression dbContextPara...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Griffeye; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Newtonsoft.Json; namespace ConnectDebugPlugin.Controllers { [ApiController] [Route("[controller]")] pu...
using Verse; using RimWorld; namespace Thrumbo { [DefOf] public static class ThrumboDefOf { static ThrumboDefOf() { DefOfHelper.EnsureInitializedInCtor(typeof(PawnKindDefOf)); } public static PawnKindDef BlondThrumboPawn; public static PawnK...
namespace OpenDDD.EventQueue { public interface IEventQueue { } }