public SettingsMapping(string storageKey, string defaultValue,
                        TextValidator textValidator = null)
 {
     this.StorageKey    = storageKey;
     this.DefaultValue  = defaultValue;
     this.TextValidator = textValidator;
 }
Beispiel #2
0
 public TextBoxSettingsMapping(string storageKey, string defaultValue,
                               TextBox textBox, TextValidator textValidator = null)
     : base(storageKey, defaultValue, textValidator)
 {
     this.TextBox = textBox;
 }
 public PasswordBoxSettingsMapping(string storageKey, string defaultValue,
                                   PasswordBox pwBox, TextValidator textValidator = null)
     : base(storageKey, defaultValue, textValidator)
 {
     this.PwBox = pwBox;
 }