text
stringlengths
1
932k
using Calculator.Core.Extensions; using FluentAssertions; using Xunit; namespace Calculator.Testing.ExtensionTests { public class IsParensMatchTest { private readonly ParenChecker _parenChecker = new ParenChecker(); [Fact] public void NotMatch() { _parenChecker.Che...
using System; using System.Collections.Generic; namespace Unity.QuickSearch { interface IQueryHandler<out TData, in TPayload> { IEnumerable<TData> Eval(TPayload payload); } interface IQueryHandlerFactory<TData, out TQueryHandler, TPayload> where TQueryHandler : IQueryHandler<TData, TPa...
using Pipelines.Sockets.Unofficial; using System; using System.Collections.Generic; using System.IO; using System.IO.Pipelines; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; namespace ProtoBuf.MessagePipes { /// <summary> /// Prov...
using IMOMaritimeSingleWindow.Data; using IMOMaritimeSingleWindow.Models; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using System.Linq; namespace IMOMaritimeSingleWindow.Controllers { [Route("api/[controller]")] public class ShipHullTypeController : Controller { readonly open...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TinyBenchmark { /// <summary> /// Creates a text export of a report. /// </summary> public class TextExporter : IExporter { /// <summary> /// When set to tr...
// Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Alexis Kochetov // Created: 2009.02.04 using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Xtensive.Tuples; using Xtensive.Orm.Providers...
using SQLite; using System; namespace ImageViewer.Data.Models { [Table("image_tags")] internal class ImageTagModel { public ImageTagModel(long imageId, long tagId) { ImageId = imageId; TagId = tagId; CreatedDate = DateTime.Now; } [Column...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Chess")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProd...
using System; namespace PepperDash.Core.Intersystem.Tokens { public sealed class XSigDigitalToken : XSigToken { private readonly bool _value; public XSigDigitalToken(int index, bool value) : base(index) { // 12-bits available for digital encoded data ...
using System; using System.Collections.Generic; using System.IO; using System.Runtime.Serialization.Json; using TheBall.CORE; namespace AaltoGlobalImpact.OIP { public static class AdditionalFormatSupport { public static string[] WebUIFormatExtensions = new string[] { "json"}; public static Ad...
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V3109</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
using UnityEngine; using UnityEditor; using System.Collections; using System.Collections.Generic; public class CreateIcoSphere : ScriptableWizard { // Not implemented public enum AnchorPoint { TopLeft, TopHalf, TopRight, RightHalf, BottomRight, BottomHalf, ...
using AutoMapper; using Graduation.Project.Dal.Abstract; using Graduation.Project.Entity.Base; using Graduation.Project.Entity.Dto; using Graduation.Project.Entity.IBase; using Graduation.Project.Entity.Models; using Graduation.Project.Entity.Static; using Graduation.Project.Interface; using Microsoft.AspNetCore.Http;...
using System.Reflection; 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("AWSSDK.Neptune")] [assembly: AssemblyDescr...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace PerFi.VirtualAssistant.Tests.Dialogs.TestData { /// <summary> /// A class to store test case data for <see cref="DateResolverDialogTests"/> /// </summary> public class DateResolverDialogTestCase ...
/* Copyright (c) 2006 Google Inc.7 * * 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 t...
// <auto-generated/> #pragma warning disable 1591 #pragma warning disable 0414 #pragma warning disable 0649 #pragma warning disable 0169 namespace graphlibvisu.Shared { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft....
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.TWC.Models { public class QueryContractTradestatusRequest : TeaModel { // OAuth模式下的授权token [NameInMap("auth_token")] [Validation(Requir...
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2013-2017 Laszlo Arvai. All rights reserved. // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published // by the Free Software F...
@inject ICkeditorOptionsResolver editorOptionsResolver @{ ViewData["Title"] = "Editor Test"; var ckOptions = await editorOptionsResolver.GetCkeditorOptions(); } <textarea class="form-control" rows="5" id="comment" name="comment" data-ckeditor-unobtrusive="" data-ckeditor-config-url="@c...
using System; using System.Collections.Generic; using System.Linq; using Equinor.ProCoSys.IPO.Domain; using Equinor.ProCoSys.IPO.Domain.AggregateModels.InvitationAggregate; using MediatR; using ServiceResult; namespace Equinor.ProCoSys.IPO.Command.InvitationCommands.CreateInvitation { public class CreateInvitatio...
using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace CaloriesLog.Api { public class AuthContext : IdentityDbContext<IdentityUser> { public AuthContext() : base("AuthContext"...
using BlazorSPA.Client.Models; using BlazorSPA.Shared; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.WebUtilities; using Microsoft.JSInterop; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Json; using System.Threading.Tasks; namespace...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace HTML5Samples.NavigateTo { public partial class WebWorkers : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ...
namespace Max2Babylon { partial class CameraPropertiesForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
// <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...
using DG.Tweening; using System.Collections.Generic; using TMPro; using UnityEngine; public class UIColorGradientText : MonoBehaviour { // NOTE: // Reference : https://www.youtube.com/watch?v=FXMqUdP3XcE // https://www.youtube.com/watch?v=RgPiVOlq6-s #region Serialized Fields [Seriali...
// 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. using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; using Mi...
// 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; using System.Collections.Immutable; using System.Diagnostics; using Roslyn.Utiliti...
// <copyright file="FilterToIntegerConverter.cs" company="Kyubisation"> // Copyright (c) Kyubisation. All rights reserved. // </copyright> namespace FluentRestBuilder.Operators.ClientRequest.FilterConverters { using System.Globalization; public class FilterToIntegerConverter : FilterToTypeConverterBase<int> ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.Visualization.Helpers { using System; /// <summary> /// Represents helper methods for psi indices. /// </summary> public static class IndexHelper { /// <summary> ...
// Copyright 2021 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// <Snippet1> using System; using System.IO; using System.Xml; public class Sample { public static void Main() { XmlDocument doc = new XmlDocument(); doc.LoadXml("<book genre='novel' ISBN='1-861001-57-5'>" + "<title>Pride And Prejudice</title>" + "</book>"); XmlElement...
// <copyright file="UnableToSetCookieException.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses th...
namespace MusicHub.Web.Infrastucture.Configurations { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MusicHub.Common.Settings; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; public stati...
using GoodsStore.Domain.Entities; using System; namespace GoodsStore.Domain.Abstract { public interface IUnitOfWork : IDisposable { IRepository<Good> Goods { get; } IRepository<OrderDetails> OrderDetailsRepo { get; } IRepository<Order> Orders { get; } IRepository<Photo> Photos ...
//----------------------------------------------------------------------- // <copyright file="XunitAssertions.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright>...
/* Copyright (c) Citrix Systems Inc. * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * * Redistributions of source code must retain the above * copyright notice, this li...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
using ESTAPAR.Core.Domain.Entities; using ESTAPAR.Core.Domain.Interfaces.Infrastructures.Repositories.Bases; namespace ESTAPAR.Core.Domain.Interfaces.Infrastructures.Repositories { public interface IManobristaRepository : IRepository<int, Manobrista> { bool ExisteOutroManobristaComOMesmoCPF(int manobr...
using System; using System.Collections.Generic; using UnityEngine; using KSP.Localization; namespace KERBALISM { public sealed class ProcessDevice : Device { public ProcessDevice(ProcessController process_ctrl) { this.process_ctrl = process_ctrl; } public override string Name() { return process_...
#pragma checksum "C:\Users\Toan Vo\source\repos\WebApplication1\WebApplication1\Views\Students\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ed8173b16ce33714eec1bbf8d32afda4214edb59" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttrib...
using System; using Avalonia.Controls; using Onebeld.Extensions; using Regul.Base; namespace Regul.SaveCleaner.Views { public class SettingsViewModel : ViewModelBase { private void CloseWindow() { SettingsWindow foundSettings = WindowsManager.FindModalWindow<SettingsWindow>(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Mvc; using Volo.Abp.AspNetCore.Mvc; using Volo.Abp.Authorization.Permissions; using Volo.Abp.Json; namespace BackendAdminApp.Host.Controllers { pub...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MLFlow.NET.SwaggerHelper.Models { public class Experiment { public int experiment_id { get; set; } public string name { get; set; } public string artifact_location { get; set; } ...
using System; using System.Collections.Generic; using System.Threading; using UnityEngine; namespace Mumble { public class ManageAudioSendBuffer : IDisposable { private readonly MumbleUdpConnection _udpConnection; private readonly AudioEncodingBuffer _encodingBuffer; private readonly L...
using System; using TechTalk.SpecFlow; namespace LeetCode.SpecFlowXUnit.Hooks { [Binding] public class Hooks { } }
using SimulationInsight.MathLibrary; using System; namespace SimulationInsight.RtsaLibrary { public class RtsaDataGenerator { public Signal Signal { get; set; } public float[] Samples { get; set; } public RtsaData RtsaData { get; set; } public UInt64 StreamID { get; set; } ...
namespace Eventi.Contracts.V1.Requests { public class OrganizerUpdateRequest { public string Name { get; set; } public string PhoneNumber { get; set; } public int? CityID { get; set; } } }
using System; using System.Collections.Generic; using Grasshopper.Kernel; using Rhino.Geometry; // In order to load the result of this wizard, you will also need to // add the output bin/ folder of this project to the list of loaded // folder in Grasshopper. // You can use the _GrasshopperDeveloperSettings Rhino com...
using ALE.ETLBox; using ALE.ETLBox.ConnectionManager; using ALE.ETLBox.ControlFlow; using ALE.ETLBox.Helper; using System; using System.Collections.Generic; using System.Text; using Xunit; namespace ALE.ETLBoxTests.Fixtures { public class TwoColumnsTableFixture { public IConnectionManager Connection {...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GeCo.Model { public class AllDataView { public AllDataView() { AllData = new List<OrganismView>(); } public List<OrganismView> AllData { get; set; } ...
using System; using System.Runtime.InteropServices; using System.Security; namespace Digimezzo.WPFControls.Native { [SuppressUnmanagedCodeSecurity] public static partial class NativeMethods { [DllImport("user32.dll")] public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, i...
using System; using System.Collections.Generic; using Microsoft.Maui.Controls; using Microsoft.Maui.Controls.Core.UnitTests; using NUnit.Framework; namespace Microsoft.Maui.Controls.Xaml.UnitTests { public partial class ConstraintExpression : ContentPage { public ConstraintExpression() { InitializeComponent()...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace JSNLog.Exceptions { public class BaseException: Exception { public BaseException(string message): base(string.Format("{0} - {1}", Constants.PackageName, message)) { } } }
namespace FluentValidation.Extensions.Br.Test { public class Person { public string CPF { get; set; } public string CNPJ { get; set; } public string PIS { get; set; } } }
/* * 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...
using AutoMapper; using Discount.Grpc.Entities; using Discount.Grpc.Protos; using Discount.Grpc.Repositories; using Grpc.Core; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Discount.Grpc.Services { public class Discou...
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("Rad...
using System; using System.IO; using System.Runtime.InteropServices; using System.Drawing; using System.Windows.Forms; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using Codeplex.Data; using ExcelDna.Integration; using ExcelDna.Integration.CustomUI; using Application = NetOffice.ExcelApi...
/* * Copyright 2010-2013 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...
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d12umddi.h(4461,9) namespace DirectN { public enum D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020 { D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020_MONO = 0, D3D12DDI_VIDEO_FRAME_STEREO_FORMAT_0020_HORIZONTAL = 1, D3D12DDI_VIDEO_FRAME...
/* ==================================================================== 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 ...
// Copyright 2007-2008 The Apache Software Foundation. // // 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...
using System.Linq.Expressions; namespace NMF.Expressions { /// <summary> /// Base class for incremental expressions /// </summary> /// <remarks>The purpose of this class is only to be able to both shadow and override the inherited Reduce method</remarks> public abstract class NotifyExpressionBase ...
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, 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....
// Copyright 2022 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Qmuiteam.Qmui.Widget.Dialog { // Metadata.xml XPath class reference: path="/api/package[@name='com.qmuiteam.qmui.widget.dialog']/class[@name='QMUIBottomSheetBehavior']" [global::Android.Runtime.Register ("com/qm...
/* * @author Valentin Simonov / http://va.lent.in/ */ using TouchScript.Gestures; using UnityEditor; using UnityEngine; namespace TouchScript.Editor.Gestures { [CustomEditor(typeof(TapGesture), true)] internal sealed class TapGestureEditor : GestureEditor { private static readonly GUIContent TIM...
using System; using System.Globalization; using Examine; using Merchello.Core; using Merchello.Core.Events; using Merchello.Core.Gateways.Payment; using Merchello.Core.Models; using Merchello.Core.Sales; using Merchello.Core.Services; using Merchello.Examine; using Merchello.Web; using Moq; using NUnit.Framework; usin...
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("li...
// Copyright(c) 2017 Vertical Software - All rights reserved // // This code file has been made available under the terms of the // MIT license. Please refer to LICENSE.txt in the root directory // or refer to https://opensource.org/licenses/MIT using System.Collections.Generic; using Vertical.CommandLine.Parsing; usi...
using System; using UnityEngine; using UnityEngine.Events; namespace DaftAppleGames.Buildings { /// <summary> /// Generic trigger component for things like opening doors, chests etc.. /// </summary> public class GenericActionTrigger : MonoBehaviour { [Header("Basic Config")] public ...
// 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 writing, software distributed under the ...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Reflection; namespace TreeGecko.Library.Common.Helpers { /// <summary> /// Summary description for ReflectionHelper. /// </summary> public class ReflectionHelper { private static readonly Hybr...
using ScintillaNET; using System.Drawing; namespace Eto.Forms.Controls.Scintilla.WinForms { public class ScintillaControlHandler : Eto.WinForms.Forms.WindowsControl<System.Windows.Forms.Control, Shared.ScintillaControl, Shared.ScintillaControl.ICallback>, Shared.ScintillaControl.IScintillaControl { ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
// 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; using Microsoft.CodeAnalysis.CSharp.Symbols; using Roslyn.Utilities; na...
using System; using System.Collections.Generic; using System.Text; namespace BlizzardApiReader.WorldOfWarcraft.Models { public class Item { public long Id { get; set; } public long DisenchantingSkillRank { get; set; } public string Description { get; set; } public string Name { get; se...
namespace DarkRoom.Game { public interface IGameplayTaskOwnerInterface { /** Finds tasks component for given GameplayTask, Task.GetGameplayTasksComponent() may not be initialized at this point! */ UGameplayTasksComponent GetGameplayTasksComponent(UGameplayTask Task); /** Get owner of a...
namespace PCRE.Internal { internal static class PcreEnumExtensions { public static uint ToPatternOptions(this PcreOptions options) => (uint)((long)options & 0xFFFFFFFF) | PcreConstants.UTF; public static uint ToPatternOptions(this PcreMatchOptions options) => (uint)((lo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Northwind.Models.Entity; using Raven.Client.Documents; using Raven.Client.Documents.Linq; namespace Northwind.Features.Recursive { public class Recursive { public void ManagerSearc...
using System; using FreeSql; using FreeSqlBuilder.Core; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace XUnitTestFsBuilderCore { public abstract class TestBase { protected IServiceCollection Service = new ServiceCollection(); protected IServic...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using ReactNative.Bridge; using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; #if WINDOWS_UWP using Windows.ApplicationModel.Core; using Windows.UI.Core; using Windows.UI.Xaml.M...
using ApolloInterop.Interfaces; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; namespace EncryptedFileStore { public class EncryptedFileStore : IEncryptedFileStore { protected byte[] CurrentScript = new byte[0]; protec...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Windows; namespace NET.Tools { /// <summary> /// Interaktionslogik für "App.xaml" /// </summary> public partial class App : Application { protected override void...
@using System.Web.Http @using System.Web.Http.Description @using BankWEB.Areas.HelpPage.Models @using BankWEB.Areas.HelpPage.ModelDescriptions @model HelpPageApiModel @{ ApiDescription description = Model.ApiDescription; } <h1>@description.HttpMethod.Method @description.RelativePath</h1> <div> <p>@description....
@*info on Identity Claims: https://docs.microsoft.com/en-us/dotnet/api/system.security.claims.claimsidentity?view=net-5.0 and claims permission endpoint: https://benfoster.io/blog/asp-net-identity-role-claims *@ <h1 class="bg-info text-white pl-1 rounded-left">Create Claim</h1> <a asp-action="Index" class="btn bt...
using System.Net.Http; using System.Threading.Tasks; namespace $safeprojectname$.Services { public class ImageUploadDataService : BaseDataService, IImageUploadDataService { public ImageUploadDataService(IHttpClientFactory httpClientFactory) //, ITokenManager tokenManager) : base(httpClient...
namespace PaketLoadScripts #load "/home/justin/code/fsharp/GiraffeWebApp/GiraffeWebApp/.paket/load/net451/System.Text.Encoding.CodePages.csx" #r "/home/justin/.nuget/packages/system.data.sqlclient/4.5.1/lib/net451/System.Data.SqlClient.dll"
namespace AsyncWork.Abstract { /// <summary> /// Interface that represents a disposable async delegate. /// </summary> /// <seealso cref="System.IDisposable" /> public interface IAsyncDelegate : IDisposable { } /// <summary> /// Define a delegate that is called asynchronously in the backgr...
using System; using System.Collections.Generic; using System.Text; using AskTheCode.ControlFlowGraphs; namespace AskTheCode.PathExploration { public interface IEntryPointRecognizer { IFlowGraphProvider FlowGraphProvider { get; set; } bool IsFinalNode(FlowNode node); } }
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace IO.Swagger.Model { /// <summary> /// /// </summary> [DataContract] public class Audit_ { /// <summary> /// Gets or Sets Namekey /// <...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Axiverse.Mathematics { public struct Viewport { public float X; public float Y; public float Width; public float Height; public float Near; ...
/*---------------------------------------------------------------- Copyright (C) 2017 Senparc 文件名:RequestMessageEventBase.cs 文件功能描述:事件基类 创建标识:Senparc - 20170106 ----------------------------------------------------------------*/ namespace Senparc.Weixin.WxOpen.Entities { /// <summary...
using System.IO; namespace Sharpen { public class InputSource { private readonly StreamReader m_inputStream; public InputSource(InputStream inputStream) { m_inputStream = new InputStreamReader(inputStream); } public InputSource(StreamReader inputStream) ...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kanban.Model { public class TaskItemRepository { public IEnumerable<TaskItem> GetAll() { using (var context = new Kanba...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Concurrent; using System.Linq; using System.Security.Claims; using System.Text; using Xunit; using Microsoft.IdentityModel.Token...
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("We...