public void Abort() { _result = new LicenseDialogResult { Key = null, Type = LicenseDialogResultType.Aborted }; base.OnDisplayed(); }
public void Confirm() { string key = KeyInputField.text; key = key.ToUpper().Trim(); if (string.IsNullOrEmpty(key)) { return; } _result = new LicenseDialogResult { Key = key, Type = LicenseDialogResultType.Confirmed }; base.OnDisplayed(); }