src/openSourceC.DotNetLibrary.Core/Abstraction/AbstractInjectorBase.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)
		{
			if (args is null)
			{
				throw new ArgumentNullException(nameof(args));
			}
			string[] newParentNames = new string[(_parentNames?.Length ?? 0) + args.Length];
			_parentNames?.CopyTo(newParentNames, 0);
			if (args.Length != 0)
			{
				args.CopyTo(newParentNames, (_parentNames?.Length ?? 0));
			}
			return _parentNames = newParentNames;
		}
protected string [ ] ExtendParentNames ( params string [ ] args ) { if ( args is null ) { throw new ArgumentNullException ( nameof ( args ) ) ; } string [ ] newParentNames = new string [ ( _parentNames ? . Length ?? 0 ) + args . Length ] ; _parentNames ? . CopyTo ( newParentNames , 0 ) ; if ( args . Length != 0 ) { args . CopyTo ( newParentNames , ( _parentNames ? . Length ?? 0 ) ) ; } return _parentNames = 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 .