text
stringlengths
1
932k
// 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 ...
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Reflection; using System.Collections.Generic; using NetOffice; namespace NetOffice.ExcelApi { ///<summary> /// IRectangle ///</summary> public class ...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Xml; using System.Xml.Linq; using System.Xml.XPath; using System.Configuration; using System.Data.SqlClient; using System.Data; using HandlebarsDotNet; using Newtonsoft.Json; using EzDbCodeGen.Core.Enums; using EzDbSchema....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ECharts.Entities.style { public class LineLabelStyle { public bool? show { get; set; } public LabelPositionType? position { get; set; } public object formatte...
// 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.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel; using System.Di...
using MsSystem.Web.Areas.Sys.ViewModel; using System.Collections.Generic; using System.Linq; using System.Text; namespace MsSystem.Web.Areas.Sys.Infrastructure { public static class HtmlExtensions { /// <summary> /// 菜单树 /// </summary> /// <param name="list"></param> //...
// 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; using System.Collections.Generic; using System.Collections.Immutable; using System.ComponentModel.Composition; using System.Threading; using Sy...
using FreeSql.Internal; using FreeSql.Internal.CommonProvider; using FreeSql.SqlServer.Curd; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; namespace FreeSql.SqlServer { class SqlServerProv...
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; namespace VSTOContrib.Core.Extensions { /// <summary> /// Extension methods which help a deterministic cleanup model /// </summary> public static class ComCleanupExtensions { ///...
using System; /** * The while loop represents the game. * Each iteration represents a turn of the game * where you are given inputs (the heights of the mountains) * and where you have to print an output (the index of the mountain to fire on) * The inputs you are given are automatically updated according to your...
using System; using System.Collections.Generic; using System.Reflection; using System.Threading; using Autofac; using Xunit.Abstractions; using Xunit.Sdk; namespace EasyNow.xUnit.Autofac.TestFramework { internal class AutofacTheoryTestCaseRunner : XunitTheoryTestCaseRunner { private readonly ILifetimeS...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; using Azure.Messaging.EventHubs.Producer; using Azure.Messaging.EventHubs.Samples.Infrastructure; namespace Azure.Messaging.EventHubs.Samples { /// <summary> /// An in...
namespace BackgammonCP.Data; public readonly partial record struct EnumColorChoice { private enum EnumInfo { None, Blue, Red } }
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("Ba...
using System; using System.Diagnostics; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using InfiniteScroll.Models; using Microsoft.Extensions.Configuration; using Microsoft.Azure.Search; using Microsoft.Azure.Search.Models; using System.Collections.Generic; namespace InfiniteScroll.Controllers { p...
using System; using System.Diagnostics; using Microsoft.Xna.Framework; using ProjectMagma.Simulation.Collision; using ProjectMagma.Framework; using ProjectMagma.Framework.Attributes; using Microsoft.Xna.Framework.Audio; namespace ProjectMagma.Simulation { public abstract class PowerUpControllerBase : Property ...
using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using OA.Domain.Auth; using OA.Persistence.Seeds; namespace OA.Persistence { public class IdentityContext : IdentityDbContext<ApplicationUser> { public IdentityContext(DbC...
using UnityEngine; using System.Collections; using System; using Sdk.Core.Listeners; namespace Sdk.Core.Models.Realtime.Webhook { public class WebhookErrorMessage : BacktoryMatchMessage { // TODO: add appropriate class instead of this // public HttpStatus HttpStatus { get; set; } public String Message { get; se...
using System; using System.Collections.Generic; using System.Linq; public interface INameGenerator { public string GenerateName(); } public abstract class ANameGenerator : INameGenerator { protected readonly Func<CharacterType, (char, char)> charMapping; protected readonly List<CharacterType> namePattern...
namespace Shapes { public interface IDrawable { void Draw(); } }
/* This file is part of the iText (R) project. Copyright (c) 1998-2020 iText Group NV Authors: iText Software. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation with the addition of the...
using UnityEngine; using System.Collections; using UnityEngine.UI; [RequireComponent(typeof(Text))] public class UIText : MonoBehaviour { private Text m_textComponent = null; private string m_text = ""; public void Start() { onInitialize(); } public void OnEnable() { onEnable(); } public void On...
using System.Collections.Generic; namespace Dovetail.SDK.History { public interface IEmailParser { IDictionary<string, object> Parse(string input); } }
/* * 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 System.Threading.Tasks; using AdventOfCode._2015.Puzzles.Solutions; using AdventOfCode.Core.Test; using Xunit; namespace AdventOfCode._2015.Puzzles.Test.Solutions { public sealed class Day01Test : TestBase<Day01> { [Fact] public async Task Part1() { Assert.Equal("0", ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; using Xunit; namespace System.Tests { public class TimeOnlyTests { [Fact] public static void Mi...
// *** 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 EventStore.Client { public class ClusterMessages { public class ClusterInfo { public MemberInfo[] Members { get; set; } } public class MemberInfo { public Guid InstanceId { get; set; } public VNodeState State { get; set; } public bool IsAlive { get; set; } public string...
// Copyright 2017 the original author or 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
//<snippet1> using System; using System.Runtime.CompilerServices; [CompilerGlobalScopeAttribute()] class Program { static void Main(string[] args) { Console.WriteLine("The attribute was applied."); } } //</snippet1>
using System; using System.IO; using System.Xml; using System.Text; namespace Stealer { internal sealed class Pidgin { private static StringBuilder SBTwo = new StringBuilder(); private static readonly string PidginPath = Path.Combine(Paths.appdata, ".purple"); private static void GetL...
using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Raven.Client.Exceptions.Database; using Raven.Client.Extensions; using Raven.Client.ServerWide; using Raven.Client.Util; using Raven.Server.Con...
using System.Drawing; using System.ComponentModel; namespace Svg { public struct SvgPoint { private SvgUnit x; private SvgUnit y; public SvgUnit X { get { return x; } set { x = value; } } public SvgUnit Y { get { retu...
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Mvc; using UXR.Studies.Models; namespace UXR.Studies.ViewModels.Recordings { public class SessionAssigningVi...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI; using Windows.UI.Xaml; using Win...
using System; using System.Collections.Generic; using Newtonsoft.Json; using Kanyon.Kubernetes; namespace Kanyon.Kubernetes.Flowcontrol.V1alpha1 { public partial class LimitedPriorityLevelConfiguration { /** <summary>`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on t...
public class CivilShip : LivingEntity { public override Weapon Weapon => null; protected override void ResetAbilities() { CanMove = true; CanAttack = false; CanBoard = false; CanBeBoarded = true; } protected class CivilShipSerializationNames : LivingEntitySerializa...
using System; using Alipay.AopSdk.Domain; using System.Collections.Generic; using Alipay.AopSdk.Response; namespace Alipay.AopSdk.Request { /// <summary> /// AOP API: alipay.open.public.personalized.extension.set /// </summary> public class AlipayOpenPublicPersonalizedExtensionSetRequest : IAopRequest<...
using System; using System.Collections.Generic; using System.Text; using System.Linq; namespace AdventOfCode.Solutions.Year2019 { class Day25 : ASolution { public Day25() : base(25, 2019, "") { } protected override string SolvePartOne() { return null; ...
namespace _06.CompanyRoster { public class Employee { public string name; public decimal salary; public string position; public string department; public string email; public int age; public Employee(string name, decimal salary, string position, string d...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using AcManager.Controls.Presentation; using AcTools.Utils; ...
@model ComputerStoreWeb.App.Models.StoreModel @{ ViewData["Title"] = "Details"; } <h1>Details</h1> <div> <h4>Store</h4> <hr /> <dl class="row"> <dt class = "col-sm-2"> @Html.DisplayName("ID") </dt> <dd class = "col-sm-10"> @Html.DisplayFor(model => mod...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SuperSocket.SocketBase; using SuperWebSocket; namespace SuperSocket.Management.Server { public class ManagementSession : WebSocketSession<ManagementSession> { public new ManagementServer AppServer { ...
using System; using Fluent.ConstructorAssertions.Runners; using Fluent.ConstructorAssertions.TestCases; namespace Fluent.ConstructorAssertions.Contexts { /// <summary> /// The context that handles creation of test cases based on the provided constructor arguments and the expected /// test results. ///...
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("Uni...
using Sanford.Multimedia; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Improvisation.Library.Music { public class PianoNoteRetriever : BaseNoteRetriever { public override int MinIndex { get { r...
@model IEnumerable<Application.Web.Areas.Administration.Models.ViewModels.ArticleViewModel> @{ ViewBag.Title = "Новини"; } <div class="container" id="event-container" style="margin-top:-20px;"> <h3>@ViewBag.Title</h3> @Html.ActionLink("Добави статия", "Create", "Articles", null, new { @class = "btn btn-wa...
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("Co...
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage; namespace Stove.EntityFrameworkCore.Extensions { internal static class DbContextExtensions { public static bool HasRelationalTransactionManager(this DbContext dbContext)...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Rulesets.Taiko.Objects { public class Swell : TaikoHitObject, IHasEndTime { public double End...
using System.Linq; using UnityEngine; using Managers; public class CameraController : MonoBehaviour { public float smooth = 0.5f; public float offset; private Vector3 velocity; private Transform GetLowestBall { get => (from t in BallManager.Instance.ballList orderby t.pos...
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace UiPath.Web.Client201910.Models { using Newtonsoft.Json; using System.Linq; public partial class ToggleOuPar...
namespace Enjaxel.Constant { interface ISQLConstant { /// <summary> /// SQLサーバのホスト接続先を示す文字列 /// </summary> /// <remarks> IPアドレス or ホスト名 </remarks> string SQLHost { get; set; } /// <summary> /// SQLサーバのPort番号 /// </summary> int SQLPort { g...
#region MigraDoc - Creating Documents on the Fly // // Authors: // Klaus Potzesny (mailto:Klaus.Potzesny@pdfsharp.com) // // Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany) // // http://www.pdfsharp.com // http://www.migradoc.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby g...
using System; using System.ComponentModel.DataAnnotations.Schema; namespace MAVN.Service.Campaign.MsSqlRepositories.Entities { [Table("configuration")] public class Configuration : BaseEntity { public DateTime LastProcessedDate { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Aspekt.Foundation.Test { /// <summary> /// This class is specifically used to test the class level aspect /// </summary> /// [ClassLevelAspect] internal class ClassUnder...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - WebAppWithMVCAndServices</title> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" /> <link rel="stylesheet" h...
// Copyright (c) 2022 TrakHound Inc., All Rights Reserved. // This file is subject to the terms and conditions defined in // file 'LICENSE', which is part of this source code package. using System.Collections.Generic; using System.Linq; using System.Xml; using System.Xml.Serialization; namespace MTConnect.Assets.Xml...
using Otel_Rezervasyon_Sistemi.EF; using System; using System.Collections.Generic; using System.Data.Entity.Migrations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Otel_Rezervasyon_Sistemi.DAL { public class MusteriManager { OtelContext otelContext = new OtelContext()...
using System; using SAModel.Direct3D; using Point = System.Drawing.Point; using System.Runtime.InteropServices; using SAModel.SAEditorCommon.DataTypes; namespace SAModel.SALVL { public partial class MainForm { SAModel.SAEditorCommon.HiResTimer AnimationTimer; bool NeedUpdateAnimation; void HandleWaitLoop(obj...
// *** 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 Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace Orion.Messenger.Services { public class Program { public static void Main(string[] args) => CreateHostBuilder(args).Build().Run(); private static IHostBuilder CreateHostBuilder(string[] args) => ...
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("GenericAutoUpdater")] [assembly: AssemblyD...
using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using Unity.Collections.LowLevel.Unsafe; namespace UDlib.Core.Internal { [StructLayout (LayoutKind.Sequential)] internal struct _NativeArray<T> : IDisposable, IEnumerable<T> where T : unmanaged { priv...
using AutoMapper; using FizzWare.NBuilder; using Moq; using NUnit.Framework; using ReMi.BusinessEntities.DeploymentTool; using ReMi.BusinessEntities.Products; using ReMi.BusinessEntities.ReleaseCalendar; using ReMi.TestUtils.UnitTests; using ReMi.Contracts.Plugins.Services.DeploymentTool; using ReMi.DataAccess.Business...
// 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. /*============================================================================= ** ** ** ** Purpose: Exception class...
using System; namespace NavigationTest.ViewModels { class TollFeeUserControlViewModel : BindableBase { public TollFeeUserControlViewModel() : base() { } internal bool HasValidData() { return true; } internal void ClearData() { ...
using System.IO; using System.Linq; namespace CoreADT.ADT.MH2OData { public class MH2OAttribute { public static uint Size => sizeof(byte) * 16; public byte[] Fishable { get; set; } = new byte[8]; public byte[] Deep { get; set; } = new byte[8]; /// <summary> /// MH2OAt...
// 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 Float = System.Single; using System; using System.Collections.Generic; using System.IO; using System.Threadin...
/* * Copyright 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 "license" fi...
using Cake.Common.Tests.Fixtures.Tools; using Cake.Common.Tools.GitVersion; using Cake.Core; using Cake.Testing; using Xunit; namespace Cake.Common.Tests.Unit.Tools.GitVersion { public sealed class GitVersionRunnerTests { public sealed class TheExecutable { [Fact] publi...
@model IEnumerable<EFCoreToDo.Models.Courss> @{ ViewBag.Title = "ExportPDF"; } <h2>ExportPDF</h2> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.Title) </th> <th> @Html.DisplayNameFor(model => model.Description) </th> <th>...
/* Copyright (c) 2012 Rick (rick 'at' gibbed 'dot' us) * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose,...
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using HeadRaceTimingSite.Models; namespace HeadRaceTimingSite.Migrations { [DbContext(typeof(TimingSiteContext))] ...
using System; using System.Diagnostics.Contracts; using System.Text; namespace SCM.SwissArmyKnife.Extensions { /// <summary> /// Collection of string-related extension methods. /// </summary> public static class StringExtensions { /// <summary> /// Repeat a string n times. Based on...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace YouTubeSubscriber.Models { public class ChannelAccount { public string ChannelId { get; set; } public virtual Channel Channel { get; set; } public string Accou...
#region Using using SharpDX; using System.Collections.Generic; using System.Text; using System; using SharpDX.Direct3D9; using VRageRender.Graphics; using VRageRender.Profiler; #endregion namespace VRageRender { using Vector2 = VRageMath.Vector2; using Vector3 = VRageMath.Vector3; using Vector4 = VRage...
using UnityEditor; namespace UnityEssentials.Geometry.Editor { public static class ExtCylinderProperty { public const string PROPERTY_MOVABLE_CYLINDER = "_movableCylinder"; public const string PROPERTY_EXT_CYLINDER = "_cylinder"; public const string PROPERTY_MATRIX = "_cylinderMatrix"...
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Machine.Specifications; namespace Dolittle.Security.Specs.for_RoleRule { [Subject(typeof(RoleRule))] public class when_getting_the_rule_description : giv...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NSmartProxy { public class StringUtil { /// <summary> /// 整型转双字节 /// </summary> /// <param name="number"></param> /// <returns></returns> public static byte[] IntTo2B...
// *** 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 HuduMovie.Areas.HelpPage @model InvalidSample @if (HttpContext.Current.IsDebuggingEnabled) { <div class="warning-message-container"> <p>@Model.ErrorMessage</p> </div> } else { <p>Sample not available.</p> }
using System; using System.Runtime.InteropServices; #if IOS using Foundation; using CoreGraphics; using ObjCRuntime; using CoreAnimation; #elif XAMMAC2 using AppKit; using Foundation; using CoreGraphics; using ObjCRuntime; using CoreAnimation; #elif OSX using MonoMac.AppKit; using MonoMac.Foundation; using MonoMac.Co...
using AcademiaEF6.Dominio; using System.Data.Entity; namespace AcademiaEF6.Repository { class RepositorioModalidade { public int AddOrUpdate(Modalidade modalidade, bool addOrUpdate) { using (var db = new AcademiaContext()) { if (db.Entry(modalidade).Stat...
using FluentValidation.AspNetCore; using MediatR; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.De...
using Lucene.Net.Analysis.Util; using System.Collections.Generic; namespace Lucene.Net.Analysis.En { /* * 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 owne...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; namespace ScottPlot.Cookbook.Recipes.Plottable { public class SignalQuickstart : IRecipe { public string Category => "Plottable: Signal Plot"; public string ID => "signal_quickstart"; ...
// 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.Windows; using System.Windows.Input; using Microsoft.Templates.Core.Gen; using Microsoft.Templates.UI....
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; namespace Provisum.Mvvm { /// <summary> /// Represents a base <see cref="IModel" /> implementation. Provides common functionality represented by <see cref="IDataErrorInfo" />. /// </summary> public abstract class Model...
using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Flurl; using Flurl.Http; namespace SKIT.FlurlHttpClient.Wechat.Work { public static class WechatWorkClientExecuteCgibinReportExtensions { #region Grid /// <summary> /// <para>异步调用 [POST] /c...
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using ReportManagement.Model.User; using System.Net.Http; using System.Web.Http; namespace ReportManagement.Controllers { public class BaseApiController : ApiController { private ModelFactory _modelFactory; private Applicat...
namespace Exemplum.EndToEndTests.Steps; using Pages; [Binding] public class LoginSteps { public LoginPage LoginPage { get; } public LoginSteps(LoginPage loginPage) { LoginPage = loginPage; } [Given(@"a logged out user")] public async Task GivenALoggedOutUser() { await Log...
using Impulse.Models; namespace Impulse.Chat { internal class ChannelGrainState { public Queue<ChatMessage> Messages { get; } = new(); public HashSet<string> Members { get; } = new(StringComparer.OrdinalIgnoreCase); } }
/* dotNetRDF is free and open source software licensed under the MIT License ----------------------------------------------------------------------------- Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this ...
using System.Web.Http; using Autofac; using Microsoft.Bot.Builder.Dialogs; using System.IO; using System.Diagnostics; using System; namespace MiddlewareBot { public class WebApiApplication : System.Web.HttpApplication { static TextWriter tw = null; protected void Application_Start() {...
// 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.Collections.Generic; namespace System.Text.Json.Serialization.Converters { internal sealed class ...
using System.Collections; using System.Collections.Generic; using UnityEngine; /** Boss design: * Moveset: * - Thow and hit a white ball, ranged attack, can be deflected back to Batter * - Thow and hit a big red ball, ranged explosive attack, 2 dmg * - Normal attack, if player out range then he has a dash * - Cha...
using System.Collections.Generic; using Xunit; using ZKCloud.Helpers; using ZKCloud.Maps; using ZKCloud.Test.Samples; namespace ZKCloud.Test.Maps { /// <summary> /// 对象映射测试 /// </summary> public class MapTest { /// <summary> /// 测试映射 /// </summary> [Fact] public...
namespace ForgeSampleA360Sync.Utils { class Config { public const string FAKE_CALLBACK_URL = "http://localhost:58966/fakecallback"; public const string AUTHORIZE_URL = "http://localhost:58966/autodesksignin.aspx"; } }
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.1433 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...