Exemple #1
0
        public void Abort()
        {
            _result = new LicenseDialogResult
            {
                Key  = null,
                Type = LicenseDialogResultType.Aborted
            };

            base.OnDisplayed();
        }
Exemple #2
0
        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();
        }