PageRenderTime 61ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 19ms app.codeStats 0ms

/src/LinFu.Reflection/Plugins/BaseLoaderPlugin.cs

http://github.com/philiplaureano/LinFu
C# | 26 lines | 12 code | 1 blank | 13 comment | 0 complexity | fb8f8e088c125f0b794befa79b325f6f MD5 | raw file
 1namespace LinFu.Reflection.Plugins
 2{
 3    /// <summary>
 4    ///     A class that implements the basic functionality of
 5    ///     a loader plugin.
 6    /// </summary>
 7    /// <typeparam name="TTarget">The type being loaded.</typeparam>
 8    public abstract class BaseLoaderPlugin<TTarget> : ILoaderPlugin<TTarget>
 9    {
10        /// <summary>
11        ///     Signals the beginning of a load.
12        /// </summary>
13        /// <param name="target">The target being loaded.</param>
14        public virtual void BeginLoad(TTarget target)
15        {
16        }
17
18        /// <summary>
19        ///     Signals the end of a load.
20        /// </summary>
21        /// <param name="target">The target being loaded.</param>
22        public virtual void EndLoad(TTarget target)
23        {
24        }
25    }
26}