context
stringlengths
2.52k
185k
gt
stringclasses
1 value
// 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 Internal.Cryptography; using Internal.Cryptography.Pal; using Microsoft.Win32.SafeHandles; using System.Diagno...
// ContactsEditorViewModel.cs // using System; using System.Collections.Generic; using Xrm.Sdk; using KnockoutApi; using Slick; using Client.TimeSheet.ViewModel; using SparkleXrm.GridEditor; using SparkleXrm; using Client.ContactEditor.ViewModels; using Client.ContactEditor.Model; using Xrm; using System.Runtime.Compi...
using System; using System.Data; using Csla; using Csla.Data; using Invoices.DataAccess; namespace Invoices.Business { /// <summary> /// InvoiceEdit (editable root object).<br/> /// This is a generated <see cref="InvoiceEdit"/> business object. /// </summary> /// <remarks> /// This class conta...
using System; using System.Threading.Tasks; using System.Web; using System.Net; using System.Text; using System.IO; using System.Threading; using System.Collections.Generic; using System.Security.Cryptography; using System.ComponentModel; using SteamBot.SteamGroups; using SteamKit2; using SteamTrade; using SteamKit2.In...
// // OracleConnection.cs // // Part of the Mono class libraries at // mcs/class/System.Data.OracleClient/System.Data.OracleClient // // Assembly: System.Data.OracleClient.dll // Namespace: System.Data.OracleClient // // Authors: // Daniel Morgan <danielmorgan@verizon.net> // Tim Coleman <tim@timcoleman.com> //...
// 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.Diagnostics; namespace Microsoft.CSharp.RuntimeBinder.Errors { internal static class...
// 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; using System.Runtime.InteropServices; using System.Security.Cryptogr...
/* * Copyright (c) 2016 Tenebrous * * 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,...
/****************************************************************************** * The MIT License * Copyright (c) 2003 Novell Inc. www.novell.com * * 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 Sof...
using System; using EncompassRest.Loans.Enums; namespace EncompassRest.Loans { /// <summary> /// LoanEstimate1 /// </summary> public sealed partial class LoanEstimate1 : DirtyExtensibleObject, IIdentifiable { private DirtyValue<StringEnumValue<TermType>>? _adjustsTermType; private D...
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // 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, modif...
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
// // 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...
// // 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; namespace ValveResourceFormat.Serialization.NTRO { public class NTROStruct : IDictionary, IKeyValueCollection { private readonly Dictionary<string, NTROValue> Contents; public string Name { get; private...
using Lucene.Net.Diagnostics; using Lucene.Net.Index; using Lucene.Net.Store; using Lucene.Net.Util; using Lucene.Net.Util.Packed; using System; using System.Collections.Generic; using System.Diagnostics; namespace Lucene.Net.Codecs.BlockTerms { /* * Licensed to the Apache Software Foundation (ASF) under one ...
using System; using System.Text; using TestLibrary; class EncodingGetBytes1 { static int Main() { EncodingGetBytes1 test = new EncodingGetBytes1(); TestFramework.BeginTestCase("Encoding.GetBytes"); if (test.RunTests()) { TestFramework.EndTestCase(); Tes...
// 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.Security; using Xunit; namespace System.Reflection.Tests { publi...
// // Copyright (c) Microsoft Corporation. All rights reserved. // // // Originally based on the Bartok code base. // using System; using System.Collections.Generic; using System.Collections; using System.Text; namespace Microsoft.Zelig.MetaData.Importer { public partial class MetaDataMethod : MetaDataObject ...
namespace HomeCinema.Data.Migrations { using Entities; using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; internal sealed class Configuration : DbMigrationsConfiguration<HomeCinema.Data.HomeCinemaContext> { ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; usi...
// 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.Buffers; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropS...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace SmallTalk.Web.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it wi...
// *********************************************************************** // Copyright (c) 2009 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) 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...
using System; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace Mono.Terminal { public delegate string[] TabExpansionEvent(string hardPrefix, string replacable); public class TabExpanderUI { private const int NO_ITEM_SELECTED = -1; private const int ASKI...
using System; using InAudioSystem.ExtensionMethods; using InAudioSystem.Internal; using InAudioSystem.TreeDrawer; using UnityEditor; using UnityEngine; namespace InAudioSystem.InAudioEditor { public class MusicCreatorGUI : BaseCreatorGUI<InMusicNode> { public MusicCreatorGUI(InMusicWindow window) ...
using System.Collections.Generic; using NUnit.Framework; // ReSharper disable InconsistentNaming namespace SSCases.TestCases { public class A { private static readonly Case[] _allCases = { new EMPTY(), new PATTERN(), new _____________________________________...
// This is a copy of the 7-zip LZMA // compression library. using System; namespace LZMA { using RangeCoder; internal class LzmaDecoder : ICoder, ISetDecoderProperties // ,System.IO.Stream { class LenDecoder { BitDecoder m_Choice = new BitDecoder(); BitDecoder m_Choice2 = new BitDecoder(); BitT...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // TakeOrSkipWhileQueryOperator.cs // // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // // This...
// 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.Diagnostics; using System.Globalization; using System.IO; usi...
//------------------------------------------------------------------------------ // <copyright file="EnumRowCollectionExtensions.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="true">[....]</owner> // <owner current="true" prim...
/* * 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 ...
// 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.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
using System; using System.IO; using System.Text; using System.Drawing; using System.Web; using System.Web.UI; using System.ComponentModel; using System.Collections; using System.Collections.Specialized; using System.Web.UI.WebControls; namespace NotAClue.Web.UI.BootstrapWebControls { #region wwWebTabControl /// <s...
//----------------------------------------------------------------------- // <copyright file="ActorPublisher.cs" company="Akka.NET Project"> // Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> /...
namespace android.view { [global::MonoJavaBridge.JavaClass()] public partial class GestureDetector : java.lang.Object { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; protected GestureDetector(global::MonoJavaBridge.JNIEnv @__env) : base(@__env) { } [global::MonoJavaBridge.JavaInte...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
// Copyright (c) 1995-2009 held by the author(s). 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 c...
#region License // Copyright (c) 2007 James Newton-King // // 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, ...
//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Runtime.Serialization { using System; using System.Collections; using...
/* * Copyright 2007 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 to in wri...
using System; using CSF.Screenplay.Abilities; using CSF.Screenplay.Actors; using CSF.Screenplay.Performables; using CSF.Screenplay.Reporting; namespace CSF.Screenplay.Actors { /// <summary> /// The main implementation of <see cref="IActor"/>. which represents an actor/participant/persona within a test /// scenar...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
using System; using System.Diagnostics; using System.Text; using u8 = System.Byte; namespace System.Data.SQLite { internal partial class Sqlite3 { /* ** 2006 June 10 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good a...
// ThreadTest.cs - NUnit Test Cases for the System.Threading.Thread class // // Authors // Eduardo Garcia Cebollero (kiwnix@yahoo.es) // Sebastien Pouliot <sebastien@ximian.com> // // (C) Eduardo Garcia Cebollero. // (C) Ximian, Inc. http://www.ximian.com // (C) 2004 Novell (http://www.novell.com) // using NUnit.Fra...
/* Copyright 2019 Esri 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, ...
// 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.InteropServices; using System.Security; namespace System.IO.Compress...
using System.Collections.Generic; using System.Linq; using System.Net; using System.Text.Json; using System.Text.RegularExpressions; using JsonApiDotNetCore; using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Resources.Annotations; using JsonApiDotNetCore.Serialization; using JsonApiDotNetCore.Serialization...
// 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.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Lucene.Net.Index { using System; using Bits = Lucene.Net.Util.Bits; /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file dist...
using System; using System.Collections.Generic; using System.Linq; using com.tinylabproductions.TLPLib.Extensions; using com.tinylabproductions.TLPLib.Logger; using GenerationAttributes; using JetBrains.Annotations; using tlplib.concurrent; using tlplib.exts; using tlplib.functional; using tlplib.log; using UnityEngine...
////////////////////////////////////////////////////////////////////////////////////// // Author : Shukri Adams // // Contact : shukri.adams@gmail.com // // // // vcFramework : A reuseable library of utility classes // // Copyright (C) ...
namespace FakeItEasy.Specs { using System; using System.Collections.Generic; using System.Linq; using FakeItEasy.Core; using FluentAssertions; using Xbehave; public static class FakeSpecs { public interface IFoo { void AMethod(); void AnotherMeth...
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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 ...
/* * 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 NUnit.Framework; using OpenMetaverse; using OpenMetaverse.StructuredData; namespace OpenSim.Framework.Tests { [TestFixture] public class RenderMaterialsTests { [SetUp] public void Init() { } [Test] public void RenderMaterial_OSDFromToTest() { ...
// 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; /// <summary> /// System.IConvertible.ToSByte(System.IFormatProvider) /// </summary> public class Dou...
// 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.Dynamic.Utils; namespace System.Linq.Expressions.Interpreter { internal ...
/* ==================================================================== 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 Y...
/************************************************************************************ Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved. Licensed under the Oculus VR Rift SDK License Version 3.2 (the "License"); you may not use the Oculus VR Rift SDK except in compliance with the License, which is pr...
// suppress "Missing XML comment for publicly visible type or member" #pragma warning disable 1591 #region ReSharper warnings // ReSharper disable PartialTypeWithSinglePart // ReSharper disable RedundantNameQualifier // ReSharper disable InconsistentNaming // ReSharper disable CheckNamespace // ReSharper disable Un...
// 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.Diagnostics; using System.Dynamic.Utils; using System.Globalization; ...
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
// 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 ...
// **************************************************************** // Copyright 2007, Charlie Poole // This is free software licensed under the NUnit license. You may // obtain a copy of the license at http://nunit.org // **************************************************************** using System; using System.Coll...
#nullable disable using System.Collections; using System.Collections.Specialized; namespace Meziantou.Framework.Html; public sealed class HtmlNodeList : IList<HtmlNode>, INotifyCollectionChanged, IList, IReadOnlyList<HtmlNode> { private readonly List<HtmlNode> _list = new(); private readonly HtmlNode _parent;...
// ByteFX.Data data access components for .Net // Copyright (C) 2002-2003 ByteFX, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Castle.DynamicProxy; using Castle.MicroKernel; using Castle.MicroKernel.Registration; using Castle.Windsor; using Castle.Windsor.Installer; using Castle.Windsor.Proxy; namespace Abp.Dependency { /// <summary> /// ...
// 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...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using Syste...
// Copyright (c) 2015, Outercurve Foundation. // 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 o...
// 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 Xunit; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Buffers; nam...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using System.Web.Http; using System.Web.Http.Description; using System.Xml...
using System; using System.Collections; namespace BarcodeLib.Symbologies { /// <summary> /// UPC-A encoding /// Written by: Brad Barnhill /// </summary> class UPCA : BarcodeCommon, IBarcode { private readonly string[] UPC_Code_A = { "0001101", "0011001", "0010011", "0111101", "0100011...
namespace More.ComponentModel { using FluentAssertions; using System; using System.Collections.Generic; using System.ComponentModel; using Xunit; using static System.String; public class ObservableObjectTest { [Fact] public void on_property_changed_should_not_allow_null_...
/** * Copyright (c) 2015, GruntTheDivine 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 c...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Linq; using System.Net; using Microsoft.Rest.Azure; using Microsoft.Azure.Management.ResourceManager; using Microsoft.Azure.Test; using Xunit; using ...
/** * Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. */ using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Windows.Forms; using Ionic.Zip; using Ionic.Zli...
using System; using System.Collections.Generic; using System.Data.Services.Client; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Runtime.Versioning; namespace NuGet { public class DataServicePackageRepository : PackageRepositoryBase, IHttpClientEvents, ISearchab...
// *********************************************************************** // Copyright (c) 2015 Charlie Poole, Rob Prouse // // 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 restri...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using Android.Ru...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Toolbox { /// <summary> /// A class that can not be instantiated. /// </summary> public class AlwaysNull { private AlwaysNull() { ...
//********************************************************* // // 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...
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
using System; using System.Collections.Generic; using AT_Utils.UI; using UnityEngine; using UnityEngine.UI; namespace CC.UI { public class AddTankControl : TankManagerUIPart { public enum VolumeUnits { CUBIC_METERS, PARTS } private static readonly Dictionary<VolumeUnits, string> unitNames = ne...
using System; using System.Reflection; using Castle.MicroKernel; using System.Collections.Generic; using System.Collections; using System.Web; using Castle.Core; using Castle.Core.Configuration; using Cuyahoga.Core; using Cuyahoga.Core.Domain; using Cuyahoga.Core.Service; using Cuyahoga.Core.Service.SiteStructure; u...
using System; using System.Globalization; using System.Net; using Orleans; using Orleans.Runtime; using Orleans.Runtime.Configuration; using Orleans.Serialization; using Orleans.TestingHost.Utils; using TestExtensions; using Xunit; using Xunit.Abstractions; namespace UnitTests.General { [Collection(TestEnvironment...
// 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 Xunit; namespace System.Text.Tests { // GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],Sy...
using System.Threading; using UnityEngine; namespace PlayFab.Sockets { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http.Connections; using Microsoft.AspNetCore.SignalR.Client...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /*============================================================ ** ** ** ** ** Purpose: Create a stream over unmanaged memory, mostly ** useful for memory-mapp...
// 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 ...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
// 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.Intrinsics; namespace System.Runtime.Intrinsics.X86 { /// <summary> /// ...
using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using NUnit.Framework; namespace Faithlife.Utility.Tests { [TestFixture] public class StringSegmentTests { [Test] public void TestConstructorStringSegmentStr() { var seg = new ...
// 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.Diagnostics; using System.Runtime.InteropServices; using System.Threa...
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // EncoderBestFitFallback.cs // // This is used internally to create best fit behavior as per the original windows best fit behavior. // namespace System.Text { using System; using System.Globalization; using System.Te...