/src/LinFu.Reflection/Interfaces/ILoaderPlugin.cs
C# | 22 lines | 8 code | 1 blank | 13 comment | 0 complexity | ac09c281260126b217f36c9924a3f987 MD5 | raw file
1namespace LinFu.Reflection 2{ 3 /// <summary> 4 /// Represents a component that can monitor 5 /// a target instance as it loads. 6 /// </summary> 7 /// <typeparam name="TTarget">The target instance type.</typeparam> 8 public interface ILoaderPlugin<TTarget> 9 { 10 /// <summary> 11 /// Signals the beginning of a load. 12 /// </summary> 13 /// <param name="target">The target being loaded.</param> 14 void BeginLoad(TTarget target); 15 16 /// <summary> 17 /// Signals the end of a load. 18 /// </summary> 19 /// <param name="target">The target being loaded.</param> 20 void EndLoad(TTarget target); 21 } 22}