/// <summary> /// <para>Creates the layer instances by their types.</para> /// </summary> protected override void OnCreate() { base.OnCreate(); this.ClientLayer = this.CreateClientLayer(); this.DatabaseLayer = this.CreateDatabaseLayer(); this.RepositoryLayer = this.CreateRepositoryLayer(); this.InteractorLayer = this.CreateInteractorLayer(); }
protected override void OnPrepare() { base.OnPrepare(); this.Application = this.GetRootElement <IApplicationFrame>(); this.ClientLayer = this.Application.ClientLayer; this.RepositoryLayer = this.Application.RepositoryLayer; this.InteractorLayer = this.Application.InteractorLayer; }