content
stringlengths
23
1.05M
namespace StyleChecker { using Microsoft.CodeAnalysis; /// <summary> /// Provides utility methods for <c>ISymbol</c>s. /// </summary> public static class Symbols { /// <summary> /// Gets whether the specified symbols are equal. /// </summary> /// <param name="s1"...
using System.Net; using System.Threading.Tasks; using NSubstitute; using Xunit; namespace Nanophone.Core.Tests { public class DnsHelperShould { [Fact] public async Task GetIpv4AddressAsync() { var address = await DnsHelper.GetIpAddressAsync(new DnsHostEntryProvider()); ...
using System.Collections.Generic; using System.Linq; using Naif.Blog.Models; namespace Naif.Blog.Services { public class FileTagRepository : ITagRepository { private readonly IPostRepository _postRepository; public FileTagRepository(IPostRepository postRepository) { _postRe...
#nullable disable namespace PasPasPas.Typings.Serialization { internal partial class TypeReader { public T ReadTag<T>(T tag) where T : Tag { var kind = ReadUint(); tag.ReadData(kind, this); if (tag.Kind != kind) throw new TypeReaderWriteException(); ...
using RandomMediaPlayer.Core.Displayers; namespace RandomMediaPlayer.Actions { public interface IAutoAction { IAutoAction Register(IDisplayer displayer); IAutoAction Unregister(); } }
using DisruptorNetRedis.Networking; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace DisruptorNetRedis.DisruptorRedis { internal class RingBufferSlot { // populated by Translator public ClientSession Session = null; public List<byte[]> Data; ...
using UnityEngine; public class CameraControl : MonoBehaviour { public GameObject target; public Vector3 initialCameraPosition = new Vector3(0, 0, -1000); public float rotateSpeed = 10f; public float translateSpeed = 50f; public float scaleSpeed = 10f; private float scale = 1f; void Sta...
using System; using UnityEngine; public class RightPanel : MonoBehaviour { public UIScrollView rightScrollView; public UIGrid rightGrid; public GameObject getAwardBtn; public GameObject haveGet; public GameObject skip; public GameObject time; public UILabel actityTime; public UILabel actitAwardType; p...
using System; using System.Collections.Generic; using System.Linq; namespace DotCore.Core { public interface IIdentifiable { ulong Id { get; } } public interface IIdentified { uint Id { get; } } }
using PatchesAndAreasApi.V1.Domain; using PatchesAndAreasApi.V1.Infrastructure; namespace PatchesAndAreasApi.V1.Factories { public static class EntityFactory { public static PatchEntity ToDomain(this PatchesDb databaseEntity) { return new PatchEntity { I...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Abp; using Abp.Application.Services; using Abp.Domain.Repositories; using Abp.AutoMapper; using System.Linq; using Abp.Authorization; using Abp.Localization; using Abp.Application.Services.Dto; using Abp.Configuratio...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PZModels; namespace ApplicationServices { interface IPZService { List<Restaurant> GetAllRestaurants(); List<Review> GetAllReviews(); Restaurant GetRestaurantById(in...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Ocean : MonoBehaviour { MeshFilter myMeshFilter; Vector3[] vertices; Color[] colors; bool[] ignore; List<Collider> myBoatColliders; const float FoamReductionRate = 0.05f; private void Awake() ...
using Havit.Blazor.Components.Web.Infrastructure; using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Havit.Blazor.Components.Web.Bootstrap { /// <summary> /// Displays the conten...
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* NonCloseableStreamReader.cs -- non-closeable stream reader * Ars Magna project, http://arsmagna.ru * ----------------------------------------------------...
using System.Runtime.CompilerServices; using System.Reflection; [assembly: AssemblyTitle("GGQL Core")]
namespace AMA.SchoolManagementSystem.Services { using AMA.SchoolManagementSystem.Data.Contracts; using AMA.SchoolManagementSystem.Data.Model; using AMA.SchoolManagementSystem.Services.Contracts; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using lm.Comol.Core.DomainModel; using lm.Comol.Core.BaseModules.NoticeBoard.Business; using lm.Comol.Core.BaseModules.NoticeBoard.Domain; using lm.Comol.Core.Business; using lm.Comol.Core.BaseModules.Editor; using lm.Comol.Core.Base...
using System.Diagnostics; // Segment counts const int ZERO_COUNT = 6; // 0, 6, 9 const int ONE_COUNT = 2; const int THREE_COUNT = 5; // 2, 3, 5 const int FOUR_COUNT = 4; const int SEVEN_COUNT = 3; const int EIGHT_COUNT = 7; static int P1(IEnumerable<string> lines) { return lines.Select(s => s.Split('|')[1].Split...
using EmailDaemon.Auth; using EmailDaemon.EmailDatabase; using EmailDaemon.Graph; using System; using System.Threading; namespace EmailDaemon { /// <summary> /// Program which syncs microsoft outlook email using Microsoft Graph and saves the results /// using EFCore. /// </summary> class Program ...
namespace Resonance.Data.Models { public enum Role { Administrator = 0, Playback = 1, Settings = 2, Download = 3 } }
using System; using System.Collections.Generic; using System.Threading.Tasks; using EventSourcing.Poc.EventSourcing.Jobs; using EventSourcing.Poc.EventSourcing.Wrapper; using EventSourcing.Poc.Messages; using JetBrains.Annotations; namespace EventSourcing.Poc.EventSourcing.Command { public interface ICommandDispa...
using System; namespace Bytewizer.TinyCLR.DigitalPortal { public static class DateTimeExtensions { //public static int ToUnixTimestamp(this DateTime date) //{ // return (int)Math.Truncate(date.ToUniversalTime().Subtract(new DateTime(1970, 1, 1)).TotalSeconds); //} /...
using System.ComponentModel.DataAnnotations; namespace Forum.Backend.Web.Endpoints.AccountEndpoints { public class LoginRequest { public const string Route = "/Accounts"; [Required] public string Email { get; set; } [Required] public string Password { get; set; } }...
namespace NaftanRailway.UnitTests.SOLID { using System; internal class MicroAccount : Account { // Preconditions - conditions can't be able to stressed by subclass. // Subclasses can't make additional conditional, than in base class. public override void SetCapital(int money) ...
using ChocolArm64.Instruction; using ChocolArm64.Memory; using ChocolArm64.State; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Reflection.Emit; namespace ChocolArm64.Decoder { static class ADecoder { private delegate object OpActivator(AInst Inst, lo...
using UnityEngine; public class Push : Effect { public Push(Entity target, GoalDirection direction, int distance = 1) { name = "push"; entity = target; var directionVector = GlobalHelper.GetVectorForDirection(direction); for (var i = 0; i < distance; i++) { ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PalvelutoriModel.Search { public class TilausData { [JsonProperty("aika")] public Aika Aika { get; set; } [JsonProperty("paiva")] p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static System.Console; using System.IO; namespace Importer { public class LeveeList { #region Notes // Created By: $username$ // Created Date: $time$ #endre...
//<unit_header> //---------------------------------------------------------------- // // Martin Korneffel: IT Beratung/Softwareentwicklung // Stuttgart, den 4.4.2017 // // Projekt.......: KeplerBI.MVC // Name..........: CfgLengthRng.cs // Aufgabe/Fkt...: Model für Konfiguration von Längenbereichen // ...
using System; namespace desafio_3 { class Desafio { static void Main() { const int totalConvidados = 5; int[] convidados = {300, 1500, 600, 1000, 150}; int total = 225; for (int i = 0; i < totalConvidados; i++) { total...
using DateModel; using Microsoft.EntityFrameworkCore; using OperateService.Iservice; using PlatData; using PlatData.SysTable; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace OperateService.Service { /// <s...
using System; using System.Collections.Generic; using System.Linq; using QuranX.Persistence.Models; using QuranX.Persistence.Services.Repositories; using QuranX.Shared.Models; using QuranX.Web.Models; namespace QuranX.Web.Factories { public interface ICommentariesForVerseFactory { CommentariesForVerse Create(int ...
using System.Diagnostics.CodeAnalysis; using HarmonyLib; using SolastaCommunityExpansion.CustomDefinitions; namespace SolastaCommunityExpansion.Patches.Insertion; internal static class RulesetCharacterPatcher { [HarmonyPatch(typeof(RulesetCharacter), "IsSubjectToAttackOfOpportunity")] [SuppressMessage("Minor...
using System.Collections.Generic; using Sfa.Tl.Matching.Data.UnitTests.Repositories.Constants; namespace Sfa.Tl.Matching.Data.UnitTests.Repositories.EmailHistory.Builders { public class ValidEmailHistoryListBuilder { public IList<Domain.Models.EmailHistory> Build() => new List<Domain.Models.EmailHisto...
// Copyright (c) 2017 Leacme (http://leac.me). View LICENSE.md for more information. using System.Collections.Generic; using Avalonia; using Avalonia.Controls; using Avalonia.Media; using Avalonia.Threading; using Leacme.Lib.Laugger; namespace Leacme.App.Laugger { public class AppUI { private StackPanel rootPan =...
using System; using System.Runtime.InteropServices; using SAM.API.Types; namespace SAM.API.Wrappers { public class SteamClient018 : NativeWrapper<ISteamClient018> { #region GetSteamUser012 public SteamUser012 GetSteamUser012(int user, int pipe) { return GetISteamUser<SteamUser012>...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using WProject.UiLibrary.Interfaces; using WProject.UiLibrary.Style; using WProject.UiLibrary.Theme; namespace WProject.UiLibrary.Controls { public class WpButton : Butto...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Video; public class timer : MonoBehaviour { public Text timerText; private float startTime; public float gameTime = 60f; public playerHealth ph; public gameManager gm; public b...
using System; using System.Collections.Generic; namespace MyDotNetCoreProject { public class Program { public unsafe static void Main(string[] args) { //可简写为delegate*<int, void>,但delegate* unmanaged<int, void>不可简写 delegate* managed<int, void> action = &Foo; ...
// <copyright file="TestReflection.cs" company="Google Inc."> // Copyright (C) 2019 Google Inc. 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. // You may obtain a copy of the License at // // http://www.a...
using System.Net.Sockets; namespace NetRpc.Common.Secruity { public interface IKeyStore<T> { byte[] Get(T client); } }
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Budget.Users.Domain.WriteModel.Events; using Budget.Users.Domain.WriteModel.Repositories; using Budget.Users.MongoDbAdapters.Entities; using MongoDB.Driver; using MongoDB.Bson.Serialization; namespace Budget.U...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Emgu.Util; using System.Runtime.InteropServices; namespace Emgu.CV.OpenCL { public class OclInfo { private IntPtr _ptr; internal OclInfo(IntPtr ptr) { _ptr = ptr; } public String P...
using System.Collections.Generic; namespace PubActiveSubService.Internals.Interfaces { public interface IChannelPersisitance { string[] LookupSubscriberUrlsByChanneNamel(string channelName, params string[] internalUrls); void PostChannelName(string channelName); IEnumerable<Models.Channel>...
using Pandora.NetStdLibrary.Base.Interfaces; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Pandora.NetStandard.Model.Entities { [Table("SubjectAssingments", Schema = "School")] public class SubjectAssingment : TrackedEntity { ...
using System.Collections.Generic; using System.Linq; using Apocryph.Ipfs.Fake; using Apocryph.Ipfs.MerkleTree; using Xunit; namespace Apocryph.Ipfs.Test { public class MerkleTreeTests { class Example { public int Number { get; set; } public override bool Equals(object? ...
namespace CityBreaks.Models { public class Booking { public DateTime StartDate { get; set; } public DateTime EndDate { get; set; } public int NumberOfGuests { get; set; } public decimal DayRate { get; set; } } }
using Verse; namespace HumanResources { public class CompShootingArea : ThingComp { private bool pending = true; private CellRect _rangeArea; public CellRect RangeArea { get { if (pending) { _rangeArea ...
//****************************************** // Copyright (C) 2014-2015 Charles Nurse * // * // Licensed under MIT License * // (see included LICENSE) * // * // ***************************************** usi...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using TgBotPillar.Bot.Input.Configuration; using TgBotPillar.Core.Interfaces; using TgBotPillar.Core.Model; using TgBotPillar...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; using YamlDotNet.Core; using YamlDotNet.Serialization; namespace Microsoft.Atlas.CommandLine.Serialization { public class ByteArrayConverter : IYamlTypeConverter { public bool Accepts(Type typ...
using static pmcenter.Conf; namespace pmcenter { public static partial class Methods { public static void BanUser(long uid) { if (!IsBanned(uid)) { var banned = new BanObj { UID = uid }; ...
using System; #if !NET4 using System.Threading.Tasks; #endif using MyMapper.Extensions; namespace MyMapper.Converters { /// <summary> /// EntityConverter : Converts an entity to another entity /// </summary> /// <typeparam name="TSource">The source entity</typeparam> /// <typeparam name="TDestinat...
// Copyright (C) 2003-2010 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: Denis Krjuchkov // Created: 2009.05.13 using System; using System.Linq.Expressions; using System.Runtime.Serialization; using Xtensive.Linq.SerializableExpressions.Internals; name...
using System; using System.Collections.Generic; using System.Text; using RawRabbit.Configuration; namespace MessageBus.Rabbit { public class RabbitMqOptions : RawRabbitConfiguration { } }
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bitrix24RestApiClient.Api.Crm.Invoices.OldInvoices.Models { /// <summary> /// Если клиент - компания, могут быть указаны ключи (все значения типа string): /...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace MiniMiner { class PantallaDeBienvenida { private SpriteFont fuente; private GestorDePantallas gestor; private byte[,] fondo = ...
using EDAutomate.Utilities; using OpenQA.Selenium; using Xunit; namespace EDAutomate.UnitTests { public class MiningSearchService_Tests : WebDriverTestsBase { [Theory] [InlineData(Constants.MiningBenitoiteButtonXPath)] [InlineData(Constants.MiningVoidOpalButtonXPath)] [InlineDa...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Xml.Linq; using NDesk.Options; using SongList; using Utility; namespace AutoLoad { static class Program { static void Main(string[] args) { ...
namespace Phoenix.Infrastructure.Native { using System.Collections.Generic; public class DevModeComparer : IEqualityComparer<DevMode> { public bool Equals(DevMode x, DevMode y) { return x.PelsWidth == y.PelsWidth && x.PelsHeight == y.PelsHeight && x.BitsPerPel == y.BitsPerPel; } ...
// Cristian Pop - https://boxophobic.com/ using UnityEngine; namespace Boxophobic.StyledGUI { public class StyledRangeOptions : PropertyAttribute { public string display; public float min; public float max; public string[] options; public StyledRangeOptio...
using System.Net.Mime; using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using NHSD.BuyingCatalogue.Capabilities.API.ViewModels; using NHSD.BuyingCatalogue.Capabilities.Contracts; namespace NHSD.BuyingCatalogue.Capabilities.API { /// <summary> /// Pr...
using System.Collections.Generic; namespace RePKG.Core.Texture { public interface ITexImage { IList<ITexMipmap> Mipmaps { get; } ITexMipmap FirstMipmap { get; } }; }
using FluentValidation.Validators; using PhoneNumbers; namespace BlueBoard.Module.Common.Validation { public class PhoneValidator : PropertyValidator { private readonly PhoneNumberUtil util; public PhoneValidator() : base("{PropertyName} must be valid phone number.") { ...
using MZXRM.PSS.Connector.Database; using MZXRM.PSS.Data; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; namespace MZXRM.PSS....
namespace VanillaStub.Helpers.Services.StreamLibrary.src { public unsafe class MurmurHash2Unsafe { private const uint m = 0x5bd1e995; private const int r = 24; public uint Hash(byte* data, int length) { if (length == 0) return 0; uint h =...
using System; namespace FpML.V5r3.Confirmation { public static class StepHelper { public static Step Create(DateTime stepDate, decimal stepValue) { var step = new Step {stepDate = stepDate, stepValue = stepValue}; return step; } public static Step Crea...
using Apizr.Mediation.Cruding.Base; using MediatR; namespace Apizr.Mediation.Cruding { public class DeleteCommand<T, TKey, TResponse> : DeleteCommandBase<T, TKey, TResponse> { public DeleteCommand(TKey key) : base(key) { } } public class DeleteCommand<T, TKey> : DeleteCommandB...
namespace WordsManagement.AudioReactiveComponents { public interface ISoundUpdated { void SoundUpdate(); } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Enemy_AI_Turtle : MonoBehaviour { public int attackDamage; Animator anim; Transform enemy; GameObject player; EnemyHealth enemyHe...
/* Original source Farseer Physics Engine: * Copyright (c) 2014 Ian Qvist, http://farseerphysics.codeplex.com * Microsoft Permissive License (Ms-PL) v1.1 */ using System.Collections.Generic; using Microsoft.Xna.Framework; namespace tainicom.Aether.Physics2D.Fluids { public class FluidParticle { pu...
// Copyright (c) Daniel Crenna & Contributors. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace ExternalTestAssembly { public static class AnonymousTypeFactory { public static object Foo() { return new {Foo = "Foo"}...
// // Copyright (c) 2002-2019 Mirko Matytschak // (www.netdataobjects.de) // // Author: Mirko Matytschak // // 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, incl...
using Autofac; using NSubstitute; using OpenTracker.Models.Markings; using OpenTracker.Models.UndoRedo.Markings; using Xunit; namespace OpenTracker.UnitTests.Models.Markings { public class MarkingTests { private readonly IChangeMarking.Factory _changeMarkingFactory = (_, _) => Substitute.For<IChangeMar...
using DotJEM.Json.Validation.Rules; namespace DotJEM.Json.Validation.Results { public class RuleResult : Result { public override bool IsValid => Result.IsValid; public Rule Rule { get; } public Result Result { get; } public RuleResult(Rule rule, Result result) { ...
using Gibe.Navigation.Umbraco.Filters; using Gibe.Navigation.Umbraco.NodeTypes; using Umbraco.Core; using Umbraco.Core.Composing; namespace Gibe.Navigation.Umbraco.Composers { public class GibeNavigationComposer : IUserComposer { public void Compose(Composition composition) { composition.Register<INavigation...
using Secure.SecurityDoors.Data.Enums; using System; namespace Secure.SecurityDoors.Logic.Models { /// <summary> /// DoorAction data transfer object. /// </summary> public class DoorActionDto { /// <summary> /// Identifier. /// </summary> public int Id { get; set; }...
using System; using System.Collections.Generic; using System.Linq; using NodaTime; using RulesDoer.Core.Expressions.FEEL.Eval; using RulesDoer.Core.Types; using RulesDoer.Core.Utils; namespace RulesDoer.Core.Runtime.Context { //TODO: move this to type namespace public class Variable : IComparable<Variable> { ...
// ----------------------------------------------------------------- // <copyright file="MapExtensions.cs" company="2Dudes"> // Copyright (c) | Jose L. Nunez de Caceres et al. // https://linkedin.com/in/nunezdecaceres // // All Rights Reserved. // // Licensed under the MIT License. See LICENSE in the project root for ...
using System.Collections.Generic; using System.Threading.Tasks; using EasyAbp.AbpHelper.Gui.Solutions.Dtos; using JetBrains.Annotations; using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Services; namespace EasyAbp.AbpHelper.Gui.Solutions { public interface ISolutionAppService : IApplicationService ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using ServerlessMicroservices.Models; using ServerlessMicroservices.Shared.Helpers; namespace ServerlessMicroservices.Shared.Services { public class ChangeNotifierService : IChangeNotifierService { public const string LOG_TA...
using System.Collections.Generic; using Bing.Datas.Sql.Builders.Core; namespace Bing.Datas.Sql.Builders { /// <summary> /// 联合操作访问器 /// </summary> public interface IUnionAccessor { /// <summary> /// 是否包含联合操作 /// </summary> bool IsUnion { get; } /// <summary...
using UnityEngine; public class Racket : MonoBehaviour { private Rigidbody2D _racketRigid ; [SerializeField] private float speed = 10.0f; private Vector3 _startPos; private Vector2 _startVel; private float _startrot; public float getRacketAngularVelocity() { return _racketRigid.an...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UI_controller : MonoBehaviour { [SerializeField] CageView cageView; [SerializeField] Param param; public int boidCount = 100; public InputField inputBoidNumField; ...
using System; using System.Drawing; using System.Drawing.Drawing2D; namespace Paint { public class Settings { private static Settings _instance; private Settings() { } public static Settings GetInstance() { if (_instance == null) _instance = new Settings...
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Diagnostics.HealthChecks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Microsoft.AspNetC...
namespace Unosquare.Net { using System; /// <summary> /// Represents an HTTP Listener's exception. /// </summary> public class HttpListenerException : Exception { internal HttpListenerException(int errorCode, string message) : base(message) { ErrorCode ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IconifyXamarin.Typicons { public class TypiconsIcons : IIcon { public const char typcn_adjust_brightness = '\ue000'; public const char typcn_adjust_contrast = '\ue001'; public const char typc...
using System; using UnityEngine; using DarkRoom.Core; namespace DarkRoom.Game { /// <summary> /// mvc中的view, 作为视图方面的总代理, 在具体继承中会持有各个comp的引用 /// 自身带有移动功能, 默认我们提供基于手柄的输入移动--类似于unreal的default pawn提供的基于FPS的移动 /// /// Pawn本身表示的是一个“能动”的概念,重点在于“能”。而Controller代表的是动到“哪里”的概念,重点在于“方向”。所以如果是一些 /// Pawn本身固有的能力逻辑,如前进后退、播放动画、...
using System; using System.Collections.Generic; using System.Linq; using Semver; namespace DotnetProjectDependenciesAnalyser.Domain { public class ProjectsDependencies { private readonly List<ProjectDependencies> _projectsDependencies; internal ProjectsDependencies() { _pr...
using System; using System.Data.Entity.Design.PluralizationServices; using System.Globalization; using System.Threading; namespace DynamicLinqPadPostgreSqlDriver.Extensions { internal static class StringExtensions { private static readonly PluralizationService _pluralizationService = PluralizationService....
/* * Your rights to use code governed by this license https://github.com/AlexWan/OsEngine/blob/master/LICENSE * Ваши права на использование кода регулируются данной лицензией http://o-s-a.net/doc/license_simple_engine.pdf */ using System.Windows; using System.ComponentModel; using OsEngine.Entity; using OsEngine.La...
using System; using System.Security.Cryptography; namespace WORLD.Sharp { class XorShift { // XorShift128+ // see: http://xorshift.di.unimi.it/xorshift128plus.c ulong stage0 = 0x8a5cd789635d2dffUL; ulong stage1 = 0x121fd2155c472f96UL; public XorShift() ...
using System; using System.Globalization; using BizHawk.Emulation.Common; namespace BizHawk.Client.Common { /// <summary> /// This class holds a converter for BizHawk SystemId (which is a simple <see cref="string"/> /// It allows you to convert it to a <see cref="CoreSystem"/> value and vice versa /// ...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; namespace CSharpGL { /// <summary> /// This class wraps the functionality of the wglUseFontBitmaps function to /// allow straightforward rendering of text. /// </summary> internal class FontBitmaps { ...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using Ultraviolet.Core; using Ultraviolet.Core.Data; using Ultraviolet.Presentation.Animations; using Ultraviolet.Presentation.Uvss; using Ultraviolet.Presentation.Uvss.Syntax; namespace Ultraviolet.Present...
// Copyright (c) 2020 Sergio Aquilini // This code is licensed under MIT license (see LICENSE file for details) using System; using Confluent.Kafka; using FluentAssertions; using Silverback.Messaging; using Silverback.Messaging.Configuration.Kafka; using Silverback.Messaging.Serialization; using Xunit; namespace Sil...
using System.Threading.Tasks; using Chameleon.Core.ViewModels; using MvvmCross.Navigation; using MvvmCross.ViewModels; namespace Chameleon.Core { public class AppStart : MvxAppStart { public AppStart(IMvxApplication application, IMvxNavigationService navigationService) : base(application, navigationSe...
using System; using XLua.LuaDLL; using XLuaTest; namespace XLua.CSObjectWrap { public class XLuaTestFooExtensionWrap { public static void __Register(IntPtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); Type typeFromHandle = typeof(FooExtension); Utils.BeginObjectRegister(typ...