content
stringlengths
23
1.05M
/* * Apteco API * * An API to allow access to Apteco Marketing Suite resources * * OpenAPI spec version: v2 * Contact: support@apteco.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using S...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using DevExpress.XtraEditors; using CommonSuite; namespace T8SuitePro { public partial class frmBitmaskViewer : DevExpress.XtraEditors.XtraForm { ...
using CozyPoker.Engine.Model; using CozyPoker.Engine.Util; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CozyPoker.Client.Core { // 计算24的游戏,如果无解,答案的字符串为"no" public class Game24Calc { List<Card> cs; // 新开游戏,得到四...
namespace MassTransit.GrpcTransport.Topology { public interface IRoutingKeyFormatter { /// <summary> /// Format the routing key for the send context, so that it can be passed to RabbitMQ /// </summary> /// <typeparam name="T">The message type</typeparam> /// <param name=...
using System; using NUnit.Framework; namespace MadReflection.Rupture.Tests { [TestFixture] public class DBNullExtractor_Tests { private readonly ValueExtractor _extractor = ValueExtractor.Create(config => { config.UseNullTester(obj => obj is DBNull); }); [TestCase] public void Extract_Int32_Throws_O...
#region Copyright Syncfusion Inc. 2001-2021. // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // licensing@syncfusion.com. Any infringement will be prosecuted under // applic...
using UnityEngine; public class KeyToggleObjectUtility : MonoBehaviour { public GameObject go; public KeyCode key; private void Update () { if (Input.GetKeyUp(key)) go.SetActive(!go.activeSelf); } }
using Ding.Offices.Excels.Enums; namespace Ding.Offices.Excels.Models { /// <summary> /// Excel 导出参数 /// </summary> /// <typeparam name="T"></typeparam> public class ExportParams<T> : ExcelBaseParams<T> { /// <summary> /// 标题 /// </summary> public string Title {...
using System.Text; using System.Collections.Generic; using System.Runtime.Serialization; namespace Cisco.DnaCenter.Api.Data { /// <summary> /// ProvisionResponseProvisioningTasks /// </summary> [DataContract] public class ProvisionResponseProvisioningTasks { /// <summary> /// Initializes a new instance of th...
using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEditorInternal; using Chankiyu22.DialogueSystem.Dialogues; namespace Chankiyu22.DialogueSystem.Plots { [CustomEditor(typeof(Plot))] public class PlotEditor : Editor { public bool isEditorWindow = false; public Rect viewportRe...
using AdminApprovalBack.Models; using Common; using Data.Entity.Approval; using Microsoft.AspNetCore.Mvc; using Service; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AdminApprovalBack.Controllers.Approval { /// <summary> /// 单个信息 /// 如身份证件信息、电话...
using Assets.NetPeer; using Assets.NetPeer.ServerCommand; using System.Collections; using System.Collections.Generic; using System.Text; using UnityEngine; using UnityEngine.UI; public class processInput : MonoBehaviour { ServerCommandHandler handler; //public GameObject presentationScreen; // Start is cal...
namespace TourTracker { using System; using System.Linq; using FluentAssertions; using Xunit; public class LogBookFacts { private readonly LogBook testee; public LogBookFacts() { this.testee = new LogBook(); } [Fact] public void Cre...
using System; using System.Collections.Generic; using System.Text; using Microsoft.Toolkit.Uwp.SampleApp.Models; using Windows.UI.Xaml; namespace Microsoft.Toolkit.Uwp.SampleApp.Shared.Triggers { public class PaneStateTrigger : StateTriggerBase { #region Property: Binding public static readonly D...
namespace VietOCR.NET { partial class BulkDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
using Microsoft.Extensions.DependencyInjection; using QB.Application.Interfaces.InfrastuctureServices; namespace QB.External.Rest.Service.Extensions { public static class DependencyRegistrationExtensions { public static IServiceCollection RegisterExternalRestServiceDepenencies(this IServiceCollection ...
// 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.Diagnostics; #if USE_MDT_EVENTSOURCE using Microsoft.Diagnostics.Tracing; #else using System.Diagnostics.Tracing; #endif using System.Text; using Address =...
using System; namespace AluraCar.Model { public class Agendamento { public Veiculo Veiculo { get; set; } public string Nome { get; set; } public string Email { get; set; } public string Telefone { get; set; } public DateTime Data { get; set; } = DateTime.Today; ...
namespace ConsoleBackEnd { /// <summary> /// Interface for classes able to parse user input into a registered command with parameters array. /// </summary> public interface IConsoleCommandParser { IConsoleCommandParseResult Parse(string commandRepr); } }
// TestManager using ClubPenguin.Choreography; using Disney.Kelowna.Common; using Disney.LaunchPadFramework; using Disney.MobileNetwork; using UnityEngine; public class TestManager : MonoBehaviour { public GameObject Cannon; public GameObject Firee; public GameObject Firer; public InteractionDefinition Interact...
using System; using System.Collections.Generic; using System.Linq; using Skipy.Core; using Skipy.Core.DTO; using Spectre.Console; using Spectre.Console.Cli; namespace Skipy.Commands { public class UpdateCommand : Command<Settings> { private readonly IUpdateProvider _updateProvider; public...
using System; using Xunit; namespace Eknowledger.Language.Xpress.Test { public class Compiler_UnaryExpressions : TestBase { public Compiler_UnaryExpressions() : base() { } [Fact] public void Compile_NegationOfBooleanFalseLiteral_ShouldCompileAndEvalTrue() { var co...
using System; namespace DepthChartManager.Helpers { public static class Contract { public static void Requires<TException>(bool condition, string message) where TException : Exception { if (!condition) throw Activator.CreateInstance(typeof(TException), message) as TException; ...
using System; using System.Threading; using AoLibs.Navigation.Core.Interfaces; using UIKit; namespace AoLibs.Navigation.iOS.Navigation.Controllers { public class ArgumentNavigationTabBarViewController : UITabBarController, INavigationPage, INativeNavigationPage { internal static IDependencyResolver De...
using System; using System.Globalization; namespace VNetDev.WmiQueryableCore.WqlTranslator.Extensions { internal static class DateTimeExtension { public static string ToDmtf(this DateTime date) { string str; var utcOffset = TimeZoneInfo.Local.GetUtcOffset(date); ...
// This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT. // Copyright (C) Leszek Pomianowski and WPF UI Contributors. // All Rights Reserved. using System; using System.Windows; using Sys...
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 MyApplication { public partial class ChangePasswordForm : Form { ...
using Bytes2you.Validation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using YoyoTournaments.Data.Contracts; using YoyoTournaments.Models; using YoyoTournaments.Services.Contracts; namespace YoyoTournaments.Services { public class DivisionSe...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Turret : MonoBehaviour { public Monster currentTarget = null; public Transform missileStartTrans; public float attackRange = 2f; public float attackSpeed = 0.1f; public GameObject missile = null; publi...
using LinqToGraphQL.Attributes; using LinqToGraphQL.Attributes.Method; using LinqToShopify.GraphQL.Admin.Context.App.Connections; using LinqToShopify.GraphQL.Admin.Context.Common.Connections; using LinqToShopify.GraphQL.Admin.Context.ProductCollection.Types.Product.Enum.Image; using LinqToShopify.GraphQL.Admin.Context...
namespace BaristaLabs.ChromeDevTools.RemoteInterface.ProtocolDefinition { /// <summary> /// Interface that identifies definition classes. /// </summary> public interface IDefinition { } }
using System; using System.Collections.Generic; using System.Linq; using Jasper.Messaging.Logging; using Jasper.Messaging.Runtime; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.DataContracts; namespace Jasper.ApplicationInsights { public class ApplicationInsightsMetrics : IMetrics {...
using System; using System.Collections.Generic; using com.tinylabproductions.TLPLib.Functional; using com.tinylabproductions.TLPLib.Utilities; using GenerationAttributes; using JetBrains.Annotations; using pzd.lib.functional; using Sirenix.OdinInspector; using UnityEngine; using Object = UnityEngine.Object; namespace...
namespace Phoenix.Core.Api.Infrastructure.Provision.Brokers.Loggings { public interface ILoggingBroker { void LogActivity(string message); } }
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Colorizer.Imaging { public class ColorHistogram { public int NumberOfBins { get; set; } public double PerPixel { get; s...
 namespace ApiDogFood.WebClient { public static class Constants { public const string ApiBaseUri = "http://localhost:65104"; public const string SessionTokenKey = "SessionToken"; } }
using System.Linq; using System.Reflection; namespace UiBinding.Extensions { public static class MethodInfoExtensions { public static bool AnyParameters(this MethodInfo method) => method.GetParameters().Any(); public static bool IsParameterless(this MethodInfo method) => !method.AnyParameters...
namespace CiSeCase.Core.Interfaces.Manager { public interface IHashManager { string GenerateHash(string value); } }
using System; using System.Collections.Generic; using System.Text; namespace DiscordBotNew.Settings.Models { [ConfigFile("github.json")] public class GithubRepos : Config { public string Username { get; set; } public string Token { get; set; } public Dictionary<ulong, st...
namespace GodotHub.Core { public enum GodotOperatingSystem { Windows, OSX, X11, LinuxServer, LinuxHeadless } }
using System.Collections.Generic; using System.Linq; namespace YetAnotherPacketParser { public class FormattedText { public FormattedText(IEnumerable<FormattedTextSegment> formattedTexts) { this.Segments = formattedTexts; } public IEnumerable<FormattedTextSegment> ...
using System; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using CWG.API.Workflow.Data; using CWG.API.Workflow.Data.Entities.Auth; using CWG.API.Workflow.ServiceContracts.Auth; using CWG.API.Workflow.ViewModels.Auth; namespace CWG.API.Workflow.Services.Auth { public class AuthServic...
using AGAsset.StdUtil; using AGDevUnity.StdUtil; using AGDev; using AGDevUnity; using System; using System.Collections.Generic; using System.IO; using UnityEngine; using AGAsset; namespace AGDevUnity { public class PrimitiveAUIntegrator : MonoBAUIntegrator, AssetUnitIntegrator { public override AssetUnitIntegrator...
using Microsoft.Win32; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Forms; using System.Windows.Input; using System...
using System; class GreaterOfTwoValues_2 { static void Main() // 100/100 { string type = Console.ReadLine(); if (type == "int") { int num1 = int.Parse(Console.ReadLine()); int num2 = int.Parse(Console.ReadLine()); int greaterValue = GetGreater(num1, ...
using Mono.Cecil; using System.Collections.Generic; using System.IO; using System.Linq; namespace GuidPatch { class ReferenceAssemblyResolver : DefaultAssemblyResolver { public ReferenceAssemblyResolver(IEnumerable<FileInfo> references) { // Typically reference assemblies come in "...
using NUnit.Framework; using System; using System.Threading.Tasks; using TestBlazorApp.Clients; using Microsoft.Extensions.DependencyInjection; using System.Linq; namespace TestBlazorApp.Tests { [TestFixture] public class BlazorJsonTest { [Test] public void WeatherForecastsTest() { using (var endpoint = n...
namespace NeedForSpeed; public class RemoteControlCar { private int battery; private int distance; public RemoteControlCar(int speed, int batteryDrain) { Speed = speed; BatteryDrain = batteryDrain; battery = 100; distance = 0; } public int Speed { get; } pu...
namespace Nandaka.Core.Protocol { public interface IProtocolInfo { int MinPacketLength { get; } int MaxPacketLength { get; } int MaxDataLength { get; } int AddressSize { get; } int MinRegisterAddress { get; } int MaxRegisterAddress { get; } int MinimumRan...
namespace OrderService { using System.Collections.Generic; using MeetUp.Model; public interface ICustomerOrderService { List<Customer_Order> GetNewOrders(int supplierId); void SaveCustomerOrder(Customer_Order customerOrder); } }
namespace PrinciplesAndDesignPatternExample { public class ExampleService : IExampleService { public Guid GenerateId() { return Guid.NewGuid(); } public void CallSample(List<ISample> samples) { samples.ForEach(x => { }); } } }
using Entitas; using Entitas.CodeGeneration.Attributes; /// <summary> /// How smooth the camera moves towards the local player /// </summary> [Game, Unique] public sealed class CameraSmoothTimeComponent : IComponent { public float value; }
namespace SteamConsoleHelper.Abstractions.Enums { public enum FakeService { SteamAuthenticationService, } }
using System.Linq.Expressions; namespace MyDAL.Core.Models.ExpPara { internal class ContainsInParam { internal bool Flag { get; set; } internal ExpressionType Type { get; set; } internal Expression Key { get; set; } internal Expression Val { get; set; } } }
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shared.Entities { public class FeedItem { public FeedItem() ...
namespace Conan.Plugin.NullGuard { using System.Collections; public static class EnumerableExtensions { /// <summary> /// Filters the elements of a given <paramref name="source"/> based on specified T1 and T2 types. /// </summary> public static IEnumerable OfType<T1, T2...
using Ludiq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Bolt.Addons.Community.Fundamentals { [UnitCategory("Variables")] [UnitShortTitle("Increment Variable")] [RenamedFrom("Bolt.Addons.Community.Variables.Units.IncrementUnit")] [...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class InformationOrigin : ScriptableObject { [SerializeField] protected string _name; [SerializeField] protected int id; public virtual int GetCategory1() { return -1; } public int ID { ...
using System.Collections.Generic; namespace HttpReports.Monitor { /// <summary> /// 响应错误状态监控 /// </summary> public interface IErrorResponseMonitor : IMonitor { /// <summary> /// 状态码列表 /// </summary> IList<int> StatusCodes { get; set; } /// <summary> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chess_Game { class Knight : Piece { public Knight(String colour) : base(colour) { Name = "N"; } internal override bool validateMove(Move mo...
using LetPortal.Core.Persistences; namespace LetPortal.ServiceManagement.Options { public class CentralizedLogOptions { public DatabaseOptions Database { get; set; } public string EntityLogName { get; set; } = "servicelogs"; } }
namespace Igtampe.Colloquor { partial class ColloquorChannelForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
namespace PivotalServices.Redis.Messaging { public class Message { public Message(string id = null, string body = null) { Id = id; Body = body; } public string Id { get; set; } public string Body { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; namespace Rivers.Collections { public class UndirectedEdgeCollection : EdgeCollection { public UndirectedEdgeCollection(Graph parentGraph) : base(parentGraph) { } /// <inheritdoc /> public ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.EnterpriseServices; using System.Linq; using System.Reflection.Emit; using System.Runtime.InteropServices; using System.Security.AccessControl; using System.Security.Cryptography; using System.Secu...
//---------------------------------------------------------------------------------------------------------------------- // <copyright file="AutoHelpers.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <summary>Console UI Automation test helpers</summary>...
using Cpp2IL.Core.Analysis.Actions.Base; using Cpp2IL.Core.Analysis.ResultModels; using Gee.External.Capstone.Arm64; using Mono.Cecil.Cil; namespace Cpp2IL.Core.Analysis.Actions.ARM64 { public class Arm64RegCopyAction : BaseAction<Arm64Instruction> { private readonly IAnalysedOperand? _whatCopied; ...
using System; using Autofac; using MassTransit.Autofac.StateMachineSagas.Sample.Elements; using MassTransit.AutofacIntegration; using MassTransit.Saga; namespace MassTransit.Autofac.StateMachineSagas.Sample { class Program { static void Main() { var builder = new ContainerBuilder()...
using System.Collections; using System.Collections.Generic; using UnityEngine; /* Stores all the data that is saved for one capture frame * Contains Frisbee position, rotation, timestamp, * forward speed (in m/s), rotation speed (in rpm) * wasSeen is true when the frisbee was seen by cameras during the frame * if...
using System.Text.Json.Serialization; using VRChatAPI.Interfaces; namespace VRChatAPI.Objects { public class DownloadUrls : SerializableObjectAbstract { public string Sdk2 { get; set; } [JsonPropertyName("sdk3-worlds")] public string Sdk3Worlds { get; set; } [JsonPropertyName("sdk3-avatars")] public strin...
using HSDRaw; using HSDRaw.Common; using HSDRaw.Melee.Pl; using HSDRawViewer.Rendering; using HSDRawViewer.Rendering.Renderers; using HSDRawViewer.Rendering.Shapes; using OpenTK; using System; using System.Collections.Generic; using System.Windows.Forms; using WeifenLuo.WinFormsUI.Docking; namespace HSDRawViewer.GUI....
// Copyright (c) KhooverSoft. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Khooversoft.Sql; using Khooversoft.Toolbox; using System; using System.Data.SqlClient; namespace MessageBroker.QueueDbRepository { public class ...
using System.Collections.ObjectModel; using System.Diagnostics; using System.Windows.Input; using System.Xml; using TreeText.Model; using TreeText.Util; namespace TreeText.ViewModel { public class MainViewModel : NotificationObject { public ObservableCollection<Template> Templates { get; se...
using Gameduino; using System; using System.Runtime.InteropServices; namespace Sprites { public class Program { private static byte[] sprites = new byte[2001 * 4]; public static void Main() { GD2.Init(); GD2.Load(data); // Pre-calculate the sprite ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Web.Http; namespace QBitNinja { public class UpdateChainListener : IDisposable { IDisposable _Subscription; public UpdateChainListener() ...
using System; using TwitchLib.Client.Models; namespace Twitcher.Controllers.Parameters { public class StringParameterProvider : IParameterProvider<string> { public string ParseParameter(string parameter, ChatMessage message) => parameter; } }
using System; using System.Collections; namespace DeployLib { public static class ICollectionExtensions { public static bool HasContent(this ICollection instance) => instance?.Count > 0 == true; } }
 @{ ViewData["Title"] = "popularActivitiesIdnex1"; } #img1 { width: 120px; height: 108px; overflow: hidden; border: thin solid #DADADA; background-color: white; } <section class="blog-section spad"> <div class="container"> <div class="row"> <div class="col-lg-...
using System; using System.Threading; using FluentAssertions; using MessageBus.Core.API; using NUnit.Framework; namespace Core.IntegrationTest { [TestFixture] public class BusAnnotatedSubscriptionTests { [Test] public void Bus_SimpleSubscription_CallReceivedOnImplementationInstace() ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Windows.Input; using Xamarin.Forms; namespace Gallery.Controls { public class Panel : ContentView { private ICommand _innerSelectedCommand; private readonly ScrollView _scrollView; ...
using System.Collections.Generic; using Ocelot.Values; using Shouldly; using TestStack.BDDfy; using Xunit; namespace Ocelot.UnitTests.ServiceDiscovery { public class ServiceRegistryTests { private Service _service; private List<Service> _services; private ServiceRegistry _serviceRegistr...
namespace ServiceRadiusAdjuster.Configuration { public interface IConfigFileVersion { string Version { get; } } }
using System.IO; using System.Text; using System.Threading.Tasks; using Serious.IO; using Xunit; namespace UnitTests.Fakes { public class FakeFileInfo : FakeFileSystemInfo, IFileInfo { MemoryStream _contents = new(); public FakeFileInfo(string path) : base(path) { } ...
namespace Projeto_de_Apresentar_Console_App.Classes.Calculadora.NameSpace_Calculadora { public class Calculadora { private decimal _valor1; public decimal Valor1 { get => _valor1; set => _valor1 = value; } private decimal _valor2; public...
using CTS_Manual_Input.Attributes; using CTS_Manual_Input.Helpers; using CTS_Manual_Input.Models.ApproveModels; using CTS_Manual_Input.Models.Common; using CTS_Models; using CTS_Models.DBContext; using System; using System.Data.Entity; using System.Linq; using System.Web.Mvc; namespace CTS_Manual_Input.Controllers { ...
using System; using UnityEngine.UI; namespace Silphid.Extensions { public static class ImageExtensions { public static void Show(this Image image) { SetVisible(image, true); } public static void Hide(this Image image) { SetVisible(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Support.V7.Widget; using Android.Views; using Android.Widget; using Com.Ramotion.Garlandview; using GarlandView.Droid.Main.Inner; using...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.ComponentModel.Composition.Primitives; namespace System.ComponentModel.Composition.Hosting { publi...
namespace Mvc3Host.Filters { using System.Web.Mvc; public class Home : IActionFilter { public int Value { get; set; } public void OnActionExecuting(ActionExecutingContext filterContext) { filterContext.Controller.ViewBag.homeMessage = "I'm in the home controller"; ...
// 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.Collections.Generic; using System.Threading.Tasks; using NuGet.Services.Validation; namespace NuGet.Services.Revalidate { public inte...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using PowerArgs; using System.Collections.Generic; using System.Linq; namespace ArgsTests { [TestClass] public class LongFormTests { public class LongFormArgs { [ArgLongForm("--your-age")] public int ...
#region Copyright and license information // Copyright 2010-2011 Jon Skeet // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 ...
using UnityEngine; using System.Collections; using UnityStandardAssets.Characters.FirstPerson; using Hobscure.Objects; namespace Hobscure.Player { public class WalkState : iPlayerState { PlayerStateManager stateManager; GameObject lookingAt; public WalkState(PlayerStateManager stateMan...
using System; using System.Collections; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Reflection; using BDFramework.Mgr; using BDFramework.Reflection; using BDFramework.ResourceMgr; using BDFramework.UFlux.Collections; using BDFramework.UFlux.View.Props; using LitJson; using U...
using ETModel; namespace MyEditor { [Event(EventIdType.BehaviorTreeRunTreeEvent)] public class BehaviorTreeRunTreeEvent_ShowDebugInfo: AEvent<BehaviorTree> { public override void Run(BehaviorTree tree) { if (BTEditor.Instance.CurTreeGO == null) { return; } if (BTEditor.Instance.CurTreeGO.GetIns...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Traceless.Utils.IniConfig.Attribute { /// <summary> /// 表示 IniConfig 在序列化时将表示为键的特性 /// </summary> [Obsolete("该类型跟随 IniConvert 类型过期")] [AttributeUsage(AttributeTargets.Prope...
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using U_StudyingCommunity_Dream.Articles; namespace U_StudyingCommunity_Dream.EntityMapper.Comments { public class CommentCfg : IEntityTypeConfiguration<Comment> { public void Configure(EntityTypeBuilder<Comme...
// ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogenerat...
using System; namespace AwesomeCharts { public class SimpleValueFormatter : IValueFormatter { public string FormatAxisValue(float value, float min, float max) { int decimalPlaces = CalculateDecimalPlaces(Math.Abs(max-min)); return value.ToString("F"+decimalPlaces); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /*Problem 13. Solve tasks Write a program that can solve these tasks: Reverses the digits of a number Calculates the average of a sequence of integers Solves a linear equation a * x + b = 0 Create appr...