content
stringlengths
23
1.05M
using System; using System.Drawing; using System.Windows.Forms; using EugenePetrenko.Core.FormGenerator.Layout; namespace EugenePetrenko.Core.FormGenerator.Dialog { public partial class DialogForm : Form { private readonly IDialogModel myModel; public DialogForm() { InitializeCompo...
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www....
namespace YoFi.Data.Identity { public class AdminUserConfig { public const string Section = "AdminUser"; public string Email { get; set; } public string Password { get; set; } } }
using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; using LogServer.Core.Interfaces; using LogServer.Core.Models; using LogServer.Infrastructure; using System; namespace Benchmarks { class Program { static void Main(string[] args) { BenchmarkRunner.Run<EventStoreBenchM...
// SpatialPriority.cs // Copyright Karel Kroeze, 2018-2018 namespace SpatialPriority { public enum SpatialPriority { VeryLow , Low , Normal , Important , Critical } }
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Microsoft.OData.Service.Sample.Northwind.Models { public partial c...
namespace Persistence.Repositories { using Application.Interfaces.Repositories; using Domain.Entities; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; public class UserEfRepository : IUserRepository { priva...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Microsoft.Practices.Prism.Commands; using ProductMonitor.Utility; using System.Windows; namespace ProductMonitor.Desktop.ViewModel { public class RegisterViewMode...
using MeleeMedia.Audio; using System; using System.Windows.Forms; namespace mexTool.GUI.Controls { public partial class MXSsmEditor : UserControl { /// <summary> /// /// </summary> public event EventHandler PlayDsp; protected void OnPlayDsp(EventArgs e) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HoodAid.Models { public class User { public long Id { get; set; } public string Vorname { get; set; } public string Nachname { get; set; } public string Plz { get; set; }...
namespace ErsatzTV.FFmpeg.Format; public class PixelFormatUnknown : IPixelFormat { public string Name => "unknown"; public string FFmpegName => "unknown"; }
using DotNetty.Buffers; using System.Diagnostics; namespace OpenClassic.Server.Networking.Rscd { internal class DepositBankItemPacketHandler : IPacketHandler { public int Opcode => 198; public void Handle(ISession session, IByteBuffer packet) { Debug.Assert(session != null...
using Raven.Client.Indexes; using System.Linq; namespace KasselDotNet.RavenDB { public class EmployeeIndex : AbstractIndexCreationTask<Employee> { public class Result { public string Name { get; set; } public int Year { get; set; } public string Town { get; set;...
using Microsoft.Extensions.FileProviders; using System; using System.IO; namespace AspNetCoreExt.Extensions.FileProviders.Zip.Internal { internal class ZipDirectoryInfo : IFileInfo { internal ZipDirectoryInfo(string name, DateTimeOffset lastModified) { Name = name; Last...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using WebAPIStarterTemplate.Core; using WebAPIStarterTemplate.Core.Models; using WebAPIStarterTemplate.Core.Services; namespace WebAPIStarterTemplate.Services.Services { public class UserService : IUserService { ...
namespace PiControlPanel.Domain.Contracts.Application { using System.Threading.Tasks; /// <summary> /// Application layer service that contains common logic for services. /// </summary> /// <typeparam name="T">The model generic type parameter.</typeparam> public interface IBaseService<T> {...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using FlatRedBall.Arrow.GlueView; using FlatRedBall.Glue; using FlatRedBall.Content.Math.Geometry; using FlatRedBall.Content.Scene; using FlatRedBall.Math.Geometry; using ArrowDataConversion; using Flat...
namespace VeterinaryClinic.Data.Models.Enumerations { public enum RoleName { Owner = 1, Vet = 2, } }
using Homer.Models.Interfaces; using System; using System.Collections.Generic; using System.Security.Claims; using System.Text; using System.Threading.Tasks; namespace Homer.Authorization.Interfaces { public interface IResourceBasedAuthService { Task<bool> AuthorizeAsync<T>(ClaimsPrincipal user, T res...
using Framework.Settings; using NUnit.Framework; using OpenEdge; using OpenQA.Selenium; using OpenQA.Selenium.Interactions; using System.Threading; namespace Tests { public class HelpTests : ProwinTest { private Prowin prowin; [SetUp] public void Setup() { var setti...
namespace MvvmCross.iOS.Views.Presenters { public enum MvxTransitionType { None, FlipFromLeft, FlipFromRight, FlipFromTop, FlipFromBottom, CurlUp, CurlDown, CrossDissolve, Fade, PushFromLeft, PushFromRight, PushFrom...
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading.Tasks; using DigitalOwl.Repository.Entity; using DigitalOwl.Repository.Interface.Base; namespace DigitalOwl.Repository.Interface { /// <summary> /// Interface to GroupRepository /// </summary> public ...
// ------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation // 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 co...
// 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; namespace Microsoft.AspNetCore.Razor.Language { internal class DefaultRazorCodeGenerationOptionsBuilder : RazorCodeGenerationOptionsB...
using System.Collections.Generic; using System.Linq; namespace Griffin.Data { public class Table { public List<Column> Columns; public string Name; public string Schema; public bool IsView; public string CleanName; public string ClassName; p...
using Dir.Ex.Prototypes; using System; using System.IO; namespace Dir.Ex.Results { public class FileResult : IFileActionResult<string>, IDisposable { private static object locker = new object(); private Lazy<StreamWriter> fileStream; protected FileInfo OutputFile { get; private set; ...
using JustBehave; using JustSaying.Messaging; using NSubstitute; using NUnit.Framework; namespace JustSaying.UnitTests.JustSayingBus { public class WhenRegisteringSubscribers : GivenAServiceBus { private INotificationSubscriber _subscriber1; private INotificationSubscriber _subscriber2; ...
//----------------------------------------------------------------------------- // Torque // Copyright GarageGames, LLC 2011 //----------------------------------------------------------------------------- singleton CubemapData( BlankSkyCubemap ) { cubeFace[0] = "./skybox_1"; cubeFace[1] = "./skybox_2"; cubeFa...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Mixer.Chat.Models { public class WsWelcomeEvent { [JsonProperty("server")] public String Server { get; set; } } public class WsUserJoinEvent { [JsonProperty("originatingChan...
using System.Threading.Tasks; using Bartender; namespace CoreApplication.Domain.Personne.Read { public class GetPersonQueryHandler : IAsyncHandler<GetPersonQuery, GetPersonReadModel> { public async Task<GetPersonReadModel> HandleAsync(GetPersonQuery message) => await Task.Ru...
using System; using Datatent.Core.Pages; using Datatent.Shared.Services; namespace Datatent.Core.Service.Compression { public class UncompressedCompressionService : ICompressionService { private static readonly Guid IDENTIFIER = Guid.Parse("572C93E1-BB1C-472C-90E2-3EBD0FF42ABE"); publ...
var myRef = (string?)"1234"; myRef.ShouldNotBeNull().Length.ShouldBe(5);
using System; using System.Collections.Generic; namespace EasyAbp.EShop.Products.Products { [Serializable] public class ProductEto : IProduct { public Guid Id { get; set; } public string ProductGroupName { get; set; } public Guid ProductDetailId { get; set; } ...
using uTinyRipper.Converters; using uTinyRipper.YAML; namespace uTinyRipper.Classes { public sealed class CircleCollider2D : Collider2D { public CircleCollider2D(AssetInfo assetInfo): base(assetInfo) { } public static int ToSerializedVersion(Version version) { if (version.IsGreaterEqual(5)) { ...
using System; namespace AppStore.Infra.Data.Integration.Gateway { internal class CreateSaleResponse { public Guid InstantBuyKey { get; internal set; } public string TransactionReference { get; internal set; } } }
using System.Collections.Specialized; namespace DataContainer.Utils { public class CollectionChangedListener { private readonly INotifyCollectionChanged _source; public CollectionChangedListener(INotifyCollectionChanged source) { _source = source; _source.Coll...
// // Author: // Aaron Bockover <abock@xamarin.com> // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace Xamarin.Interactive.SystemInfo...
using System; using IBApi; namespace IB.CSharpApiClient.Events { public class SymbolSamplesEventArgs : EventArgs { public SymbolSamplesEventArgs(int reqId, ContractDescription[] contractDescriptions) { ReqId = reqId; ContractDescriptions = contractDescriptions; ...
namespace GTVariable { [System.Serializable] public class ReadOnlyBoolVariable : ReadOnlyVariable<BoolVariable, bool> { public ReadOnlyBoolVariable(BoolVariable variable) : base(variable) { } } }
using System.Collections; using System.Collections.Generic; using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif namespace PixLi { [CreateAssetMenu(fileName = "s Collocutor", menuName = "Storytelling/Collocutor")] public class Collocutor : ScriptableObject { [SerializeField] private string _profileNam...
namespace QFramework { public class AudioMsgWithNode : QMsg { public IAction Node; public AudioMsgWithNode(IAction node) : base((int) AudioEvent.PlayNode) { Node = node; } } }
using TMPro; using UnityEngine; using UnityEngine.UI; public class UIPanel : UIHover { public RectTransform PanelBase { get; private set; } public Button closeButton; public TMP_Text titleText; public bool hideOnStart = true; public bool hideOnBlur = true; public bool hideInEditor = false; public event System...
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace SignalRCRUD.Models { public class Products { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int ProductId { get; set; } public string ProductName { ge...
using System.IO; using System.Threading.Tasks; using Base; using static Server.RemoteClient; namespace Server { public interface IPacket { int Id { get; } ConnectionState DesiredState { get; } bool Clientbound { get; } Task Read(Stream stream, RemoteClient client); ...
using System; class Foo<T> { public void Hello () { Console.WriteLine(this.GetType() + "...Hello"); } public void World (T t) { Console.WriteLine(this.GetType() + "...World"); Hello (); } } // // This is some kind of a `recursive' declaration: // // Note that we're using the class we're currently defini...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LineVisualizer : MonoBehaviour { private RayPerception2D perception2D; private float[] angles; private List<Vector3> obsPositions; private LineRenderer lines; // Use this for initialization void Start () { perception...
using System; using FluentNHibernate.Mapping; using WpfApp1.entidades; namespace WpfApp1.mapeo { public class RegionMap:ClassMap<Region> { public RegionMap() { Id(c => c.idRegion); Map(c => c.parteExplorada); Table("Region"); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Xml.Linq; namespace WebApplication1.App_Code { public class Token : System.Web.UI.Page { public class RequestObject { private string...
using System.Diagnostics; using Xunit; using StoryTeller.Remotes.Messaging; using StoryTeller.Samples.Fixtures; namespace StoryTeller.Testing { public class json_serialization_of_fixture_model { [Fact] public void smoke_test_of_fixture_model_serialization() { var fixtu...
using System.Collections.Generic; namespace MoBot.Core.GameData.Items { public class ItemTool : Item { public float Effectivness = 1.0f; public HashSet<string> ToolClasses; public int[] ClassLevels; public override bool CanHarvest(Block block) { return Tool...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Actors; using Common.Events; namespace SwarmActor.Interfaces { public interface ISwarmActor : IActor, IActorEventPublisher<ISwarmActorEvents> { Task Ad...
using System; using System.Collections.Generic; using System.Linq; using EZNEW.Develop.Command; using EZNEW.Develop.Command.Modify; using EZNEW.Develop.CQuery; namespace EZNEW.Develop.UnitOfWork { public class EmptyActivationRecord : IActivationRecord { private EmptyActivationRecord(){ } publ...
@{ Script.Require("jQuery"); Style.Include("wishlists.nwazet-commerce.css", "wishlists.nwazet-commerce.min.css"); var productId = (int)Model.ProductId; var creationShapes = (IEnumerable<dynamic>)Model.CreationShapes; } @using (Html.BeginFormAntiForgeryPost( Url.Action("Create", "WishL...
using Firestorm.Fluent.IntegrationTests.Models; namespace Firestorm.Fluent.IntegrationTests.Contexts { public class AutoRootFluentContext : ApiContext { public AutoRootFluentContext() { } public ApiRoot<Player> Players { get; set; } public ApiRoot<Team> Teams { get; se...
using UISleuth.Reflection; namespace UISleuth.Widgets { public class UIPropertyRef : IShallowClone<UIPropertyRef> { public string PropertyName { get; set; } public UIPropertyRef Parent { get; set; } public int? EnumerableIndex { get; set; } public bool IsEnumerable { get; set; ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DataLayerCore.Model { public partial class LEVEL_BACKUP_ACET_QUESTIONS { public int question_id { get; set; } public int New_Question_Set_Id...
using System.Net; using System.Net.Mail; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft.Extensions.Configuration; namespace AspApiSample.API.Services { public class EmailSender : IEmailSender { private readonly string _fromMail; private readonly s...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Amazon; using Amazon.DynamoDBv2; using Amazon.DynamoDBv2.DataModel; using Pollster.CommonCode; namespace Pollster.PollFeed { public class PollFetcher { static PollFetcher _instance; public...
public class ModDrawPlayers : ClientMod { public ModDrawPlayers() { one = 1; } public override void OnNewFrameDraw3d(Game game, float deltaTime) { DrawPlayers(game, deltaTime); } float one; internal void DrawPlayers(Game game, float dt) { game.totaltimeMilliseconds = game.platform.TimeMillisecondsFrom...
namespace Picker { using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; internal sealed class MotherboardListPresenter : ListPresenter<MotherboardListView, M...
using System.Collections.Generic; using System.Runtime.Serialization; namespace DaaSDemo.KubeClient.Models { [DataContract] public class VoyagerIngressSpecV1Beta1 { [DataMember(Name = "tls", EmitDefaultValue = false)] public List<IngressTLSV1Beta1> Tls { get; set; } [DataMember(Nam...
using System; using System.IO; using System.Text; namespace KASM { public class BytecodeWriter : IDisposable { private readonly BinaryWriter _writer; public BytecodeWriter(Stream stream) { _writer = new BinaryWriter(stream); _writer.Write(Encoding.ASCII.GetByte...
using GeoAPI.Geometries; using NetTopologySuite.Geometries; namespace NetTopologySuite.Operation.Predicate { /// <summary> /// Optimized implementation of spatial predicate "contains" /// for cases where the first <c>Geometry</c> is a rectangle. /// As a further optimization, /// this class can be ...
namespace AbstractFactory { public class CreditUnionFactoryProvider { public static ICreditUnionFactory GetCreditUnionFactory(string accountNo) { if (accountNo.Contains("CITI")) return new CitiCreditUnionFactory(); else if (accountNo.Contains("NATIONAL")) return new Nati...
using System; using System.Text; namespace Rockyfi.Expr { class Variable : Identifier { public Variable(string name) : base(name) { } public override string ToString() { return "variable." + this.Name; } internal override Res...
using System; using System.Data; namespace CSharpStandardLibrary.Extensions { public static class DataRecordExtentions { public static T GetValueWithDbNullNormalization<T>(this IDataRecord row, string columnName) { if (Convert.IsDBNull(row[columnName])) return defau...
using System.Collections.Generic; using Obvs.Types; namespace Obvs.MessageProperties { public class RequestPropertyProvider : IMessagePropertyProvider<IRequest> { public IEnumerable<KeyValuePair<string, object>> GetProperties(IRequest request) { return new List<KeyValuePair<string, ...
using System.Windows.Forms; namespace Piksel.Graphics.ColourPicker.Utilities { public static class MouseEventArgsExtensions { public static MouseEventArgs Translated(this MouseEventArgs e, Control control) { var transPos = control.PointToClient(e.Location); return new M...
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace BountyRush.PackageManagerServices { public class AsyncOperationBase<TResult> { #region Properties public bool IsDone { get; private set; } public TResult Result { get; private...
using UnityEditor; namespace PiRhoSoft.MonsterMaker { [CustomEditor(typeof(BranchOnBool))] public class BranchOnBoolEditor : BranchInstructionEditor { private SerializedProperty _true; private SerializedProperty _false; protected override void OnEnable() { base.OnEnable(); _true = serializedObject....
using System; using Unity.Entities; using Unity.Mathematics; using UnityEngine; using UnityEngine.Profiling; public class CharacterMoveQuery : MonoBehaviour { [Serializable] public struct Settings { public float slopeLimit; public float stepOffset; public float skinWidth; p...
using System; namespace App.Security.Authorization.Model { public class Role { public Guid Id { get;set; } } }
using System; using System.Collections.Generic; using System.Text; using Fleck; namespace HonorServer { class WebSocketClient { private IWebSocketConnection connection; private GameObject playerObject; public WebSocketClient(IWebSocketConnection connection) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Text; namespace Zyan.Communication.Toolbox { /// <summary> /// Extension methods for the <see cref="Exception"/> class. /// </summary> public static class Except...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace zmq_step2 { public static class Jonsole { private static int interactiveLeft = 0; private static int interactiveTop = 3; private static int maximumFeed = 19; ...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.FileProviders; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.H...
using Arbor.App.Extensions.Messaging; using Milou.Deployer.Web.Agent; using Serilog.Events; namespace Milou.Deployer.Web.Core.Agents.Events { public class DeploymentTaskLogged : IEvent { public DeploymentTaskLogged(string deploymentTaskId, DeploymentTargetId deploymentTargetId, ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; #nullable disable namespace Banco_Api_Entity.Models { public partial class Conta { public int CodConta { get; set; } [Required (ErrorMessage ="O campo agencia deve ser preenchido")] p...
using System.Net; using System.Threading.Tasks; using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc; using DotifyV2.Application.Collections.Interfaces; using DotifyV2.Presentation.Models; using DotifyV2.Presentation.Exceptions; using DotifyV2.Presentation.Filters; using DotifyV2.Present...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using Microsoft.Coyote.Actors; namespace Microsoft.Coyote.Performance.Tests.Actors.StateMachines { // [MemoryDiagnoser, ThreadingDiagnoser] [MinColumn, MaxColumn, MeanCol...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license information. namespace Microsoft.Marketplace.SaaS.SDK.Services.Contracts { using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Marketp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OnixData.Version3 { /// <remarks/> [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)] public partial class OnixSubject { #region CONSTANTS publi...
namespace Shared.BusinessLogic.Services.Account { using System; using Data; public interface IManageDeleteEntityService : IDisposable { /// <summary> /// Gets or sets the CRM service. /// </summary> /// <value>The CRM service object instance.</value> ICrmServic...
using Acme.BookStore.Authors; using Acme.BookStore.Books; using Acme.BookStore.Localization; using Acme.BookStore.Permissions; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; us...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Fabric.Authorization.API.Constants; using Fabric.Authorization.API.Models; using Fabric.Authorization.API.Models.Search; using Fabric.Authorization.API.RemoteServices.Identity.Models; us...
using System.Collections.ObjectModel; using System.Windows; using System.Windows.Forms; using DeltaEngine.Content; using DeltaEngine.Datatypes; using DeltaEngine.Editor.Core; using DeltaEngine.Extensions; using DeltaEngine.GameLogic; using DeltaEngine.Rendering3D.Cameras; using DeltaEngine.Rendering3D.Shapes;...
namespace Deployer.Core.Scripting.MicroParser { public class Assignment { public string Identifier { get; } public object Value { get; } public Assignment(string identifier, object value) { Identifier = identifier; Value = value; } } }
using System; using Xamarin.Forms; namespace XamarinForms.QbChat { public class WrapLabel : Label { public WrapLabel () { } } }
#region using System; using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Controls; using LegendaryClient.Controls; using LegendaryClient.Logic; using LegendaryClient.Logic.SQLite; using LegendaryClient.Properties; using PVPNetConnect.RiotObjects.Platform.Catalog.Champion; ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; using PPTail; using TestHelperExtensions; namespace PPTail.Test { [System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage] public class StringExtensions_ParseArguments_Should { [Fact] ...
using System.Collections.Generic; namespace Amazon.Integration.Models { public class NotificationResponse { public bool IsValid { get; set; } public IList<string> Errors = new List<string>(); } }
using System; namespace CSDemos { public class RunMe { [STAThread] public static void Main() { Mainxx.CsOutput.CsOutput output = new Mainxx.CsOutput.CsOutput(typeof(RunMe)); output.Run(); } } }
using iBestRead.Abp.Ldap.Options; using Microsoft.Extensions.Options; using Shouldly; using Volo.Abp; using Volo.Abp.Testing; using Xunit; namespace iBestRead.Abp.Ldap { public class LdapUserManager_Tests : AbpIntegratedTest<LdapTestModule> { protected override void SetAbpApplicationCreationOptions(Ab...
using BurningKnight.assets.particle.custom; using BurningKnight.state; using BurningKnight.util; using Lens.assets; using Lens.entity; using Lens.lightJson; using Lens.util; namespace BurningKnight.entity.item.use { public class ScourgeUse : ItemUse { private int amount; public override void Use(Entity entity,...
// Enum generated by TankLibHelper.EnumBuilder // ReSharper disable All namespace TankLib.STU.Types.Enums { [STUEnumAttribute(0x9452DC4F)] public enum Enum_9452DC4F : uint { [STUFieldAttribute(0x9C1667AD)] x9C1667AD = 0x0, [STUFieldAttribute(0xD62C62BE)] xD62C62BE = 0x1, ...
using System; using System.Threading; public class ExitCommand : Command { internal override int MaxAllowedParameters => 1; public ExitCommand(string[] parameters) : base(parameters) { } public override void Execute() { Validate(Parameters); IOManager.OutputLine(typeof(Feedback), new ProgramExitin...
using Mono.Cecil.Cil; using Mono.Cecil; using System; using System.Linq; using RTCLI.AOTCompiler3.Meta; using System.Collections.Generic; namespace RTCLI.AOTCompiler3.ILConverters { public class StelemConvert { public static string Convert(Instruction instruction, MethodTranslateContextCXX methodConte...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Journey.Data.Entities { public class JournalEntry : Entity { [MaxLength(512)] [Required] public string Title { get; set; } [Required] ...
using System; using System.Collections.Generic; using System.Linq; using CTripOSS.Baiji.Helper; using CTripOSS.Baiji.IDLParser.Model; using Irony.Parsing; namespace CTripOSS.Baiji.IDLParser { /// <summary> /// Build idl model by traversing CST (Concrete Syntax Tree). /// </summary> public static class...
using System.Linq; using Xunit; using SecureToken; using System.Security.Cryptography; namespace SecureTokenTests { public class RsaEncryptor_Tests { public RsaEncryptor_Tests() { } [Fact] public void RsaEncryptor_Must_Encrypt_Decrypt() { RSACryp...