content
stringlengths
23
1.05M
// 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; public class Handler { private int _totalTestCount = 0; public bool GetInitialThresholdTest() { _totalTestC...
namespace SmartHub.Application.UseCases.DeviceState { public abstract class DeviceStateDto { public string? DeviceId { get; set; } public bool? ToggleLight { get; set; } // on = true } }
namespace InAudioSystem { public class MultiData : InAudioNodeData { } }
using SisoDb.Dac; using SisoDb.Querying; using SisoDb.Querying.Sql; namespace SisoDb.Azure { public class SqlAzureQueryGenerator : DbQueryGenerator { public SqlAzureQueryGenerator(ISqlStatements sqlStatements, ISqlExpressionBuilder sqlExpressionBuilder) : base(sqlStatements, sqlEx...
using System; using Urho; using Urho.Actions; using Urho.Gui; using Urho.Shapes; namespace Playgrounds.Console { public class EarthDemo : SimpleApplication { Node earthNode; MonoDebugHud hud; [Preserve] public EarthDemo(ApplicationOptions options) : base(options) { } public static void RunApp() { v...
using System; using System.Linq.Expressions; using NRules.RuleModel; namespace NRules.Fluent.Dsl { /// <summary> /// Rule's right-hand side (actions) expression builder. /// </summary> public interface IRightHandSideExpression { /// <summary> /// Defines rule's action that engine ex...
namespace DSPPlugins_ALT.Statistics { public class StationItemStat { internal StationStore item; internal ItemProto itemProto; } }
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using CaptainHook.Platform.OSX; using CaptainHook.Platform.Windows; namespace CaptainHook { public class KeyboardHook : IDisposable { public readonly IKeyboardHook Hook; public KeyboardHook...
// Mileage Tracker: Unit Tests // Copyright (c) bfren - licensed under https://mit.bfren.dev/2022 using Jeebs.Auth.Data; using Jeebs.Messages; using Mileage.Persistence.Common.StrongIds; using Mileage.Persistence.Entities; using Mileage.Persistence.Repositories; namespace Mileage.Domain.SaveSettings.Internals.CreateS...
namespace GroupDocs.Viewer.UI.Api.Cloud.Storage.Configuration { public class Config { internal string ApiEndpoint = "https://api.groupdocs.cloud/v2.0/"; internal string ClientId = string.Empty; internal string ClientSecret = string.Empty; internal string StorageName = string.Emp...
using OfficeOpenXml; using OfficeOpenXml.Style; using System; using System.Collections.Generic; using System.Data; using System.Drawing; using System.IO; namespace SATREMI.Win.Utils { class ExcelBuilder { public string Plantilla { get; set; } public string Titulo { get; set; } public ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Three.Net.Math { public struct Vector4 : IEquatable<Vector4> { public float x, y, z, w; public Vector4(float x, float y, float z, float w) { this.x...
using System; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Security.Principal; using ToolsUtilities; namespace FRBDKUpdater.Actions { public static class ActionStarter { static string UserApplicationData => Environment.GetFolderPath(Environment.Special...
namespace AutoHelp.web.netcore.Models { public class Event { } }
using Crm.Domain.SeedWork; using System; namespace Crm.Domain.Companies.Activities { public class Activity : Entity { internal ActivityId Id; private string _sectorType; private string _activityType; private bool _value; private bool _isRemoved; private Act...
using Windows.UI.Xaml.Input; namespace ReactNative.Views.TextInput { static class InputScopeHelpers { public static InputScopeNameValue FromString(string inputScope) { switch (inputScope) { case "url": return InputScopeName...
using CodePathFinder.CodeAnalysis.PathFinding; using CodePathFinder.Test.CodeAnalysis.PathFinding; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace CodePathFinder.Test.TestGraphImpl { [Serializable] pu...
using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Collections.Specialized; using System.Web.UI; using NUnit.Framework; using ComLib.Paging; namespace CommonLibrary.Tests { [TestFixture] public class PagerTests { [Test] public void I...
using Microsoft.Web.WebView2.Core; namespace WebView2.DOM { // https://github.com/chromium/chromium/blob/master/third_party/blink/renderer/core/svg/svg_fe_image_element.idl public partial class SVGFEImageElement : SVGElement { protected internal SVGFEImageElement(CoreWebView2 coreWebView, string referenceId) ...
using UnityEngine; using UnityEditor; using System.Linq; namespace uDesktopDuplication { [CustomEditor(typeof(Texture))] public class TextureEditor : Editor { Texture texture { get { return target as Texture; } } Monitor monitor { get { return texture.monitor; } } bool i...
using DevUser.Repositories; using System; using System.Web.Security; using System.Web.UI; namespace DevUser { public partial class Login : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void btnLogin_Click(object sender, EventArgs e) ...
using AccountsApi.V1.Domain; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; using Newtonsoft.Json; namespace AccountsApi.V1.Boundary.BaseModel { public abstract class AccountResponseModel : AccountBaseModel { /// <exam...
// Licensed under the MIT License. // See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; namespace Najlot.Log.Destinations { /// <summary> /// Common interface for all destinations /// </summary> public interface IDestination : IDisposable { /// ...
using System; using System.Text.Json.Serialization; namespace Modcomposer { [Serializable] internal class ConfigModel { [JsonPropertyName("Version")] public string Version { get; set; } [JsonPropertyName("ModContainerPath")] public string ModPath { get; set; } ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace ChakraCore.NET.Debug { public struct Variable { //"name":"this","type":"object","className":"Object","display":"{...}","propertyAttributes":3,"handle":2,"value":123 [JsonProperty(propertyName: "...
using System; using Manatee.Json.Pointer; using Manatee.Json.Serialization.Internal; namespace Manatee.Json.Serialization { /// <summary> /// Serializes and deserializes objects and types to and from JSON structures. /// </summary> public class JsonSerializer { private int _callCount; private Jso...
using NYTimes.NET.Clients; using System.Collections.Generic; using System.Xml.Serialization; namespace NYTimes.NET.Models { [XmlRoot("rss")] public class Rss { [XmlElement("channel")] public Channel Channel { get; set; } } public class Channel : ModelBase { [XmlElement...
#if NET_4_6 using UnityEngine; using UnityEngine.Assertions; namespace Unity.Properties.Serialization { public static class JsonPropertyContainerWriter { private static readonly JsonPropertyVisitor s_DefaultVisitor = new JsonPropertyVisitor(); public static string Write<TContainer>(TContainer...
using System; using System.Collections.Generic; namespace SocketIOClient.UriConverters { public interface IUriConverter { Uri GetServerUri(bool ws, Uri serverUri, int eio, string path, IEnumerable<KeyValuePair<string, string>> queryParams); } }
namespace OfaSchlupfer.MSSQLReflection.SqlCode { using OfaSchlupfer.MSSQLReflection.AST; /// <summary> /// AST bound inforamtion. /// </summary> public class AnalyseNodeState { private ISqlCodeType _SqlCodeType; /// <summary> /// Gets or sets the Fragment /// </sum...
/* * SmeshLink.Misty.Util.PagedList.cs * * Copyright (c) 2009-2014 SmeshLink Technology Corporation. * All rights reserved. * * Authors: * Longxiang He * * This file is part of the Misty, a sensor cloud for IoT. */ using System; using System.Collections.Generic; namespace SmeshLink.Misty.Util { ///...
// Copyright (c) 2020 Jon P Smith, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/ // Licensed under MIT license. See License.txt in the project root for license information. using System.Collections.Immutable; using System.ComponentModel.DataAnnotations; using BizDbAccess.Orders; using BizLogic.BasketS...
// // Basic Authentication implementation // // Authors: // Greg Reinacker (gregr@rassoc.com) // Sebastien Pouliot (spouliot@motus.com) // // Copyright 2002-2003 Greg Reinacker, Reinacker & Associates, Inc. All rights reserved. // Portions (C) 2003 Motus Technologies Inc. (http://www.motus.com) // // Based on "DigestAu...
using MongoDB.Bson; using MongoDB.Driver; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using MongoDB.Driver.Linq; using System; namespace GraemSheppardOnline.Services.MongoDBContext { public class ItemCollection<T> : ContextCollection<T> { public ItemCollection(...
@{ ViewBag.Title = "About"; } <div class="row"> <div class="col-12"> <button id="RequestForbidden" type="button" class="btn btn-danger">Request Forbidden</button> </div> </div> <div class="row"> <div class="col-12"> <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Messa...
namespace KorneiDontsov.Sql { using Microsoft.AspNetCore.Builder; public static class EndpointFunctions { public static IEndpointConventionBuilder WithoutDbMigration (this IEndpointConventionBuilder epConv) => epConv.WithMetadata(WithoutDbMigrationAttribute.shared); } }
using System; using System.Collections.Generic; using System.Linq; namespace MSBuildCodeMetrics.VisualStudioMetrics.XML { /// <summary> /// Used to parse Visual Studio Metrics XML /// </summary> public class MetricsReport { /// <summary> /// Maintainability index /// </summary> public in...
// 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 Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.Extensions.Options; namespace Microsoft.AspNetCore.Identity { /// <summary> ...
//*******************************************************************************************// // // // Download Free Evaluation Version From: https://bytescout.com/download/web-installer // // ...
// Copyright (c) Nick Frederiksen. All Rights Reserved. namespace QVZ.Api.Constants.Authorization { internal static class Scopes { internal const string Player = "API.Player"; internal const string Creator = "API.Creator"; } }
/* * 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 Anticaptcha_example.Helper; using Newtonsoft.Json.Linq; namespace Anticaptcha_example.Api { public class NoCaptcha : NoCaptchaProxyless { public enum ProxyTypeOption { Http, Socks4, Socks5 } public string Cookies { protected get; set; ...
using Xunit; namespace _892_SurfaceAreaOf3DShapes { class Program { static void Main(string[] args) { var solution = new Solution(); Assert.Equal(10, solution.SurfaceArea(new[] { new[] { 2 } })); Assert.Equal(34, solution.SurfaceArea(new[] { new[] { 1, 2 },...
namespace Simple.Sqlite { /// <summary> /// Represents a Sqlite internal type /// </summary> public enum SqliteType { /// <summary> /// Numeric without decimal places /// </summary> INTEGER, /// <summary> /// Sqlite text /// </summary> ...
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Backlog4net.Api { using Option; /// <summary> /// Executes Backlog Watch APIs. /// </summary> public interface WatchingMethods { /// <summary> ///...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Xunit.Performance; using System; using System.Threading; namespace PerfLabTests { public class JITIntrinsics { private static int s_i;...
using SilupostMobileApp.Common; using System; using System.Collections.Generic; using System.Text; namespace SilupostMobileApp.Models { public class SilupostMediaModel : FileModel { public string CrimeIncidentReportMediaId { get; set; } public bool IsNew { get; set; } public string Ico...
using Catan.CodeGenerator.TsGenerator; using Catan.Core.Extensions; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; namespace Catan.CodeGenerator { public class TypeScriptGenerator { public static void Generate(string outp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlixSharp.Holders.RottenTomatoes { public class ReleaseDate { public ReleaseDateType ReleaseType { get; set; } public DateTime? Date { get; set; } } public cla...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking.NetworkSystem; public class Scale : Trigger { public int WaitingTime = 500; public float IntervalAngle = 0.2f; public float MaxAngle = 45; private bool _busy = false; void Update() ...
// WaitForUseInvitationalItemAction using ClubPenguin.Core; using ClubPenguin.Interactables.Domain; using Disney.LaunchPadFramework; using Disney.MobileNetwork; using HutongGames.PlayMaker; [ActionCategory("Props")] public class WaitForUseInvitationalItemAction : FsmStateAction { public FsmString ItemName; public F...
using Akavache; using Autofac; using Framework.Autofac; using System; using System.Reflection; namespace BaseTest { public class AbstractUnitTest { static AbstractUnitTest() { } } }
using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.Profiling; public class Container : MonoBehaviour { public float safeZone; public float resolution; public float threshold; public ComputeShader computeShader; public bool calculateNormals; privat...
/* Copyright (C) 2012-2014 de4dot@gmail.com 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, m...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MuteMusic : MonoBehaviour { private bool isMuted = false; private void Awake() { GameObject[] musicPlayers = GameObject.FindGameObjectsWithTag("music"); if (...
using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NPay.Modules.Wallets.Core.Wallets.Exceptions; using NPay.Modules.Wallets.Core.Wallets.Repositories; using NPay.Modules.Wallets.Core.Wallets.ValueObjects; using NPay.Modules.Wallets.Shared.Events; using NPay.Shared.Commands; ...
using System; using MyBox.Internal; using UnityEngine; namespace MyBox { [Serializable] public class PlayerPrefsInt : PlayerPrefsType { public int Value { get => PlayerPrefs.GetInt(Key, 0); set => PlayerPrefs.SetInt(Key, value); } public static PlayerPrefsInt WithKey(string key) => new PlayerPrefs...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class PlacableUI : MonoBehaviour { public RectTransform ContentParent; public GameObject PlacableButtonPrefab; public PlacableData[] Placables; private void Start() { f...
using UnityEngine; using UnityEngine.SceneManagement; public class GameManager : MonoBehaviour { public static GameManager instance = null; public static GameObject canvas = null; public static GameObject music = null; public static GameObject eventSystem; int canvas_children; public GameObjec...
using System; using System.Collections.Generic; using System.Text; namespace EnforceScript { class SymbolTable { public enum Type { root, scope_enter, variable_definition, function_definition, } public struct Symbol { ...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class Helper : MonoBehaviour { [TextArea] [Tooltip("help messages for each page")] public string[] helps; [Tooltip ("current page")] public int current; [Tooltip("help message text")] public Text mytext; [Tooltip("current page indica...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Holon.Remoting.Introspection { /// <summary> /// Implements INodeQuery001 /// </summary> internal class NodeQueryImpl : INodeQuery001 { private Node _node; ...
using System.Collections.Generic; namespace Smellyriver.TankInspector.Pro.Modularity.Input { public interface ICommandManager<TCommand> where TCommand : ICommand { IEnumerable<TCommand> Commands { get; } void Register(TCommand command); } }
#Tue Nov 30 21:54:55 EST 2021 lib/features/com.ibm.websphere.appserver.httptransport-1.0.mf=4f42e0df19d53667d9d1f13505489d05 dev/spi/ibm/com.ibm.websphere.appserver.spi.httptransport_4.1.59.jar=c4fe248241be5c86edfb613a16a11e66 lib/com.ibm.ws.transport.http_1.0.59.jar=1011114cb93848c6d82507dfc0bd2540 dev/spi/ibm/javadoc...
/* * 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...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RPA.Interfaces.Activities { public class ActivityGroupItem : ActivityGroupOrLeafItem { public List<ActivityGroupOrLeafItem> Children = new List<ActivityGroupOrLeafItem>(); ...
using System.Linq; using FashiShop.Core.Entity; using System.Collections.Generic; namespace FashiShop.Model { public class User:BaseEntity { public User() { RoleId=Roles.User; } public string Firstname { get; set; } public string Lastname { get; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class UIPopup_Victory : MonoBehaviour { public int rewardCash; public UIButton btnLobby; public UIButton btnRestart; public UIButton btnNextStage; public System.Action OnBtnLobb...
// <copyright file="GameRepository.MoveDto.cs" company="RJ"> // Copyright (c) RJ. All rights reserved. // </copyright> namespace Chess.DomainServices { using System.Linq; using System.Runtime.Serialization; using Chess.Domain; /// <summary> /// Manages game persistence. /// </summary> pub...
using System; using System.Collections.Generic; using System.Text; namespace CodeSight.Data.Models { public class Project { public string ProjectId { get; set; } public string ProjectName { get; set; } public string ProjectDescription { get; set; } public string DateCreated { g...
using System; using System.Configuration; using System.Data; using System.Data.OleDb; using System.Web.UI; using System.Web.UI.WebControls; using System.ComponentModel; using Amns.GreyFox.Web.UI.WebControls; using System.Reflection; namespace Amns.Tessen.Web.UI.WebControls { /// <summary> /// Summary description for...
using System.Text; using System.Runtime.InteropServices.WindowsRuntime; using System; using System.IO; using System.Security.Cryptography; namespace FFImageLoading.Helpers { public class MD5Helper : IMD5Helper { [ThreadStatic] private static MD5 md5; private byte[] SafeHash(byte[] inp...
using MxNet; using System; using System.Collections.Generic; using System.Text; using MxNet.NN.Initializers; using MxNet.NN.Constraints; using MxNet.NN.Regularizers; namespace MxNet.NN.Layers { public abstract class BaseLayer { public string Name { get; set; } public string ID { get; set; } ...
using UdonSharp; using UnityEngine; public class CalculatingContextHandler : UdonSharpBehaviour { // 이 클래스는 static class처럼 씁니다. 별도의 멤버변수를 갖게 하지 맙시다 const int MAN_START_INDEX = 0; const int MAN_END_INDEX = 8; const int PIN_START_INDEX = 9; const int PIN_END_INDEX = 17; const int SOU_START_INDE...
// # SPDX-License-Identifier: MIT // # Copyright 2021 // # Sebastian Fischer sebfischer@gmx.net using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Datatent2.Core.Scripting.Validator { internal class BeforeInsertValidator { //p...
using Newtonsoft.Json; namespace Backpack.Net { /// <summary> /// Represents a <see cref="BackpackUser"/>'s voting and suggestion stats. /// </summary> public sealed class Voting { internal Voting() { } /// <summary> /// This user's site voting reputation. ...
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Reflection; using System.Text; using Murtain; using Murtain.Extensions.Gemini.Builder; namespace Microsoft.Extensions.DependencyInjection { public static class IS...
using System; using Intersect.Client.Framework.File_Management; using Intersect.Client.Framework.Graphics; using Intersect.Client.Framework.Gwen.Control; using Intersect.Client.Framework.Gwen.Input; using Newtonsoft.Json.Linq; namespace Intersect.Client.Framework.Gwen.ControlInternal { /// <summary> /// ...
namespace BinarySerializer.Nintendo.NDS { public class DS3D_CommandBlock : BinarySerializable { public DS3D_Command[] Commands { get; set; } public override void SerializeImpl(SerializerObject s) { Commands = s.SerializeObjectArray<DS3D_Command>(Commands, 4, name: nameof...
using System; using System.Collections.Generic; using System.Text; using Microsoft.EntityFrameworkCore; using POYA.Models; using POYA.Areas.FunAdmin.Models; using POYA.Areas.FunFiles.Models; using POYA.Areas.WeEduHub.Models; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; ...
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Chapter_03_QuickStart.DataManager; using Chapter_03_QuickStart.Models; using System.Diagnostics; using System.Collections.Generic; namespace Chapter_03_QuickStart.Controllers { public class HomeController : Controller { private ...
using OrienteeringToolWPF.DAO; using OrienteeringToolWPF.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace OrienteeringToolWPF.Utils { public static class ClassificationUtils { // Performs corectne...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EmployeeInfo { class PartialClass2 { } public partial class Employee { public void Emphoyees() { } public partial void InitializeEmployee() { ...
using UnityEngine; using System.Collections; public class Variador : MonoBehaviour { ///public GameObject variador; public int Status;// Essa variavel eh atualizada pela classe botao public float Variador_Valor=0; //void Start (){ // variador.GetComponent<Renderer> ().transform.Rotate (0, 0, -7); //} v...
/* csvorbis * Copyright (C) 2000 ymnk, JCraft,Inc. * * Written by: 2000 ymnk<ymnk@jcraft.com> * Ported to C# from JOrbis by: Mark Crichton <crichton@gimp.org> * * Thanks go to the JOrbis team, for licencing the code under the * LGPL, making my job a lot easier. * * This program is free software; you ...
using BetterMe.Models; using BetterMe.Models.DAL; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace BetterMe.Controllers { public class RulesController : ApiController { // GET api/<controller> public IE...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SecretSantaProject.Models; using Medallion; namespace SecretSantaProject.Utils { public class SecretSantaMatchMaker : IMatchMaker<Contact> { private Random randomizer; priv...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using eRestoran.Data; using eRestoran.Models; using Microsoft.AspNetCore.Authorization; using X.PagedList; usin...
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 Ejemplo1 { public partial class FRMEJEMPLO1 : Form { public FRMEJEMPLO1() ...
using System; using System.Collections.Generic; using System.Net.Sockets; using System.Threading; using Newtonsoft.Json; namespace Plcway.Communication { /// <summary> /// 超时操作的类。 /// </summary> /// <remarks> /// 本类自动启动一个静态线程来处理 /// </remarks> public class HslTimeOut { private static long hslTimeoutId = 0L; ...
using System; using Spect.Net.Assembler.Generated; namespace Spect.Net.Assembler.SyntaxTree.Expressions { /// <summary> /// This class represents an UNARY logical NOT operation /// </summary> public sealed class UnaryLogicalNotNode : UnaryExpressionNode { /// <summary> /// Retrieve...
using Orleans.Serialization.Activators; namespace Orleans.Serialization.Serializers { /// <summary> /// Provides activators. /// </summary> public interface IActivatorProvider { /// <summary> /// Gets an activator for the specified type. /// </summary> /// <typeparam...
using MagiCore.Model; using System.ComponentModel.DataAnnotations; namespace CourseShop.Services.Catalog.Model.Requests; public class CategoryUpdateRequest : IRequest { /// <summary>Must match the id in the route.</summary> /// <example>61e403e7a459734dc052afac</example> [Required] public string Id {...
using System.Linq; using System.Runtime.CompilerServices; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Uno.Collections; namespace Uno.UI.Tests.Foundation { [TestClass] public class Given_StackVector { private struct MyStruct { internal int A; } [TestMethod] public...
using Newtonsoft.Json; using RestSharp; using System; using System.Threading.Tasks; namespace Mahamudra.ParallelDots.CustomExtensions { public static class ApiClientExtensions { public static T Deserialize<T>(this string json, bool map = true) { try { Js...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace BootNet.Commands { public class Messages { public static void ErrorMessage() { Console.ForegroundColor = ConsoleColor.Red; ...
using System.Xml.Linq; using Cassette.Manifests; namespace Cassette.Stylesheets.Manifests { class StylesheetBundleManifestWriter<T> : BundleManifestWriter<T> where T : StylesheetBundleManifest { protected StylesheetBundleManifestWriter(XContainer container) : base(container...
using RakDotNet.IO; namespace InfectedRose.Nif { public class NiSkinInstance : NiObject { public override void Serialize(BitWriter writer) { throw new System.NotImplementedException(); } public override void Deserialize(BitReader reader) { throw ...
using System; using System.Linq; using System.Text; using System.Windows.Forms; using ConceptualThinking.Model; namespace ConceptualThinking.Student { public partial class Form12 : Form { private int _id = 0; public Form12() { InitializeComponent(); _id = 4; ...
using UnityEngine; public class RotateBehaviour : MonoBehaviour { [SerializeField] private Vector3 RotationAmount; void Update() => transform.Rotate(RotationAmount * Time.deltaTime); }