C# Class ScrewTurn.Wiki.AclEngine.AclStorerBase

Implements a base class for an ACL Storer.
Inheritance: IDisposable
Show file Open project: mono/ScrewTurnWiki Class Usage Examples

Protected Properties

Property Type Description
aclChangedHandler EventHandler
aclManager IAclManager
disposed bool

Public Methods

Method Description
AclStorerBase ( IAclManager aclManager ) : System

Initializes a new instance of the T:AclStorerBase abstract class.

Dispose ( ) : void

Disposes the current object.

LoadData ( ) : void

Loads the data and injects it in the instance of T:IAclManager.

Protected Methods

Method Description
DeleteEntries ( AclEntry entries ) : void

Deletes some entries.

LoadDataInternal ( ) : ScrewTurn.Wiki.AclEngine.AclEntry[]

Loads data from storage.

StoreEntries ( AclEntry entries ) : void

Stores some entries.

Private Methods

Method Description
aclManager_AclChanged ( object sender, AclChangedEventArgs e ) : void

Handles the IAclManager.AclChanged event.

Method Details

AclStorerBase() public method

Initializes a new instance of the T:AclStorerBase abstract class.
If is null.
public AclStorerBase ( IAclManager aclManager ) : System
aclManager IAclManager The instance of the ACL Manager to handle.
return System

DeleteEntries() protected abstract method

Deletes some entries.
protected abstract DeleteEntries ( AclEntry entries ) : void
entries AclEntry The entries to delete.
return void

Dispose() public method

Disposes the current object.
public Dispose ( ) : void
return void

LoadData() public method

Loads the data and injects it in the instance of T:IAclManager.
public LoadData ( ) : void
return void

LoadDataInternal() protected abstract method

Loads data from storage.
protected abstract LoadDataInternal ( ) : ScrewTurn.Wiki.AclEngine.AclEntry[]
return ScrewTurn.Wiki.AclEngine.AclEntry[]

StoreEntries() protected abstract method

Stores some entries.
protected abstract StoreEntries ( AclEntry entries ) : void
entries AclEntry The entries to store.
return void

Property Details

aclChangedHandler protected property

The event handler for the IAclManager.AclChanged event.
protected EventHandler aclChangedHandler
return EventHandler

aclManager protected property

The instance of the ACL Manager to handle.
protected IAclManager aclManager
return IAclManager

disposed protected property

Indicates whether the object was disposed.
protected bool disposed
return bool