text
stringlengths
1
932k
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace PowerPointStressFeedbackWeb { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{r...
using System.Collections.Generic; namespace BatteryManagementSystem { public class Accumulator : IObserver { List<string> accumalatedReport = new List<string>(); public Accumulator() { accumalatedReport.Clear(); } public void Update(List<string> messages) ...
using System; using System.Xml.Serialization; namespace Cms.Lib { [Serializable, XmlRoot("status")] public class SystemStatusResponse { [XmlElement("softwareVersion")] public string SoftwareVersion { get; set; } [XmlElement("uptimeSeconds")] public int UptimeSeconds { get; ...
 using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("ServiceBus.CompressionPlugin.Tests")]
using System; using System.Collections.Generic; using UnityEngine; using FairyGUI.Utils; namespace FairyGUI { /// <summary> /// UpdateContext is for internal use. /// </summary> public class UpdateContext { public struct ClipInfo { public Rect rect; public V...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using ErsatzTV.Core; using ErsatzTV.Core.Domain; using ErsatzTV.Core.Interfaces.Repositories; using LanguageExt; using MediatR; using static ErsatzTV.Applicatio...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Xml.Serialization; namespace api.Models { [XmlRoot] public class Part { [XmlAttribute] public string PartCode { get; set; } [XmlAttribute] public string PartDescrip...
 using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using customerChallenge.models; namespace customerChallenge.Controllers { [Produces("application/json")] [Route("api/Customers")] public class CustomersC...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Logic.Algorithms.ObjectFittingStrategies._3D; using Logic.Domain.Containers._3D; using Logic.Domain.Containers._3D.Guillotine; namespace Logic.Algorithms.Implementations._3D.Guillotine { public c...
using Volo.Abp.Settings; namespace MyCompany.MyProduct.Settings { public class MyProductSettingDefinitionProvider : SettingDefinitionProvider { public override void Define(ISettingDefinitionContext context) { // Define your own settings here. Example: // context.Add(new ...
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2019 Daggerfall Workshop // Web Site: http://www.dfworkshop.net // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Original...
using System; namespace SmartGlass.Common { /// <summary> /// Convert to exception. /// </summary> public interface IConvertToException { Exception ToException(); } }
using System.Text.Json.Serialization; using DNTFrameworkCore.Cqrs.Commands; namespace DNTFrameworkCore.TestCqrsAPI.Domain.Catalog.Commands { public sealed class RemovePriceType : CommandBase { public int PriceTypeId { get; } [JsonConstructor] public RemovePriceType(int priceTypeId) => ...
using System; namespace DiceRolls { class Program { // This is the winning score. It is a CONST which means that it can never be // changed. Can you think why I would want to do it this way? private const int WINNING_SCORE = 20; static void Main(string[] args) { ...
using Sandbox.Common; using Sandbox.Common.Components; using Sandbox.Common.ObjectBuilders; using Sandbox.Definitions; using Sandbox.Engine.Utils; using Sandbox.Game.GUI; using Sandbox.Game.Multiplayer; using Sandbox.ModAPI; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; usi...
// 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.Linq; using Microsoft.Templates.Core.PostActions.Catalog.Merge; using Xunit; namespace Microsoft.Temp...
// *** 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...
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using Kooboo.CMS.Common.Persistence.Non_Relational; using Kooboo.CMS.Common.Runtime.Dependency; using Kooboo.CMS.Membership.Models; using Kooboo.CMS.Membership.Persistenc...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
using IM_PJ.Models; using MB.Extensions; using System; using System.Collections.Generic; using System.Data; using System.Linq; using WebUI.Business; using System.Text.RegularExpressions; using System.Data.Entity.Validation; using System.Data.Entity; using IM_PJ.Models.Common; namespace IM_PJ.Controllers { public ...
// Generated on 06/04/2015 18:44:44 using System; using System.Collections.Generic; using System.Linq; using Symbioz.DofusProtocol.Types; using Symbioz.Utils; namespace Symbioz.DofusProtocol.Messages { public class GuildInvitationAnswerMessage : Message { public const ushort Id = 5556; public override ushort Message...
using DeKreyConsulting.AdoTestability.Postgres.Example; using DeKreyConsulting.AdoTestability.Testing.Postgres; using Npgsql; using System; using System.Collections.Generic; using System.Data.Common; using System.Data.SqlClient; using System.Linq; using System.Threading.Tasks; using Xunit; namespace DeKreyConsulting....
using System; using System.IO; using System.Windows.Media; using System.Windows.Media.Imaging; namespace Panuon.UI.Silver { public static class Extend { #region String /// <summary> /// 指示该字符串是否是Null或空字符串。 /// </summary> /// <summary xml:lang="en"> /// ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using Windows.Storage; using Windows.Storage.Streams; namespace Catan10 { /// <summary> /// I'v...
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("Mu...
// 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.Linq; using System.Tests; using Microsoft.D...
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requir...
// 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.Concurrent; using System.Collections.Generic; using System.Diagnostics.ContractsLight; namespace BuildXL.Utilities.Collections {...
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
using Microsoft.EntityFrameworkCore.Migrations; namespace DataAccess.Migrations { public partial class RemoveMyPorpertyFromIssueDetails : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "MyProperty", ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BuffDataGrid.xaml.cs" company="SyndicatedLife"> // Copyright(c) 2018 Ryan Wilson &amp;lt;syndicated.life@gmail.com&amp;gt; (http://syndicated.life/) // Licensed under the MIT ...
using System; namespace Utils { public static class TimeManager { public static long DateTimeToUnixTimeStamp(DateTime dt) { var utc = dt.ToUniversalTime(); return (long)(utc.Subtract(new DateTime(1970, 1, 1))).TotalSeconds; } public static DateTime UnixTimeStampToDateTime(double unixTimeStamp) { ...
@model CCM.Web.Models.Profile.ProfileGroupViewModel <h2>@ViewBag.Title</h2> <hr /> @using (Html.BeginForm("CreateEdit", "ProfileGroup", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.ValidationSummary() @Html.AntiForgeryToken() @Html.Partial("_ProfileGroup", Model) } @secti...
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mapillary.Models { public class MAPIData { public string MAPLatitude {get; set;} public string MAPLongitude { get; set; } public str...
using System.Collections.Generic; using System.Runtime.Serialization; using UnityEngine; using UnityMMO; [DataContract] public class SceneInfoForServer : MonoBehaviour { [DataMember] public int scene_id; [DataMember] public string scene_name; [HideInInspector] [DataMember] public List<Doo...
using System; using Cirrious.MvvmCross.ViewModels; using RGBPi.Core.Model; using System.Collections.Generic; using RGBPi.Core.Model.Commands; using RGBPi.Core.Model.DataTypes; using System.Diagnostics; namespace RGBPi.Core.ViewModels { public class MainViewModel : RemoteControlViewModel { public ColorChooserViewM...
using System; using System.Threading.Tasks; // ReSharper disable once CheckNamespace namespace Hattem.Api.Fluent { partial class ApiResponseExtensions { public static async ValueTask<ApiResponse<TInput>> Filter<TInput>( this ValueTask<ApiResponse<TInput>> source, Func<TInput, V...
using System.Threading.Tasks; namespace SerialLabs.Monitoring { /// <summary> /// Monitoring Task interface /// </summary> public interface IMonitoringTask { MonitoringResult Execute(); Task<MonitoringResult> ExecuteAsync(); string Label { get; } string Type { get; ...
namespace Dryv.Extensions { public static class ResultExtensions { public static bool IsError(this DryvValidationResult result) => result?.Type == DryvResultType.Error; public static bool IsSuccess(this DryvValidationResult result) => result?.Type == DryvResultType.Success; public sta...
using Microsoft.Extensions.Logging; using System; namespace DragonSpark.Application.Diagnostics; public readonly record struct LogExceptionInput(ILogger Logger, Exception Exception);
using College.Core.Entities; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; namespace College.WebAPI.Controllers { [ApiController] [Route("api/v1/[controller]")] public class WeatherForecastController : ControllerBase ...
using System.Collections.Generic; namespace M5x.Docker.Models; public class NetworkParams { public NetworkParams() { IPAM = new IPAMInfo(); Labels = new Dictionary<string, string>(); Options = new Dictionary<string, string>(); } public bool Attachable { get; set; } public ...
using System.Linq; namespace AivoTree { public class SelectorNode<T> : TreeNode<T> { private readonly TreeNode<T>[] _nodes; private TreeNode<T> runningNode; public SelectorNode(params TreeNode<T>[] nodes) { _nodes = nodes; } public AivoTree...
using System; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using SportSystem.Web.Models; namespace SportSystem.Web.Controllers { [Authorize] public class ManageCont...
using HarmonyLib; using Kingmaker.Blueprints; using Kingmaker.Blueprints.Classes.Spells; using Kingmaker.Blueprints.JsonSystem; using Kingmaker.UnitLogic.Abilities.Blueprints; using Kingmaker.UnitLogic.Abilities.Components; using Kingmaker.UnitLogic.Mechanics.Components; using System.Linq; using TabletopTweaks.Config;...
using System; using System.Net; using TNT; namespace EX_1 { static class Program { static void Main(string[] args) { var server = TntBuilder .UseContract<IExampleContract, ExampleContract>() .CreateTcpServer(IPAddress.Loopback, 12345); se...
@using Chaso.Reporting.Sample.Helpers @model IEnumerable<Chaso.Reporting.RDL.ReportParameter> @{ ViewBag.Title = "Report " + ViewBag.ReportName; IList<Chaso.Reporting.ErrorMessage> errorMessages = ViewBag.Erros as IList<Chaso.Reporting.ErrorMessage>; } <h2>@ViewBag.ReportName</h2> <div class="row"> <div ...
using System.Collections.Generic; using System.Linq; using NLog; using ProcessSmarterTestPackage.Processors.Common; using SmarterTestPackage.Common.Data; namespace ProcessSmarterTestPackage.External { public class CrossProcessor { private static readonly Logger Logger = LogManager.GetCurrentClassLogge...
// <auto-generated> // 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 // re...
// Copyright (c) .NET Foundation. 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.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using S...
// Copyright (c) .NET Foundation. 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.Diagnostics; using System.Linq.Expressions; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore...
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace KubeClient.Models { /// <summary> /// Local represents directly-attached storage with node affinity /// </summary> public partial class LocalVolumeSourceV1 { /// <summary> /// The full path to t...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System; [CustomEditor(typeof(TextureCreator))] public class TextureCreatorInspector : Editor { private TextureCreator creator; private void OnEnable() { creator = target as TextureCreator; ...
using System; using System.Web.Mvc; using EPiServer.Core; using EPiServer.Core.Html.StringParsing; using EPiServer.Web; using EPiServer.Web.Mvc; using EPiServer.Web.Mvc.Html; using EPiServer; namespace EPiServer.SocialAlloy.Web.Business.Rendering { /// <summary> /// Extends the default <see cref="ContentAreaRe...
namespace Marathon.Server.Data.Migrations { using Microsoft.EntityFrameworkCore.Migrations; public partial class AddNewPropertyFullNameToUser : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; using Bicep.Core.Diagnostics; using Bicep.Core.Navigation; using Bicep.Core.Syntax; namespace Bicep.Core.Parser {...
/* ChessLib, a chess data structure library MIT License Copyright (c) 2017-2019 Rudy Alex Kohn 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...
// This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT. // Copyright (C) Leszek Pomianowski and WPF UI Contributors. // All Rights Reserved. namespace WPFUI.Controls.Interfaces; /// <su...
// Copyright 2012-2018 Dmitry Kischenko // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
// 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.Runtime.InteropServices; using System.Threading; using Microsoft.CodeAnalysis...
using System; using System.Collections.Generic; using System.Text; namespace DeisgnPatterns.Factories { /// <summary> /// <param name="a">x if cartesian, rho if polar</param> /// <param name="b"></param> /// <param name="system"></param> /// </summary> public class PointWithProblem { ...
using Dolhouse.Binary; using Dolhouse.Image.BTI; namespace Dolhouse.Models.Bin { /// <summary> /// Bin Texture /// (THIS CLASS CURRENTLY NOT IN USE, FOR TEXTURES, /// THE BTI CLASS IS USED DIRECTLY INSTEAD) /// </summary> public class UnusedTexture { #region Properties //...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Studentdirectory { public partial class adminregister : System.Web.UI.Page { protected void Page_Load(object sender, EventArg...
using System.Threading; using System.Threading.Tasks; using MediatR; using PaymentGateway.Application.BankProviders; using PaymentGateway.Application.Commands; using PaymentGateway.Core.Model; using PaymentGateway.SharedKernel; namespace PaymentGateway.Application.CommandHandlers { public class PaymentCommandHand...
using System; using MimeKit; namespace Rnwood.Smtp4dev.ApiModel { public class MimeEntityVisitor { public static T Visit<T>(MimeEntity entity, T parentResult, Func<MimeEntity, T, T> action) { var result = action(entity, parentResult); if (entity is Multipart multipart)...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc.Core; namespace Microsoft.AspNetCore.Mvc.Controllers; internal class ControllerFactoryProvider : IControllerFactoryProvider { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using log4net; using SFML.Graphics; using SFML.Window; namespace Genetic_Cars.Car { sealed class Population : IDisposable { private static readonly ILog Log = LogManager.GetLogger( Metho...
/* * Copyright 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 "license" fi...
 namespace SFA.DAS.ApplyService.Domain.Roatp { public static class FinancialApplicationSelectedGrade { public const string Outstanding = "Outstanding"; public const string Good = "Good"; public const string Satisfactory = "Satisfactory"; public const string Clarification = "Clar...
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using System.Linq; using System.Numerics; // TODO: Review the use of base IccTagDataEntry comparison. namespace SixLabors.ImageSharp.Metadata.Profiles.Icc { /// <summary> /// This structure represents a color transfo...
// Write a program to convert decimal numbers to their hexadecimal representation. using System; class ConvertDecToHex { static void Main() { Console.WriteLine("Enter a number (dec):"); int number = int.Parse(Console.ReadLine()); string result = DecToHex(number); Console.WriteL...
using Godot; using System; public class Mob : RigidBody2D { [Export] public int MinSpeed = 150; [Export] public int MaxSpeed = 250; private static readonly Random _random = new Random(); // Called when the node enters the scene tree for the first time. public override void _Ready() ...
using System; using System.Windows.Forms; namespace RunesDataBase.Utils { internal static class ThreadSafeExtensions { public static void ThreadSafeInvoke(this Control component, Action act) { if (component.InvokeRequired) component.Invoke(act); act(); ...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
// Copyright 2021-2022 The SeedV Lab. // // 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 agree...
using System.Data.Entity.ModelConfiguration; using SmartStore.Core.Domain.Catalog; namespace SmartStore.Data.Mapping.Catalog { public partial class ProductBundleItemAttributeFilterMap : EntityTypeConfiguration<ProductBundleItemAttributeFilter> { public ProductBundleItemAttributeFilterMap() { this.ToTable("Pr...
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("Pe...
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
namespace BasicGameFrameworkLibrary.BasicGameDataClasses; public interface ILabelGrid { string GetValue(string propertyName, int decimalPlaces); }
namespace Baasic.Client.Model { /// <summary> /// The file entry delete request model. /// </summary> public class FileEntryDeleteRequest { #region Properties /// <summary> /// Gets or sets the file format of the derived entry. /// </summary> public object F...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace WebBoxOffice.Domain { /// <summary> /// Customer Tickets /// </summary> [Table("CustomerTickets")] public class CustomerTickets:IDataBoxOffice ...
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("Re...
#region PDFsharp Charting - A .NET charting library based on PDFsharp // // Authors: // Niklas Schneider (mailto:Niklas.Schneider@PdfSharpCore.com) // // Copyright (c) 2005-2009 empira Software GmbH, Cologne (Germany) // // http://www.PdfSharpCore.com // http://sourceforge.net/projects/pdfsharp // // Permission is he...
// Copyright (c) 2022 Quetzal Rivera. // Licensed under the MIT License, See LICENCE in the project root for license information. namespace Telegram.BotAPI { /// <summary>Defines properties that implements a class or value type for file objects.</summary> public interface ITelegramFile { ///<summar...
using System; using System.Collections.Generic; namespace P7.Core.Utils { public static class Guard { public static void ArgumentNotNull(string argumentName, object value) { if (value == null) { throw new ArgumentNullException(argumentName); ...
using System; using System.Net; using FluentFTP; using System.IO; using System.Threading; namespace Examples { public static class BeginOpenAppendExample { static ManualResetEvent m_reset = new ManualResetEvent(false); public static void BeginOpenAppend() { // The using statement here...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Mail; using System.Web; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; usin...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using System; namespace Elastic.Clients.Elasticsearch { [AttributeUsage(AttributeTargets.Interface)] internal...
using System.ServiceProcess; namespace SharpOpen.Net.TcpSoftRouter { partial class TcpSoftRouterInstaller : ServiceProcessInstaller { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> ...
// 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 osu.Framework.Graphics.Containers; using osu.Game.Rulesets; using osuTK.Graphics; namespace osu.Game.Overlays.Toolbar { public class ToolbarRulesetButton : To...
#region License // /* // Microsoft Public License (Ms-PL) // MonoGame - Copyright © 2009 The MonoGame Team // // All rights reserved. // // This license governs use of the accompanying software. If you use the software, you accept this license. If you do not // accept the license, do not use the software. // // 1. D...
/* [The "BSD licence"] Copyright (c) 2007-2008 Johannes Luber Copyright (c) 2005-2007 Kunle Odutola 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...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shoot : MonoBehaviour { public GameObject projectile; public Transform bulletSpawn; private bool isReadyToFire; public AudioSource sniperShotSound; // Start is called before the first frame update void ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
// Copyright (c) 2014-2020 DataStax Inc. // Copyright (c) 2020, Rafael Almeida (ralmsdevelper) // Licensed under the Apache License, Version 2.0. See LICENCE in the project root for license information. using System; using System.Reflection; namespace Scylla.Net.Mapping { /// <summary> /// A class for defini...
using System; using System.Runtime.InteropServices; using System.Text; class SoundTouchInterop { #if x86 private const string SoundTouchDllName = "SoundTouch_x86"; #elif x64 private const string SoundTouchDllName = "SoundTouch_x64"; #endif /// <summary> /// Create a new instance of SoundTouch process...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebAppBS.Prox { public partial class go : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ...
#region License // Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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 // ...
/* * Copyright 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 "license" fi...
using BasicDesk.Common.Constants.Validation; using System.ComponentModel.DataAnnotations; namespace BasicDesk.App.Models.Management.ViewModels { public class CategoryViewModel { public int Id { get; set; } [Required] [MinLength(RequestCategoryConstants.NameMinLength)] [MaxLeng...