Object representing a download or upload speed limit
Inheritance: IBinarySerializable
Ejemplo n.º 1
0
 /// <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));
 }
Ejemplo n.º 2
0
 /// <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));
 }