/src/LinFu.Reflection/Interfaces/ILoaderPlugin.cs
http://github.com/philiplaureano/LinFu · C# · 22 lines · 8 code · 1 blank · 13 comment · 0 complexity · ac09c281260126b217f36c9924a3f987 MD5 · raw file
- namespace LinFu.Reflection
- {
- /// <summary>
- /// Represents a component that can monitor
- /// a target instance as it loads.
- /// </summary>
- /// <typeparam name="TTarget">The target instance type.</typeparam>
- public interface ILoaderPlugin<TTarget>
- {
- /// <summary>
- /// Signals the beginning of a load.
- /// </summary>
- /// <param name="target">The target being loaded.</param>
- void BeginLoad(TTarget target);
- /// <summary>
- /// Signals the end of a load.
- /// </summary>
- /// <param name="target">The target being loaded.</param>
- void EndLoad(TTarget target);
- }
- }