Beispiel #1
0
        /// <summary>
        /// Clone the current object.
        /// </summary>
        /// <returns></returns>
        public virtual FtpsItem Clone()
        {
            FtpsItem c = new FtpsItem(_name,
                                      _modified,
                                      _size,
                                      _itemType,
                                      _attributes,
                                      _mode,
                                      _symbolicLink,
                                      _rawText);

            return(c);
        }
Beispiel #2
0
 /// <summary>
 /// Clone the current object.
 /// </summary>
 /// <returns></returns>
 public virtual FtpsItem Clone()
 {
     FtpsItem c = new FtpsItem(_name,
                             _modified,
                             _size,
                             _itemType,
                             _attributes,
                             _mode,
                             _symbolicLink,
                             _rawText);
     return c;
 }