Example #1
0
 /// <summary>
 /// </summary>
 /// <param name="model"></param>
 /// <param name="allowedAddresses"></param>
 public void UnflattenAllowedAddressList(UserSettingsModel model, string allowedAddresses)
 {
     model.IpAddressList = allowedAddresses.Trim()
                           .Split(",".ToCharArray(), StringSplitOptions.RemoveEmptyEntries)
                           .ToList();
 }
Example #2
0
 public void Save(UserSettingsModel model)
 {
     Save(model, _storageFilePath);
 }