Skip to content

Class ModuleContext

Namespace: Cephalon.Abstractions.Modules
Assembly: Cephalon.Abstractions.dll

Provides runtime services shared with module lifecycle hooks.

public sealed class ModuleContext

objectModuleContext

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Creates a module runtime context.

public ModuleContext(IServiceProvider services)

services IServiceProvider

The root service provider for the runtime.

Gets the root service provider for the runtime.

public IServiceProvider Services { get; }

IServiceProvider