ScrapperArgumentAttribute
A class in Root.Township, Alta.Scrapper.
Marks a scrapper behaviour with the component type and fields it sets, so the scrapper tool can find the behaviour for a given set of changes. Can be used more than once per class.
Constructors
Properties
| Member | What it is |
|---|
ApplicationType ApplicationType { get; private set; } | How the values are applied, such as one target and value or many targets with one value. |
string[] Fields { get; private set; } | Names of the fields or properties on the component. |
Type Type { get; private set; } | The component type the fields belong to. |
Methods
| Member | What it is |
|---|
override bool Equals(object obj) | Equal if the type, application type and field list match. |
static Type Find(ICollection<ScrapperArgumentAttribute> desiredAttributes) | Returns the type in this assembly whose scrapper attributes match the given set exactly, or null. |
override int GetHashCode() | Hash from the type and application type. |