public void Initialize(N2.Engine.IEngine engine) { engine.AddComponent("myComponent", typeof(Services.MyComponent)); }
public void Initialize(N2.Engine.IEngine engine) { engine.AddComponent("n2.wiki.parser", typeof(WikiParser)); engine.AddComponent("n2.wiki.renderer", typeof(WikiRenderer)); }
public void Initialize(N2.Engine.IEngine engine) { engine.AddComponent("n2.languageGateway", typeof(ILanguageGateway), typeof(LanguageGateway)); engine.AddComponent("n2.languageInterceptor", typeof(LanguageInterceptor)); }