/src/LinFu.Reflection/Interfaces/IInitialize.cs
http://github.com/philiplaureano/LinFu · C# · 17 lines · 7 code · 0 blank · 10 comment · 0 complexity · c50438034e275d062242e31e4dae8176 MD5 · raw file
- namespace LinFu.Reflection
- {
- /// <summary>
- /// Represents classes that need to be initialized
- /// every time a particular
- /// instance creates that type.
- /// </summary>
- public interface IInitialize<T>
- {
- /// <summary>
- /// Initializes the target with the
- /// particular <typeparamref name="T" /> instance.
- /// </summary>
- /// <param name="source">The <typeparamref name="T" /> instance that will hold the target type.</param>
- void Initialize(T source);
- }
- }