text
stringlengths
1
932k
using System; using System.Collections.Generic; using System.Text; namespace Projektarbeit_Client.TCP.Commands { class SendNewActivationCodeCommand { public SendNewActivationCodeCommand() { Command = "<PAC>SendNewActivationCode<PAC>"; } public string Command { get; ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Autofac; using Autofac.Core; using Autofac.Features.Variance; using FluentValidation; using MediatR; using MediatR.Pipeline; namespace CompanyName.MyMeetings.Modules.Payments.Infrastructure.Configuration.Mediation { ...
/* * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ namespace com.opengamma.strata.math.impl.rootfinding.newton { using Test = org.testng.annotations.Test; using DoubleArray = com.opengamma.strata.collect.array.DoubleArray; using...
using System; using Xunit; namespace Store.Tests { public class OrderItemTests { [Fact] public void OrderItem_WithZeroCount_ThrowsArgumentOutOfRangeException() { Assert.Throws<ArgumentOutOfRangeException>(() => { int count = 0; ne...
// *** 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.ComponentModel.DataAnnotations; using Abp.Application.Services.Dto; namespace CCode.Dtos { public class PagedInputDto : IPagedResultRequest { [Range(1, AppLtmConsts.MaxPageSize)] public int MaxResultCount { get; set; } [Range(0, int.MaxValue)] public int SkipCount ...
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; public static class UtilsClass { private static readonly Vector3 Vector3zero = Vector3.zero; private static readonly Vector3 Vector3one = Vector3.one; private static readonly Vector3 Vec...
namespace Automation.FrameworkExtension.stateMachine { public static class RunningStateExtension { public static string GetState(this RunningState state) { switch (state) { case RunningState.WaitReset: return "等待复位"; ca...
using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Diagnostics.HealthChecks; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Effektiv.Web.HealthChecks { public class HomePageHealthCheck : IHealthCheck { private readonly IHttpContextAccessor _httpContextA...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNetCore.Components.Web.Virtualization { internal interface IVirtualizeJsCallbacks { void OnBeforeSpacerVisible(f...
using System; using System.IO; using System.Text.Json; namespace Ngnet.Common.Json.Service { public class JsonService : IJsonService { public T Deserialiaze<T>(string fileName) { try { var jsonFile = File.ReadAllText(Paths.JsonDirectory + fileName); ...
namespace BaristaLabs.BaristaCore.Tests { using BaristaCore.Extensions; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections; using System.Collections.Generic; using Xunit; [Collection("BaristaCore Tests")] public partial class BaristaTypeConversionStr...
using System.Reflection; // // 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("Alsing SyntaxBox")] [assembly : AssemblyDescription("SyntaxHighlight Edi...
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ // ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ // ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ // ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ // -----------...
using System; using System.Collections.Generic; namespace WebChess { public class King : Piece { public readonly string name = "King"; /// <summary> /// King Constructor /// </summary> /// <param name="color"></param> public King(PieceColor color) :...
using Microsoft.Xna.Framework; using SharkE.Chip8.Threading; namespace SharkE.Chip8.MonoGame.Components { internal class ThreadRunnerComponent : GameComponent { private readonly IThreadRunner _threadRunner; public ThreadRunnerComponent(Game game, ThreadRunner threadRunner) : base(...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; using Cloud.Governance.Client.Client; using Cloud.Governance.Client.Model; namespace Cloud.Governance.Client.Api { /// <summary> /// Represents a collection of func...
using AutoMapper; using sftemplate.ArmTemplates; using sftemplate.DeploymentDefinitions; using sftemplate.Infrastructure; using sftemplate.Variables; namespace sftemplate.CommandLine.Commands { public class CreateCommand { private readonly IMapper _mapper; public CreateCommand(IMapper mapper)...
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. n...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Monty.ActiveRecord.Test.Entities { /// <summary> /// Job /// </summary> [ActiveRecord("montyTJob")] public class Job : Base.BaseTest<Job> { #region Properties /// <summary> ...
using System; using System.Globalization; using Monads.Utils.Parsers; namespace Monads.Extensions.Parsers { public static class ParseToDoubleMaybeExtension { public static Maybe<double> ParseToDouble(this string source) { return DoubleParser.Parse(source); } public ...
using UnityEngine; using System.Collections; using System.IO; using System.Text; using SDebug = System.Diagnostics.Debug; public enum RemoteMessage: byte { Invalid = 0, Hello = 1, Options = 2, GyroSettings = 3, DeviceOrientation = 4, TouchInput = 10, AccelerometerInput = 11, TrackBallInput = 12, Key = 13,...
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.IO.IsolatedStorage; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading; using accel; using dbg; using er; using er....
using System; using Dispenser; namespace PullingHook { public interface IPullingSink<T, TKeyProperty> { string Name { get; } string Description { get; } Action<string, string, Dispenser<T, TKeyProperty>.Results> Notify { get; } Action<string, string, T> OnAdded { get; set; } ...
/******************************************************************************* * Copyright 2009-2015 Amazon Services. 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 Licens...
singleton TSShapeConstructor(Fog_Sphere_LoDAE) { baseShape = "./Fog_Sphere_Lo.DAE"; lodType = "TrailingNumber"; neverImport = "env*"; loadLights = "0"; };
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; using Microsoft.Framework.Runtime.Loader; namespace dnx.host { public class DefaultLoadContext : LoadCont...
#region PDFsharp - A .NET library for processing PDF // // Authors: // Klaus Potzesny // // Copyright (c) 2005-2017 empira Software GmbH, Cologne Area (Germany) // // http://www.pdfsharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to any person obtaining a // co...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using API.DTO; using API.Entities; using API.Extensions; using API.Helpers; using API.Interfaces; using AutoMapper; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using M...
using System; using System.Collections.Generic; using System.Text; using SQLite; namespace Gears.DataBases { class VersionManager { public string Version { get; set; } = "x.x.x"; } }
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Identity; using Bakery.Models; using System.Threading.Tasks; using Bakery.ViewModels; namespace Bakery.Controllers { public class AccountController : Controller { private readonly BakeryContext _db; private readonly UserManager<ApplicationUser> _us...
// PositionFunction.cs // Script#/Libraries/jQuery/Core // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; namespace jQueryApi { /// <summary> /// A callback that returns a value for the element at the specified i...
/* * Prime Developer Trial * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Col...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IManageDeployments.cs" company="Naos Project"> // Copyright (c) Naos Project 2019. All rights reserved. // </copyright> // -----------------------------------------------------...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </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 1.0.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
 namespace Hqub.MusicBrainz.Client { using Hqub.MusicBrainz.API; using Hqub.MusicBrainz.API.Entities; using System; using System.Linq; using System.Threading.Tasks; /// <summary> /// Setup an advanced search query to find a release using 'ReleaseGroup.SearchAsync' and get /// details i...
#region license // Copyright (c) HatTrick Labs, LLC. 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 // // Unless re...
using System; using System.Collections.Generic; using Microsoft.AspNet.Authorization; using Microsoft.AspNet.Mvc; using Newtonsoft.Json; using Elders.Pandora.Server.UI.ViewModels; namespace Elders.Pandora.Server.UI.Controllers { [Authorize] public class MachinesController : Controller { public Act...
@{ ViewData["Title"] = "Files"; } <div> <div> <img src="@Url.Content("~/images/logo.png")" class="download-image" /> <input class="block-button" type="button" value="Download Android Application" onclick="location.href='@Url.Action("DownloadAndroidApplication", "Files")'" /> </div> <di...
using Sharpen; namespace javax.xml.xpath { [Sharpen.NakedStub] public interface XPathExpression { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shot : MonoBehaviour { private Vector3 m_velocity; // 速度 // 毎フレーム呼び出される関数 private void Update() { // 移動する transform.localPosition += m_velocity; } // 弾を発射する時に初期化するための関数 public void I...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.EntityFrameworkCore.Design; using Microsoft.EntityFrameworkCore.Scaffolding; using Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Int...
using System; using System.Threading.Tasks; using AutoMapper; using Microsoft.EntityFrameworkCore; using Tenon.Backend.Api.Repositories.Contracts; using Tenon.Backend.Api.Repositories.Implementation.DataAccessObjects; using Tenon.Backend.Api.Services.Entities; namespace Tenon.Backend.Api.Repositories.Implementation {...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
// Licensed under the MIT license. // See the LICENSE file in the project root for more information. using BenchmarkDotNet.Attributes; using System.Runtime.InteropServices; namespace PerfTest { /// <summary> /// Passing `BOOL` as `bool` has overhead. Passing as an int or an /// enum is measurably faster,...
using System.Drawing; using Aspose.Slides.Export; using Aspose.Slides; /* This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Slides for .NET API reference when the project is build. Please check https://docs.nuget.org/consume/nuget-faq for more information. If you do not wish to use NuGe...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Runtime.CompilerServices; using CheckSwing.Services; using Xamarin.Forms; namespace CheckSwing.ViewModels { public class BaseDetailViewModel<T, U> : INotifyPropertyChanged { ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using Iviz.App; using Iviz.Msgs.IvizCommonMsgs; using Iviz.Core; using Iviz.Msgs; using Iviz.Msgs.GeometryMsgs; using Iviz.Msgs.IvizMsgs; using Iviz.Msgs.StdMsgs; using Iviz.MarkerDetection; using Iviz.Resources; usi...
// ------------------------------------- // Domain : Avariceonline.com // Author : Nicholas Ventimiglia // Product : Unity3d Foundation // Published : 2015 // ------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; u...
namespace Survey.NET.Domain.Question { public enum AnswerType { PlainText, Boolean } }
using System; using System.Collections.Generic; using System.Linq; public class CoffeeMachine { public CoffeeMachine() { this.Coins = new List<Coin>(); this.CoffeesSold = new List<CoffeeType>(); } public IList<Coin> Coins { get; } public IList<CoffeeType> CoffeesSold { get; } ...
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("Fl...
/* * 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 ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Runtime.CompilerServices; using GadzhiCommon.Extensions.Functional; namespace GadzhiCommon.Infrastructure.Implementations.Reflection { /// <summary> ...
/* * 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 ...
namespace Clase7.Configuration.Ui { public class UiThemeInfo { public string Name { get; } public string CssClass { get; } public UiThemeInfo(string name, string cssClass) { Name = name; CssClass = cssClass; } } }
using System; using System.Globalization; namespace GM.Utility.TypeConversion { /// <summary> /// TODO: Update summary. /// </summary> public class DateTimeConverter : BaseTypeConverter { public override bool CanConvertFrom(Type sourceType) { return sourceType == typeof...
using System; using Vs.Core.Diagnostics; namespace Vs.Rules.OpenApi.v1.Features.discipl.Dto.Exceptions { public class FormattingException { public DebugInfo DebugInfo { get; set; } public string Message { get; set; } public FormattingException() { } ...
// 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, modify, merge, publish, // distribute, sublicense, and/or sell...
using System; using System.ComponentModel.DataAnnotations.Schema; namespace Trape.Datalayer.Models { /// <summary> /// Has information when slope10m and slope30m last crossed /// </summary> [Table("latest_ma10m_and_ma30m_crossing", Schema = "stubs")] public class LatestMA10mAndMA30mCrossing { ...
using System; using System.Collections; using System.Collections.Generic; using PixelCrushers.DialogueSystem; using UnityEngine; public class SpecialEventController : MonoBehaviour { public void Awake() { SpecialEventController.instance = this; } public IEnumerator StartRandomDialog() { SpecialEventControll...
/* * 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.Windows; using System.Windows.Controls; namespace Celestial.UIToolkit.Controls { /// <summary> /// A <see cref="ContentControl"/> which depicts a card. /// In addition to the the <see cref="ContentControl.Content"/>, /// the <see cref="Card"/> provides a set of additional con...
namespace SimpleAuth.Common.Entities { public class UserPermission : BaseModel { public long UserId { get; set; } public long PermissionId { get; set; } } }
// <Snippet3> using System; public struct Point { private int x; private int y; public Point(int x, int y) { this.x = x; this.y = y; } public override bool Equals(Object obj) { if (!(obj is Point)) return false; Point p = (Point) obj; return ...
using JetBrains.Annotations; namespace Plus.DependencyInjection { public interface IObjectAccessor<out T> { [CanBeNull] T Value { get; } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class MovingObject : MonoBehaviour { public float moveTime = 0.1f; public LayerMask blockingLayer; private BoxCollider2D boxCollider; private Rigidbody2D rb2D; private float inverseMoveTime; //...
namespace mCTerminal { partial class harita { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
using System; using System.Collections.Generic; using System.Text; using UnityEngine; using UnityEditor; using RealtimeCSG; namespace InternalRealtimeCSG { internal static class TransformOperations { public static void Rotate(this TransformSelection selection, Vector3 rotationCenter, Vector3 rotationA...
// Copyright © KaKush LLC // Written By Steven Zawaski // Licensed to you under the MIT license using System; using System.Security.Cryptography; namespace Zerra.Identity.Cryptography { public static class Algorithms { public const string Sha1Url = "http://www.w3.org/2000/09/xmldsig#sha1"; pu...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Merchello.Core.Events; using Merchello.Core.Models; using Merchello.Core.Persistence; using Merchello.Core.Persistence.Querying; using Merchello.Core.Persistence.UnitOfWork; using Umbraco.Core; using Umbraco.Core.Events; ...
using System; using System.Windows; namespace Restless.Tools.Controls { /// <summary> /// Drag source implementation with strongly typed payload /// </summary> /// <typeparam name="T"></typeparam> public class DragSource<T> : IDragSource { private readonly Func<T, DragDropEffects> getS...
// 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 RavenNest.Models; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; public class DungeonController : MonoBehaviour { [SerializeField] private GameObject dungeonContainer; [SerializeField] private DungeonManager dungeonManag...
using System; using System.Collections.Generic; using GamesToGo.Common.Game; using GamesToGo.Editor.Database.Models; using Newtonsoft.Json; namespace GamesToGo.Editor.Project { public class ProjectInfo { public int LocalProjectID { get; set; } public int CreatorID { get; set; } publi...
using System; using Adaptive.ReactiveTrader.Contract; using Adaptive.ReactiveTrader.Contract.Events.Trade; using Adaptive.ReactiveTrader.EventStore.Domain; namespace Adaptive.ReactiveTrader.Server.TradeExecution.Domain { public class Trade : AggregateBase { public Trade() { } p...
using System; using System.Data.Common; using System.IO; using System.Text; namespace DbfDataReader { public class DbfColumn : DbColumn { private readonly Encoding _encoding; public DbfColumn(BinaryReader binaryReader, int ordinal, Encoding encoding) { ColumnOrdinal = ordin...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class App_Page_MasterPage : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { } }
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本: 4.0.30319.42000 // // 对此文件的更改可能导致不正确的行为,如果 // 重新生成代码,则所做更改将丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace DEX...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MLlearning._Common.Validation { public class NotEmptyValueRequiredAttribute : ValidationAttribute { protected override ValidationRe...
namespace LNLOrder.Application.Orders.Queries { public class OrderPreviewDto { public int OrderId { get; set; } public string CustomerName { get; set; } public string CustomerAddress { get; set; } public string ProductName { get; set; } public int Quantity { get; set; } ...
using MbUnit.Framework; using Moq; using Subtext.Framework.Components; using Subtext.Framework.Data; using Subtext.Framework.Services; namespace UnitTests.Subtext.Framework.Components.CommentTests { [TestFixture] public class CommentSettingsTests { [Test] public void ApproveThrowsArgumentNu...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Avalara.AvaTax.RestClient { /// <summary> /// Set Password Model /// </summary> public class SetPasswordModel { /// <summary> /// New Password /// </summary> public String newPassword { ...
using UnityEditor.Recorder; using UnityEngine; using UnityEngine.Profiling; namespace UnityEditor.Recorder.Input { class GameViewInput : BaseRenderTextureInput { bool m_ModifiedResolution; TextureFlipper m_VFlipper; RenderTexture m_CaptureTexture; GameViewInputSettings scSetti...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CalculadoraIMC { public class Imc { private float peso; private float altura; public float Altura { get => altura; set => altur...
namespace MvcMovie.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
#region Copyright & License /* Copyright (c) 2022, Integrated Solutions, 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, t...
using Tortuga.Chain.CommandBuilders; namespace Tortuga.Chain.DataSources { /// <summary> /// Used to mark data sources that support the DeleteByKey command. /// </summary> public interface ISupportsDeleteByKey { /// <summary> /// Delete by key. /// </summary> /// <typeparam name="TKey">The type of the t...
using Abp.Domain.Uow; using Abp.EntityFrameworkCore; using Abp.MultiTenancy; using Abp.Zero.EntityFrameworkCore; namespace WebShop.EntityFrameworkCore { public class AbpZeroDbMigrator : AbpZeroDbMigrator<WebShopDbContext> { public AbpZeroDbMigrator( IUnitOfWorkManager unitOfWorkManager, ...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.R...
using System.Collections.Generic; using System.Net; namespace WebTty.Hosting.Models { public class Settings { public static Settings Defaults = new Settings { Address = IPAddress.Loopback, Port = 5000, Path = "/pty", Theme = "default", ...
using log4net; using Product.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Caching; using System.Web.Mvc; using System.Web.Security; namespace Product.Controllers { public class LoginController : Controller { ILog logs = LogManager.GetLog...
using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Web.Razor.Parser; using System.Web.Razor.Parser.SyntaxTree; using System.Web.Razor.Text; using System.Web.Razor.Tokenizer.Symbols; namespace System.Web.Razor.Tokenizer { public class VBTokenizer : Tokenizer<VBSymb...
using System; using System.IO; using System.Threading.Tasks; namespace AsyncFixer.Samples { internal class UnnecessaryAsync { public static async void foo1() { await Task.Delay(2000).ConfigureAwait(false); } public static async Task foo2() { var...
namespace Promitor.Core.Scraping.Configuration.Serialization.v1.Model { /// <summary> /// Represents an Azure resource that can be scraped. /// </summary> public class AzureResourceDefinitionV1 { public string ResourceGroupName { get; set; } } }
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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 la...
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("Sal...
using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace Convience.Filestorage.Abstraction { public interface IFileStore { Task<IFileStoreEntry> GetFileInfoAsync(string path); Task<IFileStoreEntry> GetDirectoryInfoAsync(string path); ...