mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
19 lines
685 B
C#
19 lines
685 B
C#
namespace Robust.Shared.IoC
|
|
{
|
|
/// <summary>
|
|
/// If implemented on a type instantiated by IoC,
|
|
/// <see cref="IPostInjectInit.PostInject" /> will be called after all dependencies have been injected.
|
|
/// Do not assume any order in the initialization of other managers,
|
|
/// Or the availability of things through <see cref="IoCManager.Resolve{T}()" />
|
|
/// </summary>
|
|
/// <seealso cref="IoCManager" />
|
|
/// <seealso cref="DependencyAttribute" />
|
|
public interface IPostInjectInit
|
|
{
|
|
/// <summary>
|
|
/// Essentially functions as a constructor after dependencies have been injected.
|
|
/// </summary>
|
|
void PostInject();
|
|
}
|
|
}
|