context
stringlengths
2.52k
185k
gt
stringclasses
1 value
using Ocelot.Configuration.Creator; using Ocelot.Values; using System.Collections.Generic; using System.Linq; using System.Net.Http; namespace Ocelot.Configuration.Builder { public class DownstreamReRouteBuilder { private AuthenticationOptions _authenticationOptions; private string _loadBalance...
/* Generated SBE (Simple Binary Encoding) message codec */ using System; using System.Text; using System.Collections.Generic; using Adaptive.Agrona; namespace Adaptive.Cluster.Codecs { public class SessionMessageHeaderDecoder { public const ushort BLOCK_LENGTH = 24; public const ushort TEMPLATE_ID = 1; p...
using System; using System.Data; using System.Configuration; 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.SqlClient; using System.Data.Sql; using Microsoft.ApplicationBlock...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: supply/incidental_items/incidental_item_availability_response.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Go...
// 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 Microsoft.Win32.SafeHandles; using System; using System.Diagnostics; using System.Security.Cryptography; using...
// // Track.cs // // Authors: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2006 Novell, Inc. // // 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...
using System; using System.Diagnostics; using GuruComponents.CodeEditor.CodeEditor.Syntax; namespace GuruComponents.CodeEditor.CodeEditor { /// <summary> /// Caret class used by the SyntaxBoxControl /// </summary> public sealed class Caret { /// <summary> /// Event fired when the carets position has changed...
using System; using Raksha.Crypto.Parameters; namespace Raksha.Crypto.Engines { /** * Serpent is a 128-bit 32-round block cipher with variable key lengths, * including 128, 192 and 256 bit keys conjectured to be at least as * secure as three-key triple-DES. * <p> * Serpent was designed by Ross ...
using System; using System.Net; using System.Net.Mail; using System.Security.Principal; using System.Web; using System.Web.Hosting; using System.Web.Mvc; using AnglicanGeek.MarkdownMailer; using Elmah; using Microsoft.WindowsAzure.ServiceRuntime; using Ninject; using Ninject.Web.Common; using Ninject.Modules; using NuG...
/* * 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 list ...
// 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 Microsoft.Xml.Serialization { using System; using Microsoft.Xml.Schema; using System.Collectio...
// 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.Xml.Schema { using System.Text; using System.Diagnostics; internal sealed class BitSet...
// 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.Globalization; namespace TchApp.HttpSimulator { public static class ReasonPhrases { public static string ToStatus(int stat...
using UnityEngine; using System.Collections; using System.Collections.Generic; struct casthit { public int index; public float distance; public string name; } [RequireComponent(typeof(Rigidbody))] public class AS_Bullet : MonoBehaviour { public GameObject ParticleHit; public bool ParticleSticky; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Caching; using System.Web.Routing; using MbUnit.Framework; using Moq; using Subtext.Extensibility; using Subtext.Framework; using Subtext.Framework.Components; using Subtext.Framework.Data; using Subtext.Framework.Prov...
using XPT.Games.Generic.Constants; using XPT.Games.Generic.Maps; using XPT.Games.Twinion.Entities; namespace XPT.Games.Twinion.Maps { /// <summary> /// L2: The Reservoir /// </summary> class TwMap05 : TwMap { public override int MapIndex => 5; public override int MapID => 0x0203; ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Threading.Tasks; using Azure.Core.TestFramework; using NUnit.Framework; using System.Linq; using System; using Azure.Security.KeyVault.Administration.Models; using System.Text....
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...
/* * 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...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; namespace AccountServer { /// <summary> /// This class is stored in a database table /// </summary> public class TableAttribute : Attribute { } /// <summary> /// This class is be fi...
// 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.Runtime.InteropServices; usin...
// 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.Reflection; using System.Collections.Concurrent; using System.Collections.Generic; using System.Runtime...
/* * C# port of Mozilla Character Set Detector * https://code.google.com/p/chardetsharp/ * * Original Mozilla License Block follows * */ #region License Block // Version: MPL 1.1/GPL 2.0/LGPL 2.1 // // The contents of this file are subject to the Mozilla Public License Version // 1.1 (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. using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; usin...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: src/proto/grpc/testing/services.proto #region Designer generated code using System; using System.Threading; using System.Threading.Tasks; using Grpc.Core; namespace Grpc.Testing { public static class BenchmarkService { static readonly stri...
// 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; using System.Xml; using System.Xml.XPath; using XPathTests.Common; namespace XPathTests....
// // System.Data.SqlTypes.SqlByte // // Author: // Tim Coleman <tim@timcoleman.com> // Ville Palo <vi64pa@kolumbus.fi> // // (C) Copyright 2002 Tim Coleman // (C) Copyright 2003 Ville Palo // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any pe...
#region License // Pomona is open source software released under the terms of the LICENSE specified in the // project's repository, or alternatively at http://pomona.io/ #endregion using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using Sy...
// // 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...
// 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. /****************************************************************************** * This file is auto-generated from ...
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Text; using System.Runtime.InteropServices; using Microsoft.TeamFoundation.DistributedTask.WebApi; using Microsoft.VisualStudio.Services.Agent.Util; using Microsoft.VisualStudio.Services.Agent.Worker; using Micros...
// 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.Numerics.Tests { public class modpowTest { private static int s_sampl...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using ChannelAdvisorAccess.Exceptions; using ChannelAdvisorAccess.Misc; using ChannelAdvisorAccess.ShippingService; using Netco.Extensions; using Netco.Logging; using Newtonsoft.Json; namespace ...
/* * @(#) Ink.cs 1.0 06-08-2007 author: Manoj Prasad ************************************************************************* * Copyright (c) 2008 Hewlett-Packard Development Company, L.P. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentatio...
namespace GuideEnricher.Model { using System; using ArgusTV.DataContracts; public class GuideEnricherProgram : GuideProgram, IProgramSummary { protected GuideProgram guideProgram; protected GuideEnricherProgram() { } public GuideEnricherProgram(GuideProgram gui...
/// Copyright (C) 2012-2014 Soomla 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 l...
using System; using System.Data; using Csla; using Csla.Data; using SelfLoad.DataAccess; using SelfLoad.DataAccess.ERCLevel; namespace SelfLoad.Business.ERCLevel { /// <summary> /// D03_SubContinentColl (editable child list).<br/> /// This is a generated base class of <see cref="D03_SubContinentColl"/> bu...
// // CoverArtService.cs // // Authors: // James Willcox <snorp@novell.com> // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2005-2008 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to ...
namespace Microsoft.Azure.Management.StorSimple8000Series { using Azure; using Management; using Rest; using Rest.Azure; using Rest.Azure.OData; using Models; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; using System.N...
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ using System; using DotLiquid; using Microsoft.Xrm.Portal.Web; namespace Adxstudio.Xrm.Web.Mvc.Liquid { public static class UrlFilters { private static r...
// // System.Data.SQLite.SqliteCommand.cs // // Represents a Transact-SQL statement or stored procedure to execute against // a Sqlite database file. // // Author(s): Vladimir Vukicevic <vladimir@pobox.com> // Everaldo Canuto <everaldo_canuto@yahoo.com.br> // Chris Turchin <chris@turchin.net> // Jeroen Zwartepoor...
using Lucene.Net.Documents; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; using Assert = Lucene.Net.TestFramework.Assert; using Console = Lucene.Net.Util.SystemConsole; using JCG = J2N.Collections.Generic; namespace Lucene.Net.Search { /* * Licensed to the Apache So...
using System; using System.Collections.Generic; using System.Text; using Orleans.CodeGeneration; using Orleans.Serialization; using Orleans.Transactions; namespace Orleans.Runtime { internal class Message { public const int LENGTH_HEADER_SIZE = 8; public const int LENGTH_META_HEADER = 4; ...
using System; using System.Collections.Generic; using System.Linq; using RedisStackOverflow.ServiceModel; using ServiceStack; using ServiceStack.Redis; namespace RedisStackOverflow.ServiceInterface { public interface IRepository { User GetOrCreateUser(User user); UserStat GetUserStats(long use...
/* Copyright 2011 Brandon Croft. 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 list of conditions and the foll...
// 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.IO; using System.Runtime.CompilerServices; namespace BadCheckedAdd1 { internal enum SniContext { Undefined = 0, Sn...
/* * Copyright (C) 2006-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 ag...
// Copyright (c) 2015, Ben Hopkins (kode80) // 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, // th...
#region License /* * HttpListener.cs * * This code is derived from System.Net.HttpListener.cs of Mono * (http://www.mono-project.com). * * The MIT License * * Copyright (c) 2005 Novell, Inc. (http://www.novell.com) * Copyright (c) 2012-2014 sta.blockhead * * Permission is hereby granted, free of charge, to a...
// 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 ...
using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Web.Compilation; using System.Web.Hosting; using System.Web.Routing; using System.Web.UI; namespace System.Web.DynamicData { /// <summary> /// Route handler used for Dynamic Data /// </summary> public c...
using System; using System.Drawing; using System.Drawing.Imaging; namespace Img { /// <summary> /// QColorMatrix /// http://www.codeguru.com/Cpp/G-M/gdi/gdi/article.php/c3667 /// /// Extension of the GDI+ struct ColorMatrix. /// Adds some member functions so you can actually do something with ...
// ========================================================================== // This software is subject to the provisions of the Zope Public License, // Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. // THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED // WARRANTIES ARE D...
using System; using System.Web; using System.Web.Mvc; using System.Web.Routing; using CIAPI.DTO; using CIAPI.Rpc; using CIAUTH.Code; using CIAUTH.Controllers; using Moq; using NUnit.Framework; namespace CIAUTH.Tests.Controllers { [TestFixture] public class AuthorizeControllerFixture { public Author...
using UnityEngine; #if UNITY_EDITOR using UnityEditor; [CanEditMultipleObjects] [CustomEditor(typeof(SgtJovianScattering))] public class SgtJovianScattering_Editor : SgtEditor<SgtJovianScattering> { protected override void OnInspector() { var updateApply = false; var updateTexture = false; BeginError(Any...
//--------------------------------------------------------------------------- // // <copyright file="Point3DCollection.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. // </copyright> // // This file was generated, please do not edit it directly. // // Please see http://wiki/def...
using System; using System.Threading; namespace Hydra.Framework.Queues.State { // //********************************************************************** /// <summary> /// Timer Class /// </summary> //********************************************************************** // public clas...
// 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.Linq; using System.Threading.Tasks; using System.Xml.Linq; us...
// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Threading; using System.Windows.Forms; using Microsoft.WindowsAPICodePack.DirectX.Direct2D1; using Microsoft.WindowsAPICodePack.DirectX.DirectWrite; using Microsoft.WindowsAPICodePack.DirectX.Wind...
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using TestConsole.OutputFormatting.Internal; using TestConsole.Tests.OutputFormatting.UnitTestutilities; using TestConsoleLib.Testing; namespace TestConsole.Tests.OutputFormatting.Internal { [TestFixture] public class Tes...
// 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.Diagnostics; using Microsoft.CodeAnalysis.UnitTests; using Xunit; namespace Microsoft.ApiDesignGuidelines.Analyzers.UnitTests { ...
// 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.Collections.Generic; using System.Drawing; using System.Globalization; using System.IO; us...
//----------------------------------------------------------------------// // ___ ___ ___ ___ ___ ___ ________ ________ // // |\ \ |\ \ / /|\ \ / /|\ \|\ ___ \|\ ____\ // // \ \ \ \ \ \/ / | \ \ / / | \ \ \ \\ \ \ \ \___|_ // // \ \ \ \ ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Input; using Microsoft.MixedReality.Toolkit.Physics; using Microsoft.MixedReality.Toolkit.UI; using Microsoft.MixedReality.Toolki...
// // Copyright (c)1998-2011 Pearson Education, Inc. or its affiliate(s). // All rights reserved. // using System; using System.Runtime.Serialization; using System.Security.Permissions; using System.Text; using OpenADK.Library.Infra; namespace OpenADK.Library { /// <summary> SifException describes a SIF error c...
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ // @Genera...
// // Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.Zelig { using System; using System.Collections; using System.Collections.Generic; public class BitVector { const int c_BitsPerWord = 32; const int c_MinWords = 4; const uint c_Wor...
// // Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.Zelig.CodeGeneration.IR.ImageBuilders { using System; using System.Collections.Generic; using Microsoft.Zelig.Runtime.TypeSystem; using Microsoft.Zelig.TargetModel.ArmProcessor; public abstract partial cl...
namespace RRLab.PhysiologyWorkbench.Daq { partial class LaserFlashSwitchConfigurationControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources bein...
#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) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. */ // @Generated by gentest/gentest.rb from gentest/fixtures/YGAlignSelfTest.html using System; using NUnit.Framework; namespace Fac...
// 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...
using System; using DG.Tweening; using UnityEditor; using UnityEngine; using UnityEngine.Events; using UnityEngine.SceneManagement; using UnityEngine.UI; using UnityEngine.UI.ProceduralImage; [RequireComponent(typeof(CanvasGroup), typeof(TransitionElement))] public class Dialog : MonoBehaviour { public DialogUpdat...
using System; using EncompassRest.Loans.Enums; using EncompassRest.Schema; namespace EncompassRest.Loans { /// <summary> /// ElliLOCompensation /// </summary> public sealed partial class ElliLOCompensation : DirtyExtensibleObject, IIdentifiable { private DirtyValue<decimal?>? _adjustedPlanA...
using System; using System.Data; using System.Data.SqlClient; using Csla; using Csla.Data; namespace SelfLoadSoftDelete.Business.ERCLevel { /// <summary> /// H09Level11111Child (editable child object).<br/> /// This is a generated base class of <see cref="H09Level11111Child"/> business object. /// </s...
using UnityEngine; using System.Collections.Generic; using Pathfinding.Util; using Pathfinding.Serialization; namespace Pathfinding { /** Base class for all graphs */ public abstract class NavGraph { /** Reference to the AstarPath object in the scene */ public AstarPath active; /** Used as an ID of the graph...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Threading; using System.Web; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using NPoco; using Umbraco.Core.Cache; using Umbraco.Core.Composing; using Umbraco.Core.I...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. /*============================================================ ** ** ** ** Purpose: ** ** ===========================================================*/ namespace Syste...
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; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using SageFrame....
using UnityEngine; using System.Collections; using System.Collections.Generic; using Algorithms; using UnityEngine.UI; public class Bot : Character { public enum BotState { None = 0, MoveTo, } public BotState mCurrentBotState = BotState.None; public Vector2 mDestination; public int mCurrentNodeId = -1;...
// 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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeGeneration; using Roslyn.Test.Utilities; using Roslyn.Utilities; using Xunit; usi...
using System; using System.Collections.Generic; #if !NETSTANDARD2_0 using System.Configuration; #endif using System.Data; using System.Data.Common; using System.Threading; using System.Threading.Tasks; namespace Projac.Sql.Executors { /// <summary> /// Represents the transactional execution of commands aga...
using System; using System.Collections; using Raksha.Utilities; using Raksha.Bcpg.Sig; namespace Raksha.Bcpg.OpenPgp { /// <remarks>Container for a list of signature subpackets.</remarks> public class PgpSignatureSubpacketVector { private readonly SignatureSubpacket[] packets; internal PgpSignature...
// 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.IO; using CultureInfo = System.Globalization.CultureInfo; namespace...
// 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; using System.Collections.Generic; using System.Data.SqlTypes; using Microsoft.SqlServer.S...
// Copyright 2018 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, software ...
using System; using NUnit.Framework; using SimpleContainer.Configuration; using SimpleContainer.Tests.Helpers; namespace SimpleContainer.Tests.Contracts { public abstract class ContractsWithFactoriesTest : SimpleContainerTestBase { public class ContractsWorksWithFactories : ContractsWithFactoriesTest { public...
/* * Copyright 2012 LBi Netherlands B.V. * * 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; 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) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // 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 s...
// MusicBrainzObject.cs // // Copyright (c) 2008 Scott Peterson <lunchtimemama@gmail.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 Software without restriction, including without limitati...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. /* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHAN...
// MIT License // // Copyright (c) 2009-2017 Luca Piccioni // // 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, cop...
//--------------------------------------------------------------------------- // // <copyright file="Table.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. // </copyright> // // // Description: Table implementation // // See spec at http://avalon/layout/Tables/WPP%...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; using System; namespace HoloToolkit.Unity.InputModule { /// <summary> /// Component that allows dragging an object with your hand on HoloL...
/* * 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...
// // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // using System; using System.Globalization; using System.Security.Cryptography; using System.Text; namespace Mono.Cecil { public class Assembl...
using Xunit; public class PokerTests { [Fact] public void Single_hand_always_wins() { var hands = new[] { "4S 5S 7H 8D JC" }; var actual = Poker.BestHands(hands); var expected = new[] { "4S 5S 7H 8D JC" }; Assert.Equal(expected, actual); } [Fact(Skip = "Remove this ...
#if NET_45 using System.Collections.Generic; #endif using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Octokit { /// <summary> /// A client for GitHub's Repositories API. /// </summary> /// <remarks> /// See the <a href="http://developer.github.com/v3/repos/">Repositorie...