///<summary>Used to initialize UI from a parent controller that's set necessary properties.</summary> public virtual void Initialize(IParentUIController parentUIController) { this.parentUIController = parentUIController; }
public override void Initialize(IParentUIController parentUIController) { base.Initialize(parentUIController); initializeEventCallbacks(); initializeLocalization(parentUIController); }
private void initializeLocalization(IParentUIController parentUIController) { localizer = parentUIController.GetLocalizer(); emailInput.PlaceHolder = localizer.GetLocalized("enter_email_address"); passwordInput.PlaceHolder = localizer.GetLocalized("enter_password"); }
public override void Initialize(IParentUIController parentUIController) { base.Initialize(parentUIController); dismissButton.LabelText = parentUIController.GetLocalizer().GetLocalized("ok"); }