text
stringlengths
1
932k
using System; using System.Collections.Generic; using FirstOneTo.Helpers; using FirstOneTo.ReadModel.Infrastructure; using Nancy; using Nancy.Authentication.Token; using Nancy.Security; namespace FirstOneTo.Authentication.Service { public class AuthenticationService : IAuthenticationService { private ...
// <copyright file="PoliciesScenarios.cs" company="Okta, Inc"> // Copyright (c) 2014 - present Okta, Inc. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. // </copyright> using System; using System.Collections.Generic; using System.L...
// TODO: have a better way to define this.... #if UNITY_IPHONE #define MANUALEVENT #else #define INTERLOCKED #endif using System; using System.Collections.Generic; using System.Threading; namespace Cybtans.Services.Utils { public class InterlockedFastEvent : IFastEvent { protected int counter = 0; ...
using System.Text.Json; using System.Text.Json.Serialization; namespace FunctionalRecords.Serialization.Json; internal class ResultConverterFactory : JsonConverterFactory { private readonly Type[] _supportedGenTypes = new[] { typeof(Result<>), typeof(Result<,>) }; public override boo...
using System.Collections.Generic; using System.IO; using System; using System.Linq; #if DEBUG && !TOOLBOX_ESSENTIALS using NUnit.Framework; #endif namespace Toolbox.IO { public static class Paths { #region Path public static string appendPath(this string path, string another) { return Path.Combine(path,...
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2016 Ingo Herbote * http://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * dist...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("UWP.Specs")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("UWP.Specs")] [assembly: AssemblyCopyright("C...
/* * 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.Text; using System.IO; namespace ExcelLibrary.BinaryFileFormat { public partial class BOOLERR : CellValue { public object GetValue() { if (ValueType == 0) // Boolean value { return Value == 1; ...
// Port of Flambe classes. // Flambe - Rapid game development // https://github.com/aduros/flambe/blob/master/LICENSE.txt using UnityEngine; namespace Bombe { /// <summary> /// Represents a unit of execution that is called over time. /// </summary> public interface IAction { /// <summary> ...
//----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //----------------------------------------------------------------------- using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namesp...
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
using Abp.Application.Services.Dto; namespace IdentityServerWithEfCoreDemo.MultiTenancy.Dto { public class PagedTenantResultRequestDto : PagedResultRequestDto { public string Keyword { get; set; } public bool? IsActive { get; set; } } }
using UnityEditor; using UnityEngine; namespace ScriptableObjectFramework.Editor { [CustomPropertyDrawer(typeof(IntEvent))] [CustomPropertyDrawer(typeof(FloatEvent))] [CustomPropertyDrawer(typeof(BoolEvent))] [CustomPropertyDrawer(typeof(StringEvent))] [CustomPropertyDrawer(typeof(Vector3Event))] ...
#nullable enable using Robust.Client.AutoGenerated; using Robust.Client.UserInterface.CustomControls; using Robust.Client.UserInterface.XAML; using Robust.Shared.GameObjects; using static Robust.Client.UserInterface.Controls.BaseButton; namespace Content.Client.Ghost.Roles.UI { [GenerateTypedNameReferences] p...
using Rocketcress.Core.Attributes; using System; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.ExceptionServices; #if !SLIM using Microsoft.VisualStudio.TestTools.UnitTesting; #endif #nullable disable namespace Rocketcress.Core.Base { /// <summary> /// Base class ...
using System; using UnityEngine; using VRMShaders; namespace UniGLTF { public static class TextureSamplerUtil { #region FilterMode // MagFilter は 2種類だけ public static glFilter ExportMagFilter(Texture2D texture) { switch (texture.filterMode) { ...
using System.Diagnostics.CodeAnalysis; using Content.Shared.Examine; using Content.Shared.Stacks; using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robust.Shared.Localization; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.Serialization.TypeSerial...
using CodeForDotNet.Xml; using System; namespace CodeForDotNet.Drawing { /// <summary> /// Font data, disconnected from any API dependencies, useful for future proof serialization and cross-platform. /// </summary> public class FontData : ICloneable { #region Public Constructors /// <summary> /// Creates a...
using UnityEngine; using UnityEditor; using System.Collections; [CustomEditor(typeof(PixelArtCamera))] public class PixelArtCameraEditor : Editor { SerializedProperty pixels; SerializedProperty pixelsPerUnit; SerializedProperty smooth; SerializedProperty forceSquarePixels; SerializedProperty screenResolution; ...
// Originally submitted to OSEHRA 2/21/2017 by DSS, Inc. // Authored by DSS, Inc. 2014-2017 using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using VA.Gov.Artemis.Vista.Commands; using VA.Gov.Artemis.Vista.Broker; using VA.Gov.Artemis.Commands.Xus; using VA.Gov.Artem...
// 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; using System.Globalization; using System.Linq; using System.Threading.Tasks; using Windows.Application...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SG.Checkouts_Overview.Test { [TestClass] public class TestDisksScannerFilesystem { [TestMethod] public voi...
namespace SenserProj { partial class SenserForm { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace TinyRobotsTools.Migrations { public partial class AddIdentity : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "AspNetRoles", ...
/* MIT License Copyright (c) 2016 Ingemar Parra H. 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 Aoc.Year2019.Day15 { public enum StatusCodes { WallHit = 0, Moved = 1, OxygenFound = 2 } }
using System.Text.Json.Serialization; using Newtonsoft.Json; namespace Core.Arango.Protocol.Internal { internal class QueryRequestOptions { [JsonPropertyName("fullCount")] [JsonProperty(PropertyName = "fullCount", NullValueHandling = NullValueHandling.Ignore)] [System.Text.Json.Seriali...
// 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 Silk.NET.Core.Attributes; #pragma warning disable 1591 namespace Silk.NET.Direct3D12 { [Flags] [NativeName("Name", "D3D12_AXIS_SHADING_RATE")] publ...
using Mirror; using Steamworks; using UnityEngine; public sealed class MainMenu : MonoBehaviour { [SerializeField] private AudioManager audioManager; [SerializeField] private GameObject landingPagePanel; private Callback<LobbyCreated_t> lobbyCreated; private Callback<GameLobbyJoinRequested_t> gameLobb...
using System.Web; using System.Web.Mvc; namespace BasicMvc { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
//------------------------------------------------------------ // Game Framework v3.x // Copyright © 2013-2017 Jiang Yin. All rights reserved. // Homepage: http://gameframework.cn/ // Feedback: mailto:jiangyin@gameframework.cn //------------------------------------------------------------ namespace GameFramework.Reso...
namespace Acedia { public interface IValueAccumulator { T GetAccumulatedValue<T>(); void ApplyAccumulation(); } }
using System.Collections.Generic; namespace ZzServer.Battle { /// <summary> /// 暂时未用到 /// </summary> [hzyBattleBase] public class SkillObjCollision : SkillCollision { public SkillObjCollision(SkillObj_Collision self, SkillVector3 v) : this(self, null, v) { } public SkillObjCollision(SkillObj_Collision ...
namespace Autodesk.VltInvSrv.iLogicSampleJob { partial class iLogicJobAdminForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace FS.Abp.JobsManagement { public class Startup { public void ConfigureServices(IServiceCollection services) { ...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Obi{ /** * Holds information about distance constraints for an actor. */ [DisallowMultipleComponent] public class ObiDistanceConstraints : ObiBatchedConstraints { [Tooltip("Scale of stretching ...
using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; using NadekoBot.Core.Services.Database.Models; using NadekoBot.Extensions; using System; using Microsoft.EntityFrameworkCore.Design; using Microsoft.Data.Sqlite; using System.IO; namespace NadekoBot.Core.Services.Database { ...
using System; namespace WordPress2Jekyll.ConsoleApp { public static class PostHelper { public static string GetPostType(dynamic post) { var type = post.Type; var name = post.Name; var content = post.Content.ToLowerInvariant(); if (name.StartsWith...
using System; using System.Collections.Generic; using System.Diagnostics.Tracing; using System.Fabric; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.ServiceFabric.Services.Runtime; namespace SvcFabricDinnerDemo.RestaurantService { [EventSource(Name = "MyCompany-SvcFabricDinne...
using System; namespace DefiningClasses { class StartUp { static char[][] room; static void Main() { int n = int.Parse(Console.ReadLine()); room = new char[n][]; for (int row = 0; row < n; row++) { var input = Console.Rea...
/* * 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 ...
using System; namespace SugarRest.Model { public class Team { public string id { get; set; } public string name { get; set; } public string name_2 { get; set; } public bool? primary { get; set; } } }
/* * 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 UnityEngine; using Antares.Vizio.Runtime; using System.Security.Cryptography; using System; using System.Text; [VisualLogicBlock("AES Encrypt", "Smart Blocks/Encryption")] public class AES_EncryptNode : LogicBlock { [Parameter(VariableType.In, typeof(string))] public Variable Text; [Parameter(VariableType.I...
using static GoodTimeStudio.OneMinecraftLauncher.WPF.CoreManager; using MahApps.Metro.Controls.Dialogs; 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.Window...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BulletMovement : MonoBehaviour { private float speed_x, speed_y; public Transform bulletSpawnLocation; public float Speed_X { get { return speed_x; } set { speed_x = value; } ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Buffers.Binary; using System.Diagnostics; using System.IO; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using Sy...
//--------------------------------------------------------------------------------------------------------- // ▽ Submarine Mirage Framework for Unity // Copyright (c) 2020 夢想海の水底より(from Seabed of Reverie) // Released under the MIT License : // https://github.com/FromSeabedOfReverie/SubmarineMirageFrameworkForUnity/...
using Newtonsoft.Json; using SerchingAPI.Model; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace SerchingAPI { public class Search { public static async Task SearchMoviesAsync(string apiKey, string lang, string query) ...
// ------------------------------------- // Domain : Avariceonline.com // Author : Nicholas Ventimiglia // Product : Unity3d Foundation // Published : 2015 // ------------------------------------- using Foundation.Databinding.View; using UnityEngine; using UnityEngine.UI; namespace Foundation.Databinding.Comp...
using AutoMapper; using Equinox.Application.ViewModels; using Equinox.Domain.Dto; using Equinox.Domain.Models; using System.Collections.Generic; namespace Equinox.Application.AutoMapper { public class DomainToViewModelMappingProfile : Profile { public DomainToViewModelMappingProfile() { ...
using System; using System.ComponentModel.DataAnnotations; #pragma warning disable 1591 /*XML Doc String Warning*/ namespace legendary_garbanzo.DTOs { public class CategoryRead { [Key] [Required] public Guid ProviderId { get; set; } [Key] [Required] pu...
using UnityEngine; using Dreamteck.Splines; namespace Dreamteck.Forever { public class WavyPathGenerator : HighLevelPathGenerator { public float angle = 45f; public float turnRate = 0f; public Vector3 turnAxis = Vector3.up; private float currentAngle = 0f; private bool ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Character.Health; using Core.Services; using KlimLib.SignalBus; using UnityDI; using UnityEngine; using UnityEngine.UI; public class CharacterHealthBar : MonoBehaviour { [Dependency] private readonly SignalBus _s...
#region head comment /* Code generate by JdSdkTool. 2013-12-21 15:53:11.94258 +08:00 */ #endregion using System; using System.Xml.Serialization; using System.Collections.Generic; using Newtonsoft.Json; using JdSdk.Domain; namespace JdSdk.Response { /// <summary> /// 更新商家自定义店内分类 Response /// </summary> ...
 @{ ViewBag.Title = "Systemadministration"; } <h2>Was alles repariert werden muss</h2> <div class="row"> <div class="col-md-4"> <div class="panel panel-default"> <div class="panel-heading"> <h4>Alle von Export auf WI 5 TEC G1 umhängen</h4> </div> <di...
// --------------------------------------------------------------------------------- // <copyright file="UserWalletOverride.cs" company="https://github.com/sant0ro/Yupi"> // Copyright (c) 2016 ${CopyrightHolder} // </copyright> // <license> // Permission is hereby granted, free of charge, to any person obtaining a...
// 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.Runtime.InteropServices; namespace System.Windows.Forms { /// <summary> /// Provides data fo...
using System; using MFiles.VAF.Common; using MFilesAPI; namespace MFiles.VAF.Extensions { /// <summary> /// Extension methods for the <see cref="MFSearchBuilder"/> class. /// </summary> // ReSharper disable once InconsistentNaming public static partial class MFSearchBuilderExtensionMethods { /// <summary> /...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LightDamage : MonoBehaviour { private void OnTriggerStay2D(Collider2D collision) { if (collision.tag == "Enemy") { Ghost ghost = collision.GetComponent<Ghost>(); ghost.GetHurt(Tim...
using System; using System.Net.Mail; using System.Net; namespace MarkdownMailer { internal interface ISmtpClient : IDisposable { ICredentialsByHost Credentials { get; set; } SmtpDeliveryMethod DeliveryMethod { get; set; } bool EnableSsl { get; set; } string Host { get; set; } ...
using System.Reflection; namespace PulsarModLoader.Content.Components.Extractor { public abstract class ExtractorMod : ComponentModBase { public ExtractorMod() { } public virtual float Stability { get { return 1f; } } public override string Ge...
using Microsoft.EntityFrameworkCore.Migrations; namespace Docker.Benchmarking.Orchestrator.Infrastrcture.Migrations { public partial class VMSizetoAzureandAWSCloudTemplates : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<int>...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; using System.Threading; using System.Threading.Tasks; namespace Microsoft.CodeAnalysis.Sarif { public interface IConsoleCapture { str...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Surging.Cloud.AutoMapper; using Surging.Cloud.CPlatform.Runtime.Session; using Surging.Cloud.Dapper.Repositories; using Surging.Cloud.Domain.PagedAndSorted; using Surging.Cloud.Domain.PagedAndSorted.Extensions; using...
// *** 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 UnityEngine; using System.Collections; using System; using Sdk.Core.Listeners; namespace Sdk.Core.Models.Connectivity.Chat { public class UserLeftMessage : ChatMessage { public String UserId { get; set; } public String GroupId { get; set; } override public void OnMessageReceived(BacktoryListener bac...
using AutoMapper; using Microting.DigitalOceanBase.Infrastructure.Api.Clients; using Microting.DigitalOceanBase.Infrastructure.Data; using Microting.DigitalOceanBase.Infrastructure.Data.Entities; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Thread...
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace EntrySwell.Droid { [Activity(Label = "EntrySwell", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges....
#region CONFIRE SHERLOCK CONSOLE - Copyright (C) 2015 STÜBER SYSTEMS GmbH /* * CONFIRE SHERLOCK CONSOLE * * Copyright (C) 2015 STÜBER SYSTEMS GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ...
using System.Collections.Generic; using VASS = VisioAutomation.ShapeSheet; using IVisio = Microsoft.Office.Interop.Visio; namespace VisioAutomation.Pages { public class PageLayoutCells : VASS.CellGroups.CellGroup { public VASS.CellValueLiteral AvenueSizeX { get; set; } public VASS.CellValueLite...
using MxNet; using System; using System.Collections.Generic; using System.Text; namespace MxNet.GluonCV.Data { public class KeyPointDataset : VisionDataset { public KeyPointDataset(string root) : base(root) { throw new NotImplementedException(); } public override (...
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Nucleo.EventsManagement { [TestClass] public class EventsManagerTest { protected class TestEvent : BaseEvent { public bool WasInitialized { get; set; } publ...
using Pathoschild.Stardew.Common.Integrations.Automate; using Pathoschild.Stardew.Common.Integrations.BetterJunimos; using Pathoschild.Stardew.Common.Integrations.BetterSprinklers; using Pathoschild.Stardew.Common.Integrations.Cobalt; using Pathoschild.Stardew.Common.Integrations.PelicanFiber; using Pathoschild.Stardew...
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json.Linq; using NUnit.Framework; using Urchin.Server.Shared.DataContracts; using Urchin.Server.Shared.Interfaces; using Urchin.Server.Shared.Rules; using Urchin.Server.Shared.TypeMappings; namespace Urchin.Server.Tests { [TestFix...
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/winnt.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System....
using System.Runtime.Serialization; namespace SignServiceExample.Settings { public enum NetworkType { [EnumMember(Value = "test")] Test, [EnumMember(Value = "main")] Main } }
 using Microsoft.AspNetCore.Mvc; namespace Chat { [ApiController] public class ContosoApplicationController { IChatAdminThreadStore _store; public ContosoApplicationController(IChatAdminThreadStore store) { _store = store; } /// <summary> /// ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class ControleCarro : MonoBehaviour { [HideInInspector] public bool Habilitado = false; [SerializeField] private float _forcaDeMovimento; [SerializeField] private float _f...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; namespace Nest { public interface IPrivilegesActions { /// <s...
using System.Net.Http.Headers; using AngleSharp; using AngleSharp.Html.Dom; using AngleSharp.Io; namespace BizStream.AspNetCore.ViewComponentAssets.Tests.Abstractions { public static class HtmlHelpers { public static async Task<IHtmlElement?> GetElementAsync( HttpResponseMessage response, Cancellation...
/* * 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 SleepMonitor.Models; using System.Linq; namespace SleepMonitor.Services { public static class BreathServiceExtensions { /// <summary> /// 初始化-处理原始数据 /// </summary> /// <param name="service">呼吸服务</param> /// <param name="model">呼吸数据</param> /// <returns></r...
using System.Configuration; using Rebus.Bus; using Rebus.Configuration; using Rebus.Logging; using Rebus.Transports; using ConfigurationException = Rebus.Configuration.ConfigurationException; namespace Rebus.RabbitMQ { public static class RabbitMqConfigurationExtensions { static ILog log; ...
/* ------------------- Code Monkey ------------------- Thank you for downloading this package I hope you find it useful in your projects If you have any questions let me know Cheers! unitycodemonkey.com -------------------------------------------------- */ using System; usin...
// 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. #nullable disable using System.ComponentModel; using System.Diagnostics; namespace System.Windows.Forms { // M...
namespace Microcharts.Layouts { public enum LabelMode { None, LeftAndRight, RightOnly, } public enum GraphPosition { AutoFill, Center, } }
using System; namespace _06.CalculateTriangleArea { class CalculateTriangleArea { static void Main(string[] args) { var width = double.Parse(Console.ReadLine()); var height = double.Parse(Console.ReadLine()); Console.WriteLine($"{GetTriangleArea(width, height...
using System; using System.Collections.Generic; using System.Linq; namespace Marten.AnalyzerTool.Infrastructure { internal static class EnumerableExtensions { public static IEnumerable<T> DistinctBy<T, TKey>(this IEnumerable<T> items, Func<T, TKey> property) { return items.GroupBy(property).Select(x => x.Fir...
using Alabo.Datas.Sql.Queries.Builders.Abstractions; namespace Alabo.Datas.Sql.Queries.Builders.Conditions { /// <summary> /// Sql小于查询条件 /// </summary> public class LessCondition : ICondition { /// <summary> /// 左操作数 /// </summary> private readonly string _lef...
// 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. #if NETSTANDARD2_0 namespace System.Diagnostics.CodeAnalysis; /// <summary> /// Specifies that when a method retur...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.Management.ResourceManager; using Microsoft.Azure.Management.ResourceManager.Models; using Microsoft.Azure.Management.Sql; using Microsoft....
using CaptureManagerToCSharpProxy.Interfaces; 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.Input; using System.Wind...
using Charter.Data; using Charter.Models; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace Charter.Controllers { public class WeatherController : Controller { pr...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SSIDenyRecord.cs" company="Jan-Cornelius Molnar"> // The MIT License (MIT) // // Copyright (c) 2015 Jan-Cornelius Molnar // // Permission is hereby granted, free of charge, to an...
/* 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 Autofac; namespace Newbe.Mahua { /// <summary> /// 设置中心接口 /// </summary> public interface IMahuaAdministration { /// <summary> /// 打开设置中心 /// </summary> /// <param name="lifetimeScope"></param> void Show(ILifetimeScope lifetimeScope); } }
using System; using System.Collections.Generic; using System.Linq; namespace DependencyInjectionContainer.ExtensionMethodForTypeClass { public static class ExtensionMethod { public static bool IsAssignableFromGeneric(this Type type, Type t) { if (!type.IsGenericTypeDefinition || !t...
using GameSharp.Core; using GameSharp.Core.Memory; using GameSharp.Core.Module; using GameSharp.Core.Native.Enums; using GameSharp.Core.Native.PInvoke; using GameSharp.Core.Native.Structs; using GameSharp.External.Helpers; using GameSharp.External.Memory; using GameSharp.External.Module; using System; using System.Col...