示例#1
0
 public TemplatesServicePresenter(ITemplatesServiceView view, ITemplateFileManager fileManager) : base(view)
 {
     this.fileManager          = fileManager;
     View.HelloWorldCalled    += HelloWorldCalled;
     View.GetGroupsCalled     += GetGroupsCalled;
     View.GetGroupFilesCalled += GetGroupFilesCalled;
     View.GetFileCalled       += GetFileCalled;
     View.FileSaveCalled      += SaveFileCalled;
 }
示例#2
0
 public HomePresenter(IHomeView view, IForumsController controller, ITemplateFileManager templateFileManager, IModuleInstanceContext moduleContextWrapper, IDnnUserController dnnUserController)
     : base(view)
 {
     this.controller                    = controller;
     this.templateFileManager           = templateFileManager;
     moduleContextWrapper.ModuleContext = this.ModuleContext;
     this.moduleContextWrapper          = moduleContextWrapper;
     this.dnnUserController             = dnnUserController;
     this.View.Load += ViewLoad;
 }
 public TemplateProcessor(ITemplateFileManager templateFileManager)
 {
     this.templateFileManager = templateFileManager;
 }
示例#4
0
 public TemplateProcessor(ITemplateFileManager templateFileManager)
 {
     this.templateFileManager = templateFileManager;
 }