text
stringlengths
1
932k
using System; namespace Compliance360.IncidentsImportStarter.API { public class DivisionResponse { public EntityId Id { get; set; } } }
using System; using System.Collections.Generic; using System.Text; namespace Citizen.Models.Personal { public class Profile { } }
/* * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. * See LICENSE in the project root for license information. */ using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Linq.Expressions; using System.Reflection; using ...
using System; using System.Runtime.CompilerServices; using Cosmos.Logging.Core.Callers; using Cosmos.Logging.Events; namespace Cosmos.Logging { /// <summary> /// Logger base /// </summary> public abstract partial class LoggerBase { /// <inheritdoc /> public virtual void LogInformation(s...
using System.Reflection; using IkeMtz.NRSRx.Core.Web; using IkeMtz.NRSRx.Core.WebApi; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace IkeMtz.NRSRx.Logging.Elasticsearch.Tests { public class StartUp_Elastic : CoreWebApiStartup {...
namespace Email_Sorter_Tool.License { partial class FrmLicense { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
using UnityEngine; using System.Collections; using UnityEngine.UI; using UnityEngine.EventSystems; public class GameItems : MonoBehaviour { private string costume; private int costumeQuantity; private string weapon; private int weaponQuantity; public void setCostumeClicked(string value, int quant...
 namespace Plugin.ValidationRules.Interfaces { public interface IMapperValidator<out Model> where Model : class { Model Map(); } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Services.Runtime; using System.Fabric; namespace RestoreService { internal static class Progr...
using System; using Microsoft.Extensions.Localization; using Moq; using Xunit; namespace RSK.Audit.Tests { public class AuditProviderFactoryWithLocalizationTests { private Mock<IStringLocalizer> stringLocalizer; private Mock<AuditProviderFactory> auditProviderFactory; public AuditProv...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShowOnStart : MonoBehaviour { // Link to the gameobject in your scene public GameObject activateThisOne; // Start is called before the first frame update // Put any code in here that you want to run Just Once ...
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace ConsultaCEP.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) t...
using System.IO; using System.Text; namespace SscCommon.CommonUti { ///<summary> ///</summary> public static class FileUtil { #region 检测指定目录是否存在 /// <summary> /// 检测指定目录是否存在 /// </summary> /// <param name="directoryPath">目录的绝对路径</param> ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace CurriculumPlanning.Shared.Models { public class Teacher { public Teacher() { Courses = new List<CourseTeacher>(); } publ...
using System; using System.Text; using System.Data.SqlClient; using System.Collections.Generic; using System.Data; using DTcms.DBUtility; using DTcms.Common; namespace DTcms.DAL { //ReceivedMoney public partial class ReceivedMoney { public ReceivedMoney() { } #region BasicMethod ...
using System; using System.Collections.Generic; using System.Linq; using JetBrains.ReSharper.TaskRunnerFramework; using Machine.Specifications.ReSharperRunner.Tasks; using Machine.Specifications.Runner; namespace Machine.Specifications.ReSharperRunner.Runners.Notifications { class ContextSpecificationRemoteTaskNo...
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Xamarin.Forms; using Xamarin.Forms.Core.UnitTests; namespace Xamarin.Forms.Xaml.UnitTests { public partial class Bz45891 : ContentPage { public Bz45891() { InitializeComponent(); } public Bz45891(bool useComp...
using Qualm.Queuing; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Qualm.Tests.Queuing { public class InMemoryQueueClient : IQueueClient { private readonly Queue<QueueMessage> _queue; public InMemoryQueueClie...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Lamar.Microsoft.DependencyInjection; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Ex...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. using Microsoft.VisualStudio.Shell; namespace MarkdownMode.ToolWindow { public class MarkdownModeOptions : DialogPage { public delegate void MarkdownModeOptionsChangedHandler(); public event MarkdownModeOptionsChangedHandler Changed...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ProjektFinal { public partial class PhoneClient : UserControl { public string ...
using System; using System.Collections.Generic; using System.IO; using JetBrains.Annotations; namespace Buttplug.Server { public class ButtplugServerOptions { [NotNull] public string ServerName { get; } [NotNull] public List<string> SubtypeManagerSearchPaths { get; } ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xam...
#region License // Copyright (c) 2009, ClearCanvas 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, //...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.4200 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.ContractsLight; using System.Linq; using System.Threading.Tasks; using System.Threading.Tasks.Dataflow; using BuildXL.Engine; using ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
namespace MetadataComparer { using System.IO; using System.Linq; using Scribe.Core.ConnectorApi; public static class MetadataTester { public static Metadata GetMetadata(IConnector conn) { using (var mp = conn.GetMetadataProvider()) { var ac...
#region License /* Copyright © 2014-2018 European Support Limited 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 a...
using System; namespace OkonkwoOandaV20.TradeLibrary.REST.Streaming { public class Heartbeat : IHeartbeat { /// <summary> /// The string “HEARTBEAT” /// </summary> public string type { get; set; } /// <summary> /// The date-time when the TransactionHeartbeat was created. /// </summary> ...
using Blazored.LocalStorage; using ooohCar.Application.Requests.Identity; using ooohCar.Application.Responses.Identity; using ooohCar.Client.Infrastructure.Authentication; using ooohCar.Client.Infrastructure.Extensions; using ooohCar.Shared.Wrapper; using Microsoft.AspNetCore.Components.Authorization; using System; us...
/* * Copyright 2015 Jan Tschada * * 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 ...
 namespace Remnant.DataGateway.Interfaces { public interface IUnion { /// <summary> /// Define a union select statement (distinct values, duplicates are excluded) /// </summary> ISelect Union(); /// <summary> /// Define a union all select statement (duplicates are included) /// /// </summary> ISelec...
#region License // Copyright 2009 Josh Close // This file is a part of FluentDatabase and is licensed under the MS-PL // See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html #endregion using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; /...
using System; namespace SolarCalculator.Models { public class GeneratorCost { public Guid Id { get; set; } public double Cost { get; set; } } }
using System.Collections.Generic; using System.Xml.Linq; namespace FMG.NRT.Components.Mvc { public interface IMvcSiteMapParser { IEnumerable<MvcSiteMapNode> GetNodeTree(XElement siteMap); } }
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>ASP.NET-alpha</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> <p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more &raquo;</a></p> <...
using System; using System.Collections.Generic; namespace StuffPacker.Model { public class PackListGroupModel { public Guid Id { get; set; } public string Name { get; set; } public List<PackListGroupItemModel> Items { get; set; } } [Obsolete("dont use this one for new objects")...
using System; using System.Collections.Generic; namespace Page366.GoFish { internal class Deck { private List<Card> cards; private readonly Random random = new Random(); public Deck() { cards = new List<Card>(); for (int suit = 0; suit <= 3; suit++) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace SkylinesMultiplayer.Prefabs { class BulletHitParticlePrefab { public static void Create(Vector3 position, Vector3 normal) { var effect = new GameObject("Particle Effec...
// 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 System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace NuGet.Test.Utility { /// <summary...
using System; using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; using hjcd.level; using System.Text; namespace hjcd.level.BehaviorTree { public class MoveDirConfig : MoveConfig { public Dir dir = Dir.LEFT; } }
using Engine.Components; using PlayGen.ITAlert.Simulation.Common; using PlayGen.ITAlert.Simulation.Components.EntityTypes; using PlayGen.ITAlert.Simulation.Components.Movement; using PlayGen.ITAlert.Simulation.Modules.Resources.Components; namespace PlayGen.ITAlert.Simulation.Modules.Resources.Systems { /// <summary...
using System; using System.Buffers; using System.Runtime.CompilerServices; namespace Hagar.Buffers.Adaptors { /// <summary> /// A special-purpose <see cref="IBufferWriter{T}"/> implementation for supporting <see cref="Span{T}"/> in <see cref="Writer{TBufferWriter}"/>. /// </summary> public struct Span...
using Gtk; namespace XCoder.Tools { partial class FrmSecurity { #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> [System.Obs...
// // Copyright (c) 2010-2018 Antmicro // Copyright (c) 2017 Bas Stottelaar <basstottelaar@gmail.com> // // This file is licensed under the MIT License. // Full license text is available in 'licenses/MIT.txt'. // using Antmicro.Renode.Logging; using Antmicro.Renode.Peripherals.Bus; using Antmicro.Renode.Peripherals.M...
namespace Microsoft.Win32.TaskScheduler { partial class EventActionFilterEditor { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">t...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using DataTool.FindLogic; using DataTool.Flag; using TankLib; using TACTLib.Container; using TACTLib.Core.Product.Tank; using static DataTool.Program; namespace DataTool.ToolLogic.Extract.Debug { [Tool("extract-debug-newents", Des...
using System; using Castle.MicroKernel.Registration; using NSubstitute; using Abp.AutoMapper; using Abp.Dependency; using Abp.Modules; using Abp.Configuration.Startup; using Abp.Net.Mail; using Abp.TestBase; using Abp.Zero.Configuration; using Abp.Zero.EntityFrameworkCore; using dgPower.PKMS.EntityFrameworkCore; using ...
@inject IOptions<SmartSettings> Settings <!-- Left panel : Navigation area --> <!-- Note: This width of the aside area can be adjusted through LESS variables --> <aside id="left-panel"> <!-- User info --> <div class="login-info"> <span> <!-- User image size is adjusted inside CSS, it should stay as it --> ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Diagnostics; using System.IO; using System.Reflection; using System.Windows.Forms; using HidLibrary; using OpenHardwareMonitor; using OpenHardwareMonitor.Hardware; using System.Security.Permissions; using System.Te...
using System; using System.Collections.Generic; using System.Text; namespace LibNurirobotBase.Interface { /// <summary> /// 시리얼 로그 /// </summary> public interface IEventSerialLog : IDisposable { /// <summary> /// 로그 추가 /// </summary> /// <param name="arg">송수신 데이터</pa...
// Copyright (c) 2021 Alachisoft // // 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...
/* ------------------------------------------------------------------------- * thZero.NetCore.Library.Data.Annotations Copyright (C) 2016-2019 thZero.com <development [at] thzero [dot] com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
using Breakout.Core.Utilities.Audio; using Breakout.Core.Views.Windows; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System.Collections.Generic; namespace Breakout.Core.Views.UIComponents { public class Star : Control { private Dictionary<bool, Texture2D> textures; public overri...
// <auto-generated /> using System; using CarRental.DataAccess.DbContexts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; ...
using System; using System.Collections.Generic; using System.Linq; namespace LongestZigzagSubsequence { class Program { private static int[,] lengths; private static int[,] previousIndices; private const int BiggerLastNumberRow = 0; private const int SmallerLastNumberRow = 1; ...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from include/vulkan/vulkan_core.h in the KhronosGroup/Vulkan-Headers repository for tag v1.2.198 // Original source is Copyright © 2015-2021 The Khronos Group Inc....
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Microsoft Public License. A * copy of the license can be found in the License.html file at the root of this distribution. If * ...
// // CVPixelBufferIOSurface.cs // // Authors: Alex Soto (alexsoto@microsoft.com) // // Copyright 2017 Xamarin Inc. // #if !WATCH using System; using System.Runtime.InteropServices; using CoreFoundation; using Foundation; using ObjCRuntime; #nullable enable namespace CoreVideo { public partial class CVPixelBuffer...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Toolmagic.Common.Collections; namespace Toolmagic.Common.Tasks { public static class SearchTask { public static async Task StartNew<T> ( IEnumerable<T> initialItems, Func<T, Canc...
/* * 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; using System.IO; using System.Text; using ImageFunctions.Helpers; namespace ImageFunctions.Derivatives { public class Function : AbstractFunction { public override bool ParseArgs(string[] args) { var p = new Params(args); if (p.Has("-g").IsGood()) { O.DoGrayscale = true; } if (p.Ha...
/* * LUSID API * * * The version of the OpenAPI document: 0.11.2863 * Contact: info@finbourne.com * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using Syste...
using System; using System.Collections.Generic; using System.Data; using NUnit.Framework; using org.ohdsi.cdm.framework.common2.Definitions; using org.ohdsi.cdm.framework.common2.Omop; namespace org.ohdsi.cdm.tests { class TEntityDefinition { [Test] public void TestGetConcepts() { var...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Functional { internal class BasicIteratorAsync<TSource, TResult> : IAsyncEnumerator<TResult> { private readonly IAsyncEnumerator<TSource> _enumerator; private readonly Func<(TSource current, int index), Ta...
// <Snippet4> using System; using System.IO; using System.Reflection; using System.Resources; public class Example { public static void Main() { if (Environment.GetCommandLineArgs().Length == 1) { Console.WriteLine("No filename."); return; } string filename = Environm...
using Unity.UIWidgets.material; using UnityEngine; namespace Unity.UIWidgets.ui { static class ShadowUtils { public const bool kUseFastShadow = true; const float kAmbientHeightFactor = 1.0f / 128.0f; const float kAmbientGeomFactor = 64.0f; const float kBlurSigmaScale = 0.57735f; ...
using BooksStore.Models; using System; using System.Collections.Generic; using System.Data.Entity.ModelConfiguration; using System.Linq; using System.Web; namespace BooksStore.Mapping { public class AutorMap : EntityTypeConfiguration<Autor> { public AutorMap() { ToTable("Autor"); ...
namespace APM.WebApi.Areas.HelpPage { /// <summary> /// Indicates whether the sample is used for request or response /// </summary> public enum SampleDirection { Request = 0, Response } }
// 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.Generic; using System.Linq; namespace Microsoft.CodeAnalysis.Sarif { public partial class Result { /// <summar...
#region BSD License /* Copyright (c) 2013-2020, Doxense SAS 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 list of cond...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using Common; using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra; using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common; using Sy...
using Goui.Html; using System; using System.Collections.Generic; using System.Text; namespace Goui { public class WebAssemblySession : Session { readonly string id; readonly Action<Message> handleElementMessageSent; public WebAssemblySession (string id, Element element, bool disposeEl...
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requi...
// <auto-generated /> using System; using BankruptcyLaw.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Ba...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System....
using System; using System.ComponentModel; using Xamarin.Forms; namespace XamlSamples { public class HslViewModel : INotifyPropertyChanged { double hue, saturation, luminosity; Color color; public event PropertyChangedEventHandler PropertyChanged; public double Hue { ...
using Leprechaun.Model; namespace Leprechaun.CodeGen { public interface ICodeGenerator { void GenerateCode(ConfigurationCodeGenerationMetadata metadata); } }
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace BaseData.Web.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it wit...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime.InteropServices; using System; using System.Collections; using System.IO; using System.Runtime.Serialization; using System.Collections.Generic; us...
/* * Intersight REST API * * This is Intersight REST API * * OpenAPI spec version: 0.1.0-559 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using Syst...
using alpha69.common; namespace livesessions_delete { public class Response : ResponseBase { public Response() { Message = ""; Details = ""; } } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Threading; using System.Drawing; using System.Security.Cryptography; using System.Linq; using System.Text; using System.Threading.Tasks; using CryptoPrivacy; using System.Windows.Forms; using System.IO; namesp...
using GitObjectDb.Models; using GitObjectDb.Models.Compare; using GitObjectDb.Models.Merge; using GitObjectDb.Models.Rebase; using GitObjectDb.Reflection; using GitObjectDb.Serialization; using GitObjectDb.Transformations; using LibGit2Sharp; using Microsoft.Extensions.DependencyInjection; using System; using System.Co...
// 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; namespace StarkPlatform.CodeAnalysis.Editor { /// <summary> /// This interface is implemented by a class that implements at least one ...
// 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....
using System; using System.Collections.Generic; using System.IO; using System.Text; using IniParser; using IniParser.Model; using NCodeParser.Model; namespace NCodeParser.IO { public class INIManager { private readonly string NovelDataPath = "Data.ini"; private IniData NovelData; private FileIniDataParser Pa...
// <auto-generated /> using System; using MVCMovie.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace MVCMovie.Migrations { [DbContext(typeof(MVCMovieC...
// 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.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using ...
using System; using System.Data; using System.Data.SqlClient; using System.Text; class Program { static void Main() { string s = GetConnectionString(); ShowSqlException(s); Console.ReadLine(); } // <Snippet1> public static void ShowSqlException(string connectionString) ...
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// 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.Net.Http.HPack; using Xunit; namespace System.Net.Http.Unit.Tests.HP...
using Demo01_Builder.BaseClass; namespace Demo01_Builder.DerivedClass { /// <summary> /// ConcreteBuilder 类 /// <remarks>具体的建造者类</remarks> /// </summary> internal class ConcreteBuilder1 : Builder { private readonly Product _product = new Product(); internal override void BuildP...
using System; using System.Text; namespace Core.Extensions { public sealed class StringReader : IDisposable { #region Non-public members private readonly byte[] _inputBuffer; private int _position; private readonly int _length; #endregion #regi...
using System; using System.Collections; using System.Collections.Generic; using StrawberryShake; namespace Client { [System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")] public partial class PersonConnection : IPersonConnection { public PersonConnection( global::...
namespace TraktNet.Objects.Basic.Tests.Implementations { using FluentAssertions; using System.Collections.Generic; using System.Threading.Tasks; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Objects.Basic; using TraktNet.Objects.Basic.Json.Reader; using Xunit; [Category("Objects...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Search.Documents.Indexes.Models { public partial class SynonymTokenFilter : IUtf8Json...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Trivial.Data; namespace Trivial.Text; class CsvVerb : CommandLine.BaseCommandVerb { public static string Description => "CSV"; protected override async Task OnPr...
using System; namespace YaJS.Runtime.Exceptions { /// <summary> /// Неизвестный код инструкции /// </summary> [Serializable] public sealed class UnknownOpCodeException : InternalErrorException { public UnknownOpCodeException() { } public UnknownOpCodeException(string message) : base(message) { } p...