text
stringlengths
1
932k
using System; using System.Collections.Generic; using Sora.Interfaces; namespace Sora.Entities.Info.InternalDataInfo { /// <summary> /// Sora服务数据结构体 /// </summary> internal readonly struct ServiceInfo { /// <summary> /// 服务ID /// </summary> private readonly Guid Ser...
using System.ComponentModel.DataAnnotations; using PlayGen.SUGAR.Common; namespace PlayGen.SUGAR.Contracts { /// <summary> /// Encapsulates ActorData/EvaluationData details. /// </summary> /// <example> /// JSON /// { /// "CreatingActorId" : 1, /// "GameId" : 1, /// "MatchId" : 1, /// "Key" : "Data Key", /...
using System.Text; namespace SteamLauncher.Tools { public static class CustomExtensions { /// <summary> /// Hackish workaround to get around the fact that the 'UnmanagedFunctionPointer' CharSet decorator does not support CharSet.UTF8. /// This function converts a normal string into a U...
// Copyright(c) 2017, 2018 Johan Lindvall // // 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, ...
namespace FastEndpoints.Swagger.UnitTests; public class OperationProcessorTests { }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CFX.Structures.SMTPlacement { /// <summary> /// Describes a particular head of an automated endpoint that uses one or more heads in the course of its work. /// </summary> publi...
using Microsoft.AI.MachineLearning; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using Microsoft.UI.Xaml.Media; using Microsoft.UI.Xaml.Media.Imaging; using System; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Runtime.InteropServices.WindowsRuntime; usin...
using OrchardCore.ContentManagement; using OrchardCore.ContentManagement.Metadata; using OrchardCore.ContentManagement.Records; using OrchardCore.Environment.Extensions; using OrchardCore.Environment.Shell; using OrchardCore.Setup.Events; using System; using System.Collections.Generic; using System.Linq; using System....
using System; using System.IO.Pipelines; using System.Threading.Tasks; namespace LibModbus.Transport { public interface IConnection : IAsyncDisposable { IDuplexPipe Transport { get; } string ConnectionId { get; } ValueTask<IConnection> StartAsync(); } }
using System; using System.Diagnostics; using System.Globalization; using System.Runtime.CompilerServices; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using Mystique.Analytics; using Mystique.Infrastructure.ApplicationInfo; using Mystique.Infrastructure.MystiqueSettings; using Mysti...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Sa...
using UGF.EditorTools.Runtime.IMGUI.Types; using UnityEngine; namespace UGF.EditorTools.Editor.Tests.IMGUI.Types { [CreateAssetMenu(menuName = "Tests/TestTypesDropdownAsset")] public class TestTypesDropdownAsset : ScriptableObject { [TypesDropdown] [SerializeField] private string m_type; ...
using System.Windows.Controls; namespace Telegraph { /// <summary> /// Логика взаимодействия для TelegramListControl.xaml /// </summary> public partial class TelegramListControl : UserControl { public TelegramListControl() { InitializeComponent(); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Uno.Extensions; namespace Windows.UI.Xaml { public partial class ElementStub { public ElementStub() { Visibility = Visibility.Collapsed; } private FrameworkElement MaterializeContent...
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using KaLib.Nbt.Serializations.Converters; namespace KaLib.Nbt.Serializations { public static class NbtConvert { public static byte[] SerializeToBuffer<T>(T obj) { var serializer = ne...
namespace Cavity.Data { using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.IO; #if !NET20 using System.Linq; #endif using Cavity.Collections; using Cavity.Diagnostics; using Cavity.IO; using Cavity.Models...
using MachineLearningLIB.ActivationFunctions; using MachineLearningLIB.InitializationFunctions; using System; namespace MachineLearningLIB.NetworkStructure { public class NeuralLayer { public double[] Outputs { get { double[] outputs = new double[Neurons...
// 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.Threading; // Tests that Exchange<object>(object, object) works on variety // of casted types: It just casts a bunch of different types to // object, then...
using Autofac.Features.AttributeFilters; using System.Collections.Generic; namespace State.States { public class DefaultOperatorStateCollection : IOperatorStateCollection { private readonly IEnumerable<IOperatorState> _possibleStates; public DefaultOperatorStateCollection( [KeyFil...
using System.Collections.Generic; using Abp.Configuration; namespace Code.Together.Configuration { public class AppSettingProvider : SettingProvider { public override IEnumerable<SettingDefinition> GetSettingDefinitions(SettingDefinitionProviderContext context) { return new[] ...
using System; using System.Collections.Generic; using System.Data; using System.Globalization; using System.Linq; using System.Text; namespace EFlogger.Profiling.SqlFormatters { /// <summary> /// Formats SQL server queries with a DECLARE up top for parameter values /// </summary> public class SqlServer...
using System.Windows; using System.Windows.Controls; using System.Windows.Input; // Copied from https://github.com/dmitryshelamov/UI-Cropping-Image namespace CroppingImageLibrary.Thumbs { internal class ThumbFactory { /// <summary> /// Available thumbs positions /// </summary> ...
using BillsPaymentSystem.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; namespace BillsPaymentSystem.Data.EntityConfiguration { public class BankAccountConfig : IEntityTypeConfiguration<BankAccount> { public void Configure(EntityTypeBu...
// *** 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...
using System.Web.Http; using WebActivatorEx; using RoboBank.Customer.Service.Isolated; using Swashbuckle.Application; [assembly: PreApplicationStartMethod(typeof(SwaggerConfig), "Register")] namespace RoboBank.Customer.Service.Isolated { public class SwaggerConfig { public static void Register() ...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace SimpleBlog.Migrations { public partial class PostModelAttached : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Posts", ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace LoRaTools.LoRaMessage { using System; using LoRaWan; /// <summary> /// Implementation of the Join Request message type. /// </summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TurtleGames.BehaviourTreePlugin.Storage { public class ServiceNodeDefinition : BehaviorTreeNodeDefinition { public ServiceNodeDefinition() { } public s...
// <copyright file="ColumnAttribute.cs" company="PetaPoco - CollaboratingPlatypus"> // Apache License, Version 2.0 https://github.com/CollaboratingPlatypus/PetaPoco/blob/master/LICENSE.txt // </copyright> // <author>PetaPoco - CollaboratingPlatypus</author> // <date>2016/04/13</date> // -------------------------...
using System; namespace TrueCraft.Core.Logic.Blocks { public class ButtonBlock : BlockProvider { public static readonly byte BlockID = 0x4D; public override byte ID { get { return 0x4D; } } public override double BlastResistance { get { return 2.5; } } public ...
using My2C2P.Org.BouncyCastle.Asn1; using My2C2P.Org.BouncyCastle.Asn1.Cms; using My2C2P.Org.BouncyCastle.Asn1.X509; namespace My2C2P.Org.BouncyCastle.Asn1.Smime { /** * The SmimeEncryptionKeyPreference object. * <pre> * SmimeEncryptionKeyPreference ::= CHOICE { * issuerAndSerialNumber [0...
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information. using System; using System.Collections; using System.Linq; using System.Text; using CommandLine.Core; using CommandLine.Infrastructure; using CSharpx; namespace CommandLine {...
//#define OUTPUT using SharpNeatLib.NeuralNetwork; using SharpNeatLib.NeatGenome; using SharpNeatLib.CPPNs; using System.Threading; using System; namespace SharpNeatLib.Experiments { public class Skirmish3DSubstrate : Substrate { private float m_zValue; /* This substrate configuration is a bi...
using System; namespace iFactr.Core.Layers { /// <summary> /// Represents a layer for displaying local or web-based content. /// </summary> /// <remarks> /// Browser layers are used to navigate to and display external content from within the application. /// </remarks> public class Brows...
namespace mefx.Client { internal sealed class Bootstrapper { public void Run() { this.CreateShell(); } private void CreateShell() { Shell shell = new Shell(); shell.Show(); } } }
using System; using Xunit; namespace Coverlet.Tests { public class UnitTest1 { [Fact] public void Test1() { Program.Main(new[] { "" }); } [Fact] public void Test2() { Program.Main(new[] { "","","","" }); } } }
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; using NCoreUtils.Internal; namespace NCoreUtils { public class ImmutableJsonCoverterOptionsBuilder { public List<PropertyInfo> Ignored { get; } = new List<PropertyInfo>(); public Type Target...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // As informações gerais sobre um assembly são controladas por // conjunto de atributos. Altere estes valores de atributo para modificar as informações // associadas a um assembly. [assembly: AssemblyTitle("Cad_Cli_C...
using Microsoft.EntityFrameworkCore.Migrations; namespace RssFeedReader.Migrations { public partial class Added_Description_And_IsActive_To_Role : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<string>( name: "...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/strmif.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
/* dotNetRDF is free and open source software licensed under the MIT License ----------------------------------------------------------------------------- Copyright (c) 2009-2012 dotNetRDF Project (dotnetrdf-developer@lists.sf.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this ...
using System; using System.IO; using Microsoft.AspNetCore.Hosting; namespace AspNetCore_QOTD { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() .UseStartup<Startup>() .Build...
// <copyright file="Benchmark1.cs" company="Endjin Limited"> // Copyright (c) Endjin Limited. All rights reserved. // </copyright> #pragma warning disable namespace IdDraft202012Feature.UnnormalizedIdsAreAllowedButDiscouraged { using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using BenchmarkD...
namespace dotnetcore_webapi_and_ravendb.Models.Dtos.SalesDtos { public class InputBillValueDto { public string Id { get; set; } public decimal Value { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AutoSharp.Utils; using LeagueSharp; using LeagueSharp.Common; namespace AutoSharp.Auto.SummonersRift { public static class MyTeam { public enum Roles { Toplaner...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Cdn....
using Hardcodet.Wpf.TaskbarNotification; using System; using System.Drawing; using System.Drawing.Imaging; using System.Linq; using System.Threading.Tasks; using Google.Cloud.Vision.V1; using Image = Google.Cloud.Vision.V1.Image; using System.Windows; using NHotkey.Wpf; using System.Windows.Input; using NHotkey; using...
// <Snippet1> using System; using System.IO; using System.Xml; using System.Xml.Schema; public class SchemaCollectionSample { private const String doc1 = "booksSchema.xml"; private const String doc2 = "booksSchemaFail.xml"; private const String doc3 = "newbooks.xml"; private const String schema = "b...
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, 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....
namespace DotVVM.Framework.Testing.SeleniumHelpers.Proxies { public class CheckBoxProxy : WebElementProxyBase { public CheckBoxProxy(SeleniumHelperBase helper, PathSelector selector) : base(helper, selector) { } public bool IsChecked() { return !string.IsNu...
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DotNetConf.Api.Models.Exceptions { public class UnprocessableException : BaseException { public UnprocessableException() { ProblemDetailsModel...
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします // </auto-generated> //----------------------------------------------------------...
using System; using System.Text; namespace MYCSHARPCLASS.Week2 { public class ReferenceTypes { private string _testString = "Test String"; private string _testString2 = "is awesome"; #region Joining Strings public void JoiningStrings() { string secondTest =...
using System; using CMS.Base.Web.UI.ActionsConfig; using CMS.UIControls; public partial class CMSFormControls_LiveSelectors_InsertYouTubeVideo_Content : CMSLiveModalPage { protected override void OnInit(EventArgs e) { base.OnInit(e); EnsureScriptManager(); } protected void Pag...
using System; using System.Collections.Generic; using System.Text; using System.Reflection; using System.Linq; using System.Diagnostics; using log4net; namespace CZLogger { internal class Log4NetLogger { private static readonly ILog _logRollingFile = LogManager.GetLogger("RollingFile"); private s...
// ********************************************************************* // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License // ********************************************************************* using System; namespace Microsoft.StreamProcessing { /// <summary> /...
using AngularConsumer1.Configuration.Interfaces; using AngularConsumer1.Models.Categories; using FRED.Api.Categories.ApiFacades; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Threading.Tasks; namespace AngularConsumer1.Controllers.Categories { [Route("api/[controller]...
using System; using CoreGraphics; using Foundation; using SpriteKit; using UIKit; namespace ButtonTapper3000 { public class GameSetupMenu : BasicScene { SKLabelNode [] timeLabels; SKLabelNode [] modeLabels; SKLabelNode startButton; SKLabelNode backButton; public GameSetupMenu (CGSize size) : base (size) ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.IO.Abstractions; namespace LaTeXTools.Build.Tasks { public sealed class ProjectTask { public string OutputPDFPath { get; set; } = ""; public string OutputDirectory { get; set; } = ""; public IEnum...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Game.Stream; /// <summary> /// 拡張メソッド /// </summary> public static class ExtensionMethods { /// <summary> /// シリアライズ /// </summary> /// <param name="Stream">ストリーム</param> public static void Serialize(this Vector3 ...
using SignalGo.Shared.IO; using System; using System.Linq; using System.Net.WebSockets; using System.Threading.Tasks; namespace SignalGo.Server.Owin { public class WebsocketStream : IStream { private WebSocket _webSocket; public WebsocketStream(WebSocket webSocket) { _webSo...
// <copyright file="RfisTests.cs" company="PlanGrid, Inc."> // Copyright (c) 2016 PlanGrid, Inc. All rights reserved. // </copyright> using System.Net.Http; using System.Net.Http.Headers; namespace PlanGrid.Api { public class StringMultipartContent : IMultipartContent { public string Name { get; ...
using System; //Write a generic class GenericList<T> that keeps a list of elements of some parametric type T. //Keep the elements of the list in an array with fixed capacity which is given as parameter in the class constructor. //Implement methods for adding element, accessing element by index, removing element by in...
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AnttechBlockchainFinanceMylogisticfinsandboxMessagePublishResponse. /// </summary> public class AnttechBlockchainFinanceMylogisticfinsandboxMessagePublishResponse : AopResponse { /// <summary> ...
// Generated by TankLibHelper // ReSharper disable All namespace TankLib.STU.Types { [STU(0xCAAB2581, 16)] public class STUCollisionConfig : STUInstance { [STUField(0xE5338DEC, 8)] // size: 1 public byte m_E5338DEC = 0x1; } }
namespace LeanCode.ClientCredentialsHandler { public class ClientCredentialsConfiguration { public string ServerAddress { get; set; } = ""; public string ClientId { get; set; } = ""; public string ClientSecret { get; set; } = ""; public string Scopes { get; set; } = ""; } }
using System.Globalization; using Xunit.Abstractions; namespace Bunit.Extensions.WaitForHelpers; public class RenderedFragmentWaitForElementsHelperExtensionsTest : TestContext { public RenderedFragmentWaitForElementsHelperExtensionsTest(ITestOutputHelper testOutput) { Services.AddXunitLogger(testOutput); } [Fa...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TestUtils; namespace BGC.Utilities.Tests.IndexerTests { public class GetTests : TestFixtureBase { [Test] public void CallsGetCallbackWhenGettingValue...
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; using FairyGUI.Utils; namespace Settings { public partial class View_copy_ok_tip: GComponent { public Transition t0; public const string URL = "ui://yzgsvb7wcu4no8"; public static Vi...
// 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. /****************************************************************************** * This file is auto-generated from ...
// Copyright © 2018 Wave Engine S.L. All rights reserved. Use is subject to license terms. #region Using Statements using System; using WaveEngine.Framework; using WaveEngine.Framework.Graphics; using WaveEngine.Common.Math; using System.Runtime.Serialization; using WaveEngine.Common.Attributes; using WaveEngine.Comm...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Grammophone.Optimization.QuasiNewton; using Grammophone.Vectors; using System.Runtime.Serialization; using Grammophone.GenericContentModel; using System.Diagnostics; using System.Threading.Tasks; using System.Threading; using S...
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. #if !(UNITY_TVOS || UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_FLASH || UNITY_PS3 || UNITY_PS4 || UNITY_XBOXONE || UNITY_BLACKBERRY || UNITY_METRO || UNITY_WP8 || UNITY_PSM || UNITY_WEBGL || UNITY_SWITCH) using UnityEngine; namespace HutongG...
/* * Copyright(c) 2019 Samsung Electronics 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 a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Foundatio.Parsers.LuceneQueries.Visitors; using Xunit; namespace Foundatio.Parsers.LuceneQueries.Tests { public class FieldResolverVisitorTests { [Fact] public async Task CanUseAliasMapForTopLevelAliasAsync() { ...
// Copyright(c) 2017 Vertical Software - All rights reserved // // This code file has been made available under the terms of the // MIT license. Please refer to LICENSE.txt in the root directory // or refer to https://opensource.org/licenses/MIT using System.Collections.Generic; using System.Linq; using System.Threadi...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Data.Common; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using SysTx = System.Transactions; namespace System.Data.ProviderBase { ...
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 SamlSample { public class Program { public sta...
using System; using UnityEngine; /* * SLOW MOVE TO POSiTION * * Precondition - E_PropKey.E_WEAPON_IN_HANDS true * Effect - E_PropKey.E_AT_TARGET_POS true * * Validate have target && distance < 6 * */ class GOAPActionCombatMoveToLeft : GOAPAction { private AgentActioCombatMove Action; public GOAP...
// This file was automatically generated and may be regenerated at any // time. To ensure any changes are retained, modify the tool with any segment/component/group/field name // or type changes. namespace Machete.HL7Schema.V26 { using HL7; /// <summary> /// RRE_O12_TIMING_ENCODED (Group) - /// </summ...
// This file has been autogenerated from parsing an Objective-C header file added in Xcode. using System; using MonoTouch.UIKit; using MonoTouch.Foundation; using System.Threading.Tasks; namespace tdxplat { public partial class QSTodoListViewController : UITableViewController { private QSTodoService todoService; ...
using System.Collections.Generic; using System.Linq; using Havit.Data.Entity.CodeGenerator.Entity; using Havit.Data.Entity.CodeGenerator.Services; using Havit.Data.Entity.Mapping.Internal; namespace Havit.Data.Entity.CodeGenerator.Actions.DataSources.Model { public class DbDataSourceModelSource : IModelSource<DbData...
namespace DbTest.Example.Models { public class Manufacturer { public int Id { get; set; } public string Name { get; set; } public int CountryId { get; set; } public bool IsDeleted { get; set; } // Related models public Country Country { get; set; } } }
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("CmdWrapperGUI")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: Assembly...
using System; using System.Collections.Generic; using System.Linq; using LiteDB.Engine; using static LiteDB.Constants; namespace LiteDB { internal partial class SqlParser { /// <summary> /// CREATE [ UNIQUE ] INDEX {indexName} ON {collection} ({indexExpr}) /// </summary> privat...
using System; using System.IO; using System.Text; namespace engenious.Content.Pipeline { [ContentImporter(".fnt", DisplayName = "FontImporter", DefaultProcessor = "FontProcessor")] public class FontImporter : ContentImporter<FontContent> { public override FontContent Import(string filename, Conten...
//----------------------------------------------------------------------- // ETP DevKit, 1.2 // // Copyright 2019 Energistics // // 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 // // ...
// Copyright © John Gietzen. All Rights Reserved. This source is subject to the MIT license. Please see license.md for more information. namespace KnowledgeInterchangeFormat.Expressions { using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text; /// <su...
using System; using System.Collections.Generic; using Mapsui.Providers; using Mapsui.Styles; namespace Mapsui.Layers { /// <summary> /// A layer to use, when DataSource doesn't fetch anything because it is already in memory /// </summary> public class MemoryLayer : BaseLayer, ILayerDataSource { ...
// <Snippet17> using System; using System.IO; // </Snippet17> // <Snippet1> using Microsoft.ML.Legacy; using Microsoft.ML.Legacy.Data; using Microsoft.ML.Legacy.Models; using Microsoft.ML.Legacy.Trainers; using Microsoft.ML.Legacy.Transforms; // </Snippet1> // <Snippet9> using System.Threading.Tasks; // </Snippet9> n...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class UpdateChat : MonoBehaviour { private GameObject cam; void LateUpdate () { if(!cam) { if (Camera.main) { cam = Camera.main.gameObject; } ...
using GameFramework; using UnityEngine; using UnityGameFramework.Runtime; /// <summary> /// 子弹类。 /// </summary> public class Bullet : Entity { private BulletData bulletData = null; private BulletEffect bulletEffect = null; /// <summary> /// 剩余可产生效果次数 /// </summary> private int leftEffectTimes =...
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Common; using Core.Common; namespace DotNetUtilities.Commons { public partial class WebString : System.Web.UI.Page { protected void Page_Load(object ...
namespace NServiceBus.TracingContainer { using System; public class BuildAllEvent : TracingContainerEvent { public Type TypeToBuild { get; internal set; } public override string ToString() => $"{Container} => Build All: {TypeToBuild}"; } }
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; #nullable disable namespace Resource.Api.Models { public partial class Kinder2021Context : DbContext { public Kinder2021Context() { } public Kinder2021Context(DbContextOptions<Kin...
using Prism.Events; using QueueRegisteringClient.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QueueRegisteringClient.Utility { public class SendPatientEvent: PubSubEvent<Patient> { } }
//----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //-----------------------------------------------------------------------'r'n namespace HR.TA.ScheduleService.UnitTest.Business { using System; using System.Collec...
////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); /////////////////////////////////////////////////////////////...
using System; using System.Collections.Generic; using System.Linq; using EventStore.Common.Utils; using EventStore.Core.Data; using EventStore.Core.Helpers; using EventStore.Core.Messages; using EventStore.Core.Services.UserManagement; using EventStore.Projections.Core.Utils; using Microsoft.Extensions.Logging; names...