Files
RobustToolbox/Robust.Shared.Utility/IoC/IPostInjectInit.cs
PJB3005 b7a3526131 Move RHI to its own project
Move some of Robust.Shared to a new project so it can be depended upon without adding longer dependency chains.
2025-10-07 18:18:48 +02:00

19 lines
707 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="IDependencyCollection.Resolve{T}()" />
/// </summary>
/// <seealso cref="IDependencyCollection" />
/// <seealso cref="DependencyAttribute" />
public interface IPostInjectInit
{
/// <summary>
/// Essentially functions as a constructor after dependencies have been injected.
/// </summary>
void PostInject();
}
}