Пример #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);
        }
Пример #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;
 }