C# Class ScrewTurn.Wiki.AclStorer

Implements a file-based ACL Storer.
Inheritance: ScrewTurn.Wiki.AclEngine.AclStorerBase
显示文件 Open project: mono/ScrewTurnWiki Class Usage Examples

Public Methods

Method Description
AclStorer ( IAclManager aclManager, string file ) : System

Initializes a new instance of the T:AclStorer class.

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
DumpAclEntry ( AclEntry entry ) : string

Dumps a T:AclEntry into a string.

Method Details

AclStorer() public method

Initializes a new instance of the T:AclStorer class.
public AclStorer ( IAclManager aclManager, string file ) : System
aclManager IAclManager The instance of the ACL Manager to handle.
file string The storage file.
return System

DeleteEntries() protected method

Deletes some entries.
protected DeleteEntries ( AclEntry entries ) : void
entries ScrewTurn.Wiki.AclEngine.AclEntry The entries to delete.
return void

LoadDataInternal() protected method

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

StoreEntries() protected method

Stores some entries.
protected StoreEntries ( AclEntry entries ) : void
entries ScrewTurn.Wiki.AclEngine.AclEntry The entries to store.
return void