Table of Contents

Class ModuleLoadPlan

Namespace
Shard.Server.Modules
Assembly
Shard.Server.dll

Immutable dependency resolution result that owns discovered module lifetimes until exactly one host claims it. Callers must dispose a plan that is abandoned or rejected by a host.

public sealed class ModuleLoadPlan : IDisposable
Inheritance
ModuleLoadPlan
Implements
Inherited Members

Properties

Count

Gets the number of enabled modules captured by this plan.

public int Count { get; }

Property Value

int

Methods

Dispose()

Disposes unclaimed modules in reverse acquisition order. Once a host claims the plan, the host owns module cleanup and disposing the plan is a no-op.

public void Dispose()