Constable Authorization Engine 2.0 BETA

PropertyRule Constructor (Property, Role, State, Boolean, Boolean)

[This is preliminary documentation and subject to change.]

Initializes a new instance of the PropertyRule class.

[Visual Basic]
Overloads Public Sub New( _
   ByVal property As Property, _
   ByVal role As Role, _
   ByVal state As State, _
   ByVal isVisible As Boolean, _
   ByVal isEnabled As Boolean _
)
[C#]
public PropertyRule(
   Property property,
   Role role,
   State state,
   bool isVisible,
   bool isEnabled
);

Parameters

property
The property reference.
role
The role associated with the given property and state.
state
The state with which the property is associated.
isVisible
true if the property should be visible; false otherwise.
isEnabled
true if the property can be modified; false otherwise.

See Also

PropertyRule Class | LaMarvin.Constable.Model Namespace | PropertyRule Constructor Overload List