M_CommandLine_Infrastructure_ReflectionHelper_SetAttributeOverride - adutton/commandline GitHub Wiki
Assembly attribute overrides for testing.
Namespace: CommandLine.Infrastructure
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static void SetAttributeOverride(
IEnumerable<Attribute> overrides
)VB
Public Shared Sub SetAttributeOverride (
overrides As IEnumerable(Of Attribute)
)C++
public:
static void SetAttributeOverride(
IEnumerable<Attribute^>^ overrides
)F#
static member SetAttributeOverride :
overrides : IEnumerable<Attribute> -> unit
- overrides
- Type: System.Collections.Generic.IEnumerable(Attribute)
Attributes that replace the existing assembly attributes or null, to clear any testing attributes.
The implementation will fail if two or more attributes of the same type are included in overrides.