ControllerMapLayoutManagerRule Class |
Namespace: Rewired
[SerializableAttribute] public sealed class Rule
The ControllerMapLayoutManagerRule type exposes the following members.
Name | Description | |
---|---|---|
ControllerMapLayoutManagerRule |
Creates a new object instance.
| |
ControllerMapLayoutManagerRule(ControllerMapLayoutManagerRule) |
Creates a copy of an object instance.
|
Name | Description | |
---|---|---|
categoryId |
The first Map Category id of the Controller Maps the rule applies to.
If you need to set more than one Map Category, use categoryIds instead.
This is required, or you can set the value using categoryName, categoryIds, or categoryNames instead.
Set this to -1 to clear the categories.
Note: If you set this value while an array of categories has already been set, the array will be cleared and only this value will remain.
| |
categoryIds |
The Map Category ids of the Controller Maps the rule applies to.
This is required, or you can set the value using categoryNames instead.
Set this to null to clear the categories.
| |
categoryName |
The first Map Category of the Controller Maps the rule applies to.
If you need to set more than one Map Category, use categoryNames instead.
This is required, or you can set the value using categoryId, categoryNames, or categoryIds instead.
Set this to null to clear the categories.
Note: If you set this value while an array of categories has already been set, the array will be cleared and only this value will remain.
| |
categoryNames |
The Map Category names of the Controller Maps the rule applies to.
This is an alternate way of setting the Map Category id.
This will automatically be set by the Map Category id and vice versa when changed.
This is required, or you can set the value using categoryIds instead.
Set this to null to clear the categories.
| |
controllerSetSelector |
Determines which Controller(s) this applies to.
| |
layoutId |
The Layout id of the Controller Maps the rule applies to.
This is required, or you can set the value using layoutName instead.
| |
layoutName |
The Layout name of the Controller Maps the rule applies to.
This is an alternate way of setting the Layout id.
This will automatically be set by the Layout id and vice versa when changed.
This is required, or you can set the value using layoutId instead.
NOTE: controllerSetSelector must be set before this value is set because controllerType
is used to determine the Controller Type for looking up the Layout id. Alway create the controllerSetSelector before
setting this value as a string. The same limitation does not apply to layoutId.
| |
tag |
A tag which can be used to find an rule in the list. This is optional.
|