Constable Authorization Engine 2.0 BETA

ActionRule Members

ActionRule overview

Public Instance Constructors

ActionRule Overloaded. Initializes a new instance of the ActionRule class.

Public Instance Properties

Action Sets or returns the Action instance associated with this rule.
IsEnabled (inherited from RuleBase) Gets or sets a flag indicating whether the protected object can be accessed by the associated role. The value is true if the protected object can be accessed; false otherwise.
IsVisible (inherited from RuleBase) Gets or sets a flag indicating whether the protected object should be visible for the associated role. The value is true if the object should be visible; false otherwise.
Owner Returns the colllection that owns this ActionRule instance.
OwnerBase (inherited from RuleBase) Returns the base class reference for the collection that owns this RuleBase-derived instance.
Policy (inherited from ObjectBase) Gets a reference to the AuthorizationPolicy instance that contains this object.
ProtectedObject (inherited from RuleBase) Sets or returns the object protected by this rule.
Role (inherited from RuleBase) Sets or returns the Role associated with this authorization rule.
State (inherited from RuleBase) Sets or returns the State associated with this authorization rule.
TargetState Gets or sets the state that the Policy will be in after executing the associated Action.

Public Instance Methods

Copy Creates a copy of the action.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString Returns a string representation of the rule's properties.

Protected Instance Properties

OwnerInternal (inherited from ObjectBase) This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
PendingPropertyChangeEventArgs (inherited from ObjectBase) This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnExecute Called by the AuthorizationPolicy as part of executing the action associated with this rule.
OnPropertyChanged (inherited from ObjectBase) Called after a property of the object has been changed.
OnPropertyChanging (inherited from ObjectBase) Called when a property of the object is about to be changed.
PropagateChangedEvent (inherited from ObjectBase) Propagates the changed event.
PropagateChangingEvent (inherited from ObjectBase) Propagates the changing event.

See Also

ActionRule Class | LaMarvin.Constable.Model Namespace