context
stringlengths
2.52k
185k
gt
stringclasses
1 value
// 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.Reflection; using System.Reflection.Emit; using Xunit; namespace Sys...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Threading; using NuGet.Resources; namespace NuGet { public static class FileSystemExtensions { public static IEnumerable<string> GetFiles(this IFileSystem fileSystem, ...
using System; using System.Collections.Generic; using System.Linq; using Nop.Core; using Nop.Core.Data; using Nop.Core.Domain.Common; using Nop.Core.Domain.Customers; using Nop.Core.Domain.Logging; using Nop.Data; namespace Nop.Services.Logging { /// <summary> /// Default logger /// </summary> public p...
using System; using System.Collections.ObjectModel; using Core.Interfaces; using Core.Model; using Crypto.Generators; using Crypto.Mappers; using Crypto.Providers; using Crypto.Wrappers; using Moq; using NUnit.Framework; namespace Crypto.Test.Providers { [TestFixture] public class KeyEncryptionProviderTest ...
// 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.Collections.Immutable; using System.Globalization; using System.Linq;...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Pathoschild.Stardew.Common; using StardewModdingAPI; using StardewValley; using StardewValley.Characters; using StardewValley.Locations; using StardewValley.Menus; using StardewValley.Monsters; namespace Pathoschild...
// // GtkBaseClient.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction...
// MIT License // // Copyright (c) 2017 Maarten van Sambeek. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.UnitTests; using Xunit; namespace Microsoft.CodeAnalysis.CSharp.Semantic.Uni...
/* * 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.Collections.Generic; using System.Diagnostics.CodeAnalysis; using CodeJam.PerfTests; using CodeJam.Ranges; using JetBrains.Annotations; using NUnit.Framework; using static CodeJam.PerfTests.CompetitionHelpers; namespace CodeJam.RangesAlternatives { /// <summary> /// Test to choose vali...
/* * 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.Collections; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace Jovian.Tools.Support { /// <summary> /// Summary description for rtfReplace. /// </summary> public class rtfReplace : System.Windows.Forms.UserControl { private System.Windows.Forms.L...
// Copyright (c) 2013 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using System.Collections.Generic; using System.Runtime.ConstrainedExecution; using System.Runtime.InteropServices; using System.Globalization; namespace Icu.Collation { /// <su...
using System; using System.Collections.Generic; using System.IO; using System.Security.AccessControl; using ClosedXML.Excel.CalcEngine; using DocumentFormat.OpenXml; namespace ClosedXML.Excel { using System.Linq; using System.Data; public enum XLEventTracking { Enabled, Disabled } public enum XLCalcul...
// ----------------------------------------------------------------------------------------- // <copyright file="CloudQueueMessageBase.cs" company="Microsoft"> // Copyright 2012 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in c...
/* * * 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"); y...
// 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...
// 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 1.0.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright 2004,2006 The Poderosa Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * $Id: TelnetSSHPlugin.cs,v 1.4 2011/10/27 23:21:59 kzmi Exp $ */ using System; using System.Collections.Generic; using System.T...
/* FluorineFx open source library Copyright (C) 2007 Zoltan Csibi, zoltan@TheSilentGroup.com, FluorineFx.com This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
#define __Morph using clrcore; using System.Text; namespace Morph { using tchar = System.Byte; public unsafe class String { //This waits for TICKET#27 // TODO! Chars implements only as ASCII (for now) // Use #define for all other white-space ! internal static readonly char...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using Microsoft.VisualStudio.TestTools.UnitTesting; using DotVVM.Framework.Binding; using DotVVM.Framework.Configuration; using DotVVM.Framework.Controls; using DotVVM.Framework.Controls.In...
/* The MIT License * * Copyright (c) 2010 Intel Corporation. * All rights reserved. * * Based on the convexdecomposition library from * <http://codesuppository.googlecode.com> by John W. Ratcliff and Stan Melax. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softw...
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 .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; using System.Runtime.InteropServices; public enum TestEnum { red = 1...
#if !DISABLE_PLAYFABCLIENT_API using PlayFab.ClientModels; namespace PlayFab.Events { public partial class PlayFabEvents { public event PlayFabResultEvent<LoginResult> OnLoginResultEvent; public event PlayFabRequestEvent<AcceptTradeRequest> OnAcceptTradeRequestEvent; public event PlayF...
namespace AutoMapper { using System; using System.ComponentModel; using System.Linq.Expressions; /// <summary> /// Mapping configuration options for non-generic maps /// </summary> public interface IMappingExpression { /// <summary> /// Customize configuration for indivi...
// 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.IO; using System.Net.Security; using System...
namespace System.Collections.Generic { using Bridge; using System; using System.Collections; //using System.Diagnostics.Contracts; public class Dictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue> { private struct Entry { ...
// 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; using System.Collections.Generic; using System.Composition.Runtime.Util; usi...
// 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.Generic; using System.Linq; using System; using Xunit; using Validation; using System.Diagnostics; namespace System.Collections.Immutable.Test...
/*************************************************************************** * FeedUpdateTask.cs * * Copyright (C) 2007 Michael C. Urbanski * Written by Mike Urbanski <michael.c.urbanski@gmail.com> ****************************************************************************/ /* THIS FILE IS LICENSED UNDER THE...
//----------------------------------------------------------------------------- // // <copyright file="StreamWithDictionary.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. // </copyright> // // Description: // The object for wrapping a data stream and its associated context /...
using System; using System.Collections.Generic; using System.Text; using GuruComponents.Netrix.ComInterop; using System.Web.UI.Design; using GuruComponents.Netrix.Events; using GuruComponents.Netrix.WebEditing.Elements; using System.ComponentModel.Design; namespace GuruComponents.Netrix.XmlDesigner { /// <summary>...
/* * DeliveryHub * * DeliveryHub API * * OpenAPI spec version: 1.0.0 * * 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. * You may obtain a copy of the Lic...
using System; using System.Globalization; using System.Linq; using GraphQL.Execution; using GraphQL.Language.AST; using GraphQL.Utilities; using GraphQL.Utilities.Federation; using Shouldly; using Xunit; namespace GraphQL.Tests.Utilities { public class AstPrinterTests { private readonly AstPrintVisitor...
// 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 ...
// ******************************************************************************************************** // Product Name: DotSpatial.Projection // Description: The basic module for MapWindow version 6.0 // ******************************************************************************************************** // //...
// 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 is a C# implementation of the Richards benchmark from: // // http://www.cl.cam.ac.uk/~mr10/Bench.html /...
// 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: // ...
#region File Description //----------------------------------------------------------------------------- // InputState.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #endregion #...
namespace System.Web.UI { /// <summary> /// HtmlBuilderTableTag /// </summary> public class HtmlBuilderTableTag { public class TableAttrib { public int? ColumnCount { get; set; } public string NullTdBody { get; set; } public int? RowPitch { get; se...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Xml; namespace Microsoft.Web.XmlTransform.Extended { internal class XmlAttributePreservationDict { #region Private data members private readonly List<string> _orderedAttrib...
// Copyright 2021 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="TestSubscriber.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> // </copyright> /...
// // TypeReferenceCollection.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Generated by /CodeGen/cecil-gen.rb do not edit // Fri Mar 30 18:43:56 +0200 2007 // // (C) 2005 Jb Evain // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentat...
// 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...
/* * 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...
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / /// <summary> /// PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you /// currently do not have developer preview access, please contact help@twilio...
/******************************************************************** The Multiverse Platform is made available under the MIT License. Copyright (c) 2012 The Multiverse Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Windows.Forms; using SDRSharp.Radio; namespace SDRSharp.PanView { public class SpectrumAnalyzer : UserControl { private const float TrackingFontSize = 16.0f; ...
using System; using System.IO; using System.Collections.Specialized; using System.Net; using System.Text; using System.Web; using System.Security.Cryptography; using Newtonsoft.Json; using System.Security.Cryptography.X509Certificates; using System.Net.Security; using SteamKit2; namespace SteamTrade { public class...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: POGOProtos/Networking/Envelopes/RequestEnvelope.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....
// 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 Internal.IL; using Internal.IL.Stubs; using Debug = System.Dia...
// // 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.Data; using System.Data.Common; using System.Data.Odbc; using System.Threading.Tasks; namespace appMpower.Db { public class PooledCommand : IDbCommand { private IDbCommand _dbCommand; private PooledConnection _pooledConnection; public PooledCommand(PooledConnection pooledConnectio...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace PacSportCamp.Web.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it...
// 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.Threading; using System.Threading.Tasks; using Xun...
// 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.IO; using System.Threading; using System.Threading.Tasks; namespace System.Security.Cryptography { ...
using Microsoft.Xna.Framework.Graphics; using System; using System.Diagnostics; #if IOS using MonoTouch.ObjCRuntime; #endif namespace CocosSharp { /// <summary> /// Modified from http://stackoverflow.com/questions/10889743/cocos2d-2-0-3-numbers-on-the-bottom-left /// by Steffen Itterheim: /// /// ...
#if !NET452 && !NET461 using System; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using FluentAssertions; using Moq; using NFluent; using RestEase; using WireMock.Admin.Mappings; using WireMock.Admin.Settings; using WireMock.Client; using Wire...
namespace Microsoft.Protocols.TestSuites.SharedAdapter { using System; using System.Collections.Generic; using System.Linq; /// <summary> /// This class is used to build data element list or parse the data element list. /// </summary> public static class DataElementUtils { /// <...
/* * 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...
/* * NPlot - A charting library for .NET * * Bitmap.PlotSurface2D.cs * Copyright (C) 2003-2006 Matt Howlett and others. * 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. Redistri...
using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using log4net; using Mail2Bug.Email; using Mail2Bug.Email.EWS; [assembly: CLSCompliant(false)] namespace Mail2Bug { class ...
/* * Copyright (2011) Intel Corporation and Sandia Corporation. Under the * terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the * U.S. Government retains certain rights in this software. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace HarmonyLib { internal class PatchSorter { List<PatchSortingWrapper> patches; HashSet<PatchSortingWrapper> handledPatches; List<PatchSortingWrapper> result; List<PatchSortingWrapper> waitingList; internal P...
// 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; using Xunit; namespace System.Linq.Expressions.Tests { public static class NonLiftedComparisonGre...
#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 // (...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; namespace Microsoft.CodeAnalysis.Editing { /// <summary> /// An editor for making ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using KSP.Localization; namespace KERBALISM { public enum ScienceSituation : byte { None = byte.MaxValue, // stock situations SrfLanded = 0, SrfSplashed = 1, FlyingLow = 2, FlyingHigh = 3, InSpa...
/* * Copyright (c) Contributors, http://aurora-sim.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 reta...
/* * 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 ...
// Deflater.cs // // Copyright (C) 2001 Mike Krueger // Copyright (C) 2004 John Reilly // // This file was translated from java, it was part of the GNU Classpath // Copyright (C) 2001 Free Software Foundation, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of the G...
// DialogOptions.cs // Script#/Libraries/jQuery/UI // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; namespace jQueryApi.UI.Widgets { /// <summary> /// Options used to initialize or customize Dialog. /// </su...
#pragma warning disable IDE1006 using System.Globalization; using Anemonis.Resources; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Linq; namespace Anemonis.RandomOrg.UnitTests; public partial class RandomOrgClientTests { [DataTestMethod] [DataRow(00000, +0000000000, +0000000005)]...
#region License, Terms and Author(s) // // ELMAH - Error Logging Modules and Handlers for ASP.NET // Copyright (c) 2004-9 Atif Aziz. All rights reserved. // // Author(s): // // Atif Aziz, http://www.raboof.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file excep...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.Reflection; using System.Collections.Generic; namespace Microsoft.Build.BuildEngine.Shared { /// <summary> /// This...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace Places.API.Areas.HelpPage { /// <summary> /// This class will create an object of a given type and populate it with ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Net; using Microsoft.Azure.Management.Compute; using Microsoft.Azure.Management.Co...
// // PackedByteArray.cs // // Author: Jeffrey Stedfast <jeff@xamarin.com> // // Copyright (c) 2012 Jeffrey Stedfast // // 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,...
// 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 DotSpatial.Data; using DotSpatial.Serialization; ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyExtensions.cs" company="Catel development team"> // Copyright (c) 2008 - 2015 Catel development team. 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. namespace System.Text { using System.Runtime.Serialization; using System.Text; using System; using S...
using AOT; using System; using System.Collections; using System.IO; using System.Runtime.InteropServices; using System.Collections.Generic; using UnityEngine; namespace NativeScript { /// <summary> /// Internals of the bindings between native and .NET code. /// Game code shouldn't go here. /// </summary> /// <a...
// Copyright (c) <2015> <Playdead> // This file is subject to the MIT License as seen in the root of this folder structure (LICENSE.TXT) // AUTHOR: Lasse Jon Fuglsang Pedersen <lasse@playdead.com> using System; using UnityEngine; [ExecuteInEditMode] [RequireComponent(typeof(Camera))] [AddComponentMenu("Playdead/Frust...
// Copyright 2011 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
using System; using Box2D; using Box2D.Collision; using Box2D.Collision.Shapes; using Box2D.Common; using Box2D.Dynamics; using Box2D.Dynamics.Contacts; using Box2D.Dynamics.Joints; using Cocos2D; namespace AngryNinjas { public class Enemy : BodyNode { b2World theWorld; string baseImageName; string spriteIma...
// 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...
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
// Copyright 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 ...
/* ************************************************************************* ** Custom classes used by C# ************************************************************************* */ using System; using System.Diagnostics; using System.IO; #if !(SQLITE_SILVERLIGHT || WINDOWS_MOBILE) using System.Management; #endif usi...
/* * (c) Copyright Marek Ledvina, Foriero Studo */ using UnityEngine; using System.Collections; namespace ForieroEngine.MIDIUnified { public enum TheorySystemEnum { EnglishNames, FixedSolfege, MovableSolfege, Undefined = int.MaxValue } public static class MidiConversion { //FORMAT : C2 or C2...
namespace Rs317.Sharp { public sealed class CollisionMap { private int insetX; private int insetY; private int width; private int height; public int[,] clippingData; public CollisionMap() { insetX = 0; insetY = 0; width = 104; height = 104; clippingData = new int[width, height]; ...
/* 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, ...
//---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) // // Permission to copy, use, modify, sell and distribute this software // is granted provided this copyright notice appears in all ...