/examples/ioc/Extensibility/SamplePlugin/ExamplePlugin.cs
http://github.com/philiplaureano/LinFu · C# · 28 lines · 22 code · 4 blank · 2 comment · 0 complexity · 19022386e64aef31e00b088b27bfd943 MD5 · raw file
- using System;
- using System.Collections.Generic;
- using System.Text;
- using LinFu.IoC.Interfaces;
- using LinFu.Reflection;
- namespace SamplePlugin
- {
- [LoaderPlugin]
- public class ExamplePlugin : ILoaderPlugin<IServiceContainer>
- {
- #region ILoaderPlugin Members
- public void BeginLoad(IServiceContainer container)
- {
- // Do something useful here
- Console.WriteLine("Load started");
- }
- public void EndLoad(IServiceContainer container)
- {
- // Do something useful here too
- Console.WriteLine("Load completed");
- }
- #endregion
- }
- }