public override ConceptualSource Clone() { ConceptualImportSource source = new ConceptualImportSource(this); if (this.Title != null) { source.Title = String.Copy(this.Title); } if (_sourcePath != null) { source._sourcePath = _sourcePath.Clone(); } return(source); }
/// <summary> /// Initializes a new instance of the <see cref="ConceptualDocProjSource"/> class /// with parameters copied from the specified instance of the /// <see cref="ConceptualDocProjSource"/> class, a copy constructor. /// </summary> /// <param name="source"> /// An instance of the <see cref="ConceptualDocProjSource"/> class from which the /// initialization parameters or values will be copied. /// </param> /// <exception cref="ArgumentNullException"> /// If the parameter <paramref name="source"/> is <see langword="null"/>. /// </exception> public ConceptualImportSource(ConceptualImportSource source) : base(source) { _sourcePath = source._sourcePath; }