context
stringlengths
2.52k
185k
gt
stringclasses
1 value
using System.Drawing; using System.Windows.Forms; using BorderSkin.BorderSkinning.Skin; using LayeredForms; using LayeredForms.Utilities; using WinApiWrappers; using Padding = System.Windows.Forms.Padding; namespace BorderSkin.BorderSkinning.Forms { public enum ResizingClickPosition { LeftCorner, ...
// 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.CodeAnalysis; using System.Runtime.InteropServices; namespace Microsoft.Protocols.TestTools.St...
#region WatiN Copyright (C) 2006-2011 Jeroen van Menen //Copyright 2006-2011 Jeroen van Menen // // 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/lice...
/* * Infoplus API * * Infoplus API. * * OpenAPI spec version: v1.0 * Contact: api@infopluscommerce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
using System; using System.Diagnostics; namespace Microsoft.Msagl.Core.Geometry { internal struct CompassVector { /// <summary> /// Override op== /// </summary> /// <param name="a"></param> /// <param name="b"></param> /// <returns></returns> public static b...
/* 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) 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.Linq; using osuTK.Graphics; using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framewor...
// 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.Composition.Primitives; using System.Diagnostics; usin...
using System; using NUnit.Framework; using Seterlund.CodeGuard.Validators; namespace Seterlund.CodeGuard.UnitTests.Validators { [TestFixture] public class StringValidatorTests : BaseTests { #region ----- Fixture setup ----- /// <summary> /// Called once before first test is execute...
using System; using System.Drawing; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using System.Windows.Forms; using DevExpress.CodeRush.PlugInCore; namespace CR_XkeysEngine { public class NewFolderName : DXCoreForm { #region private consts private const string STR_P...
using System; using System.Collections; namespace NBarCodes { class Code128Encoder : ISymbolEncoder { // consider using this on code 39!! private class SymbolWrap { private readonly BitArray symbol; private readonly int value; public SymbolWrap(BitArray s, int v) { symbol = s; ...
// 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. using System.Text; using System.Diagnostics; namespace System { internal static class UriHelper { p...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Net.Http.Headers; using System.W...
using System.Diagnostics; namespace YAF.Lucene.Net.Search { /* * 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 th...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.Win32.SafeHandles; using System.Collections.Generic; using System.Runtime.InteropServices; using Xun...
/* * 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 ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Orleans.CodeGeneration; using Orleans.Serialization; using TestExtensions; using UnitTests.GrainInterfaces; using Xunit; namespace UnitTests.Serialization { /// <summary> /// Summary description for Serializati...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.Threading; using WebSocketSharp; namespace Example1 { internal class AudioStreamer : IDisposable { private Dictionary<uint, Queue> _audioBox; private ...
/* * 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.Diagnostics.CodeAnalysis; using UnityEngine; namespace Assets.InputMapper.Devices { /// <summary> /// Defines available keys on a keyboard device. /// </summary> [SuppressMessage("ReSharper", "UnusedMember.Global")] public enum KeyboardKey { // NOTE taken from Unity, in...
// // System.Net.ListenerAsyncResult // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // Copyright (c) 2005 Ximian, Inc (http://www.ximian.com) // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Net; using System.Threading; using System.Transactions; using log4net; using Rhino.Queues.Internal; using Rhino.Queues.Model; using Rhino.Queues.Protocol; using Rhino.Queues.Storage; using System.Linq; namespace Rhino.Queues { usin...
// 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 required by...
// 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 ...
/* * Conversion.cs - Implementation of the * "Microsoft.VisualBasic.Conversion" class. * * Copyright (C) 2003 Southern Storm Software, Pty Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software F...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.Management.Compute; using Microsoft.Azure.Management.Compute.Models; using Microsoft.Azure.Management.ResourceManager; using Microsoft.Rest....
//------------------------------------------------------------------------------ // <copyright file="HybridDictionary.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //-----------------------------...
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** CLASS: XMLUtil ** ** <OWNER>[....]</OWNER> ** ** PURPOSE: Helpers for XML input & output ** ===========================================================*/ ...
using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Globalization; using System.Linq; using System.Text; namespace EduHub.Data.Entities { /// <summary> /// Sickbay Medication Administrations Data Set /// </summary> ...
/* * 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 ...
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;...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Transaction.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::Syst...
// 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...
// Copyright (C) 2015-2021 The Neo Project. // // The neo is free software distributed under the MIT software license, // see the accompanying file LICENSE in the main directory of the // project or http://www.opensource.org/licenses/mit-license.php // for more details. // // Redistribution and use in source and bi...
// 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.Internal; using System.Diagnostics; using System.Runtime.CompilerServ...
// 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...
//Original Scripts by IIColour (IIColour_Spectrum) using UnityEngine; using System.Collections; using UnityEngine.UI; using PokemonUnity.Monster; public class EvolutionHandler : MonoBehaviour { private DialogBoxHandlerNew dialog; private GUIParticleHandler particles; private int pokemonFrame = 0; pri...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading.Tasks; using Orleans.CodeGeneration; using Orleans.GrainReferences; using Orleans.Metadata; using Orleans.Runtime; namespace Orleans { /// <summary> /// Factory for accessing grains. /// </summary> ...
using System; using System.Collections.Specialized; using System.Collections.Generic; using System.Reflection; using System.Text.RegularExpressions; using EmergeTk.Model; using EmergeTk.Model.Security; using SimpleJson; namespace EmergeTk.WebServices { public delegate void MessageEndPoint (MessageEndPointArguments ar...
using System.Diagnostics.CodeAnalysis; using Signum.Engine.Maps; using Signum.Utilities.Reflection; namespace Signum.Engine.Linq; internal class ChildProjectionFlattener : DbExpressionVisitor { SelectExpression? currentSource; readonly AliasGenerator aliasGenerator; private ChildProjectionFlattener(Alias...
using System; using System.Collections; using System.Text; using System.Collections.Generic; /* Based on the JSON parser from * http://techblog.procurios.nl/k/618/news/view/14605/14863/How-do-I-write-my-own-parser-for-JSON.html * * I simplified it so that it doesn't throw exceptions * and can be used in Unity i...
// Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // - Redistributions of source code must retain the above copyright notice, this // list o...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // This file isn't built into the .csproj in corefx but is consumed by Mono. namespace System.Drawing.Design { ...
using System; using System.Collections.Generic; using System.IO; using Mono.Options; namespace CppSharp { class CLI { private static OptionSet optionSet = new OptionSet(); private static Options options = new Options(); static bool ParseCommandLineArgs(string[] args, List<strin...
using System.Collections.Generic; using System.Text.RegularExpressions; using Aspose.Cells.Translation.Internal; using Aspose.Cells.Translation.Internal.RequestHandlers; using Aspose.Cells.Translation.Models; using Aspose.Cells.Translation.Models.Requests; using Newtonsoft.Json; using FileInfo = Aspose.Cells.Translatio...
using Loon.Core.Graphics.Opengl; using Loon.Core.Geom; using System; using Loon.Core; using Loon.Utils; namespace Loon.Action.Sprite.Node { public class LNSprite : LNNode { private BlendState blendState = BlendState.NonPremultiplied; private float rotation; protected internal LTexture _texture; priva...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Text; using System.IO; using System.Xml; using System.Net; using System.Management.Automation; using System.ComponentModel; using System.Reflection; using System.Globalization; using System.Manage...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Formatting; using System.Threading.Tasks; using Fiken.Net.HalClient.Http; using Fiken.Net.HalClient.Models; using Tavis.UriTemplates; namespace Fiken.Net.HalClient { /// <summary> /// A lightweight f...
/* ** SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) ** Copyright (C) 2011 Silicon Graphics, Inc. ** All Rights Reserved. ** ** 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 wit...
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace BooksOnline.Data.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("00000000000000_Creat...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Fram...
namespace XenAdmin.Controls.NetworkingTab { partial class NetworkList { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/language/v1beta2/language_service.proto // Original file comments: // Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. /...
// 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...
using UnityEngine; using UnityEditor; using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Reflection; using Model = UnityEngine.AssetGraph.DataModel.Version2; namespace UnityEngine.AssetGraph { public class BuildTargetUtility { public const BuildTargetGroup DefaultTa...
// 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.Xml; using System.ComponentModel; namespace System.ServiceModel.Channels { public sealed class Bi...
using UnityEngine; using System.Collections; using System.Runtime.InteropServices; /// MouseLook rotates the transform based on the mouse delta. /// Minimum and Maximum values can be used to constrain the possible rotation /// To make an FPS style character: /// - Create a capsule. /// - Add the MouseLook script to th...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Loon.Core; using Loon.Core.Graphics.Opengl; using Loon.Core.Timer; using Loon.Action.Map; using Loon.Core.Geom; namespace Loon.Action.Sprite.Effect { public class ScrollEffect : LObject,ISprite { private int ba...
// Copyright (c) DotSpatial Team. All rights reserved. // Licensed under the MIT license. See License.txt file in the project root for full license information. using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Text; using DotSpatial.Data; using ...
using System.ComponentModel; using System.Drawing.Design; using System.Web.UI.WebControls; using GuruComponents.Netrix.ComInterop; using GuruComponents.Netrix.UserInterface.TypeConverters; using GuruComponents.Netrix.UserInterface.TypeEditors; using DisplayNameAttribute = GuruComponents.Netrix.UserInterface.TypeEditors...
using UnityEngine; using UnityEditor; using System; using System.Reflection; // Source: // https://gist.github.com/cofruben/26882cf1a800c93eb24c7cbe15cbb7fa // and // https://gist.github.com/drawcode/4596778 // See also decompiled code of the AssetStoreWindow: // https://github.com/MattRix/UnityDecompiled/blob/maste...
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. using System; using System.IO; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Security.Policy; using System.Threading; using Microsoft.VisualStudio.TestTools...
using J2N.Collections.Generic.Extensions; using System; using System.Collections.Generic; using JCG = J2N.Collections.Generic; namespace Lucene.Net.Index { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Lucene.Net.Codecs.Lucene42 { using BlockPackedWriter = Lucene.Net.Util.Packed.BlockPackedWriter; using BytesRef = Lucene.Net.Util.BytesRef; /* * Licensed to the Apache Software Foundation (ASF) ...
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Collections.Specialized; using System.Collections.Generic; using System.Management.Automa...
// // Community.CsharpSqlite.SQLiteClient.SqliteDataReader.cs // // Provides a means of reading a forward-only stream of rows from a Sqlite // database file. // // Author(s): Vladimir Vukicevic <vladimir@pobox.com> // Everaldo Canuto <everaldo_canuto@yahoo.com.br> // Joshua Tauberer <tauberer@fo...
/* Copyright (c) 2009-11, ReactionGrid Inc. http://reactiongrid.com * See License.txt for full licence information. * * Sit.cs Revision 1.4.1107.20 * Enables an avatar to sit on items designated to be sittable */ using UnityEngine; using System.Collections; using ReactionGrid.Jibe; public class Sit : MonoBehavio...
/* * Copyright 2007 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
// 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.Tasks; using Xunit; namespace System.IO.Tests { public partial class WaitForChangedTests...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // using System; using System.Runtime.InteropServices; using System.Threading.Tasks; using System.Collections.Generi...
//******************************************************************************************************************************************************************************************// // Public Domain ...
using System; using System.Runtime.InteropServices; using System.Security; using BulletSharp.Math; namespace BulletSharp { public enum ActivationState { Undefined = 0, ActiveTag = 1, IslandSleeping = 2, WantsDeactivation = 3, DisableDeactivation = 4, DisableSimul...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using System.Web.Http; using System.Web.Http.Description; using System.Xml...
//------------------------------------------------------------------------------ // <copyright file="ResXResourceWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //---------------------------...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeA...
// 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.IdentityModel.Selectors; using System.IdentityModel.Tokens; using System.Net; using System.Security.Au...
// -------------------------------------------------------------------------------------------------------------------- // <summary> // The web socket context. // </summary> // -------------------------------------------------------------------------------------------------------------------- namespace WebStreams.Se...
// 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 ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /****************************************************************************** * This file is auto-generated from ...
using JetBrains.Annotations; using JsonApiDotNetCore.Resources.Annotations; namespace JsonApiDotNetCore.Configuration; /// <summary> /// Metadata about the shape of a JSON:API resource in the resource graph. /// </summary> [PublicAPI] public sealed class ResourceType { private readonly Dictionary<string, Resource...
// 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: Base class ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Security.Pri...
using UnityEngine; using System.Collections; using System.Collections.Generic; /// <summary> /// DropDown Menu Control /// </summary> [AddComponentMenu("2D Toolkit/UI/tk2dUIDropDownMenu")] public class tk2dUIDropDownMenu : MonoBehaviour { /// <summary> /// Button that controls, dropdown list from appearing ...
using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; using DG.Tweening; using System; public class MenuButtonPanelScript : MonoBehaviour { // Both of those below are dictated by this, those are only precentages while this controls all timings float animTime = 0.4f; // The time gap betwee...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; using SuppressMessageAttribute = System.Diagnostics.CodeAnalysis.SuppressMessageAttribute; using Encoding = System.Text.Encoding; namespace System.Xm...
/* * 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...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Management.Automation; using Microsoft.Management.Infrastructure; using Microsoft.Management.Infrastructure.Options; using Microsoft.Po...
/* ==================================================================== 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...
// 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. //Testing simple math on local vars and fields - sub #pragma warning disable 0414 using System; internal class lclf...
// ******************************************************************************************************** // Product Name: DotSpatial.Symbology.Forms.dll // Description: The Windows Forms user interface layer for the DotSpatial.Symbology library. // *******************************************************************...
// 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.Composition; using System.Diagnostics; using System.Linq; usi...
// Copyright (C) 2016 Moriyoshi Koizumi <mozo@mozo.jp> // // 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, mod...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Fram...
// // 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 UnityEngine; using System.Collections; using System; public class Libonati : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } //Math static public bool pointInsideRect(Rect rect, Vector3 point){ return point.x >= rect.xMin && ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.Win32.SafeHandles; using System.Buffers; using System.Collections; using System.Collections.Generic;...
// This example will show how to play sounds directly from memory using irrKlang. // This is useful for embedding sounds directly in executables as well for // making irrKlang work together with different APIs like advanced decoders or // middleware. using System; using IrrKlang; namespace CSharp._03._MemoryPlayback...
// 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.Test.Common; using System.Threading.Tasks; using Xunit; using Xun...