text
stringlengths
1
932k
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipayEbppCommunityRoomDeleteResponse. /// </summary> public class AlipayEbppCommunityRoomDeleteResponse : AopResponse { } }
using System; using VerifyTaxiApp.Models; using Xamarin.Forms; namespace VerifyTaxiApp.Views { public partial class NewItemPage : ContentPage { public Item Item { get; set; } public NewItemPage() { InitializeComponent(); Item = new Item { ...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.DirectX; ...
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2021 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtainin...
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; namespace Azure.Analytics.Synapse.Artifacts.Models { /// <summary> A copy activity Google BigQuery service source. </summary> public partia...
using System; using System.IO; using System.Linq; using Squirrel; using Squirrel.Tests.TestHelpers; using Xunit; using NuGet; namespace Squirrel.Tests.Core { public class ReleaseEntryTests { [Theory] [InlineData(@"94689fede03fed7ab59c24337673a27837f0c3ec MyCoolApp-1.0.nupkg 1004502", "MyCoolAp...
using System; using System.Collections.Generic; using System.Net; using Dime.Scheduler.Sdk.Import; using t = System.Threading.Tasks; namespace Dime.Scheduler.Sdk.Samples { public class ImportRequestSample { public async t.Task Execute() { try { IAuthenti...
using System; namespace SimpleEventBus { public interface IEventNameTypeResolver { string GetEventName(Type eventType); Type GetEventType(string eventName); } }
#pragma checksum "D:\Samples_19.3.0.43\ASPNETCORE\samplebrowser\Views\Diagram\RemoteDataBinding.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "22e045a687133f9ef0d9e993a5fb7b8e9a371a89" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(t...
using StopWatch.ViewModel; namespace StopWatch.View { /// <summary> /// Interaction logic for UCDifferenceRow.xaml /// </summary> public partial class TimeDifferenceView { public TimeDifferenceView(TimeDifferenceViewModel time) { InitializeComponent(); DataC...
/* * Copyright (c) 2016-2018 Nicholas Corgan (n.corgan@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://opensource.org/licenses/MIT) */ using System; using NUnit.Framework; [TestFixture] public class CSharpCalculationsTest { private static Random ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class mainmenu : MonoBehaviour { public void keGameAwal(int index) { SceneManager.LoadScene(index); } public void keluar() { Application.Quit(); } // ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Orchard.OutputCache.Models; namespace Orchard.OutputCache.ViewModels { public class IndexViewModel { public List<CacheRouteConfig> RouteConfigs { get; set; } [Range(0, Int32.MaxValue), Required] publ...
using Android.App; using Android.OS; using Android.Widget; using Android.Views.Animations; using Android.Views; using Android.Animation; namespace AndroidLSamples { [Activity (Label = "Elevation Sample", ParentActivity=typeof(HomeActivity))] public class ElevationActivity : Activity { protected override void ...
// 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.Collections.Generic; using System.Globalization; namespace Microsoft.AspNetCore.Routing { /// <summary> /// An <see ...
using MyApp.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; using DynamicData; namespace MyApp.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class Collecti...
/* Copyright ©2020-2022 WellEngineered.us, all rights reserved. Distributed under the MIT license: http://www.opensource.org/licenses/mit-license.php */ using System; using WellEngineered.Siobhan.Primitives.Component; using WellEngineered.Siobhan.Primitives.Configuration; namespace WellEngineered.Siobhan.Deceitful...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace BuildXL.Launcher.Server { public class Program { ...
#if ((UNITY_IPHONE || UNITY_TVOS || UNITY_STANDALONE_OSX ) && AUTHENTICATION_SERVICES_API_ENABLED) #define API_ENABLED #endif using System; using SA.iOS.Utilities; #if API_ENABLED using System.Runtime.InteropServices; #endif // ReSharper disable InconsistentNaming namespace SA.iOS.AuthenticationServices { static...
@model IEPProject.Data_Models.Currency @using (Html.BeginForm("Currencies", "Home", FormMethod.Post, new { @class = "form-inline justify-content-center" })) { @Html.AntiForgeryToken() <div class="row"> @Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => ...
using System; using System.Collections.Generic; using System.IO; class UntitledClass { static char[] WordSymbolsArr() { char[] letters = new char[63]; for (int i = 0; i < 10; i++) { letters[i] = (char)(48 + i); } int asciiIndex = 0; for (int i = 0; ...
using System; using System.ComponentModel; using System.IO; using System.Runtime.Serialization; using Xunit; using ProtoBuf; using ProtoBuf.Meta; namespace Examples { public class PrimativeTests { [Fact] public void TestDateTimeZero() { Primatives p = new Primatives { Tes...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; namespace Orbital7.Extensions { public delegate void ProcessThreadCompleteHandler(int exitCode); public delegate void ProcessWriteLineRedirectDelegate(string line); public class ProcessThread ...
// *** 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...
namespace MyBase.Wpf.CommonDialogs { /// <summary> /// コモンダイアログとの間で授受されるパラメータのインターフェースを表します。 /// </summary> public interface ICommonDialogParameters { /// <summary> /// ダイアログのタイトルを取得または設定します。 /// </summary> string Title { get; set; } } }
// *** 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 Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using RetroGG.net.Data; [assembly: HostingStartup(typeof(RetroGG...
using System; using System.Drawing; using System.Text; using NUnit.Framework; using SharpVectors.Dom.Svg; [TestFixture] public class QuadraticAbsTests : QuadraticTests { public override SvgPathSegList makeSegments() { return new SvgPathSegList("M10,10 Q10...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; public class Int32Array : Sequence<long> { internal Int32Array(int id) : base(id) { } public Int32Array() : base() { } [DllImport("__Internal")] private static extern long WebIDL2UnityGetElementAtN...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; using System.Collections.Generic; using Azure.Analytics.Synapse.Artifacts; using Azure.Analytics.Synapse.Artifacts.Models; using Azure.Analytics.Synapse.Tests; using Azure.Core.Te...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICUL...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.Serialization; using System.Xml; using System.Security; using System.Reflection; using System.T...
// // Dispatch.cs: Support for Grand Central Dispatch framework // // Authors: // Miguel de Icaza (miguel@gnome.org) // Marek Safar (marek.safar@gmail.com) // // Copyright 2010 Novell, Inc. // Copyright 2011-2014 Xamarin Inc // // this contains DispathcObject, Group and Queue // // // Permission is hereby granted, ...
using Abp.Authorization; using Abp.Authorization.Users; using Abp.Configuration; using Abp.Configuration.Startup; using Abp.Dependency; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Zero.Configuration; using Tbs.Authorization.Roles; using Tbs.Authorization.Users; using Tbs.MultiTenancy; using Microsof...
namespace Histacom2.OS.Win98.Win98Apps { partial class Win98Welcome { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </su...
//创建者:Icarus //手动滑稽,滑稽脸 //ヾ(•ω•`)o //2019年05月02日-09:07 //AnimationExpansion.Runtime using System; namespace Icarus.IcAttribute.Core { public class BaseAttribute:Attribute { } }
#pragma checksum "..\..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "87B1215B46E7CB0C7E662289F00EF84B" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.1 // // Changes to this fi...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Labs_81_ASP_Framework_ToDo { public partial class Site_Mobile : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { ...
// 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.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; internal static partial class Interop { internal static partial class Crypt32 { ...
using CQRSAndMediatrSampleApplication.Product.Dto; namespace CQRSAndMediatrSampleApplication.Product.Data { public class ProductsInMemory { private readonly List<ProductDto> _productList; public ProductsInMemory() { _productList = new List<ProductDto>() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Repart.Common.Events.Formation; namespace Repart.Services.Formations.Services { public interface IFormationService { Task<IEnumerable<Formation>> GetAllAsync(); Task<FormationWithHistory> Get...
// ----------------------------------------------------------------------- // Copyright 2018 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this software in e...
// --------------------------------------------------------------------------------------- // <copyright file="MousepadCustomTests.cs" company="Corale"> // Copyright © 2015-2021 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this ...
namespace SetBoxTV.VideoPlayer.Model { public class DownloadBytesProgress { public DownloadBytesProgress(string fileName, long bytesReceived, long totalBytes) { Filename = fileName; BytesReceived = bytesReceived; TotalBytes = totalBytes; } pu...
using Xunit; namespace Lloyds.SharedKernal.Tests; public class MemberCodeTests { [Fact] public void MemberCodeMustNotBeNull() { var ex = Assert.Throws<ArgumentNullException>(() => MemberCode.Create(null)); Assert.Equal("'Member Code' must not be empty. (Parameter 'memberCode')", ex.Messag...
using Microsoft.Practices.Unity; using Prism.Regions; using Prism.Unity; using Sample.Modules.Popup.Views; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sample.Modules.Popup { public class PopupModule { IRegionManager _reg...
namespace DotNetInterceptTester.My_System.Diagnostics.EventLog { public class GetEventLogs_System_String { public static bool _GetEventLogs_System_String( ) { //Parameters System.String machineName = null; //ReturnType/Value System.Diagnostics.EventLog[] returnVal_Real = null; System.Diagnostics.EventLo...
// <auto-generated/> #pragma warning disable 1591 #pragma warning disable 0414 #pragma warning disable 0649 #pragma warning disable 0169 namespace LaElegancia.Client.Pages { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Micro...
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerate...
// // $Id$ // // 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 ...
using CQRS.Demo.CommandStack.Domain.Common; namespace CQRS.Demo.Infrastructure.Framework.Repositories { public interface IRepository { //TEntity Get(TKey id); //void Save(TEntity entity); //void Delete(TEntity entity); T GetById<T>(int id) where T : IAggregate; Comman...
/* * 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...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.Management.Graph.RBAC.Fluent { using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Management.Graph.R...
using Newtonsoft.Json; namespace Sinch.ServerSdk.Models { public class IdentityModel { [JsonProperty(PropertyName = "type")] public string Type { get; set; } [JsonProperty(PropertyName = "endpoint")] public string Endpoint { get; set; } } }
// <auto-generated /> namespace ABC.Database.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed partial class ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Entities = eMarket.Core.Entities; using eMarket.Domain.Product; using eMarket.Host.Web.Models.Product; namespace eMarket.Host.Web.Services.Product { public class ProductsService : IProductsService { private read...
using Aximo; using Aximo.Engine; using Aximo.Engine.Components.Geometry; using Aximo.Engine.Components.Lights; using OpenToolkit.Mathematics; internal class Program { public static void Main(string[] args) { new MyApplication().Start(); } } public class MyApplication : Application { protected...
// *** 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.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Aw...
namespace LaptopListingSystem.Web.Infrastructure.TokenProvider { using System; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http.Authentication; using Microsoft.IdentityModel.Tokens; public class...
namespace MonopolyGame.Model.Common.Helpers { using System; using System.Collections.Generic; using Model.Classes.Cards.Contracts; public static class CardHelpers { private static Random r = new Random(); public static Queue<T> ShuffleCards<T>(T[] cards) { for...
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace TVTComment.Model.ChatModRules { internal class RenderEmotionAsCommentChatModRule : IChatModRule { private static readonly Regex Pattern = new Regex("^/emotion (?<text>.+)$", RegexOptions.Compiled); ...
// *** 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...
/* * Copyright 2018 JDCLOUD.COM * * 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...
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using ICSharpCode.PythonBinding; using ICSharpCode.NRefactory; using NUnit.Framework; namespace PythonBinding.T...
using System; using System.Threading; using System.Threading.Tasks; using whosnext.Core.Services.Interfaces; namespace whosnext.Core.Services.Mockup { public class LoginService : Service, ILoginService { public async Task<bool> isLoggedAsync(){ await Task.Delay (500).ConfigureAwait(false); return true; ...
using System; using System.IO; namespace AquaExplorer.Services { class FileSystem : IFileSystem { public void CreateDirectory(string path) { if (!Directory.Exists(path)) Directory.CreateDirectory(path); } public bool DirectoryExists(string path) { ...
@model InsightHub.Models.ReportModel @{ ViewData["Title"] = "Details"; Layout = "~/Views/Shared/_Layout.cshtml"; } <div> <div class="container"> <div style="padding-bottom:10px"> <a class="btn btn-outline-dark" asp-action="Index">Back to All Reports</a> </div> <div cla...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Analytics.Synapse.Artifacts.Models { public partial class LogStorageSettings : IUtf8J...
@using OpenReservation.Helpers @{ ViewBag.Title = "管理后台首页"; } <div class="table-wraper"> <div class="table-header"> <h3 class="table-title">系统管理后台首页</h3> </div> <div class="table-body" id="div_main"> <ul class="list-group"> <li class="list-group-item">@Html.ActionLink("预约管理"...
using System; using Abc.Zebus.Util; using ProtoBuf; namespace Abc.Zebus.Directory { [ProtoContract, Transient] public class PeerStopped : IEvent { [ProtoMember(1, IsRequired = true)] public readonly PeerId PeerId; [ProtoMember(2, IsRequired = false)] public readonly string...
// *********************************************************************** // Copyright (c) 2008 Charlie Poole // // 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, inclu...
using System; using System.Collections.Generic; using System.Linq; using Swashbuckle.Application; namespace Stardust.Aadb2c.Swagger { public static class SwaggerOAuthExtensions { public static string AadSigninUrl { get; set; } = "https://login.microsoftonline.com"; private static readonly strin...
/* * 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 Dalamud.Game.Text.SeStringHandling; namespace PlayerTags.GameInterface.ContextMenus { /// <summary> /// An item in a context menu with a user defined action. /// </summary> public class CustomContextMenuItem : ContextMenuItem { /// <summary> /// The action that will be called...
namespace OpenTK.Input { interface IKeyboardDriver2 { /// <summary> /// Retrieves the combined <see cref="OpenTK.Input.KeyboardState"/> for all keyboard devices. /// </summary> /// <returns>An <see cref="OpenTK.Input.KeyboardState"/> structure containing the combined state for a...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace XmlFuzzing { public class XmlHandler { public XmlDocument XDoc { get; set; } public bool Import(string filePath) { XDoc = new XmlD...
using System; namespace ReactiveDotNet.KeyWatching { public sealed class EventedKeyWatcher : KeyWatcherBase { public event EventHandler<KeyEventArgs> KeyLogged; protected override void HandleKey(char key) => this.KeyLogged?.Invoke(this, new KeyEventArgs(key)); } }
/* * 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...
/* * MundiAPI.PCL * * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). */ using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Conv...
// Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 // ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Linq; namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers { /// <summary> /// Resolves a Dictionary into an Array of objects /// </s...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace CleanArchitecture.Infra.Data.Migrations { public partial class AddIdentityTables : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name:...
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Chess.Test")] namespace Rudz.Chess { using Enums; using System; using Types; /// <summary> /// Computes pawn blockage (fences) See https://pdfs.semanticscholar.org/31c2/d37c80ea1aef0676ba30393bc46c0ccc70e9.pdf /// </summary...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; using ProtoBuf; using VRageMath; namespace Sandbox.Common.ObjectBuilders.VRageData { [ProtoContract] public struct SerializableVector2 { public float X; public float Y; ...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using FluentAssertions; using System.Linq; using Microsoft.DotNet.Cli.CommandLine; using Microsoft.DotNet.Tools.Publish; using Xun...
namespace Chroma.Audio { public class AudioDevice { public static AudioDevice DefaultOutput { get; } internal uint OpenIndex { get; private set; } public int Index { get; } public bool IsCapture { get; } public bool IsCurrentlyInUse => OpenIndex != 0; ...
using MultiIocDemo.Messages; namespace MultiIocDemo; public class FakeDataSource : IDataSource { public async Task<IEnumerable<IMessage>> GetPendingMessagesAsync() { await Task.Delay(1000); var messages = new List<IMessage>(); var rand = new Random(); for (var x = 0; x < rand.Next(5, 20); x++) messag...
@{ Layout = "_Layout"; } @model AnimalShelter.Models.Animal <h2>Animal Details</h2> <br> <br> <h3>@Html.DisplayNameFor(model => model.Name): @Html.DisplayFor(model => model.Name)</h3> @if(Model.Gender == true) { <h3>Gender: Male</h3> } else { <h3>Gender: Female</h3> } <h3>Species: @Html.DisplayFor(model => mode...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraHandling : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
namespace Igtampe.Clothespin.Common.Clothes.Types { //Hehe this holds all the types. Maybe it should've been a class, but putting this in a namespace makes it easier to import. //This might break some convention but oops. /// <summary>Types of accessories recognized by Clothespin</summary> public enu...
using System; using System.Buffers; using Melville.Pdf.LowLevel.Model.Conventions; using Melville.Pdf.LowLevel.Parsing.ContentStreams; using Xunit; namespace Melville.Pdf.DataModelTests.Standard.S14_6MarkedContent; public class DictionarySkipperTest { [Theory] [InlineData("<</Type/Catalog>>")] [InlineDat...
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using real_apps.Models; namespace real_apps.Controllers { public class ProductController : Controller { public IActionResult Index() { return View(); } } }
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
using System; namespace ChinookASPNETWebAPI.Domain { public class Class1 { } }
/* * 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; namespace EIP.System.Models.Dtos.Identity { /// <summary> /// 根据Id获取用户信息 /// </summary> public class SystemUserGetByIdOutput { /// <summary> /// 人员Id /// </summary> public Guid UserId { get; set; } /// <summary> /// 用户登录名 /// <...
using Neo4j.Driver.V1; using Newtonsoft.Json; using PB.WebAPI.Models; namespace PB.WebAPI.ExtensionMethods { public static class NodeExtensionMethods { public static T ConvertTo<T>(this INode node) where T : IDbModel, new() { var serialized = JsonConvert.SerializeObject...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace CustomExtensions { public static class MyExtensionClass { public static List<T> ToCollection<T>(this DataTable dt) { ...
using UnityEngine; using UnityEngine.Playables; namespace Logic { [CreateAssetMenuAttribute(fileName = "New Play Animation Clip", menuName = "Example/PlayAnimationClip")] public class PlayAnimationClip : TimeLineClip { public AnimationClip clip; public ExposedReference<GameObject> target; public ExposedR...