text
stringlengths
1
932k
namespace ServiceStack.ServiceInterface.ServiceModel { public interface ICacheByEtag { string Etag { get; } } }
namespace DragonWarriorTownAndDungeonEditor { partial class FormGarinhamsGraveB1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Olo42.SAROM.WebApp.Models; namespace SAROM.Migrations.Operation { [DbContext(typeof(Opera...
using System; using System.Collections.Generic; using System.Linq; using Raven.Client.Linq; namespace Raven.Client.Contrib.Extensions { public static class PagingExtensions { private const string ExceedsLimitMessage = @"This operation can't be completed because it would require exceeding the session r...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager;...
// 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.Linq; using System.Linq.Expressions; using System.Reflection; using JetBrains.Annotations; using Microsoft.Data.Entity.Query.Expressions; ...
using System; using System.Collections.Generic; using System.Linq; namespace GenericSwapMethod { public class StartUp { public static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); List<int> elements = new List<int>(); for (int i = 0; i ...
using System; using LinkedList.Class; namespace LinkedList { public class Program { //call method static void Main(string[] args) { Console.WriteLine("Hello World!"); CreateNodeAndList(); } /// <summary> /// Creates a new Linked list and insert...
namespace Quasar.Server.Forms { partial class FrmExecuteCode { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
@model Usda.Lib.Models.Family @{ ViewBag.Title = "Create"; var modelname = new Usda.Lib.Models.Family(); } <div class="row"></div> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> @Html.EditorFor(m => m, "Family") <div class="row"> <div ...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using Steamworks.Data; namespace Steamworks { /// <summary> /// Undocumented Parental Settings /// </summary> public class SteamFriends : SteamClass { internal static ISteamFri...
using System; using System.Linq; using System.Web.Mvc; using MaterialCMS.Batching.Entities; using MaterialCMS.Website.Binders; using NHibernate.Linq; using Ninject; namespace MaterialCMS.Batching { public class BatchRunGuidModelBinder : MaterialCMSDefaultModelBinder { public BatchRunGuidModelBinder(IK...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace MyApp.Models { [Table("film_category")] public partial class FilmCategory { [Column("film_id")] public ushort FilmId { get; set; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MoveToolYZ : MonoBehaviour { private MoveTool parent; private void Start() { parent = transform.parent.GetComponent<MoveTool>(); } private void OnMouseDown() { parent.initialPos = pare...
namespace UglyToad.PdfPig.Tests.Parser.Parts.CrossReference { using System; using PdfPig.Parser.Parts.CrossReference; using Xunit; public class TableSubsectionDefinitionTests { private readonly TestingLog log = new TestingLog(); [Fact] public void SetsPropertiesCorrectly()...
@page @model RegisterModel @{ ViewBag.Title = "Register"; } @section IdentityFormStyles { <link href="~/css/identity/form.css" rel="stylesheet" /> } <div class="form-container"> <h2>Register</h2> <form asp-route-returnUrl="@Model.ReturnUrl" method="post"> <div class="validation-summary"> ...
namespace OpenCvSharp.Demo { using UnityEngine; using UnityEngine.EventSystems; using System; using OpenCvSharp; using OpenCvSharp.Tracking; /// <summary> /// Object tracking handler /// </summary> public class TrackingScript : WebCamera , IBeginDragHandler , IDragHandler , IEndDragHandler { // ...
using System; using System.CodeDom; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.OData.Core.Aggregation; using Xbehave; namespace AggregationTestProject { public class HelpersTest { [Scenario] public void TrimOneTest() { st...
using System; using System.Threading.Tasks; using FFImageLoading; using Xamarin.Forms; namespace XamJam.Pic { public class PicManager { public static async Task<IPic> LoadAsync(Uri url) { var load = new TaskCompletionSource<Tuple<Size, ImageSource>>(); ImageService.Inst...
using JNCC.PublicWebsite.Core.Models; using System.Collections.Generic; namespace JNCC.PublicWebsite.Core.Providers { internal interface IScienceDetailsPageProvider { IEnumerable<ScienceDetailsPage> GetByCategory(ScienceCategoryPage scienceCategoryPage); } }
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNetCore.Mvc.Versioning; namespace NSwag.Generation.AspNetCore.Tests.Web { public class Startup { ...
// *********************************************************************** // <copyright file="MySqlDateTimeConverter.cs" company="ServiceStack, Inc."> // Copyright (c) ServiceStack, Inc. All Rights Reserved. // </copyright> // <summary>Fork for YetAnotherForum.NET, Licensed under the Apache License, Version 2.0</...
@model IList<FSharpDemoPresentation.Models.ChapterPresentation> @{ if (string.IsNullOrEmpty(ViewBag.Title)) { ViewBag.Title = "Presentation"; } var ajaxOptions = new AjaxOptions { UpdateTargetId = "PresentationContent", // <-- DOM element ID to update ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Globalization; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager;...
namespace explainpowershell.models { public class Code { public string PowershellCode { get; set; } } }
using System.Collections.Generic; using System.Diagnostics; using System.Text; using BinarySerializer; namespace R1Engine { /// <summary> /// XM audio file data /// </summary> public class XM_Sample : BinarySerializable { public uint SampleLength { get; set; } public uint SampleLoopSta...
using FastGithub.Configuration; using FastGithub.DomainResolve; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Security; using System.Net.Sockets; using System.Runtime.CompilerServices; using System...
using System; namespace SharpEngine { public struct Vector { public float x, y, z; public static Vector Forward => new Vector(0, 1); public static Vector Backward => new Vector(0, -1); public static Vector Down => new Vector(0, -1); public static Vector Left => new Vector(-1, 0); public static Vector Ri...
using System; using System.Drawing; using System.IO; using System.Linq; using System.Windows.Forms; using Algorithms; namespace App.Pgp { public partial class Plugin : Form { private readonly IPgp _algorithm = new Algorithms.Pgp(); private string _publicKeyPath; private string _private...
using System; using System.Globalization; using System.Linq; using System.Reflection; using System.Web.Http.Controllers; using System.Web.Http.Description; using System.Xml.XPath; using IATADev.Areas.HelpPage.ModelDescriptions; namespace IATADev.Areas.HelpPage { /// <summary> /// A custom <see cref="IDocumenta...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace Ex10_TaskRun_DelayVsSleep { internal static class Program { private static int _delayTime = 2000; private static int _loops = 20; private static vo...
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Configuration; using Microsoft.Extensions.Options; using System; using System.IO; using ZLogger.Providers; namespace ZLogger { public static class ZLoggerLoggingBuilderExtensions { pu...
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SalesWebMvc.Data; using SalesWebMvc.Models; namespace SalesWebMvc.Migrations {...
using System; using System.Collections.Generic; namespace FactoryAssembly { internal abstract class FactoryGameMode { internal abstract float RemainingTime { get; } protected FactoryRoom Room { get; private set; } pr...
// 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 Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json; using System.Security.Cryptography.X509Certificates; using System.Text; names...
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; namespace Rodes.FileKeeper.Infrastructure.Logging { internal class ExceptionUtils { public static string FormatExceptionSimple(Exception ex) { if (ex == null) ...
using Microsoft.EntityFrameworkCore.Migrations; namespace AsyncInn.Migrations { public partial class seeding : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.InsertData( table: "Amenities", columns: new[]...
using System; using Xamarin.Forms; using Xamarin.Forms.Platform.UWP; using XamKit; using XamKit.UWP; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Input; using Windows.UI.Xaml; using Windows.UI.Core; [assembly: ExportRenderer(typeof(XamKit.ContentPage), typeof(ContentPageRenderer))] namespace XamKit.UWP { ...
/// /// SGInterface.cs /// /// Author: /// Chris Zumberge <chriszumberge@gmail.com> /// /// 02/06/2018 /// using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SlnGen.Core.Code { public sealed class SGInterface { string _interfaceName; publ...
/* Copyright (c) 2018, Lars Brubaker, John Lewin 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 copyright notice, this list of conditions and...
// Copyright © .NET Foundation and Contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace PInvoke { using System; /// <content> /// Contains the <see cref="ProcessLeapSecondInfoFlags"/> nested type. /// </cont...
using System; using System.Collections.Generic; namespace BlogCMS.Models { public class Post { public Post() { Tags = new HashSet<Tag>(); } public int Id { get; set; } public string Title { get; set; } public string Description { get; set; } ...
namespace com.esendex.sdk.surveys.models { /// <summary> /// A class containing an array of SurveySendErrors /// </summary> public class SurveySendResult { /// <summary> /// An array of SurveySendErrors /// </summary> public SurveySendError[] Errors { get; set; } ...
namespace TumblThree.Applications.DataModels.Twitter { public class TwitterPost : AbstractPost { public TwitterPost(string url, string id, string date, string filename) : base(url, id, date, filename) { } } }
using UnityEngine; using System.Collections; public class MenuCharacters : MonoBehaviour { private Rigidbody2D menuChar; [SerializeField] private float moveSpeed; [SerializeField] private float maxSpeed; void Start () { menuChar = GetComponent<Rigidbody2D>(); } void FixedUpdate() { menuChar.AddForce (...
using System; using System.Linq; using System.Threading.Tasks; using Discord; using Discord.Commands; using Discord.WebSocket; using NadekoBot.Common.Collections; using NadekoBot.Core.Services; using NLog; using System.Collections.Concurrent; using NadekoBot.Extensions; namespace NadekoBot.Modules.Administration.Serv...
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...
#region Using directives using System; using System.Drawing; using Sharp3D.Math.Core; using treeDiM.StackBuilder.Basics; #endregion namespace treeDiM.StackBuilder.Graphics { public class ViewerILayer2D : IDisposable { #region Data members public static int FontSize { get; set; } = 9; ...
using GBEmu.Emulation; using System; using System.Collections.Generic; using System.Text; namespace GBEmu.Utils { public class Disassembler { public void Disassemble(Memory memory) { foreach (int i in memory.CartridgeRomBank_0) { var left = i << 4; ...
// 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.Buffers; using System.Collections; using System.Diagnostics; using System.Runtime.CompilerServices; n...
using UnityEngine; using System.Collections; using System; using LuaInterface; using System.Collections.Generic; public class TestInt64 : MonoBehaviour { private string tips = ""; string script = @" function TestInt64(x) x = 789 + x ...
using System; using System.Collections.Generic; using HotChocolate.Language.Utilities; namespace HotChocolate.Language { public sealed class OperationDefinitionNode : IExecutableDefinitionNode , IHasDirectives { public OperationDefinitionNode( Location? location, ...
using System; class DivideBy7And5 { static void Main() { int n = int.Parse(Console.ReadLine()); if (n % 35 == 0) { Console.WriteLine("True"); } else { Console.WriteLine("False"); } } }
// 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.Security.Cryptography.Encoding.Tests { // https://tools.ietf.org/html/rfc7049#section-2.4 ...
@using API_PUCCOINS.Areas.HelpPage.ModelDescriptions @model EnumTypeModelDescription <p>Possible enumeration values:</p> <table class="help-page-table"> <thead> <tr><th>Name</th><th>Value</th><th>Description</th></tr> </thead> <tbody> @foreach (EnumValueDescription value in Model.Values) ...
using System.Collections.Generic; namespace HotChocolate.ConferencePlanner.Common { public abstract class Payload { protected Payload(IReadOnlyList<UserError>? errors = null) { Errors = errors; } public IReadOnlyList<UserError>? Errors { get; } } }
namespace bootstar.Grid2D { public enum Direction2D { N, // 0,-1 S, // 0,1 W, // -1,0 E, // 1,0 NW, // -1,-1 NE, // 1,-1 SW, // -1,1 SE // 1,1 } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using BussinesEntities; using System.Windows.Forms; namespace WindowsRA1.Recepcion.caja_de_cobro { public partial class frmCobro...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; namespace FigLeaf.Core { public class Thumbnail { private readonly int _size; private readonly List<string> _videoExts; public Thumbnail(Settings settings) { if (!setti...
#if XAMARIN_ANDROID using Android.Views; using Android.Graphics; using View = Android.Views.View; using Font = Android.Graphics.Typeface; #elif XAMARIN_IOS_UNIFIED using View = UIKit.UIView; using Color = UIKit.UIColor; using Font = UIKit.UIFont; using UIKit; #elif XAMARIN_IOS using View = MonoTouch.UIKit.UIView; usin...
using System; using Framework.Persistent; using Framework.Projection.Contract; namespace Framework.Workflow.Domain.Runtime { public partial class WorkflowInstance : IMiniWorkflowInstance { } [ProjectionContract(typeof(WorkflowInstance))] public interface IMiniWorkflowInstance : IDefaultIdentityO...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.Search.Models { /// <summary> Generates n-grams of the given size(s) starting from the front or the back of an input token. This token filter is implemented using...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using D_Parser.Dom; using D_Parser.Dom.Expressions; using D_Parser.Misc; using MonoDevelop.Core; using MonoDevelop.D.Building; using MonoDevelop.Ide; using MonoDevelop.Ide.FindInFiles; using D_Parser.Resolver; using D_Parser.Ref...
 namespace Graphviz4Net.WPF.ViewModels { using Graphs; public class EdgeArrowLabelViewModel { public EdgeArrowLabelViewModel(string label, IEdge edge, object arrow) { this.Label = label; this.Edge = edge; this.Arrow = arrow; } public str...
//=================================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation and Silverlight //=================================================================================== // Copyright (c) Microsoft C...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace Buildy.Models.PC_Components.PC_Helper_Models { public class PSUEficency { [Key] public int Id { get; set; } public string Name { get; set; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// UI相机适配器,多出屏幕部分给黑边 /// </summary> [RequireComponent(typeof(Camera))] public class CameraAdapter : MonoBehaviour { /// <summary> /// UI相机视口比例 /// </summary> public float Aspect { get { ...
using System; class MaximalSum { static void Main() { // READ INPUT AND INITIALIZE VARIABLES int elemCount = int.Parse(Console.ReadLine()); int[] arr = new int[elemCount]; int sum = 0; int maxSum = 0; // populate array for (int i = 0; i < elemCount; i++)...
using GhostYak.IO.DeviceIOControl.Objects.Enums; namespace GhostYak.IO.DeviceIOControl.Objects.Disk { public struct DRIVE_LAYOUT_INFORMATION_EX { public PartitionStyle PartitionStyle; public int PartitionCount; public DRIVE_LAYOUT_INFORMATION_UNION DriveLayoutInformaiton; public...
// Copyright (c) 2021 Salim Mayaleh. All Rights Reserved // Licensed under the BSD-3-Clause License // Generated at 28.11.2021 14:05:29 by RaynetApiDocToDotnet.ApiDocParser, created by Salim Mayaleh. using System; using Newtonsoft.Json; using System.Collections.Generic; namespace Maya.Raynet.Crm.Model.Request.Post {...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections.ObjectModel; namespace Loksim3D.WetterEdit.LogicWrappers { public class UndoAwareObservableCollection<T> : ObservableCollection<T> { private IUndoManager _undoManager; public UndoAwa...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; namespace API.Extentions { public static class ClaimsPrincipleExtensions { public static int GetUserId(this ClaimsPrincipal user) { try { ...
using System; using Jasper.Runtime; using Jasper.Runtime.Handlers; using Microsoft.Extensions.Hosting; using Xunit; namespace Jasper.Testing { public class DefaultApp : IDisposable { public DefaultApp() { Host = JasperHost.Basic(); } public IHost Host { get; privat...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using System.Threading.Tasks; using LibraryOrganizer.Models; namespace LibraryOrganizer.Account { public...
using System; using System.Collections.Generic; using FlatMate.Module.Common.Dtos; namespace FlatMate.Module.Account.Shared.Dtos { public class UserDto : DtoBase { public DateTime Created { get; set; } public string Email { get; set; } public bool IsActivated { get; set; } p...
//File name: Utils.cs //Description: Public class, future home of many MapWinGIS.Utils functions; //******************************************************************************************************** //The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); //you may not us...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /****************************************************************************** * This file is auto-generated from ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text.RegularExpressions; using Augment; using Insight.Database; namespace NerdBudget.Core.Models { /// <summary> /// /// </summary> [DebuggerDisplay("{DebuggerDisplay,nq}")] public class Ledger...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace Repro.Data.Migrations { public partial class CreateIdentitySchema : Migration { protected override vo...
namespace XenAdmin.Wizards.DRWizards { partial class DRFailoverWizardRecoverPage { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
using JT809.Protocol.JT809Attributes; using JT809.Protocol.JT809Formatters.JT809SubMessageBodyFormatters; using System; using System.Collections.Generic; using System.Text; namespace JT809.Protocol.JT809SubMessageBody { /// <summary> /// 主动上报驾驶员身份信息消息 /// <para>子业务类型标识:UP_EXG_MSG_REPORT_DRIVER_INFO</para>...
#pragma checksum "C:\Users\Gabriel\Documents\Projetos\InsectTracker\insect-tracker\source\Insect Tracker\Insect Tracker\Areas\Identity\Pages\Account\AccessDenied.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "51703e521ebe79ffdaf52eb053830c6a91582181" // <auto-generated/> #pragma warning disable 1591 [assembly: globa...
/*<FILE_LICENSE> * Azos Tutorial * The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. </FILE_LICENSE>*/ using System; using Azos; using Azos.Conf; namespace s01_console { /// <summary> /// Provides base abstra...
//Write a program that calculates N! / K! for given N and K. //Use only one loop. //Input //On the first line, there will be only one number - N //On the second line, there will be only one number - K //Output //Output a single line, consisting of the result from the calculation described above. //Constraints //1 ...
using System.Reflection; using Xunit.Sdk; namespace Loretta.CodeAnalysis.Lua.Test.Utilities { public class RandomSpaceInserterDataAttribute : DataAttribute { private readonly string[] _parts; public RandomSpaceInserterDataAttribute(params string[] parts) { _parts = parts; ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using System.Web.Http; using FrontEndHelper; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Fabric; using PubSubDo...
/* * 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, software * d...
@model WebApplication.Models.LoginViewModel @{ Layout = null; ViewBag.Title = "Đăng nhập"; } <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>WebApplication</title> <meta content="width=device-width, initial-scale=1, maximum-scal...
using System; using System.Xml.Serialization; namespace dk.nita.saml20.Schema.XmlDSig { /// <summary> /// Reference is an element that may occur one or more times. It specifies a digest algorithm and digest /// value, and optionally an identifier of the object being signed, the type of the object, and/or ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace BPUtil { /// <summary> /// Provides static methods to run a process and retrieve its output. /// </summary> public static...
namespace Microsoft.Examples.V2 { using Microsoft.AspNet.OData; using Microsoft.AspNet.OData.Query; using Microsoft.Examples.Models; using Microsoft.OData; using Microsoft.Web.Http; using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; using S...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class HealthController : MonoBehaviour { public int playerHealth = 100; [SerializeField] private Text healthText; void Start() { UpdateHealth(); } public void UpdateHealth() ...
using System.Collections.Generic; using System.Text.Json.Serialization; namespace OpenStates { public class Organization { [JsonPropertyName("id")] public string Id { get; set; } [JsonPropertyName("name")] public string Name { get; set; } [JsonPropertyName("classifica...
using System.IO; using ProtoBuf.Meta; namespace protobuf.Poco { public class Serializer { private readonly RuntimeTypeModel _model; private readonly bool _owner; public Serializer() { _model = ReflectionRuntimeTypeModel.Create(); _owner = true; ...
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using GradeBook.Models.Abstractions; namespace GradeBook.Models { [Table("Grades")] public class Grade : IEntity { [Key] public int Id { get; set; } public int Va...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>@ViewBag.PageTitle</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> ...
namespace Tulpep.PayULibrary.Models.Request.Request_PayUQueries.TransactionResponseQuery { public class Request_TransactionResponseQuery_Details { public string transactionId { get; set; } } }
using Dapper; namespace DapperExtensions.Tests { public class TestDatabase : Database<TestDatabase> { public static readonly string ConnectionString = @"Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=tempdb;Integrated Security=True;Connect Timeout=15;Encrypt=False;TrustServerCertificate=True;Appli...
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class Fader : MonoBehaviour { [HideInInspector] public bool start = false; [HideInInspector] public float fadeDamp = 0.0f; [HideInInspector] public string fadeScene; [HideInInspector] public float alpha ...
// <copyright company="Aspose Pty Ltd"> // Copyright (C) 2011-2020 GroupDocs. All Rights Reserved. // </copyright> namespace GroupDocs.Watermark.Examples.CSharp.AdvancedUsage.AddingWatermarks.AddWatermarksToSpreadsheets { using Options.Spreadsheet; using Watermarks; /// <summary> /// This example sh...