TargetAssemblyAttribute Class
Definition
Section titled “Definition”Defines an assembly that a patch method will target.
[AttributeUsage(AttributeTargets.Method)]public class TargetAssemblyAttribute : AttributeInheritance object → Attribute
Constructors
Section titled “Constructors”TargetAssemblyAttribute(string)
Section titled “TargetAssemblyAttribute(string)”public TargetAssemblyAttribute(string targetAssembly)Parameters
Section titled “Parameters”targetAssembly string
The short filename of the assembly. Use
Fields
Section titled “Fields”AllAssemblies
Section titled “AllAssemblies”Marker used to indicate all possible assemblies to be targeted by a patch method.
public const string AllAssemblies = "_all"Properties
Section titled “Properties”TargetAssembly
Section titled “TargetAssembly”The short filename of the assembly to target.
public string TargetAssembly { get; }