context
stringlengths
2.52k
185k
gt
stringclasses
1 value
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Concurrent; using System.Globalization; using System.Management.Automation; using System.Management.Automation.Internal; using System.Management.Automation.Remoting; using System.Manag...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; using Microsoft.Deployment.WindowsInstaller; using sys = System.IO; namespace WixSharp.Bootstrapper { /// <summary> /// Class for defining a Wix# application for WiX standard Burn-based bootstrapper. ...
using System; using NUnit.Framework; namespace DotSpatial.Projections.Tests.Geographic { /// <summary> /// This class contains all the tests for the Europe category of Geographic coordinate systems /// </summary> [TestFixture] public class Europe { [Test] public void Belge1972_E...
using System; using System.Diagnostics; using System.IO; using System.Data; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace MyGeneration { public enum ConnectionTestState { Waiting, Error, Success } /// <summary> /// Summary description fo...
using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Text; using System.Security.Cryptography; using Thrift; using Thrift.Protocol; using Thrift.Transport; using Evernote.EDAM.Type; using Evernote.EDAM.UserStore; using Evernote.EDAM.NoteStore; using Evernote.EDAM.Error...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; #if NETCORE using System.Runtime.Loader; #endif using Reinforced.Typings.Exceptions; using Reinforced.Typings.Fluent; namespace Reinforced.Typings.Cli { internal static class CoreTypeExtensions { ...
using System.Linq; using System.Collections.Generic; using System; using System.Reflection; #if VELOX_DB namespace Velox.DB.Core #else namespace Velox.Core #endif { [Flags] public enum TypeFlags { Byte = 1<<0, SByte = 1<<1, Int16 = 1<<2, UInt16 = 1<<3, Int32 = 1<<4, ...
using System; using System.Drawing; using System.Windows.Forms; using System.Drawing.Drawing2D; namespace WeifenLuo.WinFormsUI.Docking { /// <include file='CodeDoc/AutoHideStripVS2003.xml' path='//CodeDoc/Class[@name="AutoHideStripVS2003"]/ClassDef/*'/> internal class VS2003AutoHideStrip : AutoHideStripBase ...
using System; using System.Text; using NUnit.Framework; using Raksha.Crypto; using Raksha.Crypto.Parameters; using Raksha.Security; using Raksha.Utilities.Encoders; using Raksha.Tests.Utilities; namespace Raksha.Tests.Misc { /// <remarks> /// MAC tester - vectors from /// <a href="http://www.itl.nist.gov/fipspubs...
// // 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) 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...
namespace StripeTests { using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Stripe; using Xunit; public class InvoiceServiceTest : BaseStripeTest { private const string InvoiceId = "in_123"; private readonly I...
//#define NoTagPenalty //Enables or disables tag penalties. Can give small performance boost #if UNITY_4_0 || UNITY_4_1 || UNITY_4_2 || UNITY_3_5 || UNITY_3_4 || UNITY_3_3 #define UNITY_LE_4_3 #endif #if !UNITY_3_5 && !UNITY_3_4 && !UNITY_3_3 #define UNITY_4 #endif using UnityEngine; using UnityEditor; using System...
/* ==================================================================== 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...
// 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.Drawing; using System.Windows.Forms; namespace ToolStripCustomizer.ColorTables { sealed class OfficeXPColorTable : PresetColorTable { public OfficeXPColorTable() : base("Office XP") { } public override Color ButtonSelectedBorder { ge...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.ComponentModel; using System.Diagnostics; using System.Drawing.Internal; using System.Runtime.InteropSe...
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 OAuthAddinDemoWeb { /// <summary> /// Encapsulates all the in...
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. /////////////////////////////////////////////////////////...
// Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
/* Copyright 2006 - 2010 Intel 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 applicable law or agreed to in writin...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Packaging; using System.Linq; using System.Net.Mime; using System.Text; using System.Xml.Serialization; namespace ClosedXML_Tests { public static class PackageHelper { public static void WriteXmlP...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using OLEDB.Test.ModuleCore; using System.Collections.Generic; using System.IO; using XmlCoreTest.Common; namespace...
using System; using System.Collections.Generic; using NuGet.Packaging.Core; using NuGet.Versioning; using NuKeeper.Abstractions; using NuKeeper.Abstractions.CollaborationPlatform; using NuKeeper.Abstractions.RepositoryInspection; using NuKeeper.Engine; using NUnit.Framework; namespace NuKeeper.Tests.Engine { [Test...
using UnityEngine; using System.Collections; [AddComponentMenu("2D Toolkit/Camera/tk2dCameraAnchor")] [ExecuteInEditMode] /// <summary> /// Anchors children to anchor position, offset by number of pixels /// </summary> public class tk2dCameraAnchor : MonoBehaviour { // Legacy anchor // Order: Upper [Left, Center, R...
/* * WebHeaderCollection.cs * * This code is derived from System.Net.WebHeaderCollection.cs of Mono * (http://www.mono-project.com). * * The MIT License * * Copyright (c) 2003 Ximian, Inc. (http://www.ximian.com) * Copyright (c) 2007 Novell, Inc. (http://www.novell.com) * Copyright (c) 2012-2014 sta.blockhead...
// ---------------------------------------------------------------------------------- // // Copyright 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.apac...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reactive.Linq; using System.Reflection; usin...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Randomizer.Web.Data; using Randomizer.Model; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Randomizer.Web.Models; using Randomizer.Core; using Microsof...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; using System.Net; using System.Linq; using Microsoft.Azure; using Microsoft.Azure.Management.ResourceManager; using Microsoft.Az...
// **************************************************************** // 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.Collections; name...
// Licensed to the .NET Foundation under one or more agreements. // See the LICENSE file in the project root for more information. // (C) 2002 Ville Palo // (C) 2003 Martin Willemoes Hansen // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obta...
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace BinxEd { /// <summary> /// Summary description for FormStruct. /// </summary> public class FormStruct : System.Windows.Forms.Form { private string typeName_; private System.Windows...
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / /// <summary> /// SyncStreamResource /// </summary> using Newtonsoft.Json; using System; using System.Collections.Generic; using Twilio.Base; using Twilio.Clients; using Twilio.Converters; using Twilio.Excep...
/* * 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...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime; namespace System.ServiceModel.Channels { internal abstract class LayeredChannelFactory<TChannel> : ChannelFactoryBase<TChannel> { ...
// 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.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Nu...
// 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.Globalization; using System.Net.Internals; using System.Net.Sockets; using System.Threading; using Syst...
namespace PokerTell.Repository.Tests.Database { using System.Collections.Generic; using Infrastructure.Events; using Infrastructure.Interfaces.DatabaseSetup; using Infrastructure.Interfaces.PokerHand; using Infrastructure.Interfaces.Repository; using Interfaces; using Machine.Specificatio...
// 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 : Copyright 2014 Oculus VR, LLC. All Rights reserved. Licensed under the Oculus VR Rift SDK License Version 3.3 (the "License"); you may not use the Oculus VR Rift SDK except in compliance with the License, which is pr...
/* ==================================================================== Copyright (C) 2004-2008 fyiReporting Software, LLC This file is part of the fyiReporting RDL project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. ...
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Orleans.Runtime; namespace Orleans { internal static class OrleansTaskExtentions { internal static readonly Task<object> CanceledTask = TaskFromCanceled<object>(); internal static reado...
using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; using System.ComponentModel; using System.Runtime.InteropServices; using System.IO; using System.Text; using System.Diagnostics.CodeAnalysis; using System.Collections.Generic; // To simplify the process of finding the toolb...
using UnityEngine; using UnityEditor; using System.Collections.Generic; using System.Reflection; using System.Collections; public class UFTAtlasMigrateWindow : EditorWindow { public UFTAtlasMetadata atlasMetadataFrom; public UFTAtlasMetadata atlasMetadataTo; private static string EDITORPREFS_ATLASMIGRATION_FROM="...
namespace Rafty.UnitTests { using Infrastructure; using Microsoft.Extensions.Logging; using Moq; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Concensus.Messages; using Concensus.Node; using Concensus.Peers; using ...
// 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; using M...
/* insert license info here */ using System; using System.Collections; namespace Business.Data.Laboratorio { /// <summary> /// Generated by MyGeneration using the NHibernate Object Mapping template /// </summary> [Serializable] public sealed class AgendaDia : Business.BaseDataAccess { #region Private Membe...
/* * 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...
using System; using System.Collections.Generic; using System.Linq; using Nop.Core.Caching; using Nop.Core.Data; using Nop.Core.Domain.Common; using Nop.Services.Events; namespace Nop.Services.Common { /// <summary> /// Address attribute service /// </summary> public partial class AddressAttributeServic...
// 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.Reflection; using System.Collections.Generic; #pragma warning disable 0067 ...
// 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.Memory.Tests; using System.MemoryTests; using Microsoft.Xunit.Performance; using Xunit; namespace Syst...
using System; using System.Threading.Tasks; using Tweetinvi.Events; using Tweetinvi.Models; using Tweetinvi.Streaming; using Xunit; using Xunit.Abstractions; using xUnitinvi.TestHelpers; namespace xUnitinvi.EndToEnd { [Collection("EndToEndTests")] public class StreamEndToEndTests : TweetinviTest { ...
// // 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...
// // This file was generated by the BinaryNotes compiler. // See http://bnotes.sourceforge.net // Any modifications to this file will be lost upon recompilation of the source ASN.1. // using GSF.ASN1; using GSF.ASN1.Attributes; using GSF.ASN1.Coders; using GSF.ASN1.Types; namespace GSF.MMS.Model { [ASN1Pr...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; using System.Diagnostics; using System.IO; using System.IO.Pipelines; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet...
// // 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.Collections.Generic; using Mono.Collections.Generic; using SR = System.Reflection; using Mono.Cecil.Metadata; name...
// 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.Globalization; using System.Net; using Syst...
#region Apache License // // 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 // (...
using System; using System.Runtime.InteropServices; using System.ComponentModel; namespace SharpGL { /// <summary> /// Useful functions imported from the Win32 SDK. /// </summary> public static class Win32 { /// <summary> /// Initializes the <see cref="Win32"/> class. /// </summar...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading; using SlackAPI.RPCMessages; namespace SlackAPI { /// <summary> /// SlackClient is intended to solely handle RPC (HTTP-ba...
/* * Copyright (C) 2012, 2013 OUYA, 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 a...
using System; using System.Globalization; using System.Collections.Generic; using Sasoma.Utils; using Sasoma.Microdata.Interfaces; using Sasoma.Languages.Core; using Sasoma.Microdata.Properties; namespace Sasoma.Microdata.Types { /// <summary> /// A music store. /// </summary> public class MusicStore_Core : TypeC...
// $Id$ // // 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"...
using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Data; using System.Windows.Forms; using NBM.Plugin; // 26/6/03 namespace NBM.OptionNodes { /// <summary> /// Basic protocol options - stuff like username, password and server information /// </summary> public ...
// *********************************************************************** // Copyright (c) 2014 Charlie Poole // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, inclu...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using Microsoft.Research.AbstractDomains.Numerical; using System.Diagnostics.Contracts; namespace Microsoft.Research.Ab...
/* * UltraCart Rest API V2 * * UltraCart REST API Version 2 * * OpenAPI spec version: 2.0.0 * Contact: support@ultracart.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using Sy...
using System; using System.Collections.Generic; using Xunit; using Xunit.Extensions; namespace Bugsnag.Test { public class MetadataTests { [Fact] public void Constructor_NewMetadataContainsEmptyDataStore() { // Arrange + Act var testMetadata = new Metadata(); ...
// Copyright 2011, Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
// 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 contains the IDN functions and implementation. // // This allows encoding of non-ASCII domain names ...
// 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. //----------------------------------------------------------------------------- // // Description: // This is a sub...
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. /////////////////////////////////////////////////////////...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using TwitchBot.Utils; namespace TwitchBot.Proxy { public class TwitchMessage { private const string UserMessageTypePrivateMsg = "PRIVMSG"; private const string UserMessageTypeJoinChannel = ...
//----------------------------------------------------------------------- // <copyright file="TangoInspector.cs" company="Google"> // // Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licens...
// // ListView_Rendering.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007-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 deal in the Software without r...
// // 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 file="SvdTests.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-2010 Math.NET // Permission is hereby granted, free of charge, to any perso...
using System; using System.Linq; using System.Runtime.InteropServices; using Torque6.Engine.SimObjects; using Torque6.Engine.SimObjects.Scene; using Torque6.Engine.Namespaces; using Torque6.Utility; namespace Torque6.Engine.SimObjects.GuiControls { public unsafe class DbgFileView : GuiArrayCtrl { pu...
// 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.ComponentModel; using System.Diagnostics; using System.IO; using Syst...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace ContactsService.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it ...
using System; using OrchardCore.ContentManagement.Records; using OrchardCore.Data.Migration; using YesSql.Sql; namespace OrchardCore.ContentFields.Indexing.SQL { public class Migrations : DataMigration { public int Create() { // NOTE: The Text Length has been decreased from 4000 cha...
/* * 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...
namespace XenAdmin.Dialogs { partial class VIFDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ///...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using Orleans.CodeGeneration; namespace Orleans.Runtime { /// <summary> /// A collection of utility functions for dealing with Type ...
// ---------------------------------------------------------------------------------- // // Copyright 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.apac...
using System; using System.Xml.Linq; namespace WixSharp { /// <summary> /// Represents a Wix Extension /// </summary> public class WixExtension { /// <summary> /// File name of the represented Wix Extension assembly /// </summary> /// <remarks>The represented value m...
// UrlRewriter - A .NET URL Rewriter module // Version 2.0 // // Copyright 2007 Intelligencia // Copyright 2007 Seth Yates // using System; using System.IO; using System.Xml; using System.Web; using System.Web.Caching; using System.Text.RegularExpressions; using System.Collections; using System.Collections.Specialize...
namespace Signum.Engine.Maps; public static class TableExtensions { internal static string UnScapeSql(this string name, bool isPostgres) { if (isPostgres) { if (name.StartsWith('\"')) return name.Trim('\"'); return name.ToLower(); } ret...
//----------------------------------------------------------------------- // <copyright file="FlowInterleaveSpec.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> // </copyrigh...
using System; using System.Collections.Generic; using System.Linq; namespace Orleans.Runtime.ConsistentRing { /// <summary> /// We use the 'backward/clockwise' definition to assign responsibilities on the ring. /// E.g. in a ring of nodes {5, 10, 15} the responsible for key 7 is 10 (the node is responsib...
// 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.Collections; using System.Globalization; using Xunit; u...
/* * Copyright 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
// 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 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...
#region License //L // 2007 - 2013 Copyright Northwestern University // // Distributed under the OSI-approved BSD 3-Clause License. // See http://ncip.github.com/annotation-and-image-markup/LICENSE.txt for details. //L #endregion using System; using System.Collections.Generic; using System.Diagnostics; using System....
using System; using System.Collections; using System.Globalization; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace WebAp...
// 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 ...
// 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 ...