/// <summary> /// Default constructor (sets defaults as in FileZilla server interface) /// </summary> public Group() { BypassUserLimit = TriState.No; Enabled = TriState.Yes; DisallowedIPs = new List <string>(); AllowedIPs = new List <string>(); SharedFolders = new List <SharedFolder>(); DownloadSpeedLimit = new SpeedLimit(GetType() == typeof(Group)); UploadSpeedLimit = new SpeedLimit(GetType() == typeof(Group)); }
/// <summary> /// Default constructor (sets defaults as in FileZilla server interface) /// </summary> public Group() { BypassUserLimit = TriState.No; Enabled = TriState.Yes; DisallowedIPs = new List<string>(); AllowedIPs = new List<string>(); SharedFolders = new List<SharedFolder>(); DownloadSpeedLimit = new SpeedLimit(GetType() == typeof(Group)); UploadSpeedLimit = new SpeedLimit(GetType() == typeof(Group)); }