content
stringlengths
23
1.05M
/* * SuggestGrid.PCL * * This file was automatically generated for SuggestGrid by APIMATIC v2.0 ( https://apimatic.io ) on 01/20/2017 */ using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using...
using DirectDependency; using NSubstitute; using NUnit.Framework; namespace DirectDependencyTest { public class AuthenticationServiceLogUnitTest { [Test] public void IsNotValidShouldBeLog() { //arragne var profileDao = new ProfileDaoFake(); var rsaT...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Cascade.CodeAnalysis.Core.Visitor.CSharp; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Cascade.Rule { public class EntryPointFinder : CSharpVisitor { ...
namespace discogsharp.Domain { public class Entity { public string Catno { get; set; } public int EntityType { get; set; } public string EntityTypeName { get; set; } public string Name { get; set; } public string ThumbnailUrl { get; set; } } }
using System; using System.IO; namespace Deveel.Web.Client { public static class RequestFileBuilderExtensions { public static IRequestFileBuilder JpegImage(this IRequestFileBuilder builder) { return builder.WithContentType("image/jpeg"); } public static IRequestFileBuilder PngImage(this IRequestFileBuilder...
using System.Collections.Generic; using NerdyMishka.ComponentModel.ChangeTracking; public interface IParentModel { IEnumerable<IChildModel> Children { get; } void Attach(IChildModel model); void Detach(IChildModel model); } public interface IChildModel : IChangeModel { IParentModel Parent { get; se...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Flame : MonoBehaviour { public float time = 0.5f; public float Alphafrom; public float Alphato; public float chrono = 0.0f; public SpriteRenderer Srenderer; // Use this for initialization void Start () { Srendere...
using System.IO; public abstract class BaseBinarySerializedData { // Plain constructor for non-binary serialisation to build on public BaseBinarySerializedData() { } #region Binary Serialization public BaseBinarySerializedData(BinaryReader br) { // To be implemented by sub classe...
using System.Collections; using System.IO; using AdventOfCode.Core; using NUnit.Framework; namespace AdventOfCode2018 { public class Day07Tests : TestBase { const int DAY = 07; [TestCaseSource(nameof(TestDataOne))] public void TestPartOne(string filename, string expected) { ...
using System.Collections; using TMPro; using UnityEngine; public class RandomBehaviour : MonoBehaviour { private string[] names; [SerializeField] private TextMeshProUGUI text; private int index = 0; private AudioSource audioSource; [SerializeField] private AudioClip nextClip, choiceClip; ...
using UnityEngine; public class CreatureAnimator : MonoBehaviour { #region Variables [SerializeField] private CreatureController creatureController = null; // Script side private SpriteRenderer spriteRenderer; private Animator animator; #endregion #region Animation Voids...
#region using System; using System.Collections.Generic; using bscheiman.Common.Util; #endregion namespace bscheiman.Common.Extensions { public static class IntExtensions { /// <summary> /// Creates a DateTime object from the specified number of seconds /// </summary> /// <returns>...
using AppStandards; using AppStandards.Helpers; using CopyDllsToProficy.Helpers; using CopyDllsToProficy.Properties; using CopyDllsToProficy.ViewModels; using MahApps.Metro.Controls.Dialogs; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace XamTime { public partial class LoginPage : C...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Scout { public partial class SettingsForm : Scout.BaseDialog { public SettingsForm() { InitializeComponent(); Load ...
namespace NaturalMouseMotionSharp.Support { using System.Drawing; using Api; public class DefaultMouseInfoAccessor : IMouseInfoAccessor { private readonly IRobot robot; public DefaultMouseInfoAccessor() : this(new DefaultRobot()) { } public DefaultMouseInfoAcce...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Character { public Inventory inventory; public AudioSource audio; GameObject healthPanel; List<RawImage> hearts = new List<RawImage>(); public List<AudioClip> sounds; Animator animator; public int...
using System; using System.Threading.Tasks; using Application.InputDTOs; using Identity.Entities; using Identity.Interface; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace Application.Controllers { public clas...
// Module_Vectors - Type "override" followed by space to see list of C# methods to implement using static LastnFurious.GlobalBase; using System.Diagnostics; using static LastnFurious.Module_Vectors; using static LastnFurious.VectorsStaticRef; using System; using System.IO; using System.Collections.Generic; using System...
using System; using System.Runtime.InteropServices; using System.Security; namespace Vanara.PInvoke { public static partial class Shell32 { /// <summary> /// When a button in a thumbnail toolbar is clicked, the window associated with that thumbnail is sent a WM_COMMAND message with the /// HIWORD of its wPara...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace LocalBox { class Client { //private readonly IPAddress localAddr = IPAddress.Parse("172.20.45.4"); private...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
using Foundation.Core; using System; using System.Collections.Generic; using UnityEngine; public class LevelUpUIViewModel : ViewModelBase { public class Names { public const string Attr_UpgradeUnits = "UpgradeUnits"; public const string Attr_FunctionName = "FunctionName"; public const string Event_OnBtnComfi...
using IdentityServer4.Models; using IdentityServer4.Test; using Microsoft.AspNetCore.Mvc; using ServerSite.Ids4; using System.Collections.Generic; using System.Linq; namespace ServerSite.Controllers { [Route(".debug")] [ApiController] public class DebugController : Controller { [...
using System.Linq; using Xunit; using HelloWebApi.Controllers; using HelloWebApi.Repositories; using Moq; namespace HelloWebApi.Tests { public class ValuesControllerTests { [Fact] public async void GetShouldReturnValues() { string[] expected = { "value1", "value2", "value3...
/* * FigmaImageView.cs - NSImageView which stores it's associed Figma Id * * Author: * Jose Medrano <josmed@microsoft.com> * * Copyright (C) 2018 Microsoft, Corp * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "...
namespace LibraryShop.Services.Data.Dealer { using System.Collections.Generic; using LibraryShop.Web.ViewModels.Dealer; public interface IDealerService { public int GetDealerIByItUserId(string dealerUserId); public bool IsTheSameDealer(string userId); public IEnumerable<AllD...
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using CarsManager.Application.Common.Constants; using CarsManager.Application.Common.Exceptions; using CarsManager.Application.Common.Interfaces; using CarsManager.Application.Common.Security; using CarsManager.A...
using System; namespace Aspect.Commands { internal interface IExecutionData : IDisposable { IExecutionData CreateScope(); T Get<T>(string key) where T : class; void Set<T>(string key, T value) where T : class; void Remove(string key); } }
using System; using System.IO; using IronText.Lib.IL; using IronText.Logging; using IronText.Reflection; using IronText.Reflection.Managed; using IronText.Runtime; namespace IronText.MetadataCompiler { class BootstrapLanguage : ILanguageRuntime, IInternalInitializable, IBootstrapLanguage, ILanguageInternalRuntime...
using System; using System.Reflection; using NetGL.Core.Mathematics; using NetGL.SceneGraph.Components; using NetGL.SceneGraph.Scene; using System.Linq.Expressions; namespace NetGL.Constructor.Infrastructure { public class BooleanPropertyEditorViewModel : GenericPropertyViewModel<bool> { public BooleanPro...
using System.Linq; using UnityEditor; namespace ANovel.TestTools { public class ReleaseTool { [MenuItem("ANovel/Release/ExportPackages")] static void ExportPackages() { var fileName = "Assets/ANovel/Unity/Packages/ANovelQuickStart.unitypackage"; var paths = AssetDatabase.GetAllAssetPaths().Where(x => x.S...
namespace Microsoft.Marketplace.SaasKit.Client.DataAccess.Contracts { using System.Threading.Tasks; using Microsoft.Marketplace.SaasKit.Client.DataAccess.Entities; /// <summary> /// Repository to access application log entries. /// </summary> public interface IApplicationLogRepository { ...
using System; using UnityEngine; namespace Enemy.Plaga.Ammunition { public class AcidPuddle: MonoBehaviour { public GameObject _collider; private void Start() { _collider = GameObject.Find("DamageCollider"); Destroy(gameObject, 10f); } p...
using System; namespace TheBestSeries { public class ApiSettings { public const string ApiUrl = "https://api.themoviedb.org/3"; //https://api-endpoint.igdb.com //https://api.themoviedb.org/3/tv/popular //https://api.themoviedb.org/3/tv/top_rated public const string ApiKe...
/*Problem 4. Appearance count Write a method that counts how many times given number appears in given array. Write a test program to check if the method is workings correctly. */ using System; class AppearenceCount { static void Main() { Console.Write("Enter a vlaue for a range of the array: "); ...
using System; using System.Threading; using System.Threading.Tasks; // Применение метода Parallel.Invoke() для параллельного выполнения двух методов. namespace TPL { static class Program { static void MyTask1() { Console.WriteLine("MyTask1: запущен."); for (int i = 0; ...
namespace DesignPatterns.AbstractFactory { // Concrete Factory public class SocorroVeiculoGrandeFactory : AutoSocorroFactory { public override Guincho CriarGuincho() { return GuinchoCreator.Criar(Porte.Grande); } public override Veiculo CriarVeiculo(st...
namespace AutoMapper.Configuration.Conventions { public class MemberNameReplacer { public MemberNameReplacer(string originalValue, string newValue) { OriginalValue = originalValue; NewValue = newValue; } public string OriginalValue { get; private set; } ...
public class Cell { public bool Active { get; set; } = false; public float Age { get; set; } = 1; }
/* * Copyright 2018 Sage Intacct, Inc. * * 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 * * or in the "LICENSE" file accompanying t...
namespace JaJo.Migrations.Storage.SuperGlue.RavenDb { public class MigrationRavenStorageSettings { private string _database; public void UseDatabase(string database) { _database = database; } public string GetDatabase() { return string.I...
// 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 DotNetNuke.Entities.Portals { using DotNetNuke.Common; /// ----------------------------------...
using System; using System.Runtime.InteropServices; namespace SourceInfo { public static class ExceptionExtensions { public static int GetErrorCode(this Exception ex) { return Marshal.GetHRForException(ex); } public static string GetDetails(this Excepti...
/* * Copyright 2022 Rapid Software LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Text.RegularExpressions; using Malee; using RotaryHeart.Lib.SerializableDictionary; using UnityEngine; using Random = UnityEngine.Random; [Serializable, CreateAssetMenu] public class NameGenerator : Scripta...
using System; using System.Net; using System.Net.Sockets; using System.Threading; namespace ArduinoServerConsole { enum TcpState { Null, Connected, Disconnected } class Program { private static int PORT = 43594; #if DEBUG private static IPAddress HOST = IPA...
#region Copyright Syncfusion Inc. 2001-2021 // // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Re-distribution in any form is strictly //...
using Contracts.Dto.Request.Contact; using FluentValidation; namespace Contracts.Dto.Request.Validators.Contact { public class ContactCreateDtoValidator : AbstractValidator<ContactCreateDto> { public ContactCreateDtoValidator() { RuleFor(dto => dto.Name).NotEmpty(); Rul...
using System; namespace smshosting.api.cs.client.entities { public class CustomFieldOption { [System.Text.Json.Serialization.JsonPropertyName("optionValue")] public Int64 OptionValue { get; set; } [System.Text.Json.Serialization.JsonPropertyName("optionName")] public String Opt...
using System; using System.Collections.Generic; using System.Text; using CoffLib.Binary; namespace CoffLib.X86 { public partial class I386 { public static void TestMovx_16() { // Movzx MovzxW(Reg32.EAX, Reg16.BX) .Test("movzx eax, bx", "0F-B7-C3"); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AVFoundation; using Foundation; using PrismSample.Services; using UIKit; namespace PrismSample.iOS.Services { public class TextToSpeech_iOS : ITextToSpeech { public Task Speak(stri...
namespace uTinyRipper.Classes.Misc { public enum CurveLoopTypes { Constant = 0, Cycle = 1, CycleWithOffset = 2, Oscillate = 3, Linear = 4, } }
#if PLAYMAKER using System; using HutongGames.PlayMaker; namespace Devdog.QuestSystemPro.Integration.PlayMaker { [ActionCategory(QuestSystemPro.ProductName)] [HutongGames.PlayMaker.Tooltip("Set a quest tasks' progress.")] public class SetQuestTaskProgress : FsmStateAction { public enum Option...
using System; using System.IO; using System.Collections.Generic; using Newtonsoft.Json; namespace PrivateLocatedPackageManager { [JsonObject] public class InstalledPackages { [JsonProperty("packages")] public Dictionary<string, Guid> Packages { get; set; } = new Dictionary<stri...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SJOne.Models { public class UserRolesViewModel { public long Id { get; set; } public string UserName { get; set; } public string Data { get; set; } public IEnumerable<string> UserR...
using System; using System.Collections.Generic; using Cysharp.Threading.Tasks; using DG.Tweening; using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(CanvasGroup))] public class QuestOverlay : SingletonMonoBehavior<QuestOverlay> { [GetComponent] public Canvas canvas; [GetComponent] public CanvasG...
using System; using System.Collections.Generic; namespace NBehave { public static class ExampleBuilder { public static Example BuildFromString(string str) { var cols = str.Trim().Split(new[] { '|' }, StringSplitOptions.RemoveEmptyEntries); var columnNames = Bui...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; using Open.HttpProxy.Utils; namespace Open.HttpProxy { class SessionFlag { private readonly Dictionary<string, bool> _flags = new Dictionary<string, b...
using System; namespace Uno.Compiler.API.Domain.AST.Expressions { public static class AstOperators { public static AstUnaryType ParseUnary(string s) { switch (s) { case "!": return AstUnaryType.LogNot; case "~": return AstUnaryType.Bitwis...
// // Copyright (c) Antmicro // Copyright (c) Realtime Embedded // // This file is part of the Emul8 project. // Full license details are defined in the 'LICENSE' file. // using System; using AntShell.Commands; using Emul8.UserInterface.Tokenizer; using Emul8.Logging; namespace Emul8.UserInterface.Commands { publi...
using System.ComponentModel.DataAnnotations; using Nop.Web.Framework.Models; using Nop.Web.Framework.Mvc.ModelBinding; namespace Nop.Web.Areas.Admin.Models.Messages { /// <summary> /// Represents a newsletter subscription model /// </summary> public partial record NewsletterSubscriptionModel : BaseNop...
using LiberisLabs.DogStatsD.Interceptors.Interceptors; using LiberisLabs.DogStatsD.Interceptors.Monitors; using Moq; using NUnit.Framework; namespace LiberisLabs.DogStatsD.Interceptors.Tests.Interceptors.MonitorInterceptorAdapterTests { [TestFixture] public class MonitorInterceptorAdapterTests { p...
using System.Collections.Generic; using Deoxys.Planets; using Deoxys.Rovers; namespace Deoxys.Mars { /// <summary> /// mars rover aracı için oluşturulacak tüm hareket kontrolcüsünün türüyeceği sınıftır /// </summary> public class MarsRoverMovementConttroller : DefaultRoverMovementConttroller, I...
using System; using System.Collections.Generic; using System.Text; using DirectShowLib; using PrimoSoftware.DVDBuilder.VR; using System.Diagnostics; namespace CameraToDVD { class MediaState { public MediaState() { } public IMediaControl mediaControl; //...
using UnityEngine; namespace CamLib { public static class GameObjectExtensions { public static GameObject CreateChildGameObject(this GameObject parent, string name = "New GameObject") { GameObject child = new GameObject(name); child.transform.SetParent(parent.transform);...
#region References using System; using System.Collections.Generic; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Dialogs; #endregion namespace ReactiveAdaptiveCardsBot { public class ReactiveAdaptiveCardsBotAccessors { public ReactiveAdaptiveCardsBotAccessors(ConversationState conversationSt...
using System; namespace Sram.Configuration { public class InventoryConfig { public int SlotCount { get; private set; } public int Width { get; private set; } public static InventoryConfig GetConfig () { return new InventoryConfig (){ SlotCount=32, Width=300, }; } } }
using EAuction.Core.Entities; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; namespace EAuction.Infrastructure.Data { public class WebAppContext : IdentityDbContext<AppUser> { public WebAppContext(DbContextOptions<WebAppContext> options):base(options) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace L04.ParticleEmitterViewer { /// <summary> /// Describes particle image file. /// </summary> class ParticleInfo { public string DisplayName; public string FileName; public Ima...
using System.Security.Cryptography; using ManyMonkeys.Cryptography; namespace hds { public class MxoTwofish { Twofish tf; ICryptoTransform tfEncryptor; ICryptoTransform tfDecryptor; public MxoTwofish() { tf = new Twofish(); tf.Mode = CipherMode....
using System.Collections.Generic; using System.Linq; using DiskUsage; using Newtonsoft.Json; namespace DaisyDiskImitate.Data { public static class PieDataItemId { public const int ROOT_ID = 0; public const int OUTTER_OTHER_ID = -1; public const int INNER_OTHER_ID = -2; } [...
using System.Text.Json.Serialization; using BO4E.ENUM; using Newtonsoft.Json; namespace BO4E.Encryption { /// <summary> /// Encrypted Object using the Public Key Box Algorithm of libsodium /// </summary> public class EncryptedObjectPublicKeyBox : EncryptedObject { /// <summar...
// ---------------------------------------------------------------------------- // -- Project : https://github.com/instance-id/SO-Persistent-Reference -------- // -- instance.id 2020 | http://github.com/instance-id | http://instance.id --- // ----------------------------------------------------------------------------...
using System; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace DomainDrivenDesign.DomainObjects.Persistence.Generator { public class RepositoryGenerator : IMemberFactory { public MemberDeclarationSyntax Create(Definition definition) { throw new NotImplementedException(); ...
using System; using System.Collections.Generic; using System.Text; public interface IEngineer { List<IRepair> Repairs { get; set; } }
using System.Collections.Generic; using Umbraco.Core.Models.PublishedContent; namespace Amplify.Web.Custom.Services { public interface IAmplifyContentService { IPublishedContent GetRoot(); IPublishedContent GetById(int contentId); IPublishedContent GetChild(int contentId, string modelT...
using System; using SQLite; namespace Tabi.DataObjects { public class Question { [Indexed] public string QuestionKey { get; set; } [Indexed] public DateTimeOffset QuestionDate { get; set; } public string Answer { get; set; } [Indexed] public DateTimeO...
namespace ZensibleMongo.Create { using System.Collections.Immutable; using Interfaces; using MongoDB.Driver; /// <summary> /// Create a single document createMultiRecipe /// </summary> /// <typeparam name="TDocument"></typeparam> internal class CreateSingleRecipe<TDocument> : ICreateSi...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Gmich.Cedrus.IOC; using Moq; using System.Collections.Generic; using System.Linq; namespace Gmich.Cedrus.UnitTests.IOC { [TestClass] public class IocTests { public interface IA { } public interface IB { } publi...
namespace NServiceBus.Hosting.Roles.Handlers { using System.Linq; using Transports; using Unicast.Config; /// <summary> /// Configuring the right transport based on <see cref="UsingTransport{T}"/> role on the endpoint config /// </summary> public class TransportRoleHandler : IConfi...
// Copyright (c) CBC/Radio-Canada. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for more information. using System.Collections.Generic; using System.Threading.Tasks; namespace LinkIt.PublicApi { /// <summary> /// Simple data loader for reference ty...
using UnityEngine; using UnityEditor; using System.Collections; [CustomPropertyDrawer(typeof(UpdateWhenChangedAttribute))] public class UpdateWhenChangedPropertyDrawer : PropertyDrawer { public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { EditorGUI.BeginChange...
namespace SPICA.Serialization { struct SerializationOptions { public LengthPos LenPos; public PointerType PtrType; public SerializationOptions(LengthPos LenPos, PointerType PtrType) { this.LenPos = LenPos; this.PtrType = PtrType; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; /* All key bindings in the game are defined here. Usage example: Input.GetKeyDown(KeyBindings.Instance.PlayerMoveLeft) */ public class KeyBindings : Singleton<KeyBindings> { [Header("Player Control")] public KeyCode PlayerMoveLeft;...
using Ilaro.Admin.Ninject.App_Start; using WebActivatorEx; [assembly: PreApplicationStartMethod(typeof(DependencyInjectionStart), "Start")] [assembly: ApplicationShutdownMethod(typeof(DependencyInjectionStart), "Stop")] namespace Ilaro.Admin.Ninject.App_Start { public static class DependencyInjectionStart { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class HeatLamp : MonoBehaviour { public GameObject HeatLampLight; public GameObject HeatLampMesh; public Material HeatLampOnMaterial; public Material HeatLampOffMaterial; public GameObject Swit...
using Newtonsoft.Json; namespace SmashggHandler.Models { public class Group { [JsonProperty("id")] public int Id { get; set; } [JsonProperty("phaseId")] public int PhaseId { get; set; } } }
 namespace Web.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Microsoft.AspNet.Identity; using Model; using DataModels; using Data; using GameLogic; [RoutePrefix("a...
@page "{name}" @model GreetingModel <h1>@Model.CurrentGreeting</h1>
using Godot; using NetrekGodot.NetrekClient; using System; using System.IO; using System.Net; using System.Net.Sockets; namespace NetrekClient { public class Client { private StreamPeerTCPStream tcp; private BinaryReader reader; private BinaryWriter writer; public...
using System.Collections.Generic; using System.Linq; using OOCalculator.Commands; namespace OOCalculator { public class ManualCommandFactory : ICommandFactory { List<ICommand> _commands = new List<ICommand>(); public ManualCommandFactory() { _commands.Add(new Add()); ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="PlotViewTests.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // <summary> // Provides unit tests for the <see cref="PlotView" /> class. // <...
using HGV.Daedalus.GetMatchDetails; using HGV.Tarrasque.Common.Helpers; using HGV.Tarrasque.ProcessAbilities.Services; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Extensions.Logging; using System.Threading...
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; namespace DevCms.Models { public class AddEntityDto { [HiddenInput] public int? Id { get; set; } [HiddenInput] public int ContentTypeId { get; set; } public List<AttributeValueDto> Attrs{ g...
using System.Data.Entity.ModelConfiguration.Conventions; using Photography.Models; namespace Photography.Data { using System; using System.Data.Entity; using System.Linq; public class PhotographyContext : DbContext { public PhotographyContext() : base("name=PhotographyContext")...
// #define DUMP_PATOPT using System; using System.Collections.Generic; using DataDynamics.PageFX.Common.CodeModel; using DataDynamics.PageFX.Flash.Abc; using DataDynamics.PageFX.Flash.IL; namespace DataDynamics.PageFX.Flash.Core.CodeProvider { internal static class LocalOptimizer { private sealed clas...
using Dapper; using Fap.Core.DataAccess; using Fap.Core.Extensions; using Fap.Core.Infrastructure.Domain; using Fap.Core.Rbac.Model; /* ============================================================================== * 功能描述: * 创 建 者:wyf * 创建日期:2016/7/13 16:45:35 * ==================================================...
using Nager.AmazonProductAdvertising.Model.Paapi; namespace Nager.AmazonProductAdvertising.Model { public class SearchItemResponse : AmazonResponse { public SearchResult SearchResult { get; set; } } }
using System; using System.Collections.Generic; using System.Text; namespace Aoite.Data { /// <summary> /// 一个 SQL 语句生成的实现。 /// </summary> public interface IBuilder : IDbExecutor { /// <summary> /// 获取当前的查询参数集合。 /// </summary> ExecuteParameterCollection Parameters {...