text
stringlengths
1
932k
// In Package Manager, run: // Install-Package Twilio.Mvc -DependencyVersion HighestMinor using Twilio.Mvc; using Twilio.TwiML; using Twilio.TwiML.Mvc; public class VoiceController : TwilioController { // /Voice public TwiMLResult Index(VoiceRequest request) { var response = new TwilioResponse(); respon...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Expression.Blend.Sam...
using System.Collections.Generic; namespace LionFire.Serialization { public interface ISerializationProvider : IResolvesSerializationStrategies { IEnumerable<ISerializationService> SerializationServices { get; } } //public static class ISerializationProviderExtensions //{ // // FU...
/** * The MIT License * Copyright (c) 2016 Population Register Centre (VRK) * * 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 rig...
#region copyright // Copyright 2015 Habart Thierry // // 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 applic...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; using Azure.ResourceManager; using Azure.ResourceManager.Cdn.Models; using Azure.ResourceManager.Resources...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TariffComparison.Web.DTOs { public class ErrorDTO { public string Message { get; set; } public ErrorDTO(string message) { Message = message; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ShapeBuilder.Types.Models { public class DataPoint { public double X { get; set; } public double Y { get; set; } public double R1 { get; set; } public d...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace AuthServer { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() ...
using System; namespace interfaces { class PersonManager { public void Add(IPerson person) { Console.WriteLine(person.FirstName); } } }
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
/* * Script Runtime Service for vSphere * * # Script Runtime Service API Script Runtime Service for vSphere (SRS) allows running PowerShell and PowerCLI scripts. SRS is a VC add-on that is deployed separately from VCSA. SRS can be accessed via REST API that allows you to create PowerShell instances and run Power...
using System; using System.Collections.Generic; using System.Reflection; using Newtonsoft.Json; namespace PactNet.Configuration.Json.Converters { public class PreserveCasingDictionaryConverter : JsonConverter { public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) ...
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class TipGenerator : MonoBehaviour { [SerializeField] string[] tips; [SerializeField] Text tipText; [SerializeField] GameObject mainPannel; [SerializeField] int timeToDisappear; void Start(...
using System; namespace Moneyventory.Domain.Common { /// <summary> /// Resiliency config /// </summary> public class RetryConfig { /// <summary> /// Maximum attempt /// </summary> public int Max { get; set; } /// <summary> /// Delay between attempt ...
using AppKit; using Foundation; namespace Game.Cocoa { [Register("AppDelegate")] public class AppDelegate : NSApplicationDelegate { public AppDelegate() { } public override void DidFinishLaunching(NSNotification notification) { // Insert code here to in...
using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Reflection; namespace NuGet.Common { /// <summary> /// Handles updating the executing instance of NuGet.exe /// </summary> public class SelfUpdater { private const string NuGetCommandLineP...
using System; using System.Data.SqlServerCe; using System.IO; using System.Reflection; using System.Threading.Tasks; namespace Dapper.Contrib.Tests { class Program { static void Main(string[] args) { Setup(); RunTests(); Setup(); RunAsyncTests();...
using System.Collections.Generic; using System.Threading.Tasks; using Orleans.GrainDirectory; namespace Orleans.Runtime.GrainDirectory { interface ILocalGrainDirectory : IGrainDirectory { /// <summary> /// Starts the local portion of the directory service. /// </summary> void St...
using System; using UnityEngine; using System.Collections; using System.Collections.Generic; /** * The base class of all SceneControllers. **/ public class SceneController : BaseMonoBehaviour { public float TotalTimeToFadeOut = 1f; public float TotalTimeToFadeIn = 3f; public bool FadeInOnEnabled = true; priva...
using System; using Microsoft.AspNetCore.Mvc; using Moq; using Newtonsoft.Json; using Stratis.Bitcoin.Base; using Stratis.Bitcoin.Configuration; using Stratis.Bitcoin.Configuration.Settings; using Stratis.Bitcoin.Features.Miner.Controllers; using Stratis.Bitcoin.Features.Miner.Interfaces; using Stratis.Bitcoin.Feature...
using System; using Bing.Utils.IdGenerators.Abstractions; using Bing.Utils.IdGenerators.Core; namespace Bing.Helpers { /// <summary> /// Id 生成器 /// </summary> public static partial class Id { /// <summary> /// Id /// </summary> private static string _id; //...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using System.Reflection; using System.Collections.Concurrent; namespace Yasb.Common { public class WorkerPool : IWorkerPool { private ConcurrentQueue<Task> _wai...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
using MatterHackers.VectorMath; //---------------------------------------------------------------------------- // Anti-Grain Geometry - Version 2.4 // Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com) // // C# port by: Lars Brubaker // larsbrubaker@gmail.com // Copyright (C) 2007 // ...
using TableTop.Inc.API.Data.AzureStorage.Table.Model.Base; using TableTop.Inc.API.Infrastructure.Engine.Model.Object; namespace TableTop.Inc.API.Data.AzureStorage.Table.Model.Object { public sealed class GameObject: ObjectBase, IGameObject { public string Title { get; set; } public string Descr...
namespace Nancy.Routing.Trie.Nodes { using System; /// <summary> /// An optional capture node e.g. {foo?} /// </summary> public class OptionalCaptureNode : TrieNode { private string parameterName; /// <summary> /// Score for this node /// </summary> publ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Highcharts4Net.fastJSON { class ForceNullable : System.Attribute { } }
namespace MiniORM.App { using MiniORM.App.Data; using MiniORM.App.Data.Entities; using System.Linq; public class StartUp { public static void Main() { const string connectionString = "Server=(localdb)\\MSSQLLocalDB;Database=MiniORM;Integrated Security=True"; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OOPadv { class Person : IComparable<Person> { private string name; private int age; private string town; public Person(string name, int age, string tow...
using System; using UnityEngine; using Object = UnityEngine.Object; using UnityEngine.UI; using System.Collections.Generic; namespace RuntimeInspectorNamespace { public class ObjectReferencePicker : SkinnedWindow, IListViewAdapter { private const string SPRITE_ATLAS_PREFIX = "SpriteAtlasTexture-"; private stat...
using System.Collections.Generic; using ApiGateway.Model; using HttpApiGateway.Interface; using HttpApiGateway.Model; using RpcHelper; namespace HttpApiGateway.ActionFun { internal class OutFuncApi : BasicFunc { private readonly int[] _Outs = null; private readonly ...
using Orderkeeper.Domain.Entities; using System; using System.Collections.Generic; using System.Text; namespace Orderkeeper.Core.Customers { public class GetCustomerResult { public CustomerDto Customer { get; set; } } }
using Ryujinx.Graphics.Shader.IntermediateRepresentation; using System; using System.Collections.Generic; using System.Linq; using System.Numerics; namespace Ryujinx.Graphics.Shader.Translation { class ShaderConfig { // TODO: Non-hardcoded array size. public const int SamplerArraySize = 4; ...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using UnityEngine; public class EventData { public int msgId { get;set; } public byte[] msg { ge...
using System; using System.Collections.Generic; using System.Text; using Xunit; namespace Discord { public class SnowflakeUtilsTests { [Fact] public void FromSnowflake() { // snowflake from a userid var id = 163184946742034432u; Assert.Equal(new DateT...
using NHibernate; using NHibernate.Cfg; namespace FortSystems.Core.Infrastructure.Repository.Helper { public class PersistenceHelper { private static ISessionFactory _sessionFactory; private static ISessionFactory SessionFactory { get { if (_ses...
// ======================================================================================= // Wovencore // by Weaver (Fhiz) // MIT licensed // // // // ======================================================================================= using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using...
using libcipherc.Exceptions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace libcipherc.Utils { public static class Parameter { public static void CheckLength(byte[] data, string name, int expectLength) { ...
using Bridge.ClientTestHelper; using Bridge.Test.NUnit; using System; namespace Bridge.ClientTest.BasicCSharp { [Category(Constants.MODULE_BASIC_CSHARP)] [TestFixture(TestNameFormat = "RefParameterTests - {0}")] public class RefParameterTests { private void RefTestMethod(ref int r, int expectBe...
#region License // Copyright (c) 2007 James Newton-King // // 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,...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ball : MonoBehaviour { public Rigidbody2D ballPhysics; public Transform ballT; private float speed = 3; private float upperBound = 5.15f; private float lowerBound = -5.15f; private float pScoreBound ...
using BlogEngine.Tests.Fakes; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace BlogEngine.Tests.WebApi { [TestClass] public class LookupsControllerTests { [TestMethod] public void LookupControllerGet() { var ctrl = new LookupsController(new FakeLookupsRepos...
using System; using Microsoft.Xna.Framework; using StardewValley; using StardewValley.Menus; using StardewModdingAPI; namespace StackSplitRedux { public interface IStackSplitAPI { bool TryRegisterMenu(Type menuType); /// <summary> /// Register a new menu type with StackSpli...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("13...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
using essentialMix.Newtonsoft.Serialization; using Newtonsoft.Json.Serialization; namespace essentialMix.Web.Api.Annotations.Json; public class CamelCasePropertyExtensionDictionaryJsonResolverAttribute : PropertyExtensionDictionaryJsonResolverAttribute { /// <inheritdoc /> public CamelCasePropertyExtensionDictiona...
namespace maestropanel.plesklib.Models { using System.Xml.Serialization; [XmlRoot("packet")] public class CustomerAddResult :IResponseResult { private ApiResponse _response; public CustomerAddResult() { this._response = new ApiResponse(); this.customer...
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information. namespace Aqua.AccessControl.Tests.DataModel { public class Product : AggregateRoot { public ProductCategory ProductCategory { get; set; } public string Name { get; set; } ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("01....
using SharpDX; using SharpDX.Direct3D11; using System.Collections.Generic; using System.Linq; using System.Text; namespace RageEngine.Graphics { public class VertexBufferBatch<T> where T: struct { private Buffer vertexBuffer; private BatchCollection<T> vertices; public int Count {...
using McMaster.Extensions.CommandLineUtils; using Microsoft.Extensions.Logging; namespace ConsoleApp.Commands { internal class HelloWorldCommand : CommandLineApplication, ICommand { private readonly ILogger<HelloWorldCommand> _logger; public HelloWorldCommand(ILogger<HelloWorldCommand> logger...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - OouiFormsApp</title> <environment include="Development"> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" /> <...
// 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.Text.Json.Serialization; namespace Microsoft.DotNet.Interactive.Jupyter.Protocol { [JupyterMessageType(JupyterMessageContentTy...
// Copyright 2018 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using System.Text.RegularExpressions; using Nuke.CodeGeneration.Model; using Nuke.Common; using Nuke.Common.Utilities; namespace Nuke.CodeGeneration.G...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace MorseCode.CsJs.Common.Observable { public class ObservableCollection<T> : IObservableCollection<T> { private readonly List<T> _items; private int _bulkOperationCount; private readonly List<T> _bulkOldItems =...
using System; using System.IO; using System.Net; using System.Threading.Tasks; using BingDesktop.Models; namespace BingDesktop { public class DownloadManager { private AppSetup Setup { get; } public DownloadManager(AppSetup setup) { Setup = setup; } public...
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // By Peter Wagner(aka Wagnerp) & Simon Coghlan(aka Smurf-IV) 2017 - 2020. All r...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.NET.OpenGL { [NativeName("Name", "MeshMode1")] public enum MeshMode1 : int { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using HoloToolkit; using HoloToolkit.Unity.InputModule; public class TableObject : MonoBehaviour, IFocusable, IInputHandler, ISourceStateHandler { public Material _focusMaterial; public Material _clickedMaterial; private Mater...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("05...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace assign2 { public partial class beef : UserControl { public beef() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Zoo.Place.Contracts.Requests; using Zoo.Place.Contracts.Responses; using Zoo.Place.Data; using Zoo.Place.Domain; namespace Zoo.Place.Services { public class ZooServices : IZooServices { private reado...
// // DataRowExtensionsTest.cs // // Author: // Marek Habersack (mhabersack@novell.com) // // Copyright (C) 2008 Novell, Inc. http://www.novell.com // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal...
using System.Threading.Tasks; using System.Windows.Input; using MYQuizMobile; using Xamarin.Forms; namespace MyQuizMobile { public class LoginViewModel { private const string Password = "1337"; public string InputText { get; set; } public ICommand ButtonClickCommand { get; set; } ...
@model IList<Texxtoor.DataModels.Models.Users.Role> @foreach (var item in Model) { <input type="checkbox" name="Roles" id="Roles-@item" value="@item.UserRole"/>@item.UserRole <br/> }
namespace AccountAPI.Areas.HelpPage { /// <summary> /// Indicates whether the sample is used for request or response /// </summary> public enum SampleDirection { Request = 0, Response } }
#region License // Copyright (c) 2007 James Newton-King // // 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,...
using Medallion.Threading.Internal.Data; using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace Medallion.Threading.SqlServer { internal static class SqlMultiplexedConnectionLockPool { public static readonly MultiplexedConnectionLockPool Instance = ...
using System; namespace PCSComUtils.MasterSetup.DS { [Serializable] public class MST_EmployeeVO { private int mEmployeeID; private string mCode; private string mName; private int mDepartmentID; private int mShift; public int EmployeeID { set { mEmployeeID = value; } get { return mEmployeeID; ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VstsRestAPI.Viewmodel.Extractor { public class BuildDefinitions { public class Task { public string id { get; set; } publ...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace DataAnnotationsValidator.Tests { public class GrandChild : IValidatableObject { [Required] [Range(0, 10, ErrorMessage = "GrandChild PropertyA not within range")] public int? PropertyA { get; set; }...
using System.Collections; using System.Collections.Generic; using UnityEngine; using PokemonUnity.Frontend.Overworld; using PokemonUnity.Backend.Serializables; [ExecuteInEditMode] public class SpritePreload : MonoBehaviour { #if UNITY_EDITOR public Sprite[] spriteSheet; public NPC npc; // Start is cal...
// **************************************************************** // Copyright 2002-2018, Charlie Poole // This is free software licensed under the NUnit license, a copy // of which should be included with this software. If not, you may // obtain a copy at https://github.com/nunit-legacy/nunitv2. // ****************...
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace DownloadAurelia { class Program { static readonly string unZipFiles = Path...
using System; using System.Collections.Generic; using System.Reflection; using Unity.Builder; using Unity.Injection; using Unity.Resolution; namespace Unity.Processors { public abstract partial class MemberProcessor<TMemberInfo, TData> where TMemberInfo : MemberInfo { #region Selection Processing ...
@model HelpMyStreetFE.Models.RequestHelp.Stages.Detail.RecipientDetails @{ var prefix = ViewData["Prefix"] is string ? (string)ViewData["Prefix"] : ""; var fullAddressRequired = ViewData["FullAddressRequired"] is bool ? (bool)ViewData["FullAddressRequired"] : true; } <div class="user-detail"> <...
using System.Diagnostics; namespace CountryData { public interface ILocation { double Latitude { get; } double Longitude { get; } } [DebuggerDisplay("Lat={Latitude}, Long={Longitude}")] class Location : ILocation { public double Latitude { get; set; } 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. using System.Runtime.InteropServices; namespace Microsoft.Diagnostics.Runtime.Interop { [ComImport] [Inter...
// 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. #nullable disable using System.Collections.Immutable; using System.Diagnostics; using Microsoft.CodeAnalysis.CShar...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("05....
using System; namespace AlphaVantage.Common { public class AvPropertyNameAttribute : Attribute { public string ExtractPropertyName { get; set; } } }
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("GHIElectronics.UWP.GadgeteerCore")] [assembly: AssemblyDescription("Gadgeteer core support.")] [assembly: AssemblyCompany("GHI Electronics, LLC")] [assembly: AssemblyCopyright("Copyright © GHI Electronics, LLC 2016")] [assembly: ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections; using System.Collections.Generic; using System.Management.Automation; using System.Management.Automation.Internal; using System.Management.Automation.Runspaces; using Microsoft.PowerShell.Commands.Intern...
/* * 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.Web; using System.Web.Optimization; namespace LiqPayServer { public class BundleConfig { // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new Scr...
// // ProtectedKey.cs // // Author: // Noesis Labs (Ryan.Melena@noesislabs.com) // // Copyright (C) 2014 Noesis Labs, LLC https://noesislabs.com // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in t...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using CorvEngine; namespace Corvus.Interface.Controls { /// <summary> /// A class that draws a image control. /// </summary> public class Image ...
using System.Collections.Generic; using System.Collections.Specialized; using System.Web; using Machine.Fakes; using Machine.Specifications; using Moolah.PayPal; namespace Moolah.Specs.PayPal { public abstract class PayPalMassPayContext : WithSubject<PayPalMassPay> { Establish context = () => ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Audio; using UnityEngine.UI; public class VolumeControl : MonoBehaviour { [SerializeField] string volumeParameter = "MasterVolume"; [SerializeField] AudioMixer mixer; [SerializeField] Slider slider; [Seri...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ShopSearchZone : MonoBehaviour { public Color enemyColour; public Color friendlyColour; public Color neutralColour; public int owningTeam = 0; private SpriteRenderer boxRenderer; p...
// <copyright file="FilterFunctions.cs" company="Endjin"> // Copyright (c) Endjin. All rights reserved. // </copyright> namespace Endjin.ApiChange.Api.Introspection { using System; using Mono.Cecil; public static class FilterFunctions { public static Func<TypeDefinition, MethodDefinition, bool...
using System.Linq; using Xunit; namespace Nap.Tests.Configuration { #if IMMUTABLE [Trait("Library", "Nap.Immutable")] #else [Trait("Library", "Nap")] #endif [Trait("Type", "Configuration")] public class NapEmptyConfigurationTests { private const string ExampleUrl = "http://example.com"; ...
namespace Microsoft.Azure.PowerShell.Cmdlets.DataDog.Models.Api20210301 { using static Microsoft.Azure.PowerShell.Cmdlets.DataDog.Runtime.Extensions; /// <summary>User info</summary> public partial class UserInfo { /// <summary> /// <c>AfterFromJson</c> will be called after the json de...
/* Copyright (c) 2011 Rick (rick 'at' gibbed 'dot' us) * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose,...
namespace PlayersAndMonsters.Models.Cards { public class TrapCard : Card { private const int InitialDamagePoints = 120; private const int InitialHealthPoints = 5; public TrapCard(string name) : base(name, InitialDamagePoints, InitialHealthPoints) { } } ...
using UnityEditor; using UnityEngine; namespace ConFormSim.Editor { [CustomPropertyDrawer(typeof(MinToAttribute))] public class MinToDrawer : PropertyDrawer { public override void OnGUI(Rect position, SerializedProperty property, GUIC...
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServic...
using BK.Plugins.PInvoke.Core; namespace BK.Plugins.MouseHook.Core { internal readonly struct LowLevelMouseInfo { public readonly MouseHookType Type; public readonly MSLLHOOKSTRUCT HookStruct; public readonly MouseParameter MouseParameter; public LowLevelMouseInfo(MouseHookType type, MSLLHOOKSTRUCT hookStr...