C# Class ScrewTurn.Wiki.AclEngine.AclEntry

Represents an ACL Entry.
Exibir arquivo Open project: mono/ScrewTurnWiki Class Usage Examples

Public Methods

Method Description
AclEntry ( string resource, string action, string subject, Value value ) : System

Initializes a new instance of the T:AclEntry class.

Equals ( AclEntry other ) : bool

Determines whether this instance equals another (by value).

Equals ( AclEntry x, AclEntry y ) : bool

Determines whether two instances of T:AclEntry are equal (by value).

Equals ( object obj ) : bool

Determines whether this object equals another (by value).

GetHashCode ( ) : int

Gets a hash code for the current object.

ToString ( ) : string

Gets a string representation of the current object.

Method Details

AclEntry() public method

Initializes a new instance of the T:AclEntry class.
If , or are null. If , or are empty.
public AclEntry ( string resource, string action, string subject, Value value ) : System
resource string The controlled resource.
action string The controlled action on the resource.
subject string The subject whose access to the resource/action is controlled.
value Value The entry value.
return System

Equals() public method

Determines whether this instance equals another (by value).
public Equals ( AclEntry other ) : bool
other AclEntry The other instance.
return bool

Equals() public static method

Determines whether two instances of T:AclEntry are equal (by value).
public static Equals ( AclEntry x, AclEntry y ) : bool
x AclEntry The first instance.
y AclEntry The second instance.
return bool

Equals() public method

Determines whether this object equals another (by value).
public Equals ( object obj ) : bool
obj object The other object.
return bool

GetHashCode() public method

Gets a hash code for the current object.
public GetHashCode ( ) : int
return int

ToString() public method

Gets a string representation of the current object.
public ToString ( ) : string
return string