content
stringlengths
23
1.05M
using UnityEngine; namespace StrangeWorld.Events.EventFilters.Colliders { //* Component used to notify collision enter call back public class CollisionEnterComponent : ACollisionComponent { //Notify collision enter callback void OnCollisionEnter(Collision collision) { Invoke...
using UnityEngine; using System.Collections; public class Tile : CacheBehaviour { /// <summary> /// Holds tile position /// </summary> public TilePosition tilePosition; }
/* Copyright (c) Microsoft Corporation All rights reserved. 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 THIS CODE IS PROVIDED *AS IS* BASIS, W...
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace NPOI.OpenXmlFormats.Wordprocessing { [Serializable] [XmlType(Namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")] [XmlRoot("fonts", Namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/m...
@model Demo.Model.Admin.Media.MediaIndexModel @foreach (var item in Model.Results) { <div class="col-xs-6 col-sm-4 col-md-3 col-lg-3 pl-5 pr-5"> <div class="panel"> <div class="thumbnail mb-0"> <img src="@Url.Content(item.Url)" class="fw-media" alt="@item.Title"> <div class="text-se...
using System; namespace Cuture.AspNetCore.ResponseCaching.Diagnostics { /// <summary> /// DiagnosticLogger的订阅释放器访问器 /// </summary> public sealed class DiagnosticLoggerSubscriberDisposerAccessor : IDisposable { #region Private 字段 private IDisposable? _disposable; private b...
using Recipes.DynamicSorting; using Recipes.EntityFrameworkCore.Entities; using System; using System.Collections.Generic; using System.Linq; namespace Recipes.EntityFrameworkCore.DynamicSorting { public class DynamicSortingScenario : IDynamicSortingScenario<Employee> { private Func<OrmCookbookContext>...
using System; using System.Collections.Generic; using System.Text; namespace CapsulationExampleOne { public class ModifiersBase { static void AAA() { Console.WriteLine("ModifiersBase AAA"); } public static void BBB() { Console.WriteLine("Modifie...
/* * 金庸群侠传3D重制版 * https://github.com/jynew/jynew * * 这是本开源项目文件头,所有代码均使用MIT协议。 * 但游戏内资源和第三方插件、dll等请仔细阅读LICENSE相关授权协议文档。 * * 金庸老先生千古! */ using Jyx2; using Jyx2; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public partial class BattleOKPanel:J...
using System; using System.Runtime.InteropServices; namespace Duality.Drawing { /// <summary> /// Vertex data providing each vertex a position (3x4 byte), color (1x4 byte) and texture coordinate (2x4 byte) /// </summary> [StructLayout(LayoutKind.Sequential)] public struct VertexC1P3T2 : IVertexData { public s...
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System.Collections.Generic; using System.Globalization; using System.Threading.Tasks; using Sportradar.OddsFeed.SDK.Entities.REST.MarketMapping; namespace Sportradar.OddsFeed.SDK.Entities { /// <summary> /// Represents...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Figura_Geometrica { public partial class Form1 : Form { ClassCuadrado objC...
<!DOCTYPE html> <html> <head> <title>Flash Video</title> </head> <body> @Video.Flash(path: "Media/sample.swf", width: "400", height: "600", play: true, loop: true, menu: false, bgColor: "red", ...
using CloudFlare.Client.Enumerators; namespace CloudFlare.Client.Api.Zones.CustomHostnames { /// <summary> /// Custom hostname filter /// </summary> public class CustomHostnameFilter { /// <summary> /// The custom hostname that will point to your hostname via CNAME /// </su...
using HttpArchivesService.Data.Entities; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; namespace HttpArchivesService.Data { public class AppDbContext : IdentityDbContext //DbContext { public DbSet<HttpArchiveRecord> HttpArchiveRecords { get; set; } ...
using CodeWars; using NUnit.Framework; namespace CodeWarsTests { [TestFixture] public class InsertDashesTests { [Test] public void SampleTest() { Assert.AreEqual("4547-9-3", InsertDashes.InsertDash(454793)); Assert.AreEqual("123456", InsertDashes.InsertDash(...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace Cafe.Tests { public class ClassTest { [Fact] public void TestClassReading() { using (FileStream fs = new FileStream(@"...
using UnityEngine; using UnityEditor; using UnityEditor.SceneManagement; using System; using System.IO; static class EditorMenus { [MenuItem("Tools/Update Sources", false, 1)] static void UpdateSources() { if(EditorUtility.DisplayDialog("Update Sources", " Would you like to update sources?", "Yes", ...
using Newtonsoft.Json.Linq; using OAuthControllerWeb.Models; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using WebApp.Control...
using System.Runtime.Serialization; namespace SitemapGenerator { public enum ChangeFrequency { [EnumMember(Value = "always")] Always = 1, [EnumMember(Value = "hourly")] Hourly = 2, [EnumMember(Value = "daily")] Daily = 3, [EnumMember(Value = "weekly")] Weekly = 4, ...
using System.Collections.Generic; using GeometrySynth.Constants; namespace GeometrySynth.Control { public class SynthScene { public SynthScene() { sceneNodes = new List<SceneNode>(); } private List<SceneNode> sceneNodes; } }
// Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Alex Yakunin // Created: 2007.06.11 using System; using System.Diagnostics; namespace Xtensive.Orm.Tests { /// <summary> /// A timer providing much higher resolution rather th...
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Quasardb.Exceptions; using Quasardb.TimeSeries; namespace Quasardb.Tests.Entry.Table.Double { [TestClass] public class Points { readonly QdbDoublePoint[] _points = new[] { new QdbDoublePo...
using Gooios.AppletUserService.Domains.Aggregates; using Gooios.AppletUserService.Domains.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Gooios.AppletUserService.Repositories { public class UserSessionRepository : Repository<UserSession, in...
using System.Threading.Tasks; namespace CodeStream.VisualStudio.Core.LanguageServer { public interface ILanguageServerClientManager { Task RestartAsync(); } }
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using TmxContentLibrary; using System.Xml; using System.Diagnostics; namespace TmxContentPipeline { public class MapContent { public string Version = string.Empty; public Orientation Orientation; public int Width; public i...
using System; using Microsoft.EntityFrameworkCore; using TicketCore.Models.CategoryConfigrations; namespace TicketCore.Data.Department.Command { public class DepartmentConfigrationCommand : IDepartmentConfigrationCommand { private readonly VueTicketDbContext _vueTicketDbContext; public Departm...
using DG.Tweening; using Game.Loader; using Game.Misc; using UnityEngine; using View.Builtin; using View.Controller; using Logger = Core.Misc.Logger; namespace View.Graphics { public class Graphic { public VEntity owner { get; private set; } public string id { get; private set; } public string name { get { ...
using ProjectHermes.ShoppingList.Api.Core.Converter; using ProjectHermes.ShoppingList.Api.Core.Extensions; using ProjectHermes.ShoppingList.Api.Domain.StoreItems.Models; using ProjectHermes.ShoppingList.Api.Infrastructure.StoreItems.Entities; using System.Linq; namespace ProjectHermes.ShoppingList.Api.Infrastructure....
using System; using UnityEngine; using Zenject; using ZenjectPrototype.Entities.Capabilities; namespace ZenjectPrototype.Entities { public class Photon : Entity, IKillable, IMovable, IRotatable, IWave { private IKillable killable; // Changeable kill logic private IRotatable rotatable; // Chang...
using System; using System.Text.RegularExpressions; using System.Windows.Forms; namespace BrawlLib.Internal.Windows.Forms { public partial class HexEntryBox : Form { public string title = "BrawlCrate Hex Entry Box"; public string lowerText = "Enter hex:"; public int numBytes; p...
namespace MyNatsClient { public enum DisconnectReason { /// <summary> /// Disconnect was caused by invoke by user. /// </summary> ByUser, /// <summary> /// Disconnect was caused by client failure. /// </summary> DueToFailure } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlixSharp.Holders { public enum MpaaRating { Unrated, NC17, R, PG13, PG, G, None } public enum TvRating { TV...
namespace P3DS2U.Editor.SPICA.Commands { public enum PICAFaceCulling : uint { Never, FrontFace, BackFace } }
using System.IO; using System.Reflection; using System.Windows.Media; namespace Arthas.Utility.Media { public class ResObj { static Stream Get(Assembly assembly, string path) { return assembly.GetManifestResourceStream(assembly.GetName().Name + "." + path); } ...
using System; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Npgsql; using SimpleVault.Common.Domain; using SimpleVault.Common.Exceptions; namespace SimpleVault.Common.Persistence.Transactions { public class TransactionRepository : ITransactionRepository { private readonly Db...
namespace BuildChecker.Enums { public enum Arch { x86, amd64, arm, arm64, Unknown } }
using System.Runtime.Serialization; namespace TPP.Common.PkmnModels { [DataContract] public enum Gender { [EnumMember(Value = "m")] Male, [EnumMember(Value = "f")] Female, } }
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace FluentAssertions.Events { /// <summary> /// This class is used to store data about an intercepted event /// </summary> [DebuggerNonUserCode] public class RecordedEvent { private objec...
using System; using Mariana.AVM2.Core; namespace Mariana.AVM2.ABC { /// <summary> /// Represents a trait defined in an ABC file. /// </summary> public sealed class ABCTraitInfo { private sealed class _Field { public ABCMultiname typeName; public bool hasDefault; ...
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using SixLabors.ImageSharp.Drawing.Processing; using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing; using Xunit; namespace SixLabors.ImageSharp.Drawing.Tests.Drawing { [GroupOutput("Drawing")] public cla...
using System; using System.Collections.Generic; using System.Linq; using CodingProblemsTests.Extensions; using NUnit.Framework; namespace CodingProblemsTests { [TestFixture] public class Permutations { /* "" A AB ABC AC B BC C */ [Test, Category(category.FundamentalAlgorythms)] ...
using System; using System.Collections.Generic; using System.Linq; using DataDynamics.PageFX.Common.Extensions; using DataDynamics.PageFX.Common.Syntax; namespace DataDynamics.PageFX.Common.CodeModel.Statements { public sealed class StatementCollection : List<IStatement>, IStatementCollection { ...
using UnityEngine.Scripting.APIUpdating; namespace Unity.MARS.Authoring { /// <summary> /// A potential member in a proxy group that is being created. /// </summary> [MovedFrom("Unity.MARS")] public class PotentialChild { /// <summary> /// Data used when creating the proxy ...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Web; namespace FODT.Models { public static class ExtensionMethods { /// <summary> /// Rearranges a show title so that titles of the format "Foo, The", "Foo, A" (name...
using System; using System.Collections.Generic; using System.Linq; public enum NodeType { Class, ClassRef, State, Variable, VariableRef, Operator, Condition, Action, Parameter } public static class NodeTypeConverter { public static readonly Dictionary<string, NodeType> NodeTyp...
using System; using System.Collections.Generic; using System.Text; using System.Xml; namespace Arebis.CodeAnalysis.Static.Processors.Rules { /// <summary> /// Base class for implementing RuleProcessor matching rules. /// </summary> public abstract class BaseMatchingRule { private RuleRunCon...
using Microsoft.EntityFrameworkCore; using Warehouse.Data.Models; namespace Warehouse.Data { public class WarehouseContext : DbContext { public static WarehouseContext Create() { var db = new WarehouseContext(); db.Database.EnsureCreated(); return db; ...
using UnityEngine; namespace Peril.Physics { public struct CollisionResult { public bool Collides; public Vector3 Normal; public float Penetration; public CollisionType Type; public bool First; } }
using Milk.BlockChain.Web.App; using Milk.BlockChain.Web.Core.Interface; using Milk.BlockChain.Web.Models.Request; using Milk.BlockChain.Web.Models.Response; namespace Milk.BlockChain.Web.Core.Implementation { public class BlockChainService : IBlockChainService { public BlockChainService() { ...
#region Using Directives using System; using JetBrains.Annotations; using Microsoft.CodeAnalysis.CSharp.Syntax; #endregion namespace Pharmatechnik.Nav.Language.CodeAnalysis.Annotation { public partial class NavInitAnnotation : NavMethodAnnotation { public NavInitAnnotation(NavTaskAnnotation...
//Generated by LateBindingApi.CodeGenerator using LateBindingApi.Core; namespace LateBindingApi.Office.Enums { [SupportByLibrary("OF10","OF11","OF12","OF14","OF9")] public enum MsoLineDashStyle { [SupportByLibrary("OF10","OF11","OF12","OF14","OF9")] msoLineDashStyleMixed = -2, [SupportByLibrary("OF10","OF11",...
using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace CSharpWin_JD.CaptureImage { /* 作者:Starts_2000 * (涂剑凯修改 http://www.cnblogs.com/bdstjk/) * 日期:2009-09-08 * 网站:http://www.csharpwin.com CS 程序员之窗。 * 你可以免费使用或修改以下代码,但请保留版权信息。 * 具体请查看 CS程序员之窗...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VirtualBlackboard.Services { public static class Messenger { private static List<MessengerObject> registrations = new List<MessengerObject>(); public static void Regis...
using UniRx; using UnityEngine; public class RepeatReturnExample : MonoBehaviour { private void Start() { var random = new System.Random(); // 난수를 반환 Observable.Defer(() => Observable.Return(random.Next())) .RepeatUntilDestroy(gameObject) .Take(3) ...
using System.Collections.Generic; namespace Poynt.NET.Model { public enum AVSResultType { MATCH, NO_MATCH, PARTIAL_MATCH, NOT_PROVIDED, ISSUER_NOT_CERTIFIED, NO_RESPONSE_FROM_CARD_ASSOCIATION, UNKNOWN_RESPONSE_FROM_CARD_ASSOCIATION, NOT_VERIFIE...
using System; using SmartDataViewer.Helpers; using System.IO; using UnityEngine; namespace SmartDataViewer { public class ConfigContainerBase { public virtual bool LoadText(string path,ref string content) { if (!PathMapping.GetInstance().DecodePath(ref path)) ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.TestPlatform.AcceptanceTests { using System; using Microsoft.TestPlatform...
//////////////////////////////////////////////////////////////////////////////// // // ADOBE SYSTEMS INCORPORATED // Copyright 2003-2006 Adobe Systems Incorporated // All Rights Reserved. // // NOTICE: Adobe permits you to use, modify, and distribute this file // in accordance with the terms of the license ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Security.Authentication; using System.Threading.Tasks; using ContextRunner.Logging; using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace ContextRunner.Samples.Web { public class ExceptionMiddleware {...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Goal : MonoBehaviour { public GameObject GolfBall; public GameObject CourseFlag; public float flagSpeed = 0f; //Set in editor. private bool moveFlag = false; //Add game manager. // Start is ca...
using System; using Newtonsoft.Json; namespace ContactsApp { public class PhoneNumber { private string _zoneCode; private string _number; /// <summary> /// Contains zone code (3 digits after county code) /// </summary> public string ZoneCode { ...
using Microsoft.EntityFrameworkCore; using TogglerService.Models; namespace TogglerService.Data { public class ApplicationDbContext : DbContext { public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options) { } public DbSet<GlobalToggle> GlobalToggles { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Text; using System.Runtime.InteropServices; using System.Drawing; using System.IO; using FDK; namespace TJAPlayer3 { internal class CActSelectPopupMenu : CActivity { // プロパティ ...
using System; using System.ComponentModel; using System.Runtime.CompilerServices; using JetBrains.Annotations; namespace LiteDbExplorer.Core { public class CollectionReferenceLookup : IReferenceNode, INotifyPropertyChanged { public CollectionReferenceLookup(string name) : this(name == @"_...
using FishNet.Object; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Moving : NetworkBehaviour { public float RotateSpeed = 150f; public float MoveSpeed = 5f; private CharacterController _characterController; private Animating _animating; pr...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using Microsoft.Office.Interop.Excel; namespace Com.Ericmas001.Office.Excel.ExportParms { public class ExcelFormat { public Color? ForeColor { get; set; } public Color? BackColor { get; ...
namespace RealNumbers.Benchmarks { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BenchmarkDotNet.Analysers; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Environments; using BenchmarkDotNet.Exporters;...
namespace Microsoft.Protocols.TestSuites.Common { using System.Globalization; using System.IO; using System.Text; using System.Xml; /// <summary> /// ActiveSync XML writer. /// </summary> public class ActiveSyncXmlWriter : XmlTextWriter { /// <summary> /...
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Purchasing; public class IAP : MonoBehaviour, IStoreListener { public static IAP m; public static IStoreController storeController; public static IExtensionProvider storeExtensionProvider; [Seria...
// Copyright (c) Microsoft Corporation. All Rights Reserved. // Licensed under the MIT License. using Microsoft.Datasync.Client.Table.Query; using System; using System.Diagnostics.CodeAnalysis; using System.Linq.Expressions; using System.Text.Json; using Xunit; namespace Microsoft.Datasync.Client.Test.Table.Query { ...
using UnityEngine; using UnityEditor; using System.Diagnostics; using System.IO; using System.Text; using System.Collections.Generic; public class Psd2PngWindow : EditorWindow { [MenuItem("Editor/Psd2Png")] private static void Create() { GetWindow<Psd2PngWindow>("Psd2Png"); } private Psd2P...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectPhysicsChanger : MonoBehaviour { // public float raycastDistance; // private Rigidbody rg; // private RaycastHit hit; // void Start() // { // rg = GetComponent<Rigidbody>(); // } // ...
using GalaSoft.MvvmLight; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace CheckMapp.Model.Utils { public static class DataTemplateSelector { public static DataTemplate GetTemplate(ViewModelBase param) ...
namespace Service.Sdk.Tests.Mocks { using System.Threading.Tasks; using Service.Sdk.Contracts.Crud.Base; using Service.Sdk.Tests.Models; internal class DatabaseValidatorMock : IEntryValidator<StringEntry, StringEntry, string> { private readonly bool validateCreateEntry; private readonly bool validat...
namespace Qsi.SqlServer { public static class SqlServerKnownOperator { public const string Not = "NOT"; public const string And = "AND"; public const string Or = "OR"; public const string Between = "BETWEEN"; public const string NotBetween = "NOT BETWEEN"; p...
//----------------------------------------------------------------------------- // Copyright (c) 2015 Max Gaming Technologies, LLC // // 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 withou...
using System.Diagnostics; namespace Examples { public class ProcessSample { public Process OpenApplication(string name) { return Process.Start(name); } public Process OpenApplicationWithArguments(string name, string arg) { return Process.Start(n...
 using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MonODGE.UI.Utilities; namespace MonODGE.UI.Components { public class QuestionBox : OdgeControl { public enum AnswerType { Affirmative, Negative, Unanswered } public AnswerType Answer { get; private set; } priva...
@{ ViewData["Title"] = "Home"; } <h2 class="main__header">Latest posts</h2> <article class="article-snippet"> <h2 class="article-snippet__header"> <a href="#">Sample Blog Post</a> </h2> <div class="article-snippet__category"> Everyday blog </div> <div class="article-snippet__t...
#region License /*** * Copyright © 2018-2021, 张强 (943620963@qq.com). * * 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 b...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PokerHandDomainModels { /// <summary> /// This model is reponsible to consolidate the winnings after Nth nubmer of poke games. /// </summary> public class ConsolidatedWonHandsReportModel { public IList<GameModel> Ga...
// Url:https://leetcode.com/problems/permutations-ii /* 47. Permutations II Medium Given a collection of numbers that might contain duplicates, return all possible unique permutations. Example: Input: [1,1,2] Output: [ [1,1,2], [1,2,1], [2,1,1] ] */ using System; using System.Collections.Generic; namespace ...
using System.Net; using ShareFile.Api.Client.Security.Authentication.OAuth2; namespace ShareFile.Api.Client.Credentials { public class OAuth2Credential : NetworkCredential { public OAuthToken OAuthToken { get; set; } public OAuth2Credential(string oauthToken) : base("", oauthToken...
 using System.Text.Json; using System.Text.Json.Serialization; namespace ClientIncr { public class NewValue { public int value { get; set; } } public class ClientIncr { private static string url = "http://localhost:8080/incr?param1=1"; static readonly HttpClient client ...
using System; using Microsoft.Extensions.DependencyInjection; namespace DotNetCore.CAP.HealthCheck; public static class ConfigureServiceExtensions { public static void AddCapHealthCheck(this IHealthChecksBuilder healthChecksBuilder, Action<CapHealthCheckOptions> setupAction) { var options = ne...
namespace Blobfish { using System.Xml.Linq; /// <summary> /// Reference to a Sample used in this Experiment. /// </summary> public class SampleReference : ISignableItemWithSampleAttributesBase { /// <summary> /// Creates a new instance of class SampleReference. /// </su...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AbpShop { [Table("abp_user_notice")] public partial class AbpUserNotice { [Key] [Column("id", TypeName = "int(11)")] public int...
using System; using System.Collections.Generic; using System.Diagnostics; using ArtZilla.Config; using ArtZilla.Config.Tests.TestConfigurations; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CfTests { [TestClass] public abstract class ConfiguratorTestClass<T> where T : IConfigurator { protected co...
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using ShoppingOnline.Application.Content.Blogs; using ShoppingOnline.WebApplication.Models; namespace ShoppingOnline.WebApplication.Controllers.Blog { public class BlogController : Controller { private readonly IBlogService _blog...
using Elastic.Xunit.XunitPlumbing; using Nest; namespace Examples.Root { public class MappingPage : ExampleBase { [U(Skip = "Example not implemented")] public void Line144() { // tag::d8b2a88b5eca99d3691ad3cd40266736[] var response0 = new SearchResponse<object>(); // end::d8b2a88b5eca99d3691ad3cd40266...
namespace Orc.Controls.Tests.UI { using System.Collections; using System.Collections.Generic; using System.Linq; using System.Windows.Input; using NUnit.Framework; using Orc.Automation; [Explicit] [TestFixture(TestOf = typeof(Expander))] [Category("UI Tests")] public class Filt...
namespace UNicoAPI2 { public enum BufferingMapType { HashTable, BinaryTree } }
using AspEfCore.Data.Db; using AspEfCore.Data.Models; using EntityFramework.DbContextScope.Interfaces; namespace AspEfCore.Data.Repsoitories { public class CompanyRepository : Repository<Company>, ICompanyRepository { public CompanyRepository(IAmbientDbContextLocator dbContextLocator) : base(dbContext...
using CreativeMinds.CQS.Commands; using NForum.Infrastructure; using System; namespace NForum.CQS.Commands.Topics { public class SplitTopicCommandHandler : CommandWithStatusHandler<SplitTopicCommand> { public SplitTopicCommandHandler(ITaskDatastore taskDatastore) : base(taskDatastore) { } public override v...
using System; namespace Microsoft.Kusto.ServiceLayer.DataSource.Exceptions { public class DataSourceUnauthorizedException : Exception { public DataSourceUnauthorizedException(Exception ex) : base (ex.Message, ex) { } } }
using System; using System.Collections.Generic; using System.Linq.Expressions; using DotVVM.Framework.Binding; using DotVVM.Framework.Compilation.ControlTree.Resolved; using DotVVM.Framework.Utils; using System.Reflection; using DotVVM.Framework.Compilation.ControlTree; using System.Linq; using DotVVM.Framework.Contro...
namespace CSharpGL { /// <summary> /// /// </summary> public enum IndexBufferElementType : uint { /// <summary> /// byte /// </summary> UByte = GL.GL_UNSIGNED_BYTE, /// <summary> /// ushort /// </summary> UShort = GL.GL_UNSIGNED_SHOR...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjetoModeloDDD.Domain.Enum { public class TipoDataType : Enumeration { public static TipoDataType Password = new TipoDataType(0, "Password"); public static TipoDataT...
using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace ConPty.Sample.ConsoleApi { [Serializable] public class InteropException : Exception { public InteropException() { } public InteropException(string message) : base(message) { } ...