Table of Contents

Class EcsBuilderEventScopeExtensions

Namespace
SampSharp.Entities
Assembly
SampSharp.OpenMp.Entities.dll

Provides extended functionality for configuring a IEcsBuilder instance.

public static class EcsBuilderEventScopeExtensions
Inheritance
EcsBuilderEventScopeExtensions
Inherited Members

Methods

EnableEventScope(IEcsBuilder, string)

Enables a Dependency Injection scope for the event with the specified name.

public static IEcsBuilder EnableEventScope(this IEcsBuilder builder, string name)

Parameters

builder IEcsBuilder

The ECS builder in which to enable the scope.

name string

The name of the event to add the scope to.

Returns

IEcsBuilder

A reference to this instance after the operation has completed.