context
stringlengths
2.52k
185k
gt
stringclasses
1 value
/* Copyright 2015-2018 Daniel Adrian Redondo Suarez 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...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; using System.Windo...
#region Copyright notice and license // Copyright 2015 gRPC 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 req...
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...
// // This code was created by Jeff Molofee '99 // // If you've found this code useful, please let me know. // // Visit me at www.demonews.com/hosted/nehe // //===================================================================== // Converted to C# and MonoMac by Kenneth J. Pouncey // http://www.cocoa-mono.org // // Co...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Web; using System.Web.Mvc; namespace Orchard.UI.Resources { public class ResourceDefinition { private static readonly Dictionary<string, string> _resourceTypeTagNames = new Dictionary<string, string> {...
using ExitGames.Client.Photon; using ExitGames.Client.Photon.Lite; using System.Collections.Generic; using Photon; using Photon.Enums; // ReSharper disable once CheckNamespace internal class LoadbalancingPeer : PhotonPeer { public LoadbalancingPeer(IPhotonPeerListener listener, ConnectionProtocol protocolType) : b...
// // 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, ...
// 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.ComponentModel.Composition.Hosting; using System.Compon...
// Copyright (c) ZeroC, Inc. All rights reserved. using Microsoft.VisualStudio.Shell.Interop; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Windows.Forms; using System.Windows.Threading; using MSProject = Microsoft.Build.Evaluation.Project; na...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using FluentAssertions; using Flurl; using Flurl.Http; using NBitcoin; using Newtonsoft.Json; using Stratis.Bitcoin.Features.Wallet.Models; using Stratis.Bitcoin.Int...
// 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; using System.Threading.Tasks; u...
using UnityEngine; using Cinemachine.Utility; namespace Cinemachine { /// <summary> /// The output of the Cinemachine engine for a specific virtual camera. The information /// in this struct can be blended, and provides what is needed to calculate an /// appropriate camera position, orientation, and l...
/* * 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 UnityEngine; using System.Collections.Generic; using System.Reflection; using System.Text.RegularExpressions; using System; using UnityEditor; public abstract class TestBehaviour : MonoBehaviour { public StepList steps; List<Given> givens; float initialDuration; float timeout; string timeUni...
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt using System; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; #if NETSTANDARD2_0 using System.Runtime.Versioning; #else using Microsoft.Win32; #endif namespace NUnit.Framework.Internal { /...
// 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: Platform independent integer ** ...
/* * Copyright (c) 2009 Jim Radford http://www.jimradford.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 limitation the rights * to use, copy,...
//========================================================================= // Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved. // This product is protected by U.S. and international copyright // and intellectual property laws. Pivotal products are covered by // more patents listed at http://www.pivo...
// 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.Security.Cryptography.X509Certificates; using Test...
using System; using System.Collections.Generic; using System.Linq; using Content.Client.Alerts.UI; using Content.Client.Chat.Managers; using Content.Client.Resources; using Content.Client.Stylesheets; using Content.Shared.Chat; using Content.Shared.Input; using Robust.Client.AutoGenerated; using Robust.Client.ResourceM...
// 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...
//--------------------------------------------------------------------- // Authors: jachymko, Oisin Grehan // // Description: Base class for writing archive files. // // Creation Date: Jan 4, 2007 //--------------------------------------------------------------------- using System; using System.Diagnostics; using Syst...
/* * Qa full api * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: all * * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use ...
using System; using System.Collections.Generic; using System.Linq; using CRP.Core.Domain; using CRP.Tests.Core; using CRP.Tests.Core.Extensions; using CRP.Tests.Core.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; using UCDArch.Core.PersistanceSupport; using UCDArch.Data.NHibernate; using UCDArch.Testing.E...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
// 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.Text; using System; using System.Diagnostics; using System.Runtime.InteropServices; namespace System.T...
// <copyright file="BernoulliTests.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // http://mathnetnumerics.codeplex.com // // Copyright (c) 2009-2014 Math.NET // // Permission is hereby granted, free of charge, ...
// Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace Microsoft.Azure.Management.RecoveryServices.Backup { using System.Linq; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; ...
using System; using System.IO; using System.Xml; using System.Text; using System.Collections.Generic; public static class DllMapVerifier { private struct DllImportRef { public DllImportRef (string name, int line, int column) { Name = name; Line = line; Column...
using System; using System.Drawing; using System.Diagnostics; using Microsoft.DirectX; using Microsoft.DirectX.Direct3D; namespace Simbiosis { /// <summary> /// One square of terrain, composed of two triangles. /// Vertices are in the order: left triangle - NW, NE, SW; right triangle - SE, SW, NE. /// Note: Tri...
// 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.Linq; using System.IO; using Roslyn.Test.Utilities; using Microsoft.CodeAnalysis.Test.Utilities; using Xunit; using Microsoft.CodeAn...
// 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. namespa...
// 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. namespa...
// 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.Contracts; using System.IO; using System.Runtime.Serializ...
// 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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.CodeAnalysis.Code...
using System; using System.Collections; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Threading; using Tamir.SharpSsh.jsch; /* * SshStream.cs * * THIS SOURCE CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO...
/* * Swaggy Jenkins * * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Collection...
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Media3D; using System.Windows.Threading; namespace MaterialDesignThemes.Wpf { public static clas...
// *********************************************************************** // 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...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Windows; using EnvDTE; using Microsoft.VisualStudio.ExtensionsExplorer; using NuGet.Dialog.PackageManagerUI; using NuGet.VisualStudio; namespace NuGet.Dialog.Providers { internal class UpdatesProvider : Online...
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // X509Certificate2Collection.cs // namespace System.Security.Cryptography.X509Certificates { using System; using System.Collections; using System.Globalization; using System.IO; using System.Runtime.Int...
// 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...
/* * 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. // namespace Microsoft.Zelig.Runtime { using System; using System.Collections.Generic; using System.Threading; using System.Runtime.CompilerServices; using PORTS = System.IO.Ports; using TS = Microsoft.Zelig.Runtime.TypeSystem...
/* * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * See https://github.com/openiddict/openiddict-core for more information concerning * the license and the contributors participating to this project. */ using System.Text; using System.Text.Encodings.Web; using System....
/* * Copyright (c) 2007-2008, openmetaverse.org * 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 * li...
// // This file is generated by GenericDelegateTypes.tt // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // using System; using System.Reflection; namespace ReactNative.Bridge { static class GenericDelegateTypes { public static Type[] ActionTypes = ...
using Microsoft.Data.Entity.Migrations; namespace AllReady.Migrations { public partial class OrganizationSkills : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey(name: "FK_Activity_Campaign_CampaignId", table: "Activity"); ...
namespace Caps.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class RenameSitemapEntityBranch : DbMigration { public override void Up() { DropForeignKey("dbo.SitemapNodeContentPartResources", "SitemapNodeContentPartId", "dbo.SitemapNo...
// // 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. // ------------------------------------------------------------------------------ // Changes to this file must follow...
namespace Unosquare.FFplayDotNet.Rendering.Wave { using System; using System.Runtime.InteropServices; /// <summary> /// MME Wave function interop /// </summary> internal class WaveInterop { [Flags] public enum WaveInOutOpenFlags { /// <summary> ...
/* Copyright (c) 2006 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...
#region License /* Copyright (c) 2006 Leslie Sanford * * 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, m...
// 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 ...
#region Imported Types using DeviceSQL.Device.ROC.Data; using DeviceSQL.Devices.Device.ROC.Data; using Microsoft.SqlServer.Server; using System; using System.Data.SqlTypes; using System.IO; #endregion namespace DeviceSQL.SQLTypes.ROCMaster { [Serializable()] [SqlUserDefinedType(Format.UserDefined, IsByteOrd...
// Copyright 2007-2017 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 // /...
using ServiceStack.ServiceHost; using System; using System.IO; namespace RestBus.ServiceStack { public class ResponseWrapper : IHttpResponse { //TODO: Fix this class -- See ServiceStacks HttpListenerResponseWrapper class System.Collections.Specialized.NameValueCollection headers = new System.C...
using System; using System.Runtime.InteropServices; using Kitware.VTK; namespace ActiViz.Examples { class Program { struct Frame { private float[] origin; private float[] xDirection; private float[] yDirection; private float[] zDirection; internal float[] Origin ...
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable la...
using System.Reflection; namespace Tmds.DBus.Protocol; public ref partial struct MessageWriter { public void WriteStruct<T1>(ValueTuple<T1> value) where T1 : notnull { WriteStructureStart(); Write<T1>(value.Item1); } sealed class ValueTupleTypeWriter<T1> : ITypeWriter<ValueTup...
// 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.Text; using System.Collections.Generic; public class BringUpTest { const int Pass = ...
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: Boolean ** ** ** Purpose: The boolean class serves as a wrapper for the primitive ** type boolean. ** ** =============================================...
// Sheet.cs // using System; using System.Html; namespace Spreadsheet { public class Sheet { private readonly TableElement _table; // Table element that will contain the spreadsheet /// <summary> /// Spreadsheet Constructor /// </summary> public Sheet() { ...
/* * 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 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
using System; using System.Diagnostics; using System.IO; using System.Reflection; using System.Text; using System.Xml; using System.Xml.Serialization; namespace SIL.Xml { public static class XmlSerializationHelper { #region InternalXmlReader class /// -------------------------------------------------------------...
// 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...
using Microsoft.VisualBasic; using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Diagnostics; namespace nzy3D.Plot3D.Builder.Delaunay.Jdt { /// <summary> /// Grid Index is a simple spatial index for fast point/triangle location. /// The idea is to divide a pred...
#region License //----------------------------------------------------------------------- // <copyright> // The MIT License (MIT) // // Copyright (c) 2014 Kirk S Woll // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Softwar...
// 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; using System.ServiceModel.Channels; using System.ServiceModel.Diagnostics; namespace System....
using System; using System.Collections.Generic; using System.Text; using gView.Framework.IO; using gView.Framework.Carto; using gView.MapServer; using gView.Framework.Data; using System.Xml; using gView.Framework.UI; using System.Reflection; using gView.Framework.system; namespace gView.Interoperability.ArcXML.Dataset...
// 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.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; namesp...
namespace Loon.Core.Graphics.Opengl.Particle { using System.Collections.Generic; using Loon.Utils; using System; public class ParticleSystem { public const int BLEND_ADDITIVE = 1; public const int BLEND_COMBINE = 2; private const int DEFAULT_PARTICLES = 100; priv...
// 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.Dynamic.Utils; using System.R...
//--------------------------------------------------------------------------- // // <copyright file=?AnnotationHighlightLayer.cs? company=?Microsoft?> // Copyright (C) Microsoft Corporation. All rights reserved. // </copyright> // // Description: HighlightLayer for annotations. It handles highlights // and StickyNo...
#region CVS Log /* * Version: * $Id: ID3v2Frame.cs,v 1.10 2004/11/20 23:12:13 cwoodbury Exp $ * * Revisions: * $Log: ID3v2Frame.cs,v $ * Revision 1.10 2004/11/20 23:12:13 cwoodbury * Removed TextEncodingType.ASCII type; replaced with ISO_8859_1 type * or default type for EncodedString. * * Revis...
using System; using System.Collections.Generic; using System.Linq; using Qwack.Core.Basic; using Qwack.Dates; using Qwack.Transport.BasicTypes; namespace Qwack.Core.Instruments.Funding { public class GenericSwapLeg { public GenericSwapLeg() { } public GenericSwapLeg(DateTime startDate, DateTim...
namespace MbUnit.Framework.Tests.Asserts.XmlUnit { using MbUnit.Framework; using MbUnit.Framework.Xml; using MbUnit.Core.Exceptions; using System.IO; [TestFixture] public class XmlAssertionTests { private string _xmlTrueTest; private string _xmlFalseTest; [TestFixtureS...
//********************************************************* // // 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...
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information. using FSLib = FSharp.Compiler.AbstractIL.Internal.Library; using System; using System.Runtime.InteropServices; using System.Collections; using System.IO; using System.Windows.Forms; using System....
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // 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 co...
// 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) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Win32.SafeHandles; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.IO; using System.Runtime.Inte...
using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Chess { [TestClass] public class GameTests { [TestMethod] public void TestPositionOfPiecesWhenGameStarts() { var game = new Game(); game.New(); Assert.IsNotNull(game....
// 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.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeActi...
//----------------------------------------------------------------------- // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2001 // // File: TextProperties.cs // // Contents: Properties of text, text line and paragraph // // Created: 2-25-2003 Worachai Chaoweeraprasit (wchao) ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Android.Bluetooth; using Android.Bluetooth.LE; using Android.OS; using Java.Util; using Plugin.BLE.Abstractions; using Plugin.BLE.Abstractions.Contracts; using Plugin.BLE.Extensions; using Obje...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using FunWithSqlServer.Models; using Fun...
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Infoplus.Model { /// <summary> /// /...
// // rootcontext.cs: keeps track of our tree representation, and assemblies loaded. // // Author: Miguel de Icaza (miguel@ximian.com) // Ravi Pratap (ravi@ximian.com) // Marek Safar (marek.safar@gmail.com) // // // Dual licensed under the terms of the MIT X11 or GNU GPL // // Copyright 2001 Xim...
// 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 osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics....
using DataGg.Database; using Microsoft.Extensions.Configuration; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; namespace DataGg.Test { [TestClass] public class GuernseyDbTest { private GuernseyDb _guernseyDb; [TestInitialize] public void Init() ...
using Microsoft.IdentityModel.S2S.Protocols.OAuth2; using Microsoft.IdentityModel.Tokens; using Microsoft.SharePoint.Client; using System; using System.Net; using System.Security.Principal; using System.Web; using System.Web.Configuration; namespace SharePoint.Utilities { /// <summary> /// Encapsulates all the...
#region license // Copyright (c) 2009 Rodrigo B. de Oliveira (rbo@acm.org) // 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 co...
// 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.Contracts; using System.Globalization; using System.Runtime.CompilerServices; namespace Sy...
//Copyright (c) 2007 Josip Medved <jmedved@jmedved.com> //2007-12-29: New version. //2008-01-03: Added Resources. //2008-01-06: System.Environment.Exit returns E_ABORT (0x80004004). //2008-01-08: Main method is now called Attach. //2008-01-26: AutoExit parameter changed to NoAutoExit //2008-04-10: NewInstanceEventArgs...
using System; using System.Text; using Wintellect.PowerCollections; class Event : IComparable { public DateTime date; public String title; public String location; public Event(DateTime date, String title, String location) { this.date = date; this.title = title; this.locatio...
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.Models; using Umbraco.Core.Models.Rdbms; using Umbraco.Tests.TestHelpers; using Umbraco.Tests.TestHelpers.Entities; namespace Umbraco.Tests.Services { [DatabaseTestBehavior(DatabaseBehav...