text
stringlengths
1
932k
// This file is auto generated, do not edit. using System; #pragma warning disable CA1069 // Enums values should not be duplicated namespace Gwi.OpenGL { public enum SamplePatternExt : uint { _1passExt = GLConstants.GL_1PASS_EXT, _2pass0Ext = GLConstants.GL_2PASS_0_EXT, _2pass1Ext = GLC...
// Copyright Dirk Lemstra, Fred Weinhaus (https://github.com/dlemstra/ImageMagick.FredsScripts.NET) // // These scripts are available free of charge for non-commercial use, ONLY. // // For use of these scripts in commercial (for-profit) environments or non-free applications, // please contact Fred Weinhaus (fmw at ali...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace OASIS.Controllers { [AllowAnonymous] public class errorController : Controller { // GET: Error public ActionResult notfound() { return View(); } ...
using System.Collections.Generic; using Leelite.Framework.Domain.Aggregate; namespace Leelite.Modules.Application.Models.ApplicationAgg { public class Application : AggregateRoot<string> { /// <summary> /// 应用名称 /// </summary> public string Name { get; set; } /// <summ...
// 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 DotNetNuke.Entities.Profile { using System.Collections; /// --------------------------------------...
using System; using System.Collections; using System.Collections.Generic; using System.Text; using CGALDotNetGeometry.Numerics; using CGALDotNetGeometry.Shapes; namespace CGALDotNet.Polyhedra { public enum NEF_BOUNDARY : int { EXCLUDED, INCLUDED } public enum NEF_CONTENT : int { ...
// Copyright (c) Microsoft. All rights reserved. using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.IoTSolutions.UIConfig.Services; using Microsoft.Azure.IoTSolutions.UIConfig.Services.Models; using Microsoft.Azure.IoTSolutions.UIConfig.WebService.v1.Fil...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>@ViewBag.Title</title> <meta name="viewport" content="width=device-width" /> <link href="~/favicon.jpg" rel="shortcut icon" type="image/x-icon" /> @Styles.Render("~/Content/css") @Scripts.Render(...
using Abp.Domain.Entities; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GymManage.EmployeePosition { [Table("ChucVu")] public class EmployeePositionEntity : Entity { ...
namespace Machete.X12Schema.V5010 { using X12; public interface L2100B_277 : X12Layout { Segment<NM1> InformationReceiverName { get; } } }
using Microsoft.AspNetCore.Mvc.ModelBinding; namespace BlazorServer.OpeniddictServer.ViewModels.Authorization { public class LogoutViewModel { [BindNever] public string RequestId { get; set; } } }
using UnityEngine; namespace pdxpartyparrot.Game.Characters.BehaviorComponents { [RequireComponent(typeof(CharacterBehavior3D))] public abstract class CharacterBehaviorComponent3D : CharacterBehaviorComponent { protected CharacterBehavior3D Behavior { get; private set; } #region Unity Lifecycle ...
using System; namespace Signum.Utilities.DataStructures { public class Cube<T1, T2, T3> where T1 : struct, IComparable<T1>, IEquatable<T1> where T2 : struct, IComparable<T2>, IEquatable<T2> where T3 : struct, IComparable<T3>, IEquatable<T3> { public readonly Interval<T1> XInterv...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using CryptoExchange.Net.Interfaces; using CryptoExchange.Net.Objects; using Huobi.Net.Enums; using Huobi.Net.Objects; namespace Huobi.Net.Interfaces { /// <summary> /// Interface for the Huobi client ///...
using System.Reflection; 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: AssemblyConfiguration("")] [assembly: AssemblyCompany("")...
// dnlib: See LICENSE.txt for more info namespace dnlib.PE { /// <summary> /// IMAGE_OPTIONAL_HEADER.Subsystem /// </summary> public enum Subsystem : ushort { /// <summary>Unknown subsystem.</summary> Unknown = 0, /// <summary>Image doesn't require a subsystem.</summary> ...
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x582E0D5F)] public class STU_582E0D5F : STUStatescriptState { [STUFieldAttribute(0xF5C94645, ReaderType = typeof(EmbeddedInstanceFieldReader))] public STUConfigVar m_F5C9...
//--------------------------------------------------------------------- // <copyright file="CancellableWizardEventArgs.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY // OF ANY KIND, EITHER EXPRESSED OR ...
using BlazorHero.CleanArchitecture.Application.Features.Products.Queries.GetAllPaged; using BlazorHero.CleanArchitecture.Application.Requests.Catalog; using BlazorHero.CleanArchitecture.Client.Extensions; using BlazorHero.CleanArchitecture.Shared.Constants.Application; using Microsoft.AspNetCore.Components; using Micr...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace PokeList_WebApi { public class WebApiApplication : System.Web.HttpApplication { protected void Applicatio...
using Newtonsoft.Json; namespace MobileNotification.Infra.Model { public interface IMessage { [JsonProperty("id")] int ID { get; set; } //MessageData Data { get; } [JsonProperty("alert")] string Message { get; set; } [JsonProperty("title")] string Titl...
namespace Microsoft.Samples.SocialGames.Worker.Commands { using System; using System.Collections.Generic; using Microsoft.Samples.SocialGames.Common.JobEngine; using Microsoft.Samples.SocialGames.Entities; using Microsoft.Samples.SocialGames.Repositories; public abstract class GameActionComman...
/* * Intersight REST API * * This is Intersight REST API * * OpenAPI spec version: 1.0.9-262 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Collections; using Syst...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.DotNet.Cli.Build.Framework; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using Xunit; namespace Micros...
using MediatR; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging;...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace RockPaperScissors { public class Startup { public Startup(IHostingEnvironment env) { var builder...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03.Short_Words_Sorted { public class Program { public static void Main() { var text = Console.ReadLine().ToLower().Split(new char[] { '.', ',', ':', ';', '...
@model Adventure.Entities.Models.Adventures @{ ViewBag.Title = "Delete"; } <h2>Delete</h2> <h3>Are you sure you want to delete this?</h3> <div> <h4>Adventures</h4> <hr /> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model => model.EventTopic.Name) </dt> <...
// The MIT License: // // Copyright 2016-2017 Franzmayr Peter (peter@franzmayr.at) // // 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...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using SignarRChat.Helpers; namespace SignarRChat.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } } }
using UnityEngine; using System.Collections; public class MatchSnapBehaviour : MonoBehaviour { public MatchObjectBehaviour matchObj = null; public MatchObjectSolBehaviour matchSolution = null; public bool lastMatchValidResult = false; public GameObject successStatusObject; // Use this for initiali...
namespace Atlassian.Jira.Linq { /// <summary> /// Container for the supported JIRA operator strings. /// </summary> public class JiraOperators { public const string EQUALS = "="; public const string NOTEQUALS = "!="; public const string CONTAINS = "~"; public const ...
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной генерации кода. // </auto-gen...
using System.Collections.Generic; namespace QtsSolutions.Roles.Dto { public class GetRoleForEditOutput { public RoleEditDto Role { get; set; } public List<FlatPermissionDto> Permissions { get; set; } public List<string> GrantedPermissionNames { get; set; } } }
using System; using System.Linq; using HotChocolate.Language; using HotChocolate.Types; namespace HotChocolate.Validation { internal sealed class MaxComplexityVisitor : QuerySyntaxWalker<MaxComplexityVisitorContext> { protected override bool VisitFragmentDefinitions => false; public i...
using System; using System.Collections.Generic; using UnityEditor.VFX; using UnityEngine; using UnityEngine.Rendering; using UnityEngine.VFX; namespace UnityEditor.VFX { [VFXInfo] class VFXStaticMeshOutput : VFXContext, IVFXSubRenderer { [VFXSetting, Tooltip("Specifies the shader with which the mes...
using System; using System.Threading; using System.Threading.Tasks; using TwinCAT.Ads; namespace AdsSymbolicServerSample { class Program { static readonly CancellationTokenSource s_cts = new CancellationTokenSource(); static async Task Main(string[] args) { Console.WriteLi...
using System; using TCP.Client; using TCP.Client.Metadata; namespace TCP.IP.Communication.Server { public partial class TcpServer { public void DisconnectAllClients() { foreach (var clientInfo in _clients) { DisconnectClient(clientInfo.Key); ...
#region License /* * CompressionMethod.cs * * The MIT License * * Copyright (c) 2013-2014 sta.blockhead * * 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, includi...
namespace SourceMultiToolCSharp { partial class MainMenuForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
using UnityEngine; using UnityEngine.Events; using System.Collections.Generic; namespace Lean.Touch { // This component allows you to select this GameObject via another component public class LeanSelectable : MonoBehaviour { // Event signature [System.Serializable] public class LeanFingerEvent : UnityEvent<Lean...
using System; using System.Collections.Generic; using System.Text; using BulletScreen.Model; namespace BulletScreen.Controls { public interface IBulletScreenText : ICommentGuid { int Row { get; set; } } }
// -------------------------------------------------------------------------- // <copyright file="MockApiOperationClient.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // -------------------------------------------------------------------------- using Syst...
namespace CefGlue.Emit { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Text; internal sealed class EmitHelper { private readonly object parent; private readonly ILGenerator il; ...
 namespace Engine.Scripting.Debugging { public class DebugComponents : Script { public float Interval { get; set; } = 1f; public bool DebugPosition { get; set; } = true; public bool DebugRotation { get; set; } = true; public bool DebugNormal { get; set; } = false; fl...
using System; using Castle.Core.Logging; using Abp.Dependency; using Abp.Timing; namespace PASR.Migrator { public class Log : ITransientDependency { public ILogger Logger { get; set; } public Log() { Logger = NullLogger.Instance; } public void Write(string ...
using System; using BarcodeFabric.Parser.Tests.Mocks; using Xunit; namespace BarcodeFabric.Parser.Tests { public class Gs1128ParserFixture { [Fact] public void Constructor_Argument_Invalid_Empty() { Assert.Throws<ArgumentException>(() => new Gs1128Parser(" ")); } ...
/* * AfterCmd.java -- * * Implements the built-in "after" Tcl command. * * Copyright (c) 1997 Cornell University. * Copyright (c) 1997 Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and * redistribution of this file, and for a DISCLAIMER OF ALL * WARRANTIES. * * Included in SQLite3 po...
namespace Ticketmaster.Core { using System.Collections.Generic; public class IdTypePairCollectionData { public IdTypePairCollectionData() { Data = new List<IdTypePair>(); } public List<IdTypePair> Data { get; set; } } }
//---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2012 Tasharen Entertainment //---------------------------------------------- using UnityEngine; /// <summary> /// Tween the object's rotation. /// </summary> [AddComponentMenu("NGUI/Tween/Rotation")] public clas...
using BepInEx; using Bepinject; using ComputerInterface; using ComputerInterface.Interfaces; using ComputerInterface.ViewLib; using System; using System.Text; using NoAmbientMod; namespace NoAmbient_Computer { /* That's me! */ [BepInPlugin("net.rusjj.noambient.ci", "No Ambient Sounds: CI", "1.0.0")] [BepI...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AsteroidSpawner : Spawner { public float maxR; public float spawnR; public float spawnedVel; public float spawnedVelErr; public bool debug = false; public GameObject moon; // Use this for initializati...
namespace SFA.Apprenticeships.Infrastructure.Repositories.Sql.Schemas.Reference.Entities { using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; [Table("Reference.Region")] public class Region { [DatabaseGenerated(DatabaseGeneratedOption.None)] ...
/** * Copyright 2018 The Nakama Authors * * 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...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Rhino.PlugIns; // 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. [assem...
using System; class Program { static void Main() { var acc = new BankAccount(); acc.Balance = 15; acc.Id = 1; Console.WriteLine(acc); } }
using System.Collections.Generic; using System.Threading.Tasks; using SeattleScotchSociety.ScotchNight.Api.Models; namespace SeattleScotchSociety.ScotchNight.Api.Data { public interface IMemberStore { Task AddAsync(Member member); Task UpdateAsync(Member member); Task<IEnumerable<Mem...
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 FreeCourse.Web.Exceptions; using FreeCourse.Web.Services.Interfaces; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.IdentityModel.Protocols.OpenIdConnect; using System; using System.Collections.Generic; using System.Linq; using Syst...
namespace Tethos.MSTest.Demo { using global::Moq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Tethos.Moq; using Tethos.Tests.Common; [TestClass] public class ContainerFromBaseClass : AutoMockingTest { [TestMethod] [TestProperty("Type", "Demo")] public v...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Diagnostics.ContractsLight; using System.Diagnostics.Tracing; using System.Text; namespace BuildXL.Cache.Interfaces { /// <summary> /// Used as the return type from AddOrGet() to return a "race winner" //...
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace Utg.ServerWeb.Admin.pages.Stat { pu...
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
using System; using System.Diagnostics; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.WebUtilities; using Microsoft...
namespace XDMessaging.Transport.Amazon.Interfaces { public interface IResourceCounter { int Decrement(string name); void Increment(string name); } }
/** * Copyright 2017-2021 Plexus Interop Deutsche Bank AG * SPDX-License-Identifier: Apache-2.0 * * 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/...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/wincrypt.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
@model MvcWeeklyReport.Models.RegisterExternalLoginModel @{ ViewBag.Title = "注册"; } <hgroup class="title"> <h1>@ViewBag.Title.</h1> <h2>关联你的 @ViewBag.ProviderDisplayName 帐户。</h2> </hgroup> @using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl })) { @Html.A...
using System; using System.Collections.Generic; using System.Net; using System.Text; namespace DotBPE.Rpc.Client { public class RouterPoint : IRouterPoint { public IPEndPoint RemoteAddress { get; set; } public RoutePointType RoutePointType { get; set; } public int FailCount { get; set; ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; using IO.Ably.MessageEncoders; using IO.Ably.Push; using IO.Ably.Rest; using IO.Ably.Transport; using IO.Ably.Types; using IO.Ably.Utils; using Newtonsoft...
namespace ClearHl7.Codes.V250 { /// <summary> /// HL7 Version 2 Table 0063 - Relationship. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0063</remarks> public enum CodeRelationship { /// <summary> /// ASC - Associate. /// </summary> Associate, ...
/* * 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...
// *** 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 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 * distrib...
using System; namespace _10._Cube_Properties { class Program { static void Main(string[] args) { double number = double.Parse(Console.ReadLine()); string type = Console.ReadLine(); if (type == "face") { Console.WriteLine("{0:f2}"...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PureIM.ServerClientImpl { interface IImClientImpl { public OnlineStatus Status { get; } public DateTime LastConnTime { get; } public Func<byte[], Task> OnRecvCbAsync { get; set; } pub...
using System; using System.Collections.Generic; using System.Text; namespace Textile.Blocks { public class EmphasisPhraseBlockModifier : PhraseBlockModifier { public override string ModifyLine(string line) { return PhraseModifierFormat(line, @"_", "em"); } } }
using System; using System.Collections.Generic; using UnityEngine; namespace Unity.VisualScripting { public interface ICanvas : IDisposable, IDragAndDropHandler { void Cache(); #region Model ICanvasWindow window { get; set; } IGraph graph { get; } WidgetProvider widg...
namespace SharpHook.Reactive; using System; using System.Reactive; using System.Reactive.Linq; using System.Reactive.Subjects; using System.Runtime.CompilerServices; using System.Threading; using SharpHook.Native; /// <summary> /// Represents a simple reactive global hook. /// </summary> /// <seealso cref="IReactive...
using System; namespace _8_Vocarna { internal class Apple:Voce { public static int kolikopromjena; private double tezina; public delegate void del_promjena_tezine(object sender, EventArgs e); public event del_promjena_tezine PromjenaTezine; public double Tezina...
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Net.Sockets; using System.Threading.Tasks; using Azure.Common; using Azure.Ip.Models; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Logging; using Newtonsoft.Json; namespace Azure.Ip { pub...
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using DevBlog.Domain.Entities; namespace DevBlog.Domain.EntityConfigurations { public class ContactConfiguration : IEntityTypeConfiguration<Contact> { public void Configure(EntityTypeBuilder<Contact> builder) { builde...
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2017 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
// The FinderOuter // Copyright (c) 2020 Coding Enthusiast // Distributed under the MIT software license, see the accompanying // file LICENCE or http://www.opensource.org/licenses/mit-license.php. using Autarkysoft.Bitcoin.ImprovementProposals; using FinderOuter.Backend; using FinderOuter.Models; using FinderOuter.S...
#region License // Copyright (c) 2012, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System.Collections.Generic; using System; namespace C...
using System; using System.ComponentModel; using System.Drawing; using System.IO; using System.Web; using System.Windows.Forms; using PluginCore; using PluginCore.Helpers; using PluginCore.Localization; using PluginCore.Managers; using PluginCore.Utilities; using ProjectManager; using StartPage.Controls; using WeifenLu...
#nullable enable using System; using Microsoft.Maui.Controls.Platform; #if __ANDROID__ using static Microsoft.Maui.Controls.Compatibility.Platform.Android.Platform; using NativeView = Android.Views.View; using IVisualElementRenderer = Microsoft.Maui.Controls.Compatibility.Platform.Android.IVisualElementRenderer; using...
// // Copyright (c) Microsoft and contributors. 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. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
// Download the twilio-csharp library from twilio.com/docs/libraries/csharp using System; using Twilio; using Twilio.Rest.Chat.V2; class Example { static void Main (string[] args) { // Find your Account Sid at https://www.twilio.com/console/account/settings // To set up environmental variables,...
using System; namespace MockServerClientNet.Extensions { public static class StringExtensions { public static string PrefixWith(this string input, string prefix) { return (!input.StartsWith(prefix, StringComparison.CurrentCulture) ? prefix : string.Empty) + input; } ...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. using System; using System.Diagnostics; using System.IO; using System.Windows; using System.Windows.Input; using Microsoft.Web.WebView2.Core; namespace Focalboard { /// <summary> /// Interaction logic for ...
using System; namespace ExecuteResultRouteToCode { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
using System.Collections.Generic; using ZKWeb.Localize; using ZKWebStandard.Extensions; using ZKWebStandard.Ioc; namespace ZKWeb.Plugins.Common.LanguageSwitcher.src.Components.Translates { /// <summary> /// 韩语翻译 /// </summary> [ExportMany, SingletonReuse] public class ko_KR : ITranslateProvider { private stati...
namespace HueUpdater.Models { /// <summary> /// Model to query whether the status of the CI system has changed. /// </summary> public class CIStatusChangeQuery { /// <summary> /// The previous status of the CI system. /// </summary> public CIStatus Previous { get; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DymRodTest : MonoBehaviour { public Vector3 Dir; public Animator PulldownAnimation; // Use this for initialization void Start () { Debug.DrawRay (transform.position, Dir); transform.rotation = Quaternion.LookRotation ...
using Biohazrd.Transformation; using Biohazrd.Transformation.Infrastructure; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Biohazrd.CSharp { public sealed class DeduplicateNamesTransformation : TransformationBase { ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace ServerCore.DataModel { /// <summary> /// Hint information for a puzzle /// </summary> public class Hint { public Hin...
using System; using AzureFromTheTrenches.Commanding.Abstractions; using FunctionMonkey.Abstractions.SignalR; namespace Evidences.Domain.Commands.ReactionCommands { public class ReactionCommand : ICommand<SignalRMessage> { public Guid SondId { get; set; } public string Reaction { get; set; } ...
using System; using System.Collections.Generic; using System.Data.Common; using System.Linq; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using Take.Elephant.Sql.Mapping; namespace Take.Elephant.Sql { public abstract class StorageBase<TEntity> : IQueryableStorage<TEntity>, ...