public static void Init( IApplication app, UI.Presenters.Factory.IViewsFactory viewsFactory ) { var model = Factory.Create(app.Model); var presentation = UI.Presenters.Factory.Create(model, app.Presentation, app.Model, viewsFactory); }
public static void Init( IModel appModel, LogJoint.UI.Presenters.IPresentation appPresentation, UI.Presenters.Factory.IViewsFactory viewsFactory ) { var model = Factory.Create(appModel); var presentation = UI.Presenters.Factory.Create(model, appPresentation, appModel, viewsFactory); }