Constable Authorization Engine 2.0 BETA

ActionRuleCollection Members

ActionRuleCollection overview

Public Instance Properties

Count (inherited from CollectionBase) Gets the number of elements contained in the CollectionBase instance.
IsClearAllowed (inherited from ChangeableCollectionBase) Gets a flag indicating whether the Clear method is currently allowed.
IsInsertAllowed (inherited from ChangeableCollectionBase) Gets a flag indicating whether an Insert (or Add) operation is currently allowed.
IsRemoveAllowed (inherited from ChangeableCollectionBase) Gets a flag indicating whether a Remove operation (or the RemoveAt method call) is currently allowed.
IsSetAllowed (inherited from ChangeableCollectionBase) Gets a flag indicating whether a Set operation is currently allowed.
Item Returns the ActionRule object at the specified index in the collection.
Policy (inherited from ObjectCollectionBase) Returns the AuthorizationPolicy with which this instance is associated.

Public Instance Methods

Add Adds the rule to the collection.
AddNewOverloaded. Creates and adds a new ActionRule object to the collection for the given actionId, roleId stateId, targetStateId, isVisible and isEnabled flags to the containing AuthorizationPolicy instance.
AddRange (inherited from RuleCollectionBase) Adds a collection of RuleBase descendants to the collection.
Clear (inherited from CollectionBase) Removes all objects from the CollectionBase instance.
Contains Determines if the collection contains the specified rule.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from CollectionBase) Returns an enumerator that can iterate through the CollectionBase instance.
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.
IndexOf Returns the index of the specified rule in the collection.
Insert Inserts the rule object at the specified index.
IsNewRuleValid (inherited from RuleCollectionBase) The method checks whether a new authorization rule defined by the parameters can be safely added to the collection.
LookupOverloaded. Returns an ActionRule object associated with the given Action, Role and State identified by their IDs.
Remove Removes the specified rule from the collection.
RemoveAt (inherited from CollectionBase) Removes the element at the specified index of the CollectionBase instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

ActionRuleCollection Constructor Initializes a new instance of the ActionRuleCollection class and associates it with the given ICollectionUpdater implementation.

Protected Instance Properties

InnerList (inherited from CollectionBase) Gets an ArrayList containing the list of elements in the CollectionBase instance.
List (inherited from CollectionBase) Gets an IList containing the list of elements in the CollectionBase instance.
PendingCollectionChangeEventArgs (inherited from ObjectCollectionBase) This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
Updater (inherited from ChangeableCollectionBase) Sets or returns the associated ICollectionUpdater object.

Protected Instance Methods

CreateEmptyClone Creates a new, empty instance of the ActionRuleCollection.
EnsureNewRuleObjectPolicyOwnershipValid (inherited from RuleCollectionBase) This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
EnsureNewRuleValid (inherited from RuleCollectionBase) This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
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.
IsNewRuleDuplicate (inherited from RuleCollectionBase) This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
IsNewRuleObjectPolicyOwnershipValid (inherited from RuleCollectionBase) This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
IsNewRulePolicyOwnershipValid (inherited from RuleCollectionBase) This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
IsRuleFeasible (inherited from RuleCollectionBase) This member supports the Constable Authorization Engine (CAZE) infrastructure and is not intended to be used directly from your code.
LookupOverloaded. Returns all ActionRule objects associated with the given Action, Role, State and the required values of the IsVisible and IsEnabled flags.
LookupInternal (inherited from RuleCollectionBase)Overloaded. Finds all rule objects satisfying the specified criteria.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClear (inherited from ObjectCollectionBase) Dispatches an appropriate 'changing' event and calls the base class.
OnClearComplete (inherited from ObjectCollectionBase) Calls the base class and dispatches the appropriate 'changed' event.
OnCollectionChanged (inherited from ObjectCollectionBase) Called after the collection has been changed.
OnCollectionChanging (inherited from ObjectCollectionBase) Called when the collection is about to be changed.
OnInsert (inherited from ObjectCollectionBase) Dispatches an appropriate 'changing' event and calls the base class.
OnInsertComplete (inherited from ObjectCollectionBase) Calls the base class and dispatches the appropriate 'changed' event.
OnRemove (inherited from ObjectCollectionBase) Dispatches an appropriate 'changing' event and calls the base class.
OnRemoveComplete (inherited from ObjectCollectionBase) Calls the base class and dispatches the appropriate 'changed' event.
OnSet (inherited from ChangeableCollectionBase) Calls the OnSet method implementation of the associated Updater object.
OnSetComplete (inherited from ChangeableCollectionBase) Calls the OnSetComplete method implementation of the associated Updater object.
OnValidate (inherited from ChangeableCollectionBase) Calls the OnValidate method implementation of the associated Updater object.
PropagateChangedEvent (inherited from ObjectCollectionBase) Propagates the changed event.
PropagateChangingEvent (inherited from ObjectCollectionBase) Propagates the changing event.

See Also

ActionRuleCollection Class | LaMarvin.Constable.Model Namespace