context stringlengths 2.52k 185k | gt stringclasses 1
value |
|---|---|
namespace AdMaiora.AppKit.IO
{
using System;
using System.IO;
using System.Linq;
using Android.App;
using Android.OS;
using Android.Webkit;
public class FileSystemPlatformAndroid : IFileSystemPlatform
{
public void CopyFile(FileUri sourceUri, FileUri destinationUri, bool overwr... | |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.Data.Tables.Models;
using Azure.Data.Tables.Sas;
using NUnit.Fra... | |
// 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.Runtime.InteropServices;
using System.Threading;
using System.Linq;
using ... | |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Security.Principal;
using System.Threading.Tasks;
using Xunit;
using... | |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using UnityEngine;
namespace GLTF.JsonExtensions
{
public static class JsonReaderExtensions
{
public static List<string> ReadStringList(this JsonReader reader)
{
if (reader.Read() && reader.TokenType != JsonToken.StartArray)
{
throw... | |
using UnityEngine;
namespace Pathfinding {
/** Holds a coordinate in integers */
public struct Int3 {
public int x;
public int y;
public int z;
//These should be set to the same value (only PrecisionFactor should be 1 divided by Precision)
/** Precision for the integer coordinates.
* One world unit is... | |
using System;
using System.Runtime.InteropServices;
namespace bv.winclient.Core
{
public class ActivityMonitor : IDisposable
{
#region interop stuff
public delegate int HookProc(int nCode, IntPtr wParam, IntPtr lParam);
[DllImport("user32.dll", CharSet = CharSet.Auto, CallingConventi... | |
// Copyright 2019 Esri.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software ... | |
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Web.DynamicData.ModelPr... | |
/**
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
*
* You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
* copy, modify, and distribute this software in source code or binary form for use
* in connection with the web services and APIs provided by Facebook.
*
* As ... | |
using UnityEngine;
using System.Collections;
using Pathfinding;
using System;
using System.Collections.Generic;
namespace Pathfinding {
/** Contains various spline functions.
* \ingroup utils
*/
class AstarSplines {
public static Vector3 CatmullRom(Vector3 previous,Vector3 start, Vector3 end, Vector3 next, ... | |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using TrackableEntities;
using TrackableEntities.Client;
using System.ComponentModel.DataAnnotations;
namespace AIM.Web.Admin.Models.EntityModels
{
[JsonObject(IsReference = true)]
[DataContract(IsReferen... | |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Ver... | |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Web.UI;
using Juice.Framework;
using Juice.Framework.TypeConverters;
namespace Juice {
[ParseChildren(typeof(TabPage), DefaultProperty = "TabPages", ChildrenAsProperties = true)]
[WidgetEvent("beforeLoad")]
[WidgetEvent("cr... | |
//
// 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... | |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using BenderProxy;
using BenderProxy.Writers;
using NUnit.Framework;
using OpenQA.Selenium.Environment;
using OpenQA.Selenium.IE;
namespace OpenQA.Selenium
{
[Test... | |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Numerics;
using System.Linq;
using GlmSharp.Swizzle;
// ReSharper disable InconsistentNaming
namespace GlmSharp
{
/// <s... | |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Linq.Expressions;
using Xunit;
namespace Moq.Tests
{
public class ActionObserverFixture
{
public class Reconstructibility
... | |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using Pulsar4X.Entities;
using Pulsar4X.Helpers.GameMath;
using Pulsar4X.Helpers;
using System.ComponentModel;
namespace Pulsar4X.Entities
{
/// <summary>
/// Calculates and handles orbits for bodies.
... | |
// Copyright (c) 2015 Alachisoft
//
// 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 t... | |
// ------------------------------------------------------------------------------
// 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.Threading;
namespace System.Runtime
{
// AsyncResult starts acquired; Complete releases.
[Fx.... | |
/*
* 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. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
using Microsoft.Build.Evaluation;
usin... | |
// Copyright (C) 2012-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, copy, modify, merge, p... | |
//#define ASTARDEBUG //"BBTree Debug" If enables, some queries to the tree will show debug lines. Turn off multithreading when using this since DrawLine calls cannot be called from a different thread
using System;
using UnityEngine;
using Pathfinding;
using System.Collections.Generic;
namespace Pathfinding
{
/** A... | |
using System;
using System.Collections.Generic;
using System.Text;
using FlatRedBall.Gui;
using FlatRedBall.Graphics.Particle;
namespace EditorObjects.Gui
{
public class EmitterPropertyGrid : PropertyGrid<Emitter>
{
SpritePropertyGrid mSpritePropertyGrid;
#region Properties
public ove... | |
// 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.Reflection;
using System.Collections.Generic;
using Microsoft.Build.Framework;
namespace Microsoft.Build.BuildEngine.Shared
{
/// <summa... | |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Reflection.Internal;
using System.Reflection.Metadata;
namespace System.Refl... | |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#define ENABLE
#define MINBUFFERS
using System;
#if !FEATURE_CORECLR
using System.Diagnostics.Tracing;
#endif
using System.Runtime.InteropServices;
using System.Runtime.... | |
//
// 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) 2008, Anthony James McCreath
* 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 l... | |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net.Http.Headers;
using System.Web.Http;
using System.Web.Http.Description;
using WebApiSoup.Areas.HelpPage.Models;
namespace WebApiSo... | |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: TextReader
**
** <OWNER>Microsoft</OWNER>
**
**
** Purpose: Abstract base class for all Text-only Readers.
** Subclasses will include StreamReader & Stri... | |
//
// 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.
using System;
namespace System.Globalization
{
/*
** Calendar support range:
** Calendar ... | |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Provides base functionality to handle textures with multiple image frames.
/// </summary>
[ExecuteInEditMode]
public class OTContainer : MonoBehaviour
{
public string _name = "";
bool registered = false;
... | |
/* Usage: just add/link this file to your NUnit test project.
* Class and method attributes are:
*
* [TestClass]
* public class MyFixture
* {
* [TestMethod]
* public void ShouldWork()
* {
* // arrange
* // act
* // assert
* result.ShouldNotBeNull();
* }
* }
*
* "Dotting" o... | |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.IO;
using System.Linq;
using System.Resources;
namespace ResxTranslator.Common
{
/// <summary>
/// Represents text strings that are localized in a number of resx files.
/// The files c... | |
using AbcSharp.ABC;
using AbcSharp.SWF;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Runtime.ExceptionServices;
using System.Text;
using System.Threading;
using System.Thre... | |
using System;
using System.Runtime.InteropServices;
using System.Collections;
using UnityEngine;
/*
* please don't use this code for sell a asset
* user for free
* developed by Poya @ http://gamesforsoul.com/
* BLOB support by Jonathan Derrough @ http://jderrough.blogspot.com/
* Modify and structure by Santiag... | |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Microsoft.Visua... | |
// 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.Net.Security;
using System.Security.Authentication;
using System.Secu... | |
using System;
using System.Drawing;
using System.IO;
using Xunit;
using Medo.Drawing;
using System.Reflection;
namespace Tests.Medo.Drawing {
public class SimplePngImageTests {
[Fact(DisplayName = "SimplePngImage: Color Basic")]
public void ColorBasic() {
var bmp = new SimplePngImage(2... | |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace Astrid.LibGdx
{
/// <summary>
/// Provides TextureAtlasGDX with the ability to read texture atlas files in
/// libGDX's format. This is not meant for everyday use.
/// </summary>
/// <see cref="Text... | |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LavaLeak.Diplomata.Dictionaries;
using LavaLeak.Diplomata.Helpers;
using LavaLeak.Diplomata.Models.Submodels;
using LavaLeak.Diplomata.Persistence;
using LavaLeak.Diplomata.Persistence.Models;
using UnityEngine;
namespace LavaL... | |
// 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... | |
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.IO;
using System.Timers;
using System.Threading;
namespace Zegeger.Diagnostics
{
public enum TraceLevel
{
Off,
Fatal,
Error,
Warning,
Info,
Verbose,
... | |
/*
Copyright 2012 Michael Edwards
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 i... | |
using Lucene.Net.Store;
using Lucene.Net.Util;
using System;
using System.Diagnostics;
namespace Lucene.Net.Codecs
{
/*
* 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 ... | |
#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... | |
/*
* 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 ... | |
// -----------------------------------------------------------------------
// <copyright file="Rect.cs" company="Steven Kirk">
// Copyright 2013 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Avalonia
{
using Sy... | |
// 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.Diagnostics.Co... | |
// Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
//
// System.Drawing.Imaging.Metafile.cs
//
// Authors:
// Christian Meyer, eMail: Christian.Meyer@cs.tum.edu
// Dennis Hayes (dennish@raytek.com)
// Sebastien Pouliot <sebastien@... | |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Windows.Documents.Serialization;
using System.Windows.Documents;
using System.Windows.Markup;
using System.Windows.Media;
using System.Printing;
using System.Windows;
using System.Xml;
namespace DocumentSerialization
{
... | |
#region License
// Copyright (c) K2 Workflow (SourceCode Technology Holdings Inc.). All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
#endregion
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.... | |
using System;
using CookComputing.XmlRpc;
namespace Drupal7.Services
{
public interface IServiceSystem : IXmlRpcProxy
{
#region AddressField
[XmlRpcMethod("services_addressfield.country_get_list")]
XmlRpcStruct AddressFieldCountryGetList();
[XmlRpcMethod("services_addressfield.get_address_format")]
XmlR... | |
/// <license>
/// This is a port of the SciMark2a Java Benchmark to C# by
/// Chris Re (cmr28@cornell.edu) and Werner Vogels (vogels@cs.cornell.edu)
///
/// For details on the original authors see http://math.nist.gov/scimark2
///
/// This software is likely to burn your processor, bitflip your memory chips
/// anihi... | |
using System;
using System.ComponentModel;
using UIKit;
using Xamarin.Forms.PlatformConfiguration.iOSSpecific;
namespace Xamarin.Forms.Platform.iOS
{
internal class ChildViewController : UIViewController
{
public override void ViewDidLayoutSubviews()
{
foreach (var vc in ChildViewControllers)
vc.View.Fram... | |
using System;
using GraphQL.Types;
using Shouldly;
using Xunit;
namespace GraphQL.Tests.Initialization
{
public class SchemaInitializationTests : SchemaInitializationTestBase
{
[Fact]
public void EmptyQuerySchema_Should_Throw()
{
ShouldThrow<EmptyQuerySchema, InvalidOperatio... | |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace DotNetty.Handlers.Tls
{
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.IO;
using System.... | |
using log4net;
using Mono.Addins;
using Nini.Config;
using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Region.Framework.Interfaces;
using OpenSim.Region.Framework.Scenes;
using OpenSim.Services.Interfaces;
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of ... | |
/*
* 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 LiteNetLib.Utils;
//Some code parts taked from lidgren-network-gen3
namespace LiteNetLib
{
public interface INatPunchListener
{
void OnNatIntroductionRequest(NetEndPoint localEndPoint, NetEndPoint remoteEndPoint, string token);
void OnNatIn... | |
/***************************************************************************
copyright : (C) 2005 by Brian Nickel
: (C) 2006 Novell, Inc.
email : brian.nickel@gmail.com
: Aaron Bockover <abockover@novell.com>
based on : ... | |
// 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 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 file="ColumnEnums.cs" company="Microsoft Corporation">
// Copyright (c) 1999, Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>
// Part of the Deployment Tools Foundation project.
// </summary>
//------------... | |
// This is a forked Class from Elze Kool (kooldevelopment.nl), which provided the whole class to me.
// For size reasons I deleted all algorithms I do not need.
using System;
namespace netmfawss3.Utilities
{
/// <summary>
/// Static class providing Secure Hashing Algorithm (SHA-1, SHA-224, SHA-256)
/// <... | |
// 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: List for exceptions.
**
**
... | |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Reflection.Internal;
using System.Reflection.Metadata;
using System.Text;
us... | |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
namespace RRLab.PhysiologyWorkbench.Devices
{
public partial class FilterWheelPositionControl : UserControl
{
private List<char> _Wheels =... | |
/*
The MIT License (MIT)
Copyright (c) 2014 Play-Em
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, publi... | |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Xml;
using Orleans.Configuration;
namespace Orleans.Runtime.Configuration
{
/// <summary>
/// Individual node-specific silo con... | |
// 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.Text;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Visu... | |
// 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.Collections.Generic;
using System.Text;
// TPL namespaces
using System.Threa... | |
namespace PokerTell.PokerHand.Tests.Analyzation
{
using System.Linq;
using Infrastructure;
using Infrastructure.Enumerations.PokerHand;
using NUnit.Framework;
using PokerTell.PokerHand.Analyzation;
using UnitTests;
using UnitTests.Tools;
public class SequenceStringConverterTests : T... | |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
using Plivo.Client;
namespace Plivo.Resource.Conference
{
/// <summary>
/// Conference interface.
/// </summary>
public class ConferenceInterface : ResourceInterface
{
/// <summary>
... | |
// Copyright (c) 1995-2009 held by the author(s). All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of c... | |
using System;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using Moq;
using NUnit.Framework;
using Thinktecture.Wscf.Framework.Tests.Helpers;
namespace Thinktecture.Wscf.Framework.CodeGeneration
{
[TestFixture]
public class... | |
using System;
using System.Linq;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.PropertyEditors;
using Umbraco.Core.Services;
using Umbraco.Tests.TestHelpers.Entities;
using Umbraco.Tests.Testing;
using Umbraco.Web.Models.ContentEditing;
u... | |
// 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.Reflection;
using System.ServiceModel;
using System.ServiceModel.Channels;
using Xunit;
public class DuplexChannelFactoryTest
{
[Fact]
... | |
using UnityEngine;
using System.Collections;
[System.Serializable]
public class tk2dTextMeshData
{
public int version = 0;
public tk2dFontData font;
public string text = "";
public Color color = Color.white;
public Color color2 = Color.white;
public bool useGradient = false;
public int textureGradient = 0;... | |
// <copyright file=Sphere.cs
// <copyright>
// Copyright (c) 2016, University of Stuttgart
// 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 t... | |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using RRLab.PhysiologyWorkbench.Data;
namespace RRLab.PhysiologyWorkbench.GUI
{
public partial class QuickNotes : UserControl
{
public eve... | |
using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Data;
using System.Data.SqlClient;
namespace HWD.HWDKernel
{
public class Utilities
{
[DllImport( "crypt32.dll",
SetLastError=true,
CharSet=System.Runtime.InteropServices.CharSet.Auto)]
private static extern
bool Crypt... | |
#region File Description
//-----------------------------------------------------------------------------
// ScoreBar.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
#re... | |
// 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... | |
namespace Abacus {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using BF = System.Reflection.BindingFlags;
using static S... | |
using System;
using System.Data;
using Csla;
using Csla.Data;
using SelfLoad.DataAccess;
using SelfLoad.DataAccess.ERLevel;
namespace SelfLoad.Business.ERLevel
{
/// <summary>
/// C03_SubContinentColl (editable child list).<br/>
/// This is a generated base class of <see cref="C03_SubContinentColl"/> busi... | |
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Docker.DotNet.Models
{
[DataContract]
public class SystemInfoResponse // (types.Info)
{
[DataMember(Name = "ID", EmitDefaultValue = false)]
public string ID { get; set; }
[DataMember(Name = "Containers"... | |
//! \file AudioOGG.cs
//! \date Fri Nov 07 00:32:15 2014
//! \brief NVorbis wrapper for GameRes.
//
// Copyright (C) 2014 by morkt
//
// 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 th... | |
/*
private Vector messageListeners;
private Vector newLineListeners;
private Vector matchListeners;
private Vector tokenListeners;
private Vector semPredListeners;
private Vector synPredListeners;
private Vector traceListeners;
*/
using System;
using System.ComponentModel;
using Solenoid.Expressions.Parser.antlr... | |
//! \file ArcEAGLS.cs
//! \date Fri May 15 02:52:04 2015
//! \brief EAGLS system resource archives.
//
// Copyright (C) 2015-2016 by morkt
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// de... | |
using System;
using System.Net;
using EventStore.Common.Utils;
using EventStore.Core.Cluster;
using EventStore.Core.Messaging;
namespace EventStore.Core.Messages
{
public static class ElectionMessage
{
public class StartElections : Message
{
private static readonly int TypeId = Syst... | |
using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using System.Data;
using NServiceKit.DataAnnotations;
using System.Reflection;
using NServiceKit.OrmLite;
using NServiceKit.OrmLite.Firebird;
namespace TestLiteFirebirdProcedures
{
[Alias("EMPLOYEE")]
public class Emplo... | |
//
// Copyright 2011-2013, Xamarin 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 appli... | |
using NuGet.Packaging.Core;
using NuGet.Versioning;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NSubstitute;
using NuKeeper.Abstractions;
using NuKeeper.Abstractions.Logging;
using NuKeeper.Inspection.Sort;
using NuKeeper.Inspection.RepositoryInspecti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.