context
stringlengths
2.52k
185k
gt
stringclasses
1 value
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Net.Http.Headers; using System.Web.Http; using System.Web.Http.Description; using HelloWebAPI.Areas.HelpPage.Models; namespace HelloWe...
// 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 ...
#if !NOSOCKET using NBitcoin.Crypto; using NBitcoin.Protocol.Behaviors; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NBitcoin.Logging; namespace NB...
/* * 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: * * 1) Redistributions of source code must retain the above copyright * notice, this lis...
// 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 ...
// LzmaDecoder.cs using System; namespace SevenZip.Compression.LZMA { using RangeCoder; public class Decoder : ICoder, ISetDecoderProperties // ,System.IO.Stream { class LenDecoder { BitDecoder m_Choice = new BitDecoder(); BitDecoder m_Choice2 = new BitDecoder(); ...
using System; using System.Collections; using System.Reflection; using LuaInterface; namespace Voyage.LuaNetInterface { /// <summary> /// A class for providing an interface to a Lua virtual machine. /// </summary> public class LuaVirtualMachine { #region Data Members private Lua _lua = null; // Lua virtual...
/* * 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...
// <file> // <copyright see="prj:///doc/copyright.txt"/> // <license see="prj:///doc/license.txt"/> // <author name="Daniel Grunwald"/> // <version>$Revision: 5762 $</version> // </file> using System; using System.ComponentModel; using System.Diagnostics; using ICSharpCode.AvalonEdit.Utils; namespace...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using System.Threading.Tasks; using Orleans.Runtime.Configuration; namespace Orleans.Runtime.Scheduler { [DebuggerDisplay("WorkItemGroup Name={Name} State={state}")] internal class WorkItemGroup : IWorkItem { ...
using System; using System.Collections.Generic; namespace Prism.Common { /// <summary> /// A dictionary of lists. /// </summary> /// <typeparam name="TKey">The key to use for lists.</typeparam> /// <typeparam name="TValue">The type of the value held by lists.</typeparam> public sealed class L...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Markup; usi...
using System; using System.Collections.Generic; using Jsonics; using NUnit.Framework; namespace JsonicsTests.ToJsonTests { [TestFixture] public class ListTests { [Test] public void ToJson_IntList_CorrectJson() { //arrange var converter = JsonFactory.Compile<L...
#region Using Directives using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Reflection; using UnityEngine; #endregion namespace PlanetShine { [KSPAddon(KSPAddon.Startup.Instantly, false)] public class Logger : MonoBehaviour { #region Constants...
using System; using System.Collections.Generic; using System.Text; using Data.EDM; namespace Analysis.EDM { // Note that all FWHM based gates have been disabled to remove SharedCode's dependence on the // NI analysis libraries. /// <summary> /// This is a bit confusing looking, but it's pretty simpl...
// // http://code.google.com/p/servicestack/wiki/TypeSerializer // ServiceStack.Text: .NET C# POCO Type Text Serializer. // // Authors: // Demis Bellot (demis.bellot@gmail.com) // // Copyright 2011 Liquidbit Ltd. // // Licensed under the same terms of ServiceStack: new BSD license. // using System; using System.Glob...
using System; using System.Collections.Generic; using System.Linq; using Nop.Core; using Nop.Core.Caching; using Nop.Core.Data; using Nop.Core.Domain.Customers; using Nop.Core.Domain.Directory; using Nop.Core.Plugins; using Nop.Services.Events; using Nop.Services.Stores; namespace Nop.Services.Directory { /// <sum...
//Sourced from https://aspnetwebstack.codeplex.com/SourceControl/latest#src/System.Net.Http.Formatting/FormattingUtilities.cs // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace RestBus.Client.Http { using System.Collections...
// Copyright 2011 Microsoft Corporation // // 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 applicabl...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading.Tasks; using Orleans.Providers.Streams.Common; using Orleans.Runtime; using Orleans.Streams; namespace Orleans.Providers.Streams.Generator { /// <summary> /// Stream generator commands /// </summary...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the Microsoft Public License. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A P...
/******************************************************************************* INTEL CORPORATION PROPRIETARY INFORMATION This software is supplied under the terms of a license agreement or nondisclosure agreement with Intel Corporation and may not be copied or disclosed except in accordance with the terms of that ag...
using System; using System.IO; using UnityEngine; using UnityEditor; using System.Collections.Generic; using EditorCommon; namespace BundleManager { public static class BundleBuildHelper { public static void PushAssetDependencies() { #pragma warning disable 0618 BuildPipeline.PushAs...
//---------------------------------------- // BoxMesh.cs (c) 2007 by Charles Petzold //---------------------------------------- using System; using System.Windows; using System.Windows.Markup; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Media3D; namespace Petzold.Media3...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace CalcIP { public static class Minimize { public static int PerformMinimize(string[] args) { if (args.Length < 2) { Program.UsageAndExit(); } ...
// QuickGraph Library // // Copyright (c) 2004 Jonathan de Halleux // // 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 fo...
// 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; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using Internal.M...
// <copyright file="OtlpExporterOptionsExtensions.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // htt...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Net.NetworkInformation; using System.Runtime.InteropServices; using System.Text; using System.Threading; namespace WifiMonitor { /// <summary> /// Represents a client to the Zeroconf (Native Wifi) service. /// </summary> /// ...
// Copyright (C) 2014 dot42 // // Original filename: Org.Apache.Http.Client.Protocol.cs // // 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...
//#define REREAD_STATE_AFTER_WRITE_FAILED using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Orleans; using Orleans.Runtime; using Orleans.Storage; using Orleans.TestingHost; using UnitTests.GrainInterfaces; using UnitTests.Grains; using Xun...
using System; /// <summary> /// Convert.ToBoolean(Int16) /// Converts the value of the specified 16-bit signed integer to an equivalent Boolean value. /// </summary> public class ConvertToBoolean { public static int Main() { ConvertToBoolean testObj = new ConvertToBoolean(); TestLibrary.TestF...
// 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 Microsoft.CodeAnalysis.CodeGen; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Microsoft.CodeAna...
// 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; using System.Collections; using System.Collections.Specialized; using Xunit; namespace System.Diagnos...
// Authors: // Rafael Mizrahi <rafim@mainsoft.com> // Erez Lotan <erezl@mainsoft.com> // Oren Gurfinkel <oreng@mainsoft.com> // Ofer Borstein // // Copyright (c) 2004 Mainsoft Co. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated do...
/* * * (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.Configuration; using DbMigrations.Client.Configuration; using DbMigrations.Client.Infrastructure; namespace DbMigrations.Client.Resources { public class DbQueries { public static DbQueries Get(Config config) { var c = (DbMigrationsConfigurationSection) ConfigurationMana...
// 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: Exposes features of the Garbage ...
/* * This file is part of UniERM ReportDesigner, based on reportFU by Josh Wilson, * the work of Kim Sheffield and the fyiReporting project. * * Prior Copyrights: * _________________________________________________________ * |Copyright (C) 2010 devFU Pty Ltd, Josh Wilson and Others| * | (http://reportfu.org) ...
using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Text; using System.Threading; using OpenHome.Net.Core; using OpenHome.Net.ControlPoint; namespace OpenHome.Net.ControlPoint.Proxies { public interface ICpProxyAvOpenhomeOrgReceiver1 : ICpProxy, IDisposable { ...
// // Encog(tm) Core v3.3 - .Net Version // http://www.heatonresearch.com/encog/ // // Copyright 2008-2014 Heaton Research, 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 // // htt...
// // The Open Toolkit Library License // // Copyright (c) 2006 - 2010 the Open Toolkit library. // // 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 l...
//============================================================================= // System : Sandcastle Help File Builder Utilities // File : TocEntryCollection.cs // Author : Eric Woodruff (Eric@EWoodruff.us) // Updated : 07/02/2010 // Note : Copyright 2006-2010, Eric Woodruff, All rights reserved // Compiler:...
using System; using System.Collections.Generic; using System.ComponentModel; namespace Csla { /// <summary> /// Represents a databindable, transactioned view of an object. /// </summary> /// <author>Brian Criswell</author> /// <license>CREATIVE COMMONS - Attribution 2.5 License http://creativecommons.org/ </licen...
using System; using System.Linq; using System.Runtime.InteropServices; using RtMidiPtr = System.IntPtr; using RtMidiInPtr = System.IntPtr; using RtMidiOutPtr = System.IntPtr; using System.Collections.Generic; namespace Commons.Music.Midi.RtMidi { public enum RtMidiApi { Unspecified, MacOsxCore, LinuxAlsa, ...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.Extensions.Logging; usin...
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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.a...
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD, and Contributors. // All rights reserved. Licensed under the BSD 3-Clause License; see License.txt. using System; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Linq.Expressions; usin...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Reflection; using NBot.Core.Attributes; using NBot.Core.Brains; using NBot.Core.Help; using NBot.Core.Logging; using NBot.Core.MessageFilters; using NBot.Core.Routes; using ServiceStack; namespace NBot.Core { ...
using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; namespace Rainbow.Content.Charts { //********************************************************************* // // BarGraph Class // // This class uses GDI+ to render Bar Chart. // //************...
// // Copyright (c) Microsoft and contributors. 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 requi...
/* * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System....
// 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.Linq; using System.Threading; using System.Threading.Tasks; using Tel...
/* * Copyright (c) InWorldz Halcyon Developers * Copyright (c) Contributors, http://opensimulator.org/ * * 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 c...
/* * 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 may ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using BTDB.IL; using BTDB.StreamLayer; using System.Diagnostics; using System.Text; using Microsoft.Extensions.Primitives; namespace BTDB.FieldHandler; public class EnumFieldHandler : IFieldHandler { readonly byte[] _confi...
using System; using System.Collections.Generic; using ModestTree; namespace Zenject { public abstract class StaticMemoryPoolBase<TValue> : IDespawnableMemoryPool<TValue>, IDisposable where TValue : class, new() { readonly Stack<TValue> _stack = new Stack<TValue>(); Action<TValue> _onDe...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using BTCPayServer.Abstractions.Extensions; using BTCPayServer.Client.Models; using BTCPayServer.Data; using BTCPayServer.JsonConverters; using BTCPayServer.Models; using BTCPayServer.Payments; using B...
// <copyright file="Cookie.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 this file // to you un...
#region Header /* * JsonMockWrapper.cs * Mock object implementing IJsonWrapper, to facilitate actions like * skipping data more efficiently. * * The authors disclaim copyright to this source code. For more details, see * the COPYING file included with this distribution. */ #endregion namespace Cake.Gitter {...
// 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; using System.Runtime; using System.Runtime.CompilerServices; namespace Internal.Runtime.CompilerHelpe...
// 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.Diagnostics; using System.Runtime.CompilerServices; namespace System.Text.Json { internal static p...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace ServantHR.Api.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it wi...
using OpenKh.Engine.Input; using OpenKh.Engine.Renderers; using OpenKh.Game.Infrastructure; using System.Collections.Generic; using System.Linq; namespace OpenKh.Game.Menu { public class MainMenu : MenuBase { private const int MaxCharacterCount = 4; private const int MaxMenuElementCount = 8; ...
// 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 Test.Cryptography; using Xunit; namespace System.Security.Cryptography.Dsa.Tests { public partial class D...
/* * Magix - A Web Application Framework for Humans * Copyright 2010 - 2014 - thomas@magixilluminate.com * Magix is licensed as MITx11, see enclosed License.txt File for Details. */ using System; using System.IO; using System.Web; using System.Threading; using System.Collections.Generic; using Magix.Core; namespa...
// // Copyright (c) 2008-2011, Kenneth Bell // // 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, ...
// // PictureTile.cs // // Author: // Stephane Delcroix <sdelcroix@novell.com> // Stephen Shaw <sshaw@decriptor.com> // // Copyright (C) 2008 Novell, Inc. // Copyright (C) 2008 Stephane Delcroix // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated doc...
// 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.Runtime.CompilerServices; using System.Runtime.InteropServices; using Internal.Runtime.CompilerServices...
// This file has been generated by the GUI designer. Do not modify. namespace MonoDevelop.VersionControl.Mercurial { public partial class MercurialConfigurationDialog { private global::Gtk.Notebook notebook1; private global::Gtk.VBox vbox2; private global::Gtk.HBox hbox1; private global::Gtk.ScrolledWindow G...
namespace android.widget { [global::MonoJavaBridge.JavaClass(typeof(global::android.widget.AdapterView_))] public abstract partial class AdapterView : android.view.ViewGroup { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; static AdapterView() { InitJNI(); } protected AdapterVie...
// This is a collection of .NET concurrency utilities, inspired by the classes // available in java. This utilities are written by Iulian Margarintescu as described here // https://github.com/etishor/ConcurrencyUtilities // // // Striped64 & LongAdder classes were ported from Java and had this copyright: // // Writte...
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 //...
/* * ColumnHeader.cs - Implementation of the * "System.Windows.Forms.ColumnHeader" class. * * Copyright (C) 2003 Neil Cawse. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either v...
// 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.IO; using NUnit.Framework; using Raksha.Asn1; using Raksha.Asn1.Pkcs; using Raksha.Asn1.X509; using Raksha.Utilities; using Raksha.Utilities.Encoders; using Raksha.Tests.Utilities; namespace Raksha.Tests.Asn1 { [TestFixture] public class Pkcs12Test : SimpleTest { private static byte[...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.M...
using System; using System.ComponentModel; using System.Web.UI; using System.Web.UI.WebControls; using Nucleo.Collections; using Nucleo.Newsletters; using Nucleo.Web.DataboundControls; using Nucleo.EventArguments; namespace Nucleo.Web.Newsletters { public class NewsletterAdministration : CompositeDataBoundControl, ...
// HtmlAgilityPack V1.0 - Simon Mourier <simon underscore mourier at hotmail dot com> using System; using System.IO; using System.Text; namespace HtmlAgilityPack { /// <summary> /// Represents a document with mixed code and text. ASP, ASPX, JSP, are good example of such documents. /// </summary> public...
using System; using System.Data; using Codentia.Test.Helper; using NUnit.Framework; namespace Codentia.Common.MSOffice.Test { /// <summary> /// This class acts as the unit testing fixture for the static class ExcelOleDb /// <see cref="ExcelOleDb"/> /// </summary> [TestFixture] public class Exce...
using UnityEngine; using System.Collections; using System; namespace RootMotion.FinalIK { /// <summary> /// Forward and Backward Reaching Inverse Kinematics solver. /// /// This class is based on the "FABRIK: A fast, iterative solver for the inverse kinematics problem." paper by Aristidou, A., Lasenby, J. /// ...
/* * Copyright 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
using J2N.Threading; using Lucene.Net.Documents; using Lucene.Net.Index.Extensions; using Lucene.Net.Store; using Lucene.Net.Util; using NUnit.Framework; using System; using System.Threading; using Assert = Lucene.Net.TestFramework.Assert; using Console = Lucene.Net.Util.SystemConsole; namespace Lucene.Net.Index { ...
using System.Net; using System.Text.Json; using FluentAssertions; using JsonApiDotNetCore.Serialization.Objects; using TestBuildingBlocks; using Xunit; namespace JsonApiDotNetCoreTests.IntegrationTests.NamingConventions; public sealed class PascalCasingTests : IClassFixture<IntegrationTestContext<PascalCasingConventi...
/* Copyright 2010 Google 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.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dist...
/* * 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 may...
// 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: Provides a way to write pri...
// 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.ComponentModel; using System.Diagnostics; using System.Drawing.Internal; using System.Globalization; us...
// 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. // namespace System.Reflection { using System; using System.Collections.Generic; using System.Diagnost...
// 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.Runtime.InteropServices; using System.Diagnostics; using System.DirectoryServices.Interop; using System...
// // Copyright (c) Microsoft and contributors. 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 requi...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Shouldly { internal static class Is { public static bool InRange<T>(T comparable, T @from, T to) where T : IComparable<T> { return comparable....
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Html; namespace Microsoft.AspNetCore.Mvc....
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlTypes; public partial class Backoffi...
// Copyright 2017 Google Inc. 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 required by applicable...
using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using Spectre.Cli.Internal.Configuration; namespace Spectre.Cli.Internal.Modelling { internal static class CommandModelBuilder { // Consider removing this in favor for value tuples at some point. ...
// *********************************************************************** // Copyright (c) 2012 Charlie Poole // // 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, inclu...
// 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. namespace Microsoft.VisualStudio.FSharp.LanguageService { using System.Runtime.InteropServices; using System; using System....
/* **************************************************************************** * * 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 * ...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...