text
stringlengths
1
932k
//@#$&+ // //The MIT X11 License // //Copyright (c) 2010 Icucom Corporation // //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 //t...
using Newtonsoft.Json; using System; using System.Collections.Generic; /// <summary> /// ElectrodZ multiplayer data messages namespace /// </summary> namespace ElectrodZMultiplayer.Data.Messages { /// <summary> /// A class that describes a list of available game mode results message /// </summary> [Js...
using System.Collections.Generic; using Neemo.CustomerReviews; namespace Neemo.Providers { public interface IProviderRepository { List<Provider> Search(ProviderType providerType, string keyword, int? serviceTypeId, string providerSuburb, string providerState, int? make); List<Provider> GetProv...
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: AssemblyTitle("AWSSDK.DataPipeline")] [assembly: Assembly...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Generater { public class Config { /// <summary> /// 黑名单,排除一些不需要绑定的程序集,如:UnityEngine.UnityAnalyticsModule.dll /// </summa...
using AvalonStudio.GlobalSettings; using AvalonStudio.Platforms; using Newtonsoft.Json; using System.IO; namespace AvalonStudio.Toolchains.CustomGCC { public class CustomGCCToolchainProjectSettings { public string InstanceName { get; set; } = ""; public string Prefix { get; set; } = ""; ...
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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 la...
using System; using AudioToolbox; using AudioUnit; using CoreGraphics; using Foundation; using ObjCRuntime; using UIKit; namespace SpotifySDK { // typedef void (^SPTErrorableOperationCallback)(NSError *); delegate void SPTErrorableOperationCallback (NSError arg0); // @protocol SPTTrackProvider <NSObject> [Protoco...
using System.Web.Mvc; using TestWeb.Models.Media; using TestWeb.Models.ViewModels; using EPiServer.Web.Mvc; using EPiServer.Web.Routing; namespace TestWeb.Controllers { /// <summary> /// Controller for the image file. /// </summary> public class ImageFileController : PartialContentController<ImageFile>...
using SsitEngine.Unity.HUD; using UnityEngine; public class vAssignController : MonoBehaviour { public enum ENSimulatType { ENS_None, ENS_Patient, ENS_AssignWorker } [SerializeField] private Animator animator; private string animName = "Null"; public Transform BLPoin...
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Caching.Memory; using WMSDataAccess.UserManagement.D...
//----------------------------------------------------------------------- // <copyright file="jet_index_range.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // </copyright> //----------------------------------------------------------------------- namespace Microsoft.Isam.Esent.Intero...
using VkApi.Wrapper.Objects; using VkApi.Wrapper.Responses; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace VkApi.Wrapper.Methods { public class Newsfeed { private readonly Vkontakte _vkontakte; internal Newsfeed(Vkontakte vkontakte) => _vkontakte = vkon...
using System; using System.Collections.Generic; using System.Text; namespace UserManagement.Domain.ValueObjects { class ValueObjectExample : ValueObject { public string x { get; set; } public string y { get; set; } public bool z { get; set; } public IEnumerable<string> w { get;...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Mirror; using UnityEngine.InputSystem; using Cinemachine; using StarterAssets; using UnityEngine.UI; namespace Goodgulf.Networking { [RequireComponent(typeof(NetworkIdentity))] [RequireComponent(typeof(NetworkTransform))] ...
using System; using System.IO; using Tricentis.TCAPIObjects.Objects; namespace Tricentis.Automation.WseToApiMigrationAddOn.Helper { /// <summary> /// Creation of backup of workspace. /// </summary> public static class BackupProject { #region Public Methods and Operators /// <summary>...
namespace _08.Military_Elite { using Controllers; public class StartUp { public static void Main() { var engine = new Engine(); engine.Run(); } } }
 using UdonSharp; using UnityEngine; using UnityEngine.UI; using VRC.SDKBase; using VRC.Udon; namespace Dustuu.VRChat.Uutils.MenuuSystem { public class MenuScrollView : UdonSharpBehaviour { private Menu menu; public Menu GetMenu() { return menu; } public void SetMenu(Menu menu) { this....
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------...
using Slot.Core.CommandModel; using Slot.Core.ComponentModel; using Slot.Core.Themes; using Slot.Drawing; using Slot.Editor.Drawing; using Slot.Editor.Styling; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows....
using AspNetCoreHero.Application.Exceptions; using AspNetCoreHero.Application.Interfaces.Repositories; using AspNetCoreHero.Application.Wrappers; using AspNetCoreHero.Domain.Entities; using MediatR; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks;...
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.II...
//Copyright(c) 2017 �mer Faruk Say�l�r //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, di...
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: AssemblyTitle("KdiffPairsInAnArray")] [assembly: Assembl...
using System; namespace Fusee.Math.GDI { /// <summary> /// Contains functions to convert GDI+ structures to\from Fusee.Math structures. /// </summary> public sealed class Convert { /// <summary> /// Converts a <see cref="Fusee.Math.Core.Vector2F"/> to <see cref="System.Drawing.PointF"/>. /// </summary> //...
/* * 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...
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
namespace K1vs.DotChat.Commands.Messages { using System; using System.Collections.Generic; using DotChat.Chats; using DotChat.Messages; using DotChat.Messages.Typed; using DotChat.Participants; public class IndexChatMessageCommand<TChatInfo, TChatUser, TChatMessageInfo, TTextMessage, TQuot...
using System.Collections.Generic; using DBTemplateHandler.Core.Database; namespace DBTemplateHandler.Core.Template { public interface ITableTemplateHandlerInputModel { ITableModel databaseDescriptor { get; set; } IList<ITemplateModel> templateModels { get; set; } } }
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 System.Windows.Forms; namespace ControlBackEndDev { public partial class Form1 : Form { public Form1() ...
// 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.Collections.Immutable; using System.Diagnostics; using System.Linq; using Analyzer.Utilities; us...
using System; using System.Linq; using System.Threading.Tasks; using AspectCore.DynamicProxy; namespace Brochure.Core.Interceptor { public class InnerAssemblyInterceptor : AbstractInterceptor { private readonly object impObj; public InnerAssemblyInterceptor (object obj) { t...
using UnityEngine; namespace BehaviorDesigner.Runtime.Tasks { [TaskDescription("Returns success when a collision starts. This task will only receive the physics callback if it is being reevaluated (with a conditional abort or under a parallel task).")] [TaskCategory("Physics")] public class HasEnteredColli...
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
/* * 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...
///////////////////////////////////////////////////////////////////////////////// // CodeLab for Paint.NET // Copyright 2018 Jason Wendt. All Rights Reserved. // Portions Copyright ©Microsoft Corporation. All Rights Reserved. // // THE DEVELOPERS MAKE NO WARRANTY OF ANY KIND REGARDING THE CODE. THEY // SPECIFICALLY DI...
using System; using NetOffice; using NetOffice.Attributes; namespace NetOffice.OfficeApi.Enums { /// <summary> /// SupportByVersion Office 10, 11, 12, 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: <see href="https://docs.microsoft.com/en-us/office/vba/api/Office.MsoOrgChartLayoutType"/> </r...
using System; namespace BreadthFirst { class Program { static void Main(string[] args) { AccountTreeBuillder builder = new AccountTreeBuillder(); IGraphNode root = (IGraphNode)builder.BuildAccountGraph(); BFSGraphAlgorithm algo = new BFSGraphAlgorithm(); ...
using System.Collections.Generic; public interface IFilter { ICollection<ICourse> FilterCourses(ICollection<ICourse> Courses, string courseName); ICollection<IStudent> FilterScores(ICollection<ICourse> coursesToShow, string filter); ICollection<IStudent> FilterStudents(ICollection<IStudent> studentsToShow...
using NUnit.Framework; using OpenTK; namespace star.tests { [TestFixture] public class CameraMatrixTests { [Test] public void CameraMatrixTest() { var m3 = new Matrix3d(); var res = CameraMatrix.GetCameraMatrix(m3); Assert.IsTrue(res != null); ...
// Copyright 2008-2011. This work is licensed under the BSD license, available at // http://www.movesinstitute.org/licenses // // Orignal authors: DMcG, Jason Nelson // Modified for use with C#: // - Peter Smith (Naval Air Warfare Center - Training Systems Division) // - Zvonko Bostjancic (Blubit d.o.o. - zvonko.bostja...
namespace ProxyProvider.ProxiesSource.FoxTools { using System.Collections.Generic; internal class GetProxiesContent { public int PageNumber { get; set; } public int PageCount { get; set; } public List<FoxProxy> Items { get; set; } } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System.Collections.Generic; using Newtonsoft.Json; namespace PointOfInterestSkill { public class SearchResultSet { /// <summary> /// Gets or sets the location list. /// </summary> ...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using Newtonsoft.Json; namespace Dnn.AuthServices.Jwt.Components.Entity { [JsonObject] public class RenewalDto { [JsonProperty("rtoke...
using System; using Xunit; namespace Prometheus.Client.Tests.UntypedTests { public class SampleTests { [Theory] [InlineData(0)] [InlineData(1)] [InlineData(3.1)] [InlineData(-42)] [InlineData(double.NaN)] public void CanSet(double val) { ...
using Impulse.Chat; using Impulse.Models; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using NBomber.Contracts; using NBomber.CSharp; using Orleans; using Orleans.Configuration; using Orleans.Hosting; using Orleans.Providers; using Spectr...
using StackExchange.Redis; using System; using System.Globalization; namespace OhmSharp.Convertion { /// <summary> /// IRedisValueConverter for DateTime type /// </summary> internal class DateTimeConverter : IRedisValueConverter<DateTime>, IRedisValueConverter { public DateTime ConvertFrom...
using System; using System.Linq; namespace UnitTests.O2NextGen.ESender.Business.Models { public static class BaseHelper<TClass> { public static bool It_CheckExistProperty(string nameProperty) { return typeof(TClass) .GetProperties() .SingleOrDefault(p...
/* * 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.IO; namespace ThreadBasedArchiver { /// <summary> /// Check arguments on validation /// </summary> public class ValidationArgs { public static bool IsArgumentsValid(string[] args) { if (args == null || args.Length == 0) { ...
using System; using System.Collections.Generic; using AldursLab.PersistentObjects.Persistence; using AldursLab.Testing; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using NUnit.Framework; namespace AldursLab.PersistentObjects.Tests { public class PersistenceStrategyTests : AssertionHelper { Sqli...
using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// AlipayTradeAppMergePayModel Data Structure. /// </summary> [Serializable] public class AlipayTradeAppMergePayModel : AopObject { /// <summary> /// 如果预创建成功,支付宝返回该预下单号,后续商户使用该预下单号...
using System.Drawing; namespace Xenial.Framework.Deeplinks.Win.Helpers.Icons; /// <summary>The collection item for the <see cref="IconFileWriter.Images"/> property.</summary> /// <remarks>I made this an interface so that it can easily be extended at the UI level. The /// application adds a Modified property (to a st...
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Hub.CloudProxy.Test { using System; using System.Threading.Tasks; using Microsoft.Azure.Devices.Client; using Microsoft.Azure.Devices.Client.Exceptions; using Microsoft.Azure.Devices.Edge.Hub.Core; using Micr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SqlClient; using TygaSoft.Model; namespace TygaSoft.IDAL { public partial interface IVehicle { #region IVehicle Member IList<VehicleInfo> GetListByJoin(int pageIndex, int...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Terraria.ID; namespace Terraria.ModLoader { /// <summary> /// This serves as the central class from which item-related functions are carried out. It also st...
using HASystem.Shared.ValueSystem; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HASystem.Server.Logic.Components { [Component("{1D60EFC4-AE2E-4806-97B5-1F17F69692CD}")] public class Logger : LogicComponent { public ov...
using Xendor.MessageBroker; using Xendor.ServiceLocator; namespace Xendor.MessageModel.MessageBroker { public interface IQueryMessageBroker : ISingletonLifestyle , IMessageBroker { void Bind<TFilter>() where TFilter : IQueryMessageFilter, new(); } }
// 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.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using M...
using System; using System.Threading.Tasks; using NServiceBus; using NServiceBus.Logging; static class Program { static async Task Main() { Console.Title = "Samples.CustomErrorHandling"; LogManager.Use<DefaultFactory>() .Level(LogLevel.Warn); var endpointConfiguration = ne...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.AspNetCore.Mvc.Internal; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; name...
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 System.Windows.Forms; namespace SmartSchoolManagementSystem { public partial class Add_Buses : Form { public A...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MobileControls : Photon.MonoBehaviour, IPunObservable { #region Private Variables [SerializeField] private Rigidbody playerBody; [SerializeField] private Collider playerCollider; private RaycastHit hit; ...
using System.Web; using System.Web.Optimization; namespace labs_10_mvc_database_demo { public class BundleConfig { // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundle...
using Xunit; namespace _390_EliminationGame { class Program { static void Main(string[] args) { var solution = new Solution(); Assert.Equal(6, solution.LastRemaining(9)); } } }
/* Copyright 2010-2014 MongoDB Inc. * * 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 writi...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using System.Data; using System.Data.Common; using System.Data.SqlClient; using Prism.Mvvm; using Prism.Regions; using Prism.Events; using...
using System; using OpenNETCF.Web.UI; using OpenNETCF.Web.Html; using System.Reflection; namespace SampleSite { public class HeaderWork : Page { private const string CLASS_NAME = "HEADER_LISTING"; protected override void Page_Load(object sender, EventArgs e) { #region Header // When did transaction st...
// 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 Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.PooledObjects; using System; using Syst...
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
using System; using System.Diagnostics; using System.Reflection; using System.Runtime.InteropServices; using LateBindingHelper.Exceptions; namespace LateBindingHelper.Implementation { /// <summary> /// Some common internal operations to simplyfing low-level late binding calls. /// </summary> internal s...
namespace Microsoft.ApplicationInsights.Extensibility.Implementation { using System; using System.Collections.Generic; using System.Text; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights.Extensibility.Implementation.External; /// <summary> /// Encapsu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.IoT.Demo.Common { public static class PinConfiguration { public static readonly int SimpleLedPin = 17; public static readonly int SingleButtonPin = 18; ...
using Microsoft.VisualC; using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [DebugInfoInPDB, MiscellaneousBits(65), NativeCppClass] [StructLayout(LayoutKind.Sequential, Size = 8)] internal struct GVector2 { }
// <copyright file="ItemPageValidator.cs" company="Automate The Planet Ltd."> // Copyright 2019 Automate The Planet 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 a copy of the License at http://www.apache.or...
namespace Foundation.Social.ExtensionData { public class MembershipModeration { public string Group { get; set; } } }
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo.Finance.Internal { using System; internal static partial class Ascii { public static bool IsUpperLetter(string value) { if (value == null || value....
namespace Restaurant { using System; using System.Collections.Generic; using System.Text; public class HotBeverage : Beverage { public HotBeverage(string name, decimal price, double milliliters) : base(name, price, milliliters) { } } }
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class ImageDownload : ModuleRules { public ImageDownload(ReadOnlyTargetRules Target) : base(Target) { Definitions.Add("IMAGEDOWNLOAD_PACKAGE=1"); PrivateDependencyModuleNames.AddRange( new string[] { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Uno.Extensions; namespace Uno.UWPSyncGenerator { class SyncGenerator : Generator { protected override void ProcessType(INamedTypeSymbol type, INa...
// 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.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is contr...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace MECS.Client.API.Migrations { public partial class clients : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Clients", ...
// // 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 requi...
@model GGMusicStore.Models.ResetPasswordViewModel @{ ViewBag.Title = "重置密码"; } <h2>@ViewBag.Title。</h2> @using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() <h4>重置你的密码。</h4> <hr /> @Html.ValidationSummar...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tera.Game.Messages; namespace DamageMeter.Heuristic { class C_START_SKILL : AbstractPacketHeuristic { public static uint LatestSkill; public void Parse() { ...
// ----------------------------------------------------------------------- // <copyright file="IdentityService.UserRole.cs" company="OSharp开源团队"> // Copyright (c) 2014-2018 OSharp. All rights reserved. // </copyright> // <site>http://www.osharp.org</site> // <last-editor>郭明锋</last-editor> // <last-date>2018-...
using System.Collections.Generic; using CursoOnline.ContentContext.Enums; namespace CursoOnline.ContentContext { public class Course : Content { public Course(string title, string url) : base(title, url) { Modules = new List<Module>(); } public string Tag...
using Newtonsoft.Json; using System; namespace Discord.API { internal class VoiceState { [JsonProperty("guild_id")] public ulong? GuildId { get; set; } [JsonProperty("channel_id")] public ulong? ChannelId { get; set; } [JsonProperty("user_id")] public ulong UserI...
using System; using System.Diagnostics; using System.Reactive.Linq; using Android.App; using Android.Content; using Android.Speech; using Plugin.Permissions; using Plugin.Permissions.Abstractions; namespace Plugin.SpeechRecognition { public class SpeechRecognizerImpl : AbstractSpeechRecognizer { reado...
//<SNIPPET1> using System; using System.Runtime.InteropServices; class Example { // Use DllImport to import the Win32 MessageBox function. // Specify the method to import using the EntryPoint field and // then change the name to MyNewMessageBoxMethod. [DllImport("user32.dll", CharSet = CharSet.Unicod...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SelfRotation : MonoBehaviour { public float rotationSpeed; // Use this for initialization void Start () { } // Update is called once per frame void Update () { this.transform.Rotate(0, rotationSpeed, 0)...
using System; using System.Collections.Generic; using System.Linq; using Kontur.Results; using NSubstitute; using NUnit.Framework; namespace Kontur.Tests.Results.Inheritance.Extraction.Actions.Switch { [TestFixture] public class Switch_Should { private static TestCaseData CreateCallSwitchWithCount...
using System; namespace ExcelDataReader { /// <summary> /// Horizontal alignment. /// </summary> public enum HorizontalAlignment { /// <summary> /// General. /// </summary> General, /// <summary> /// Left. /// </summary> Left, ...
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Networking.Sockets { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public static partial class WebSocketError ...
using System; using Xunit; namespace RandN { public sealed class Sse2RequiredFact : FactAttribute { public Sse2RequiredFact() { #if X86_INTRINSICS if (!System.Runtime.Intrinsics.X86.Sse2.IsSupported) Skip = "SSE2 is not supported"; #endif } public ov...
using BookSpace.Models.Enums; namespace BookSpace.Models { public class BookUser { public string BookId { get; set; } public Book Book { get; set; } public string UserId { get; set; } public ApplicationUser User { get; set; } public BookState State { get; set; } ...
namespace PSXCueGenerator { partial class FormMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Services.Maps { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class PlaceInfo { #if __ANDR...