public override BuildGroupSource Clone() { ImportGroupSource source = new ImportGroupSource(this); this.Clone(source); if (_listImports != null) { source._listImports = _listImports.Clone(); } return(source); }
/// <summary> /// Initializes a new instance of the <see cref="ImportGroupSource"/> class /// with parameters copied from the specified instance of the /// <see cref="ImportGroupSource"/> class, a copy constructor. /// </summary> /// <param name="source"> /// An instance of the <see cref="ImportGroupSource"/> 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 ImportGroupSource(ImportGroupSource source) : base(source) { _listImports = source._listImports; }