TargetTypeAttribute Class
Definition
Section titled “Definition”Defines a type that a patch method will target.
[AttributeUsage(AttributeTargets.Method)]public class TargetTypeAttribute : Attribute
Inheritance object → Attribute
Constructors
Section titled “Constructors”TargetTypeAttribute(string, string)
Section titled “TargetTypeAttribute(string, string)”public TargetTypeAttribute(string targetAssembly, string targetType)
Parameters
Section titled “Parameters”targetAssembly
string
The short filename of the assembly of which targetType
belongs to.
targetType
string
The full name of the type to target for patching.
Properties
Section titled “Properties”TargetAssembly
Section titled “TargetAssembly”The short filename of the assembly to target.
public string TargetAssembly { get; }
TargetType
Section titled “TargetType”The full name of the type to target for patching.
public string TargetType { get; }