text
stringlengths
1
932k
using System.Linq.Expressions; namespace EdgeDB.Operators { internal class ArrayJoin : IEdgeQLOperator { public ExpressionType? ExpressionType => null; public string EdgeQLOperator => "array_join({0}, {1})"; } }
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.VisualStudio.IO; using Microsoft.VisualStudio.ProjectSystem.Logging; using NuGet.SolutionRestoreManager; using ...
// // LocalizedTextMeshInspector.cs // // The MIT License (MIT) // // Copyright (c) 2013 Niklas Borglund // // 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 w...
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; using NetOffice.Events; namespace NetOffice.Tests.NetOffice.Events { [TestFixture] public class CoClassEventReflectorTests { [Test] public void HasEventRecipients_NoSubscriber_ReturnsFalse() {...
using NUnit.Framework; namespace YaYAML.Tests { [TestFixture] public class SpaceCountTests : AbstractParserTestFixture { [Test] public void SingleSpace() { var result = Parse<int>(x => x.SpaceCount, " "); Assert.That(result, Is.EqualTo(1)); } ...
namespace Grayscale.Cube2X2Test { /// <summary> /// 棋譜。 /// </summary> public static class Record { /// <summary> /// 棋譜。 /// </summary> private static readonly int[] Moves; static Record() { Moves = new int[100]; } /// <...
using Microsoft.ServiceFabric.Services; namespace EchoApp { public class EchoGatewayService : StatelessService { protected override ICommunicationListener CreateCommunicationListener() { var listener = new ZBrad.FabricLib.WcfTcpGatewayListener(); listener.Initialize(thi...
using System.Threading; using System.Threading.Tasks; namespace MasonSoftwareSolutions.EventDispatcher { public interface IEventHandler<TEvent> where TEvent : IEvent { Task Handle(TEvent @event, CancellationToken cancellationToken = default); } }
namespace Lpp.Dns.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class NewDataMartClientLog : DbMigration { public override void Up() { CreateTable( "dbo.LogsResultsReminder", c => new ...
namespace Rytor.Craps.Microservices.Balance.Models { public enum ActivityType { Deposit = 1, Withdrawal = 2 } }
/* * Created by SharpDevelop. * User: edgarsaul * Date: 25/08/2016 * Time: 12:15 p. m. * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ namespace TrajeBiometrico_Ver1._0 { partial class frmSesion { /// <summary> /// Designer variable used to keep track of non-visual co...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
// <auto-generated /> using BlogSite.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace BlogSite.Migrations...
/* * This message is auto generated by ROS#. Please DO NOT modify. * Note: * - Comments from the original code will be written in their own line * - Variable sized arrays will be initialized to array of size 0 * Please report any issues at * <https://github.com/siemens/ros-sharp> */ using RosSharp.RosBridg...
using FluentAssertions; using System.Collections.Generic; using System.Linq; using Xunit; namespace RockLib.HealthChecks.Tests { public class HealthResponseTests { [Fact] public void Constructor_SetsChecks() { var results = new[] { new HealthCheckResult(), new HealthCheckRe...
using System; using System.Collections.Generic; using System.IO; using System.Security.Cryptography; using System.Text; using UnityEngine; namespace LuaFramework { public class Util { private static List<string> luaPaths = new List<string>(); public static string DataPath { get { if (Application.get...
using System; using System.Linq; using PrimarSql.Data.Models; using PrimarSql.Data.Models.Columns; using PrimarSql.Data.Planners; using PrimarSql.Data.Sources; namespace PrimarSql.Data.Providers { internal static class DataProviderFactory { public static IDataProvider Create(QueryContext context, Sele...
namespace SolidExersice.Files { public interface ILogFile { public long Size { get; } public void Write(string logMessage); } }
// ReSharper disable StringLiteralTypo // ReSharper disable IdentifierTypo // ReSharper disable InconsistentNaming // ReSharper disable UnusedType.Global namespace InControl.UnityDeviceProfiles { // @cond nodoc [Preserve] [UnityInputDeviceProfile] public class GoogleStadiaUnityProfile : InputDeviceProfile { publi...
// *** 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 System; namespace Unity.XRTools.Utils { /// <summary> /// Extensions to <c>System.Guid</c> /// </summary> public static class GuidExtensions { /// <summary> /// Decomposes a 16-byte <c>Guid</c> into two 8-byte <c>ulong</c>s. /// Recompose using <c>Unity.XRTools.Utils....
namespace Binance.Spot.Tests { using System; using System.Net; using System.Net.Http; using Binance.Spot.Models; using Moq; using Moq.Protected; using Xunit; public class UserDataStreams_Tests { private string apiKey = "vmPUZE6mv9SD5VNHk4HlWFsOr6aKE2zvsw0MuIgwCIPy6utIco14y7J...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("EF...
using Bucket.Values; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Bucket.LoadBalancer.Selectors { public class RoundRobinSelector : ILoadBalancer { private readonly Func<Task<IList<ServiceInformation>>> _services; ...
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
// ----------------------------------------------------------------------- // <copyright file="NumericNavigationWrapper.cs" company="John Lynch"> // This file is licensed under the MIT license. // Copyright (c) 2018 John Lynch // </copyright> // ---------------------------------------------------------------------...
using System; using System.Diagnostics.Contracts; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Ship_Game.Gameplay; using Ship_Game.Ships; using SynapseGaming.LightingSystem.Rendering; using static System.Math; namespace Ship_Game { public struct...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hwavmvid.Rouletteshared.Items { public class RoulettesurfaceNumber { public int Value { get; set; } public string Color { get; set; } } }
// // Tests assignment of a captured variable to another // Do not add anything else to this test. // delegate void S (); class X { // // DO NOT ADD ANYTHING ELSE TO THIS TEST // public static int Main () { int a = 2; int b = 1; S d = delegate { a = b; }; return 0; } }
namespace PluralizationService.Sources { /// <summary> /// This interface represents a base source for the <see cref="CG.Pluralization"/> /// namespace. /// </summary> public interface IPluralizationSource { } }
using System; using System.Runtime.InteropServices; namespace SharpVk { /// <summary> /// - /// </summary> [StructLayout(LayoutKind.Sequential)] public struct SecurityAttributes { /// <summary> /// - /// </summary> public int Length; /// <summar...
using DocumentFormat.OpenXml.Spreadsheet; using SpreadsheetLightWrapper.Core.misc; using SpreadsheetLightWrapper.Core.worksheet; namespace SpreadsheetLightWrapper.Core.pivottable { internal class SLLocation { internal SLLocation() { SetAllNull(); } internal SLCellP...
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. // See full license at the bottom of this file. namespace ClauseLibrary.Common.Services { /// <summary> /// A simple validation service. /// </summary> public class ValidationService { /// <summary> ...
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
using System; using NPoco; using System.ComponentModel.DataAnnotations; namespace Electric.Domain.Entities { /// <summary> /// Represents a TrainRegForm. /// NOTE: 这个类是从T4模板生成的——你不应该手动修改它。 /// </summary> [MetadataType(typeof(TrainRegFormMetadata))] [PrimaryKey("RegID")] [TableName("[dbo].[TrainRegF...
using System; using Newtonsoft.Json; using VkNet.Utils; namespace VkNet.Model { /// <summary> /// Валюта. /// </summary> [Serializable] public class Currency { /// <summary> /// Идентификатор валюты /// </summary> [JsonProperty("id")] public long? Id { get; set; } /// <summary> /// Буквенное обоз...
/* The MIT License (MIT) Copyright (c) 2018 Helix Toolkit contributors */ using SharpDX; using System.Collections.Generic; using System.IO; #if !NETFX_CORE namespace HelixToolkit.Wpf.SharpDX #else #if CORE namespace HelixToolkit.SharpDX.Core #else namespace HelixToolkit.UWP #endif #endif { using Render; using ...
// 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. #nullable disable using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalys...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace LoRaWan.Tests.Integration { using System; using System.Collections.Generic; using System.Threading.Tasks; using LoRaWan.NetworkServer; usi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FleetManagement.Db; using FleetManagement.Db.Conventions; using FleetManagement.Exceptions.DataBase; using FleetManagement.Settings; using FluentNHibernate.Cfg; using FluentNHibernate.Cfg.Db; name...
using MySql.Data.MySqlClient; 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 RestaurantProject { public partial class Form1 : Form { ...
using System; //using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Mvc; namespace Web.API { [Route("api/[controller]")] [ApiController] public class TestController : ControllerBase { [HttpGet("Now")] public ActionResult<string> Now() { return DateTime....
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer { /// <summary> /// Indicates which type of server a given node type is valid for...
using System; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Windows.Forms; public partial class __Stub { public static string __CommandLine; public static string[] __CommandLineArguments; /// <summary> /// void Main(string[] args) /// </summary> [STAThread] public static vo...
using System.IO; using System.ComponentModel; using Nikki.Core; using Nikki.Utils; using Nikki.Reflection.Enum; using Nikki.Reflection.Abstract; using Nikki.Reflection.Attributes; using Nikki.Support.Carbon.Framework; using CoreExtensions.IO; using CoreExtensions.Conversions; namespace Nikki.Support.Carbon.Class { ...
// <copyright file="SpanExtensions.cs" company="OpenTelemetry Authors"> // Copyright 2018, OpenTelemetry 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.apac...
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Dms.Ambulance.V2100</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False<...
#region License // Разработано: Коротенко Владимиром Николаевичем (Vladimir N. Korotenko) // email: koroten@ya.ru // skype:vladimir-korotenko // https://vkorotenko.ru // Создано: 20.04.2019 9:29 #endregion using System; using System.Diagnostics.Tracing; namespace ChatApplication.Dbl.Models { /// <summary> ...
using SBRW.Launcher.Core.Downloader.EventArg_; using SBRW.Launcher.Core.Downloader.Exception_; using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Cache; namespace SBRW.Launcher.Core.Downloader { /// <summary> /// /// </summary> public class Download_Qu...
using System; using Xunit; using Medo.Math; namespace Tests.Medo.Math { public class SimpleAverageTests { [Fact(DisplayName = "SimpleAverage: Example (1)")] public void Example1() { var stats = new SimpleAverage(); stats.Add(4); stats.Add(7); stats.A...
//====================================================================== // // Copyright (C) 1996-2012 lfz // All rights reserved // // Filename : ConsoleLoger // DESCRIPTION : 控制台日志 // // Created By 林芳崽 at 2013-01-04 09:11:01 // https://git.oschina.net/lfz/tools // //=...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
#if UNITY_EDITOR using UnityEngine; using UnityEditor; using System.Collections.Generic; using System.IO; using System; using Newtonsoft.Json.Linq; namespace Quixel { /// <summary> /// Completely rewritten importer with lots of commenting... Should be quite a bit faster than the previous one too. /// For...
@model OrisCenter.Key.ViewModels.ContaVerificacaoDoisFatoresViewModel @{ ViewBag.Title = "VerificacaoDoisFatores"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Verificação de SMS</h2> @using (Html.BeginForm()) { @Html.ValidationSummary() @Html.EditorForModel() <input type="submit" value="En...
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace com.redmine.gorilla { public class Program { publi...
namespace Boids { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="...
using dict = System.Collections.Generic.Dictionary<string, string>; using list = System.Collections.Generic.List<string>; namespace Plivo.XML { public class Speak : PlivoElement { public Speak(string body, dict attributes) : base(body, attributes) { Nestables = new list(...
using System.ComponentModel.DataAnnotations; namespace LearningSystem.Models.ViewModels.Manage { public class ChangePasswordViewModel { [Required] [DataType(DataType.Password)] [Display(Name = "Current password")] public string OldPassword { get; set; } [Required] ...
using NUnit.Framework; namespace NExpect.Tests { [SetUpFixture] public class SetupFixture { [OneTimeSetUp] public void OneTimeSetUp() { TestUtils.ForceMessageLineBreaks(); } } }
// Copyright 2021 Yubico AB // // 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 agreed to in w...
 namespace GMap.NET.MapProviders { using System; /// <summary> /// GoogleChinaTerrainMap provider /// </summary> public class GoogleChinaTerrainMapProvider : GoogleMapProviderBase { public static readonly GoogleChinaTerrainMapProvider Instance; GoogleChinaTerrainMapProvider() { ...
// 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. // // // All P/invokes used by System.Private.Interop and MCG generated code goes here. // // !!IMPORTANT!! // // D...
using System; using System.Collections.Generic; using System.Text; namespace MxNet.GluonNLP.Data { class GlueMRPC { } }
namespace BloodPressureListFormatter { enum CSVDelimiter { COMMA, TAB } }
using UnityEngine; namespace Crystal { /// <summary> /// Safe area implementation for notched mobile devices. Usage: /// (1) Add this component to the top level of any GUI panel. /// (2) If the panel uses a full screen background image, then create an immediate child and put the component on that in...
// Copyright © 2017 - 2021 Chocolatey Software, Inc // Copyright © 2011 - 2017 RealDimensions 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...
#region License // Copyright (c) 2007 James Newton-King // // 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,...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System.Threading.Tasks; using Elastic.Xunit.XunitPlumbing; using Nest; using Tests.Domain; using Tests.Fram...
using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace Lamp.Service.Test1 { public class MonitorTest { public Mutex MyMutex { get; set; } public MonitorTest(string Name) { MyMutex = new Mutex(true, Name); } } }
using Optivem.Northwind.Core.Application.Dto; using Optivem.Platform.Core.Application.Service; namespace Optivem.Northwind.Core.Application.Service { public interface IShipperService : ICrudService<ShipperRequest, ShipperResponse, int> { } }
// Python Tools for Visual Studio // 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 //...
/* http://www.cgsoso.com/forum-211-1.html CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源! CGSOSO 主打游戏开发,影视设计等CG资源素材。 插件如若商用,请务必官网购买! daily assets update for try. U should buy the asset from home store if u use it in your project! */ #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; using...
using Microsoft.EntityFrameworkCore; using NorthwindBupa.Dal.Abstract; using NorthwindBupa.Dal.Concrete.EntityFramework.Repository; using NorthwindBupa.Entity.Dto; using NorthwindBupa.Entity.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; nam...
// Copyright 2020 The Tilt Brush 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 // // Unless required by applicable law or ...
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using WalletWasabi.Blockchain.TransactionBuilding.BnB; namespace WalletWasabi.Blockchain.TransactionBuilding; /// <seealso href="https://murch.one/wp-content/uploads/2016/11/erhardt2016coinselection.pdf">Section "5.3 Bran...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.SessionState; using System.Net; using TextAdventures.Quest; namespace WebPlayer { public class Resource : IHttpHandler, IReadOnlySessionState { public void ProcessRequest(HttpContext ...
using System; using System.ComponentModel; using System.Collections.Generic; using System.Windows; namespace IGShowcase.AirplaneSeatingChart.ViewModels { public class PlaneElementViewModel:INotifyPropertyChanged { public PlaneElementViewModel() { this.Shape = new List<L...
// Copyright (c) Josef Pihrt. 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.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using Microsoft.CodeAnalysis; using Microsoft.Co...
// <copyright file="ProviderAccountResolver.cs" company="Stormpath, Inc."> // Copyright (c) 2016 Stormpath, 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.apa...
using LaTexInclude.ViewModel; using MahApps.Metro.Controls; namespace LaTexInclude { /// <summary> /// Interaction logic for SwitchViewWindow.xaml /// </summary> public partial class SwitchViewWindow : MetroWindow { public SwitchViewWindow() { InitializeComponent(); ...
/* * Scubawhere API Documentation * * This is the documentation for scubawhere's RMS API. This API is only to be used by authorized parties with valid auth tokens. [Learn about scubawhere](http://www.scubawhere.com) to become an authorized consumer of our API * * OpenAPI spec version: 1.0.0 * Contact: bryan@sc...
using System; using System.Collections.Generic; using NW.WIDJobs.Explorations; namespace NW.WIDJobs.Metrics { /// <summary>Collects all the helper methods related to <see cref="MetricCollection"/>.</summary> public interface IMetricCollectionManager { /// <summary> /// Calculates <see cre...
// Decompiled with JetBrains decompiler // Type: CocoStudio.ControlLib.ExportPlistInfoDialog // Assembly: CocoStudio.ControlLib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 677D14F9-F98B-4FDA-9ECD-6C6F82FD30A1 // Assembly location: C:\Program Files (x86)\Cocos\Cocos Studio 2\CocoStudio.ControlLib.dl...
using Hackney.Core.Logging; using Hackney.Shared.Tenure.Boundary.Response; using MTFHDataLanding.Gateway.Interfaces; using System; using System.Threading.Tasks; namespace MTFHDataLanding.Gateway { public class TenureInfoApi : ITenureInfoApi { private const string ApiName = "Tenure"; private con...
using Remotion.Linq.Parsing.ExpressionVisitors; using System; using System.Linq.Expressions; namespace SP.Client.Linq.Query.Expressions { internal class NullConditionalExpression : Expression { private readonly Type _type; /// <summary> /// Creates a new instance of NullConditiona...
namespace JNCC.PublicWebsite.Core.Constants { public static class FilterNames { internal const string ArticleTypes = "articleTypes"; internal const string Locations = "locations"; internal const string Teams = "teams"; internal const string Years = "years"; public const ...
// MyClass.cs created with MonoDevelop // User: valle at 20:54 04/03/2009 // // To change standard headers go to Edit->Preferences->Coding->Standard Headers // using System; using System.Collections; using System.Collections.Generic; using System.Threading; namespace Valle.Utilidades { public class ColaCompartida...
#if !NETSTANDARD13 /* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 ...
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
namespace Domain.Request; public interface IRequestBase<T> { T Data { get; set; } } public class RequestBase<T> : IRequestBase<T> { public T Data { get; set; } }
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace YL.NetCore.Attributes { /// <summary> /// https://www.strathweb.com/2018/10/convert-null-valued-results-to-404-in-asp-net-core-mvc/ /// </summary> public class NotFoundActionFilterAttribute : ActionFilterAttribute { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Reflection; using System.Threading; using MultiAdmin.Config; using MultiAdmin.ConsoleTools; using MultiAdmin.Features.Attributes; using MultiAdmin.ServerIO; using MultiAdmin.U...
using System; namespace blqw { /// <summary> 表达式树解析结果 /// </summary> public interface ISawDust { /// <summary> 是否是非DustType.Sql和DustType.Undefined类型 /// </summary> bool IsObject { get; } /// <summary> 无论结果类型 强制转换为Sql语句,DustType.Undefined抛出异常 /// </summary> ...
namespace PT.PM.Common.Nodes { public interface ITerminal { } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Math { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class Secenekli : ContentPage { public Secenekli() ...
/* * SubSonic - http://subsonicproject.com * * The contents of this file are subject to the Mozilla Public * License Version 1.1 (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.mozilla.org/MPL/ * * Software distributed un...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Net.Http; using System.Threading.Tasks; using Geko.HttpClientService.Benchmark.Implementations; namespace Geko.HttpClientService.Benchmark; internal class Program { private static void Main(string[] args) { var sw ...
namespace WebMarkupMin.Core.Parsers { /// <summary> /// HTML parsing handlers /// </summary> internal sealed class HtmlParsingHandlers : MarkupParsingHandlersBase { /// <summary> /// XML declaration /// </summary> public XmlDeclarationDelegate XmlDeclaration { get; set; } /// <summary> /// ...
using System; using System.Collections.Generic; using System.Security.Cryptography.X509Certificates; using System.Text; namespace TDSBF.Data.Discord.Authentication { public enum TokenType { Bot = 0, Bearer = 1, } public static class GToken { public static TokenType? tokenTyp...
using Elasticsearch.Net; using Nest; namespace Tests.Domain.Extensions { public static class AnonymizerExtensions { private static readonly Inferrer Infer = new Inferrer(new ConnectionSettings(new InMemoryConnection()).ApplyDomainSettings()); public static object ToAnonymousObject(this JoinField field) => f...