content
stringlengths
23
1.05M
using Lego.Ev3.Framework.Firmware; namespace Lego.Ev3.Framework { /// <summary> /// LEGO® MINDSTORMS® EV3 Brick Button /// </summary> public sealed class Button { /// <summary> /// Gets the type of the Button /// </summary> public ButtonType Type { get; } ...
using System.Text.Json.Serialization; using Newtonsoft.Json; namespace Wiz.Template.Domain.Models.Services { public class ViaCEP { public ViaCEP() { } public ViaCEP(string cep, string street, string streetFull, string uf) { CEP = cep; Street = street; ...
// Copyright (c) Drew Noakes and contributors. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System.Diagnostics.CodeAnalysis; namespace MetadataExtractor.Formats.Exif.Makernotes { /// <summary> /// Provides human-readable st...
using System; using System.Collections; using UnityEngine; using UnityEngine.XR.iOS; using UnityEngine.XR; namespace HoloKit { #if UNITY_ANDROID using UnityTango = GoogleAR.UnityNative; #endif public enum SeeThroughMode { Video = 0, HoloKit, } public class HoloKitCameraRigControl...
namespace CarPriceEstimator.DataGatherer.Models { public class Car { public string Make { get; set; } public string Model { get; set; } public string FuelType { get; set; } public string GearType { get; set; } public int HorsePower { get; set; } public int Range ...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Resources; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Baml2006; using System.Windows...
using Microsoft.AspNetCore.Components; using System; using System.Text; using System.Text.RegularExpressions; namespace ClassLibrary.Helpers { public static class HtmlHelper { /// <summary> /// Convert string into a HTML markup to show correctly in the page /// </summary> /// <...
using Microsoft.Extensions.Configuration; namespace ConsoleApp1 { public class AppConfig { static AppConfig Instance; public ConnectionStringsConfig ConnectionStrings { get; set; } public AppSettingsConfig AppSettings { get; set; } public AppConfig() { } p...
namespace Xendit.net.Model.Invoice { using System.Text.Json.Serialization; public class FeeInvoice { [JsonPropertyName("type")] public string Type { get; set; } [JsonPropertyName("value")] public long Value { get; set; } } }
namespace Dokt.Example.Services { public interface IService { string GetResult(int id); string PostContent(string content); } }
//----------------------------------------------------------------------- // <copyright file="SanityCheckingAnalysis.cs"> // Copyright (c) 2015 Pantazis Deligiannis (p.deligiannis@imperial.ac.uk) // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT ...
using Microsoft.VisualStudio.Text; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlowLinter { public static class FlowRunner { private static StringBuilder _sb = new StringBuilder(); privat...
using System; using System.Data; using System.Configuration; using System.Web; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Library_MS { public class Class1 { public static string GetRandomPassword(int length) { cha...
using System; using System.Collections; using System.Collections.Generic; using UGF.RuntimeTools.Runtime.Contexts; using Unity.Profiling; namespace UGF.Actions.Runtime { public abstract class ActionSystemBase : IActionSystem { public abstract int Count { get; } private readonly ProfilerMarker...
using System; using UnityEngine; namespace SleekRender { [CreateAssetMenu(menuName = "Sleek Render Settings")] [Serializable] public class SleekRenderSettings : ScriptableObject { [Header("Bloom")] public bool bloomExpanded = false; public bool bloomEnabled = true; publ...
using System; using System.Collections.Generic; using System.Linq; namespace MaxWithSelector { class MaxWithSelector { static void Main() { var stringList = new List<string> { "1", "88888888", "333", "22" }; //these two lines do the same int maxLength = str...
using System.Collections.Generic; using MyAlgorithms.Common; namespace MyAlgorithms.Sorting { public static class BubbleSorter { public static void BubbleSort<T>(this IList<T> collection, Comparer<T> comparer = null) { comparer = comparer ?? Comparer<T>.Default; collecti...
using System; namespace Chapter5 { class Code_5_8 { static void Main(string[] args) { int[] a = new int[] { 1, 2, 3 }; try { Console.WriteLine(a[5]); } catch (IndexOutOfRangeException ex) when (ex.Message == "Test Mess...
#if UNITY_EDITOR using UnityEditor; #endif using UnityEngine; namespace E7.NotchSolution { /// <summary> /// Editor only utility but in the runtime assembly, since some runtime stuff has editor-only /// code and it cannot reference editor assembly or we would have circular dependency. /// </summary> ...
 namespace Monofoxe.Engine.WindowsDX { public class TextInputBinderWindowsDX : ITextInputBinder { public void Init() { GameMgr.Game.Window.TextInput += Input.TextInput; } } }
using HandshakeClient.ViewModels; using System; using System.Threading.Tasks; using Xamarin.Forms; namespace HandshakeClient.Views { public partial class PostNewPage : ContentPage { #region Fields private Command saveButtonCommand; #endregion Fields #region Constructors public PostNewPage(...
using System.Security.Principal; using System.Threading.Tasks; using NServiceBus.Logging; using NServiceBus.MessageMutator; #region set-principal-from-header-mutator public class SetCurrentPrincipalBasedOnHeaderMutator : IMutateIncomingTransportMessages { static ILog log = LogManager.GetLogger("Handl...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class InverseKinematics : MonoBehaviour { public IKJoint[] ikjoints; public Transform target; const float sampleAngle = 1f; const float learnRate = 25f; const float distThreshold = 0.05f; [Range(0f, 2f)] public float di...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimpleGraphing { public class GraphFrameCollection : IEnumerable<GraphFrame>, IDisposable { List<GraphFrame> m_rgFrame = new List<GraphFrame>(); ...
namespace Caldast.AlgoLife.DesignPatterns.VisitorPattern { interface IEmployee { string Name { get; set; } double Income { get; set; } double VacationDays { get; set; } void Accept(IEmployeeVisitor visitor); } }
namespace ResXManager.Model { using JetBrains.Annotations; public interface IFileFilter { bool IsSourceFile([NotNull] ProjectFile file); bool IncludeFile([NotNull] ProjectFile file); } }
using System; using UnityEngine; using UnityEngine.Assertions; using Object = UnityEngine.Object; namespace JReact.Singleton { public sealed class J_SingletonInstance<T> where T : Object { private static T _instance; public static T GetUnsafe() => _instance; public static T Ge...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DontDestoryOnLoad : MonoBehaviour { void Start() { bool dontDestroy = true; foreach (GameObject obj in GameObject.FindGameObjectsWithTag("Music")) { if (obj.scene.name == "DontDestroyOnLoad") { // kill...
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; using EvitiContact.ContactModel; using AutoMapper; using EvitiContact.Service.RepositoryDB; using EvitiContact...
using System.Linq; using System.Threading; using System.Threading.Tasks; using GraphQL.DataLoader; using JRepo.Core; namespace JRepo.GraphQL { public class JRepoDataLoader<TKey, T> : IDataLoader<T>, IDataLoader<TKey, T> where T : IId<TKey> { private readonly IRepository<TKey, T> _repository; p...
using System; using System.Threading.Tasks; using NServiceBus; class Program { static async Task Main() { Console.Title = "Samples.AuditFilter"; var endpointConfiguration = new EndpointConfiguration("Samples.AuditFilter"); endpointConfiguration.UsePersistence<LearningPersis...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdobeSignNet.AdobeSign { /// <summary> /// Authorization Scope to get the authorization code /// https://secure.na1.echosign.com/public/static/oauthDoc.jsp#scopes /// </summary...
// <snippet1> using System; using System.Reflection; // Set an assembly attribute. [assembly:AssemblyTitleAttribute("A title example")] // Note that the suffix "Attribute" can be omitted: // [assembly:AssemblyTitle("A title example")] public class Test { public static void Main() { // Get the assembly...
using System.Linq; using Microsoft.AspNetCore.Mvc; using HETSAPI.Models; using HETSAPI.ViewModels; namespace HETSAPI.Services.Impl { /// <summary> /// City Service /// </summary> public class CityService : ICityService { private readonly DbAppContext _context; /// <summary> ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Security; using System.Text; using System.Threading.Tasks; namespace Yort.OnlineEftpos.Net40.Tests { [TestClass] public class SecureStringOnlineEf...
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Com.Tencent.MM.Sdk.Openapi; namespace androidWeChatExample { [Activity (Label = "androidWeChatExample", MainLauncher = true, Icon = "@drawable/icon")] public class MainA...
using HarmonyLib; using SpeedrunPractice.Extensions; namespace SpeedrunPractice.Patches { [HarmonyPatch(typeof(MainManager), "Start")] public class PatchMainManagerStart { static bool Prefix(PlayerControl __instance) { __instance.gameObject.AddComponent<MainManager_Ext>(); return true; ...
using System; using System.Diagnostics; using log4net; namespace HWI.Internal.Logging.log4net { public class Log4NetLogger : ILogger { private readonly ILog _logger; public Log4NetLogger(ILog logger) { _logger = logger; } [DebuggerStepThroug...
// // HttpBrowserCapabilitiesCas.cs // - CAS unit tests for System.Web.HttpBrowserCapabilities // // Author: // Sebastien Pouliot <sebastien@ximian.com> // // Copyright (C) 2005 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software a...
using System; using System.IO; using System.Linq; using System.Net; using System.Reflection; using System.Runtime.Loader; using System.Threading; using Arke.DependencyInjection; using Arke.IVR; using Arke.IVR.CallObjects; using Arke.SipEngine; using Arke.SipEngine.Api; using Arke.SipEngine.CallObjects; us...
// -------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERC...
@using DevTreks @using DevTreks.Models @using DevTreks.ViewModels.Account @using DevTreks.ViewModels.Manage @using Microsoft.AspNetCore.Identity @addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
using System; namespace O2.Services.Certificates.API.Models { public class CertificateViewModel { public long Id { get; set; } public string Name { get; set; } public int ShortNumber { get; set; } public string Serial { get; set; } public string Number { get; set; } ...
namespace Proffer.Storage.Configuration { /// <summary> /// Defines a store access level. /// </summary> public enum AccessLevel { /// <summary> /// No public access. /// </summary> Private = 0, /// <summary> /// Public files without listing. ...
// Copyright 2020 Cognite AS // SPDX-License-Identifier: Apache-2.0 using System.Collections.Generic; namespace CogniteSdk { /// <summary> /// Interface for classes that can be converted to query parameters. /// </summary> public interface IQueryParams { /// <summary> /// Convert t...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ScaleformUI.LobbyMenu { public class LobbyItem { internal int _type; private bool _enabled = true; private bool _selected; /// <summary> /// Whe...
using UnityEngine; using UnityEngine.UI; using System.Collections; [RequireComponent (typeof (Rigidbody))] public class PlayerController : MonoBehaviour { #region Properties public float speed; public string HorizontalKey = "Horizontal"; public string VerticalKey = "Vertical"; public string JumpKey = "Jump"; pu...
#region Using directives using System; using System.Text; #endregion namespace Microsoft.Practices.RecipeFramework { /// <summary> /// A step that causes the wizard to be finished inmediately. /// </summary> [System.ComponentModel.DesignerCategory("Code")] internal class FinishWizardStep : Service...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FluentCommands.Tests.Unit { public class InlineQueryTests { public class InlineQueryModule : CommandModule { //[InlineQuery("wow")] //public sta...
using SkyEditor.Core.IO; using System; using System.Collections.Generic; using System.Text; namespace SkyEditor.SaveEditor { /// <summary> /// Utility class to calculate checksums /// </summary> public class Checksums { public static uint Calculate32BitChecksum(BitBlock bits, int startInde...
using System; using System.Collections.Generic; using System.Text; namespace NewsApp.Services.Analytic { public interface IAnalyticService { void TrackEvent(string name, Dictionary<string, string> properties = null); } }
//----------------------------------------------// // Gamelogic Grids // // http://www.gamelogic.co.za // // Copyright (c) 2013 Gamelogic (Pty) Ltd // //----------------------------------------------// using UnityEngine; namespace Gamelogic.Grids { /** ...
using System.Collections.Generic; using WebMarkupMin.AspNet.Common.UrlMatchers; namespace WebMarkupMin.AspNet.Common { /// <summary> /// Base class of content processing manager /// </summary> public abstract class ContentProcessingManagerBase : IContentProcessingManager { /// <summary> /// Gets or sets a l...
using Minduca.Domain.Core.Events; using Minduca.Domain.Orders; using Minduca.Domain.Payments.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Minduca.Application.Orders.EventHandlers { public class PlaceOrderWhenPaidEventHandler ...
// Copyright (C) 2010 Steffen Rendle, Zeno Gantner // Copyright (C) 2011 Zeno Gantner // // This file is part of MyMediaLite. // // MyMediaLite is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version ...
using System; using System.Runtime.InteropServices; namespace Vlc.DotNet.Core.Interops.Signatures { /// <summary> /// Create and initialize a libvlc instance. /// </summary> /// <returns>Return the libvlc instance or NULL in case of error.</returns> [LibVlcFunction("libvlc_new")] [UnmanagedFun...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
using System; using System.Windows.Forms; using System.ComponentModel; namespace Keutmann.SharePointManager.Components { public class MenuStripRefresh : ContextMenuStripBase { public ToolStripItem RefreshItem; public MenuStripRefresh() { Init(); } public ...
namespace CoCAPI.Responses { public class Spell : Unit { } }
using System; using Tarantino.Core.Commons.Model; namespace RegressionTests { public class DataSelfDeletingOnDisposalContext :IDisposable { private readonly DataCreationHelper creationHelper; private readonly PersistentObject[] entities; public DataSelfDeletingOnDisposalConte...
namespace MarkDom.Dom.Styling { public class Bold : DomItem { public override bool IsBlockLevelElement => false; public Bold(MarkdownMatch match) : base(match) { } public override string ToHtml() { string childHtml = BuildChildHtml(); ...
using System.Runtime.InteropServices; using UnitsNet; using UnitsNet.Units; namespace Aether.Devices.Sensors { [StructLayout(LayoutKind.Auto)] internal readonly struct Measurement { private readonly double _value; private readonly int _unit; private readonly Measure _measure; ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WhatsappChatParser { public class Person : IComparable, IEquatable<Person> { private string name; private List<Message> sentMessages; ...
namespace OrchardCore.ContentManagement.GraphQL.Queries.Predicates { /// <summary> /// Represents the built-in <see cref="IPredicate" /> expressions used for building SQL expressions. /// </summary> /// <seealso cref="IPredicate" /> public class Expression { /// <summary>Constructs a new...
// **************************************************************** // Copyright 2007, Charlie Poole // This is free software licensed under the NUnit license. You may // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 // **************************************************************** using Sy...
using System; namespace TestFu.Grammars { /// <summary> /// A factory for <see cref="IProduction"/> instances. /// </summary> public interface IProductionFactory { /// <summary> /// Creates a new <see cref="IProduction"/> instance. /// </summary> /// <returns> /// A valid <see cref="IProduc...
using System; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using M...
#region LICENSE /* File modified by Ellis Spice, 2020 Original file created and released by PlayGen Ltd, 2018 */ #endregion using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace BUCK.LocalizationSystem { /// <inheritdoc /> /// <summary> /// Class for setting the t...
namespace Stumps { using NUnit.Framework; [TestFixture] public class HexExtensionMethodsTests { [Test] public void ToHexString_WithNull_ReturnsNull() { byte[] sample = null; var result = sample.ToHexString(); Assert.IsNull(result); } ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; namespace Notus.ViewModels { public class GoalFormModel { //public GoalFormModel() //{ // StartDate = DateTime.Now; // EndDate = DateTime.Now; //} ...
using FEZAutoScore.Model.Setting; using Reactive.Bindings; namespace FEZAutoScore.ViewModel { public class SettingDialogViewModel { public ReactiveProperty<AppSetting> AppSetting { get; } public ReactiveCommand RestoreDefaultCommand { get; } public SettingDialogViewModel(AppSetting se...
using UnityEngine; using System.Collections; namespace HemdemGames.EditorUtilities.Tools { internal static class BoundsUtility { public static Bounds CalculateBounds(GameObject gameObject) { var bounds = new Bounds(gameObject.transform.position, Vector3.zero); var rende...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; namespace WebApplication2.Code { [AttributeUsage(AttributeTargets.Property)] public class SearchViewModelAttribute : Attribute { }; [AttributeUsage(AttributeTargets.Property)] ...
using Egret.Areas.Inventory.Controllers; using Egret.DataAccess; using Egret.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using NSubstitute; using Xunit; namespace Egret.Tests.Controllers { [Trait("Name...
using System; using System.CodeDom; using System.Collections.Generic; using System.Linq; using System.Security; using System.Xml; using System.Xml.Linq; using System.Xml.Schema; using UblSharp.Generator.Extensions; namespace UblSharp.Generator.CodeFixers { public class UblDocumentationFixer : CodeNamespaceVisitor...
using BenchmarkDotNet.Running; using System; namespace CrossLibBenchmark { class Program { static void Main(string[] args) { //BenchmarkRunner.Run<BasicGeometry.Colinear2d>(); BenchmarkRunner.Run<Algo.PlyIntersect>(); } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ScreenScript : MonoBehaviour { private void Start() { //Screen.SetResolution((int)(1920 / 1.5), (int)(1080/1.5), false); //Screen.fullScreenMode = FullScreenMode.FullScreenWindow; } public void ...
 namespace DemoDI.Cases { public interface IGenericRepository<T> where T : class { void Adicionar(T obj); } public class GenericRepository<T> : IGenericRepository<T> where T : class { public void Adicionar(T obj) { // Faz algo } } }
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using GuiTester.TestAttributes; namespace GuiTester.SampleApp { /// <summary> /// A sample application to demonstrate the use of the GUITestHarness /// /// www.blackmarble.co.uk ///...
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; namespace SharedText.NETStandard { public sealed class Utf16SharedStringBuilder { private const int defaultCapacity = 16; private Utf16SharedChar[] values; public int Capacity { ...
namespace SynologyClient { public class Addtional { public string real_path { get; set; } public Owner owner { get; set; } public Time time { get; set; } public SharedFolderPerm perm { get; set; } public string mount_point_type { get; set; } } }
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Iface.Oik.Tm.Helpers; using Iface.Oik.Tm.Interfaces; using Microsoft.Extensions.Hosting; namespace ConsoleApp { public class ServerService : CommonServerService, IHostedService { } public class TmStartup : IHoste...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics; using System.Runtime.InteropServices; namespace System.Security.Cryptography { public sealed class SafeEvpPKeyHandle : SafeHandle { ...
using Business.Abstract; using Core.Utilities.Results; using DataAccess.Abstract; using Entities.Concrete; using System; using System.Collections.Generic; using System.Text; namespace Business.Concrete { public class CategoryManager : ICategoryService { ICategoryDal _categoryDal; public Categ...
using System; using Xunit; using RepeatedWord; namespace RepeatedWordTest { public class UnitTest1 { /// <summary> /// Testing that a repeated word is returned /// </summary> /// <param name="input"></param> [Theory] [InlineData("hi")] [InlineData("yes")]...
using System; using System.Collections.Generic; using System.Linq; namespace StartLauncher.PersistentSettings.LaunchProfiles { public class LaunchProfileManager { private readonly Settings _settings; public LaunchProfileManager(Settings settings) { _settings = settings; ...
using Anf.ChannelModel.Mongo; using System.Threading.Tasks; namespace Anf.ResourceFetcher.Fetchers { public interface IBatchResourceFinder { Task<AnfComicEntityTruck[]> FetchEntityAsync(IResourceFetchContext[] context); Task<WithPageChapter[]> FetchChapterAsync(IResourceFetchContext[] context)...
using System; namespace Epsilon.Logic.Infrastructure.Primitives { public class Frequency { public int Times { get; private set; } public TimeSpan Period { get; set; } public Frequency(int times, TimeSpan period) { Times = times; Period = per...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Windows.Storage; namespace FFImageLoading.Cache { /// <summary> /// This class optimizes the call to "StorageFile.GetFileFromPathAsync" that is time consuming. /// The source of each image is the key of the cache... once a...
namespace BusTickets.App.Commands { using System; using System.Linq; using System.Text; using BusTickets.App.Commands.Abstractions; using BusTickets.Data; public class PrintInfoCommand : Command { private const string StationNotFoundExceptionMessage = "Does not exist a Bus Station ...
using UnityEngine; using System.Collections; public class Boundary : MonoBehaviour { /*void OnTriggerEnter2D (Collider2D other) { OnTriggerExit2D (other); }*/ protected int dam = -1; protected void OnTriggerExit2D (Collider2D other) { if (other.tag == "Bullet") { Bullet bullet = other.gameObject.GetComp...
using System; using System.IO; using YiSA.Foundation.Common; namespace YiSA.Foundation.Logging { public class ApplicationLogger : CompositeLogger { private static readonly string AppData = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); public ApplicationLogger(s...
using Microsoft.Azure.Functions.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection; using HotChocolate; using HotChocolate.AspNetCore; using DotNet.GraphQL.CosmosDB.Types; [assembly: FunctionsStartup(typeof(DotNet.GraphQL.CosmosDB.Startup))] namespace DotNet.GraphQL.CosmosDB { public c...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using UnityEngine; using WeaverCore.Implementations; using static WeaverCore.PlayerInput; namespace WeaverCore.Editor.Implementations { class E_HeroController_INTERNAL_INPUTMAN...
using ServiceBus.Distributed.Events; using System.Threading; using System.Threading.Tasks; namespace ServiceBus.Distributed.Subscriptions { internal interface IEventSubscription { Task StartAsync(IHandleEvent handler, CancellationToken cancellationToken); Task StopAsync(CancellationToken cance...
using System.Collections.Generic; namespace BeatTogether.Status.Api.Models { public record UserMessage(List<LocalizedMessage> localizedMessages); }
using System.Net; namespace OSS.Clients.Pay.Wechat { public readonly struct HttpResponseDetail { public HttpResponseDetail(string reqId, HttpStatusCode statusCode, bool isSuccessStatusCode, string serial_num, string body, string signature, ...
using System; namespace TargetType1 { internal enum FoodGroups { Meat, Vegetables, Fruit, Grain, Dairy } internal class MyFavorteFoods { internal int Rank { get; set; } internal string Name { get; set; } internal FoodGroups Group { g...
using System; using System.Collections.Generic; using System.CommandLine; using System.CommandLine.IO; using System.IO; using System.Linq; using System.Threading.Tasks; namespace Affected.Cli { internal class OutputFormatterExecutor : IOutputFormatterExecutor { private readonly IEnumerable<IOutputForm...