text
stringlengths
1
932k
/* * 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...
// *** 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; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SAEA.Redis.WebManager.Models { public class KeyType { public string Key { get; set; } public string Type { get; set; ...
using System.Collections.Generic; namespace SubmissionEvaluation.Shared.Models.Permissions { public class Permissions { public bool isAdmin { get; set; } public List<string> ViewPermissions { get; set; } = new List<string>(); public List<string> CreatePermissions { get; set; } = new Li...
using AutoMapper; using Secure.SecurityDoors.Logic.Models; using Secure.SecurityDoors.Web.ViewModels; namespace Secure.SecurityDoors.Web.Mappings { /// <summary> /// AutoMapper for mapping dto -> vm of Card type. /// </summary> public class CardProfile : Profile { public CardProfile() ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _22.NestedDict02CitiesByCountries { class CitiesByCountries { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); var resul...
using UnityEngine; namespace UnityEditor.ProGrids { static class Defaults { public static readonly Color GridColorX = new Color(.9f, .46f, .46f, .15f); public static readonly Color GridColorY = new Color(.46f, .9f, .46f, .15f); public static readonly Color GridColorZ = new Color(.46f, .46f, .9f, .15f); pub...
using System; using System.Collections.Generic; using System.Linq; 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; using System.Windows.Media; using System.Windows.Media.Imaging;...
using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace OctopusProjectBuilder.Uploader.Tests.Serialization { /// <summary> /// Support for reading and writing JSON, exposed for convenience of those using JSON.NET. /// </summary> public static class JsonSerialization { /// <summa...
using System; namespace Krypton.Buffers { public class EndOfBufferException : Exception { public int Size { get; } public int Offset { get; } public int NeededSize { get; } public EndOfBufferException(int size, int offset, int neededSize) : base($"Size: {si...
//////////////////////////////// // // Copyright 2021 Battelle Energy Alliance, LLC // // //////////////////////////////// using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSETWeb_Api.BusinessLogic.Models { public class Analytic...
namespace ConsoleCalculator.CalculatorLanguage.LinearExpressionsInX { /// <summary> Nonnegative as in there is no minus sign. "x" would be one of these even if included in an equation that solved to x = -1. </summary> public class NonnegativeLiteral : LinearExpressionInX { public readonly LinearInX value; public ...
namespace Julius.Domain.Enums { public enum ExpenseStatus { Paid, Partial, Opened } }
/* * 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 Org.VSATemplate.Domain.Dtos.Student { public class StudentForCreationDto : StudentForManipulationDto { } }
/********************************************************************++ Copyright (c) Microsoft Corporation. All rights reserved. --********************************************************************/ using System; using System.Management.Automation; using System.Management.Automation.Internal; using Dbg = System.M...
using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using System.Reflection; using NUnit.Framework; #if NET_CORE using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Emit; using CS = Microsoft.CodeAnalysis.CSharp; #endif na...
// *** 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...
/* * 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.Diagnostics; using System.IO.Pipelines; using System.Net.Sockets; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; namespace Andromeda.Bedrock.Framework { internal class SocketAwaitable : ICriticalNotifyCompletion { private static ...
using AUdependencies.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Newtonsoft.Json; namespace AUwebServices.Controllers { public class HomeController : Controller { private H...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Methods07 { class Program { static void Main(string[] args) { Console.Write($"Input gender of advisee : "); string gen = Consol...
//--------------------------------------------------------------------- // <copyright file="ComponentInfo.cs" company="Microsoft Corporation"> // Copyright (c) 1999, Microsoft Corporation. All rights reserved. // </copyright> // <summary> // Part of the Deployment Tools Foundation project. // </summary> //----------...
/************************************************************************ AvalonDock Copyright (C) 2007-2013 Squalr Software Inc. This program is provided to you under the terms of the New BSD License (BSD) as published at http://avalondock.codeplex.com/license For more features, controls, and fast...
using System; using System.Collections.Generic; using Cinematic.Common; using Cinematic.DataAccess.Entities; using MongoDB.Bson; using MongoDB.Driver; namespace Cinematic.DataAccess.Repositories { public class SeatRepository : ISeatRepository { private readonly IMongoCollection<Seat> _seatCollection; ...
namespace Easy.Common { using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Net; using System.Net.NetworkInformation; using System.Net.Sockets; /// <summary> /// Provides a set of methods to help work with network related activities. ...
// <auto-generated /> using Identity.API.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClassLibraryWithComReference { public class Class1 { } }
using Autofac.Extras.Moq; using FluentAssertions; using NUnit.Framework; using System; using System.Collections.Generic; using VideoApi.Common.Helpers; using VideoApi.Domain; namespace VideoApi.UnitTests.Helpers { [TestFixture] public class LoggingDataExtractorTests { private AutoMock _mocker; ...
using System; using UIKit; using CoreGraphics; using System.Drawing; namespace SmartRoadSense.iOS { public static class ChangeImageColor { public static UIImage GetColoredImage(string imageName, UIColor color) { UIImage image = UIImage.FromBundle(imageName); UIImage coloredImage = null; UIGraphics.Begi...
using aggregator_server; using aggregator_server.Controllers; using NUnit.Framework; using System.Linq; using System.Collections.Generic; using System.Text; using aggregator_server.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Infrastructure; using System.Net; using System.IO; using LiteDB; n...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("DeltaEngine.WindowsSlimDX")] [assembly: AssemblyDescription("Delta Engine Windows SlimDX Support")] [assembly: AssemblyCompany("Delta Engine")] [assembly: AssemblyCopyright("Co...
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using RedPoint.Chat.Data; namespace RedPoint.Chat.Migrations { [DbContext(typeof(ChatDbContext))] partial class ChatDbContex...
using UnityEngine; using UnityEditor; using System.Collections; [CustomEditor(typeof(BezierCurve))] public class BezierCurveEditor : Editor { BezierCurve curve; SerializedProperty resolutionProp; SerializedProperty closeProp; SerializedProperty pointsProp; SerializedProperty colorProp; private static bool sh...
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using ImGuiNET; using SIMD = System.Numerics; namespace CSharpPathTracer { class ImGuiHelper { /// <summary> /// Static representation of a vertex to match ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CraftingSlotView : MonoBehaviour { public Slot slot; }
using System; using AMPA.Modelo; using System.Text; using System.Web.UI; using System.Web.UI.WebControls; namespace AMPAExt.UI.Extraescolar { /// <summary> /// Funcionalidad para dar de alta a una nueva empresa extraescolar /// </summary> public partial class AltaEmpresaExt : PageBase { //...
@using Stimulsoft.Report.Mvc; @using Stimulsoft.Report.Web; @{ ViewBag.Title = "Index"; } <h2>Using the Full-Screen Mode in the Viewer</h2> <br /> @Html.Stimulsoft().StiMvcViewer(new StiMvcViewerOptions() { Actions = { GetReport = "GetReport", ViewerEvent = "ViewerEvent" }, Appea...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using Syste...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BallCheck : MonoBehaviour { private Vector3 startPos; private Quaternion originalRotation; [Header("Scoring vars")] public List<GameObject> collectibleList; public List<GameObject> boxList; public int score = 0; public...
using Cofoundry.Core; using Cofoundry.Domain; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Cofoundry.Samples.PageBlockTypes { public class CarouselDataModel : IPageBlockTypeDataModel { [Required]...
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("Nu...
namespace MGF.Framework { public class LuaModule : BusinessModule { private object m_args; /// <summary> /// 构造函数传入Name /// 是因为Lua模块无法通过反射来获取Name /// </summary> /// <param name="name"></param> internal LuaModule(string name) : base(name) { } //...
// *** 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.Goog...
using System; using System.Collections.Generic; using System.Text; using System.Threading; class Order {} class SemaphoreLock { static Semaphore orderSemaphore; static void Main(string[] args) { ManualResetEvent waitEvent = new ManualResetEvent(false); i...
using AutoMapper; using buildeR.BLL.Exceptions; using buildeR.BLL.Interfaces; using buildeR.BLL.Services.Abstract; using buildeR.Common.DTO.BuildHistory; using buildeR.DAL.Context; using buildeR.DAL.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using buildeR...
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Correspondence.Factual.AST; namespace Correspondence.Factual.UnitTest.ParserTests { public static class ParserTestExtensions { public static Fact WithFactNamed(this Namespace result, string name) { ...
using LAS.Utility; using RimWorld; using System.Collections.Generic; using Verse; using Verse.AI; using Verse.Sound; namespace LAS { public class JobDriver_InstallLock : JobDriver { public override bool TryMakePreToilReservations(bool errorOnFailed) { return pawn.Reserve(job.target...
namespace UCloudSDK.Models { /// <summary> /// 删除内容转发策略组 /// <para> /// http://docs.ucloud.cn/api/ulb/delete_policy_group.html /// </para> /// </summary> public partial class DeletePolicyGroupRequest { /// <summary> /// 默认Action名称 /// </summary> ...
using System.Threading.Tasks; using AElf.Standards.ACS2; using AElf.Contracts.Parliament; using AElf.Contracts.Profit; using AElf.Contracts.Referendum; using AElf.Contracts.TokenConverter; using AElf.Kernel; using AElf.Kernel.SmartContract; using AElf.Types; using Google.Protobuf.WellKnownTypes; using Microsoft.Extensi...
// 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; namespace Scylla.Net.Serialization.Graph.Tinkerpop.Structure.IO.GraphSON { internal class Double...
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("_0...
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Shiny.Infrastructure; using Shiny.Jobs; namespace Shiny.Notifications { public class NotificationJob : IJob { readonly IRepository repository; readonly INotificationManager manager; public N...
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class DeliverySystemData { [SerializeField] public List<Box> DeliveryList; [SerializeField] public List<DeliveryPoint> DeliveryPoints; }
using System; namespace Lsj.Util.Win32.ComInterfaces { /// <summary> /// /// </summary> public unsafe struct IQueryAssociations { IntPtr* _vTable; } }
namespace MyDotnetPodcasts.Services { public static class ServicesExtensions { public static MauiAppBuilder ConfigureServices(this MauiAppBuilder builder) { builder.Services.AddSingleton<SubscriptionsService>(); builder.Services.AddHttpClient<ShowsService>(client => ...
// // IHttpClientHandler.cs // // Copyright (C) 2019 Ultz Limited // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. // #region using System; using System.IO; using System.Net; using System.Threading.Tasks; using Microsoft.Extensions.Loggin...
using System.Collections.Generic; using UnityEngine; using LiteNetLib; using LiteNetLibManager; namespace MultiplayerARPG.MMO { [DefaultExecutionOrder(-897)] public partial class CentralNetworkManager : LiteNetLibManager.LiteNetLibManager { #if UNITY_STANDALONE && !CLIENT_BUILD protected readonly ...
@using cloudscribe.Web.Navigation @model NavigationViewModel @if (Model.CurrentNode != null && (Model.ParentChain.Count > 1 || (Model.TailCrumbs != null && Model.TailCrumbs.Count > 0))) { <nav aria-label="breadcrumb"> <ol class="breadcrumb"> @foreach (var node in Model.ParentChain) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; namespace Services.Functions { public class NoCacheAttribute : ActionFilterAttribute { public override void OnActionExecuting(ActionExecutingCont...
using System; using Autofac; using QS.Deletion.ViewModels; namespace QS.Deletion { public class DeletionAutofacModule : Module { protected override void Load(ContainerBuilder builder) { builder.RegisterType<PrepareDeletionViewModel>().AsSelf(); builder.RegisterType<DeletionViewModel>().AsSelf(); builde...
/* * 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; using Windows.ApplicationModel; using Windows.Graphics.Display; using Windows.UI.Core; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Data; namespace SkiaSharp.Views.UWP { public partial class SKXamlCanvas : Canvas { private static readonly DependencyProperty ProxyVisib...
/// MyRuntimeInitializeOnLoadMethod.cs Agosto 22/2016 MoonPincho /// using UnityEngine; namespace MoonPincho { #if UNITY_5_4 public class MyRuntimeInitializeOnLoadMethod { [RuntimeInitializeOnLoadMethod] static void RunMeAtLoadTime() { Debug.Log("RunMeAtLoadTime - [MyRunt...
using UnityEngine; using System.Collections; [RequireComponent(typeof(Player))] public class PlayerInput : MonoBehaviour { public static Vector2 directionalInput; Player player; void Start() { player = GetComponent<Player>(); } void Update() { directionalInput = new Vect...
/* * 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 FunApp.Data.Common; using FunApp.Data.Models; using FunApp.Services.DataServices.Contracts; using FunApp.Services.Mapping; using FunApp.Services.Models.Categories; using FunApp.Services.Models.Home; using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading.Tasks; namespace FunApp.Services.D...
//----------------------------------------------------------------------- // <copyright file="ArrayAndObjectConcatenation.cs" company="Hocon Project"> // Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/hocon> // </copyr...
using System; using System.Collections.Generic; namespace Light.Data { /// <summary> /// Relation field config. /// </summary> class RelationFieldMapConfig { readonly List<RelationKey> _relationKeys = new List<RelationKey>(); /// <summary> /// Initializes a new instance of the <see cref="RelationFieldMapC...
using System.Collections; namespace ComputeDuck { public class Lexer { public Lexer() { ResetStatus(); } public List<Token> GenerateTokens(string src) { ResetStatus(); m_Source = src; while (!IsAtEnd()) { ...
using System.ComponentModel; using System.Windows.Controls; using System.Windows.Data; using Insight.Shared.Ui; using Insight.ViewModels; namespace Insight { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public sealed partial class MainWindow { public MainWindo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using QuestomAssets; namespace BeatOn { public static class BeatOnExtensions ...
//----------------------------------------------------------------------- // <copyright file="ReadWriteAggregator.cs" company="Akka.NET Project"> // Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyrig...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; #if UNITY_EDITOR using UnityEditor; [CustomEditor (typeof(TimedUnityEvents))] public class TimedUnityEventsEditor : Editor { public override void OnInspectorGUI () { DrawDefaultInspector (); ...
using McMaster.Extensions.CommandLineUtils; namespace NeoExpress.Commands { [Command("wallet", Description = "Manage neo-express wallets")] [Subcommand(typeof(Create), typeof(Delete), typeof(Export), typeof(List))] partial class WalletCommand { internal int OnExecute(CommandLineApplication app,...
using System.Linq; using System.Threading; using System.Threading.Tasks; using Application.Core; using Application.Interfaces; using Domain; using MediatR; using Microsoft.AspNetCore.Http; using Microsoft.EntityFrameworkCore; using Persistance; namespace Application.Photos { public class Add { public c...
#pragma checksum "C:\Users\HP\Desktop\Licenta Blazor Server .NET 5\Blazor-Project-master\Pages\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7091c65830b0329e613be026ede8a57552863778" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemA...
 namespace Mailgun.WebhookEvents { public class FailureEvent : WebhookEventBase { public string Reason { get; set; } public string Code { get; set; } public string Description { get; set; } // Attachments go here too, but they get parsed funny see https://github.com/Standpoin...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using NewLife.Caching; using NewLife.Data; using NewLife.Log; using NewLife.Serialization; using Xunit; using NewLife; namespace XUnitTest.Caching { public class MemoryCacheTests { public MemoryCache Cach...
// Copyright (c) 2021 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...
using System; using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Serilog; using Serilog.Events; using Serilog.Sinks.Elasticsearch; namespace PublicWebSiteGateway.Host { public class Program { public static int Main(s...
// // Copyright (c) 2004-2017 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // 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 s...
using System; using static MyBlog.Engine.TagHelpers.Socials; namespace MyBlog.Engine.Models { public sealed class ShareRequest { public String Id { get; set; } public SocialnetWork N { get; set; } } }
using System; using Swarmops.Basic.Types; using Swarmops.Basic.Types.Structure; using Swarmops.Database; using Swarmops.Logic.Financial; namespace Swarmops.Logic.Structure { [Serializable] public class Country : BasicCountry { private Country (BasicCountry basic) : base (basic) ...
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using log4net; using CKAN.Versioning; namespace CKAN.CmdLine { public class Replace : ICommand { private static readonly ILog log = LogManager.GetLogger(typeof(Replace)); public IUser User { get; set; }...
// 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.Diagnostics; using System.Dynamic.Utils; using System.Reflection; namespace System.Linq....
@{ Layout = "_Layout"; } <div class="well well-body"> @* <form action="/stylists/clear" method="post"> <button class="btn btn-danger pull-right" type="submit">Clear All Stylists</button> </form> *@ <h1>Stylists</h1> @if (Model.Count == 0) { <div class="alert alert-warning"> <h4><em>There are ...
using UnityEngine; using System.Collections.Generic; public class FB_PermissionResult : FB_Result { private Dictionary<string, FB_Permission> _Permissions = null; public FB_PermissionResult(string RawData, string Error) : base(RawData, Error) {} public void SetPermissions(Dictionary<string, FB_Permission> permis...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using library_management_system.views; using services; using models; namespace library_management_system { static class Program { /// <summary> /// The main entry point ...
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("Fri...
// Siege Expert perk was removed as from e1.5.1. Therefore this patch has no use anymore. #if !AFTER_E1_5_1 using System.Collections.Generic; using System.Linq; using System.Reflection; using CommunityPatch; using TaleWorlds.CampaignSystem; using TaleWorlds.Core; using TaleWorlds.Localization; namespace Patches.Perk...
namespace NearClientUnity.Utilities.Ed25519.Internal.Ed25519Ref10.ScalarOps { internal static partial class ScalarOperations { public static void Clamp(byte[] s, int offset) { s[offset + 0] &= 248; s[offset + 31] &= 127; s[offset + 31] |= 64; } } ...
using Discount.Api.Entities; using System.Threading.Tasks; namespace Discount.Api.Repositories { public interface IDiscountRepository { Task<Coupon> GetDiscount(string productName); Task<bool> CreateDiscount(Coupon coupon); Task<bool> UpdateDiscount(Coupon coupon); Task<bool...
@using helloNET @using helloNET.Models @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
using Microsoft.CodeAnalysis; namespace YoloDev.CodeGen.SourceGenerator { [Generator] public class CodeGenHelpersGenerator : ISourceGenerator { public void Execute(GeneratorExecutionContext context) { } public void Initialize(GeneratorInitializationContext context) ...
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SalesWebMvc.Data; namespace SalesWebMvc.Migrations { [DbContext(typeof(Sal...
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("Ch...
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace NGettext.Loaders { internal class ContentType { private static readonly Regex Regex = new Regex(@"^(?<type>\w+)\/(?<subType>\w+)(?:\s*;\s*(?<paramName>\w+)\s*=\s*(?<paramValue>(?:[0-9\w_-]+)|(?:"".+ "")))*", #if NETSTA...