Show / Hide Table of Contents

Class Simulation

Inheritance
object
Simulation
Implements
ISingletonDependency
IDisposable
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.ClientSimulation
Assembly: Volo.ClientSimulation.dll
Syntax
public class Simulation : ISingletonDependency, IDisposable

Constructors

Simulation(IServiceScopeFactory, IOptions<ClientSimulationOptions>)

Declaration
public Simulation(IServiceScopeFactory serviceScopeFactory, IOptions<ClientSimulationOptions> options)
Parameters
Type Name Description
IServiceScopeFactory serviceScopeFactory
IOptions<ClientSimulationOptions> options

Properties

Clients

Declaration
public List<IClient> Clients { get; }
Property Value
Type Description
List<IClient>

Logger

Declaration
public ILogger<Simulation> Logger { get; set; }
Property Value
Type Description
ILogger<Simulation>

Options

Declaration
protected ClientSimulationOptions Options { get; }
Property Value
Type Description
ClientSimulationOptions

ServiceScope

Declaration
protected IServiceScope ServiceScope { get; }
Property Value
Type Description
IServiceScope

ServiceScopeFactory

Declaration
protected IServiceScopeFactory ServiceScopeFactory { get; }
Property Value
Type Description
IServiceScopeFactory

State

Declaration
public SimulationState State { get; }
Property Value
Type Description
SimulationState

SyncObj

Declaration
protected object SyncObj { get; }
Property Value
Type Description
object

Methods

Client_OnStopped(object, EventArgs)

Declaration
protected virtual void Client_OnStopped(object sender, EventArgs e)
Parameters
Type Name Description
object sender
EventArgs e

CreateSnapshot()

Declaration
public virtual SimulationSnapshot CreateSnapshot()
Returns
Type Description
SimulationSnapshot

Dispose()

Declaration
public virtual void Dispose()

Start()

Declaration
public virtual void Start()

Stop()

Declaration
public virtual void Stop()

Implements

ISingletonDependency
IDisposable

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform