OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / HandBrake.Framework / WindsorInstaller.cs
1 /*  WindsorInstaller.cs $\r
2     This file is part of the HandBrake source code.\r
3     Homepage: <http://handbrake.fr>.\r
4     It may be used under the terms of the GNU General Public License. */\r
5 \r
6 namespace HandBrake.Framework\r
7 {\r
8     using Castle.MicroKernel;\r
9     using Castle.Windsor;\r
10 \r
11     using HandBrake.Framework.Services;\r
12     using HandBrake.Framework.Services.Interfaces;\r
13 \r
14     /// <summary>\r
15     /// This is the Windsor Installer class.\r
16     /// </summary>\r
17     public class WindsorInstaller : IWindsorInstaller\r
18     {\r
19         /// <summary>\r
20         /// Setup the Services for this Library\r
21         /// </summary>\r
22         /// <param name="container">\r
23         /// The container.\r
24         /// </param>\r
25         /// <param name="store">\r
26         /// The store.\r
27         /// </param>\r
28         public void Install(IWindsorContainer container, IConfigurationStore store)\r
29         {\r
30             container.AddComponent<IErrorService, ErrorService>();\r
31             container.AddComponent<IAppcastReader, AppcastReader>();\r
32         }\r
33     }\r
34 }\r