text
stringlengths
1
932k
using Calculateur.Backend; using Microsoft.Practices.Prism.Mvvm; using System.Collections.Generic; namespace Calculateur.ViewModel { class Bijoux : BindableBase { private Inventory inventory = new Inventory(); #region Gestion public int Qtea1 { get { ...
using System; using System.IO; using System.Reflection; using DotNetCommons.WinForms.Graphics; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DotNetCommons.WinForms.Test.Graphics { [TestClass] public class ExifImageTest { private ExifImage _img; [TestInitialize] pub...
using System.Collections.Generic; using Cthulhu; using Verse; using Verse.AI; namespace CultOfCthulhu { public class JobGiver_LoadTransportersPawn : ThinkNode_JobGiver { private static readonly List<CompTransporterPawn> tmpTransporters = new List<CompTransporterPawn>(); protected override Job...
/*! * DisplayMonkey source file * http://displaymonkey.org * * Copyright (c) 2015 Fuel9 LLC and contributors * * Released under the MIT license: * http://opensource.org/licenses/MIT */ using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using Microsoft.Win32; namesp...
namespace ClassLib024 { public class Class046 { public static string Property => "ClassLib024"; } }
using System; using Android.App; using Android.Content.PM; using Android.OS; using Android.Runtime; using Shiny; using Xamarin; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; namespace Sample.Droid { [Activity( Label = "Notifications", Icon = "@mipmap/icon", Theme = "@style/Ma...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using WinInterop = System.Windows.Interop; namespace CroplandWpf.Helpers { public sealed class WindowHe...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Bash; using Castle.DynamicProxy.Generators.Emitters.SimpleAST; namespace UnitTestBash { [TestClass] public class UnitTestCommands { [TestMethod] public void TestEcho() { int calls = 0; ...
using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace SimplCommerce.WebHost.Migrations { public partial class AddReturnLandingTime : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddC...
using System; namespace Microsoft.SharePoint.Client.NetCore { [Flags] public enum RenderListFormDataOptions { None = 0, ExcludeListSchema = 1, IncludeAttachments = 2, IncludeListViewData = 4 } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace OnlineStore.WebUI { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); ...
/* * 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...
namespace Charming.Tests.Extensions { using System.Collections.Generic; using FluentAssertions; using Xunit; public class DictionaryExtensionsTests { [Fact] public void ToStringOutputValueDictionary_ShouldReturnDictionaryWithStringKeyAndStringOutputValueValue() { ...
@{ ViewData["Title"] = "About"; } <h2>@ViewData["Title"]</h2> <h3>@ViewData["Message"]</h3> <h3>@ViewData["email"]</h3> <p>Use this area to provide additional information.</p>
/* * 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...
// 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 static Interop; namespace System.Windows.Forms.PropertyGridInternal { internal partial class PropertyGri...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Windows; using System.Xml.Linq; using Microsoft.SilverlightMediaFramework.Logging; using Microsoft.Web.Media.SmoothStreaming; using System.Diagnostics; using System.Globalization; n...
using System; using System.Maui.CustomAttributes; using System.Maui.Internals; namespace System.Maui.Controls.Issues { [Preserve(AllMembers = true)] [Issue(IssueTracker.Github, 1386, "[iOS] EntryCell within TableView using wrong keyboard", PlatformAffected.iOS)] public class Issue1386 : TestContentPage { boo...
// ---------------------------------------------------------------------------------- // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www....
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Xml; namespace DuckyDocs.XmlDoc { /// <summary> /// A general XML doc element wrapper. /// </summary> public class XmlDocElement : XmlDocNode { /// <summary> /// Cr...
using System; using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; using Autofac.Extras.NLog; using Wiz.Gringotts.UIWeb.Tests.Helpers; using Wiz.Gringotts.UIWeb.Models; using Wiz.Gringotts.UIWeb.Models.Organizations; using Microsoft.VisualStudio.TestTools.UnitTesting; using NSubstitute; namespace Wiz...
using UnityEngine; using System.Collections.Generic; #if UNITY_EDITOR using UnityEditor; using Dialang.Compilation; #endif namespace Dialang.Unity { public delegate void DialangProjectReimportedHandle(Project project); public static class UnityUtility { /// <summary> /// Called when a Di...
using System; using System.Collections.Generic; using System.Globalization; namespace TagLib.Mpeg4 { public class IsoAudioSampleEntry: IsoSampleEntry,IAudioCodec { #region Private Fields private ushort channel_count; private ushort sample_size; private uint sample_rate; private IEnumerable<Box>children; #end...
// 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; namespace Iot.Device.Bno055 { /// <summary> /// Calibration status contains every variation ...
// WARNING // // This file has been generated automatically by Xamarin Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace Plugin.Classica.Sample.iOS { ...
// 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;...
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "CE9E47B225AAD7FBE95A37B09FE6CE03EE72AD11634F1D37745800E29EC9EDE0" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0....
@page @model SOH.Web.Pages.Image.CreateModel @{ ViewData["Title"] = "Create"; ViewData["NavClass"] = "top-nav-collapse"; } @section Styles { <style> body { padding-top: 100px; } </style> } <div class="container"> <h2>Create</h2> <h4>Image</h4> <hr /> <d...
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Text; namespace CameraModule { public interface IImageSource { /// <summary> /// Return an ImageBody with the jpeg image filled in /// </summary> /// <returns></return...
using Microsoft.AspNetCore.Http; using System; using System.Net; using System.Net.Mime; using System.Text.Json; using System.Threading.Tasks; namespace OtomatikMuhendis.TRIdentity.Api.Middleware { public class ErrorHandlerMiddleware { private readonly RequestDelegate _next; public ErrorHandle...
namespace APICore.Data.Entities { public class Setting { public int Id { get; set; } public string Key { get; set; } public string Value { 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("Da...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace Codeavr.ArrayExtensions { public static class ArrayExtensions { /// <summary>Sets a range of elements in an array to the default value of each element type.</summary> /// <param name="array">The arra...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using BenchmarkDotNet.Attributes; using ReactiveTests.Tests; namespace Benchmarks.System.Reactive { [Mem...
using System; using System.Diagnostics; using System.Collections.Generic; using UnityEngine.Rendering; namespace UnityEngine.Experimental.Rendering.RenderGraphModule { [DebuggerDisplay("RenderPass: {name} (Index:{index} Async:{enableAsyncCompute})")] abstract class RenderGraphPass { public RenderFu...
using UnityEngine; using System.Collections; public class DestroyByContact : MonoBehaviour { public GameObject explosion; public GameObject playerExplosion; public int scoreValue; private GameController gameController; void Start () { GameObject gameControllerObject = GameObject.FindWithTag ("GameController...
// *** 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) Roman Ivantsov * This source code is subject to terms and conditions of the MIT License * for Irony. A copy of the license can be found in the License.txt file * at the root of this distribution. ...
@{ var pages = Documents[BlogPipelines.Pages] .Where(x => x.Get<bool>(BlogKeys.ShowInNavbar, true)) .Select(x => Tuple.Create(x.String(BlogKeys.Title), Context.GetLink(x))) .Where(x => !string.IsNullOrEmpty(x.Item1)) .OrderBy(x => x.Item1); foreach(var page in pages) { ...
// 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 System.Collections.Generic; using System.IO; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; us...
// This file is part of the DisCatSharp project, based off DSharpPlus. // // Copyright (c) 2021-2022 AITSYS // // 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, includin...
using System; namespace MyBlog.BackgroundTasks { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
using System; using System.Collections.Generic; using System.Fuzzy.Linq; using System.Linq; using System.Text; namespace System { /// <summary> /// Utilities for working with strings. /// </summary> public static class StringUtils { /// <summary> /// Computes the distance between t...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AspNetCoreHero.ToastNotification.Abstractions; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; using WeblawyersBox.Data; using WeblawyersBox.Models; na...
@model GummiBearKingdom.Models.Country @{ ViewData["Title"] = "Create Country"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Create Country</h2> <hr /> <h4>Add a new Country</h4> @using (Html.BeginForm()) { <p> @Html.LabelFor(model => model.Name) @Html.TextBoxFor(model => model.Name) ...
// /******************************************************************************* // * Copyright 2012-2018 Esri // * // * Licensed under the Apache License, Version 2.0 (the "License"); // * you may not use this file except in compliance with the License. // * You may obtain a copy of the License at // * //...
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.DAS.Models { public class UpdateDasDatasourceResponse : TeaModel { // 请求唯一ID,用于链路跟踪和问题排查 [NameInMap("req_msg_id")] [Validation(Required...
// *********************************************************************** // Assembly : XLabs.Platform.WP8 // Author : XLabs Team // Created : 12-27-2015 // // Last Modified By : XLabs Team // Last Modified On : 01-04-2016 // ****************************************************************...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.Identity.Client.CacheV2.Impl.Utils; namespace Microsoft.Identity.Client.CacheV2.Impl.InMemory { /// <summary> ///...
using System.Collections.Generic; using System.IO; using TSST.Host.Model; namespace TSST.Host.Service.ConfigReaderService { public class ConfigReaderService : IConfigReaderService { private readonly string _filePath; public ConfigReaderService(string filePath) { _filePath ...
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
using NRules.Fluent.Dsl; using NRules.IntegrationTests.TestAssets; using NRules.RuleModel; namespace NRules.IntegrationTests.TestRules { [Repeatability(RuleRepeatability.NonRepeatable)] public class OneFactNonRepeatableRule : BaseRule { public override void Define() { FactType5...
using System; using System.Diagnostics; namespace TUtils.CodeQuality { /// <summary> /// A class dedicated to defense coding helpers, such as assertions. /// </summary> public static class Quality { /// <summary> /// Throws an exception if the specified condition is 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 #region Usings using System; using System.Collections.Generic; using System.IO; using System.Web.UI.WebControls; u...
/* Copyright (c) 2020 Ahmed Kh. Zamil 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, modify, merge, publish, distribu...
// *** 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...
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.NET.Direct3D11 { [NativeName("Name", "D3D11_VIDEO_DECODER_HISTOGRAM_C...
 @model List<onlinept.Models.Entity.home> <div class="tab-content"> <div class="tab-pane active" id="activity"> <!-- Post --> @foreach (var home in Model) { <div class="post"> <div class="user-block"> <img class="img-circle img-bordered-sm" src="~/Conten...
using System.Collections.Generic; namespace CustomerManager.Models { public class Customer { public Customer() { AddressInfos = new HashSet<AddressInfo>(); ContactInfos = new HashSet<ContactInfo>(); } public int Id { get; set; } public int? Tenan...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Text; using System.Windows.Forms; #pragma warning disable 1591 namespace PdfiumViewer { public class CustomScrollControl : Contr...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Models { public class Bill { public Bill() { if (Id == new Guid() || Id == null) { ...
using FakeItEasy; using FplBot.Tests.Helpers; using FplBot.WebApi.Slack.Handlers.SlackEvents; using Slackbot.Net.Endpoints.Abstractions; using Slackbot.Net.SlackClients.Http.Models.Responses.UsersList; namespace FplBot.Tests; public class FplNextGwHandlerTests { private readonly IHandleAppMentions _client; p...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LookAt : MonoBehaviour { private Camera m_Camera; private void Start() { m_Camera = Camera.main; } void LateUpdate() { Vector3 newPosition = new Vector3(transform.position.x, transform...
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("Da...
using System; using System.Collections.Generic; using System.IO; using System.Text.Json; namespace FileStorage.Domain.Seed { /// <summary> /// Class for deserialize data for data seed from Json file. /// </summary> public static class SeedingDataHelper { public static List<T> SeedingDataFr...
/* * 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 System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApp1 { public partial class Form1 : Form ...
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("Me...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CronScheduleDemo { /// <summary> /// Cron表达式生成 /// </summary> public static class CronExpressionHelper { public static CronScheduleTime GetInstant => new CronScheduleTime(); #region 秒 ...
/* * Copyright (c) 2000 World Wide Web Consortium, * (Massachusetts Institute of Technology, Institut National de * Recherche en Informatique et en Automatique, Keio University). All * Rights Reserved. This program is distributed under the W3C's Software * Intellectual Property License. This program is distributed...
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System.Runtime.CompilerServices; using System.Xml; using static ...
using System.Reflection; [assembly: AssemblyTitle("AtemLib")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("AtemLib")] [assembly: AssemblyCopyright("Copyright © 2022")] [assembly: AssemblyVersion("1.0.0.*")]
using System; using System.Collections.Generic; using System.Text; namespace ConsoleShopper.Domain { public class OrderLineItem { /// <summary> /// Gets or sets Primary key of OrderLineItem /// </summary> public int Id { get; set; } /// <summary> /// Gets or set...
#nullable enable using System.Linq; using Content.Server.Explosions; using Content.Shared.GameObjects.Components.Pointing; using Robust.Server.GameObjects; using Robust.Server.Player; using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robust.Shared.Maths; using Robust.Shared.Prototypes; using Robust.Share...
using System; namespace NuGet.Extensions.Tests.TestData.TestSolutionForAdapter.ProjectWithDependencies { class CsFile { } }
namespace ClassLib094 { public class Class087 { public static string Property => "ClassLib094"; } }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace PlainForm { // <snippet1> public partial class MainForm : Form { public MainForm() { ...
using System; using System.Linq; using Newtonsoft.Json; using NBomber; using NBomber.Contracts; using NBomber.CSharp; using NBomber.Plugins.Http.CSharp; using NBomber.Plugins.Network.Ping; namespace CSharp.HttpTests { public class UserId { public string Id { get; set; } } public class Advanc...
/* * The MIT License * * Copyright 2019 Palmtree Software. * * 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 JetBrains.Annotations; using OfficeOpenXml; namespace Framework.CustomReports.Services.ExcelBuilder { public class GroupedValueDesign<T> { public GroupedValueDesign(string columnHeader, [NotNull] Action<T, ExcelRange> action) { if (action == null) ...
using System.Collections.Generic; using System.Linq; using HotChocolate.Types; #nullable enable namespace HotChocolate.Configuration { internal sealed class TypeTrimmer { private readonly HashSet<TypeSystemObjectBase> _touched = new HashSet<TypeSystemObjectBase>(); private readonly...
using System; namespace Calamari.Common.Plumbing.Variables { public static class ActionVariables { public const string Name = "Octopus.Action.Name"; public const string AdditionalPaths = "Octopus.Action.AdditionalPaths"; public static readonly string StructuredConfigurationVariablesTar...
// 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.ComponentModel; using System.Diagnostics; using System.IO; using Sys...
using SignalRDashboard.Data.Demo.DataSources.Models; namespace SignalRDashboard.Data.Demo.DataSources { public interface ISiteAnalyticsProvider { SiteAnalyticsData GetAnalyticsData(); } }
using System; using System.Data; using Maps.Geographical; using Npgsql; namespace Maps.Data.OpenStreetMap.PostgreSQL { /// <summary> /// Commonly required functionality for postgresql /// </summary> public class PostgreSQLClient : IDisposable, ICloneable { /// <summary> /// The actu...
using System; using System.IO.Pipelines; using System.Net.Sockets; using System.Threading.Tasks; namespace SuperSocket.ProtoBase { /// <summary> /// The processing state /// </summary> public enum ProcessState : byte { /// <summary> /// The being processed data was processed complet...
// 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.Threading; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeA...
using Agency.Models.Contracts; using Agency.Models.Vehicles.Contracts; namespace Agency.Core.Contracts { public interface IAgencyFactory { IBus CreateBus(int passengerCapacity, decimal pricePerKilometer); IAirplane CreateAirplane(int passengerCapacity, decimal pricePerKilometer, bool hasFreeF...
using Blazor.AppIdeas.Converters.Models; using System; using System.Diagnostics.CodeAnalysis; using Xunit; namespace Blazor.AppIdeas.Converters.Tests.Models { [ExcludeFromCodeCoverage] public class CurrencyConversionRateTests { [Fact] public void Creation() { // arrange...
// Copyright (c) IEvangelist. All rights reserved. // Licensed under the MIT License. using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Cosmos; using Microsoft.Azure.CosmosRepository.Options; using Microsoft.Azure.CosmosRepository.Providers; using Microsoft.Azure.CosmosRepository.Services; u...
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("Stu...
namespace EA.Weee.XmlValidation.Tests.Unit.BusinessValidation.MemberRegistration.Rules.Producer { using Core.Shared; using System; using Xml.MemberRegistration; using XmlValidation.BusinessValidation.MemberRegistration.Rules.Producer; using Xunit; public class UkBasedAuthorisedRepresentativeTe...
using System.Collections.Generic; using System.Windows; using CmrHisto.Triangulator; using SharpGL.Enumerations; namespace CmrHisto.ViewModels { /// <summary> /// The view model for the Surface Map Dialog. /// </summary> public class SurfaceMapDialogViewModel : BaseViewModel { public Surfa...
using System.Collections.Generic; using System.Threading.Tasks; using System.Net.Http; using System; using ShopifySharp.Infrastructure; namespace ShopifySharp { /// <summary> /// A service for manipulating Shopify's Assets API. /// </summary> public class AssetService : ShopifyService { //...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Scorpio.Bougainvillea.Handler; using Scorpio.Bougainvillea.Props.Settings; using Scorpio.Bougainvillea.Setting; using Scorpio.DependencyInject...
@model ApplicationStore.Web.ViewModels.Account.RegisterViewModel @{ ViewBag.Title = "Register"; } <h2>@ViewBag.Title.</h2> @using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() <h4>Create a new account.</h4> <hr /...
using CustomerOrderApi.Common.Interfaces; using CustomerOrderApi.Common.Models; using Microsoft.EntityFrameworkCore; using System.Linq; namespace CustomerOrderApi.DataAccess.Access { public class OrdersAccess : IOrdersAccess { private readonly OrderDbContext _dbContext; public OrdersAccess(Or...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.IO; using System.Net; using System.Net.Http; using System.Net.WebSockets; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; u...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace NetLibrary { [Guid("BF7B5EB9-ED61-4D12-8E78-ECEFD9DDD043")] public interface ITestEvents { } }
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/SetupAPI.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...