/// <summary> /// Initializes a new FtpListItem object from a parser's results. /// </summary> /// <param name="parser"></param> public FtpListItem(FtpListFormatParser parser) { this.Type = parser.ObjectType; this.Name = parser.Name; this.Size = parser.Size; this.Modify = parser.Modify; this.Mode = parser.Mode; this.Owner = parser.Owner; this.Group = parser.Group; }
/// <summary> /// Initializes a new FtpListItem object from a parser's results. /// </summary> /// <param name="parser"></param> public FtpListItem(FtpListFormatParser parser) { this.Type = parser.ObjectType; this.Name = parser.Name; this.Size = parser.Size; this.Modify = parser.Modify; this.Mode = parser.Mode; this.Owner = parser.Owner; this.Group = parser.Group; }