src/openSourceC.DotNetLibrary.Legacy/ProviderSystem/AbstractProviderBase.cs
/// <summary>
///		Extends the <see cref="P:ParentNames"/> property with the specified names.
/// </summary>
/// <param name="args">The names to appended to <see cref="P:ParentNames"/>.</param>
/// <returns>
///		The extended list of parent element names.
/// </returns>
Extends the  property with the specified names.
Extends the property with the specified names .
protected string[] ExtendParentNames(params string[] args)
		{
			int parentNamesCount = (_parentNames == null ? 0 : _parentNames.Length);
			string[] newParentNames = new string[parentNamesCount + args.Length];
			if (parentNamesCount != 0) { _parentNames.CopyTo(newParentNames, 0); }
			if (args.Length != 0) { args.CopyTo(newParentNames, (_parentNames == null ? 0 : _parentNames.Length)); }
			return newParentNames;
		}
protected string [ ] ExtendParentNames ( params string [ ] args ) { int parentNamesCount = ( _parentNames == null ? 0 : _parentNames . Length ) ; string [ ] newParentNames = new string [ parentNamesCount + args . Length ] ; if ( parentNamesCount != 0 ) { _parentNames . CopyTo ( newParentNames , 0 ) ; } if ( args . Length != 0 ) { args . CopyTo ( newParentNames , ( _parentNames == null ? 0 : _parentNames . Length ) ) ; } return newParentNames ; }
Extends the  property with the specified names.
Extends the property with the specified names .
The extended list of parent element names.
The extended list of parent element names .
args
The names to appended to .
The names to appended to .