C# Class Composite.C1Console.Security.EntityToken

Show file Open project: Orckestra/C1-CMS Class Usage Examples

Public Methods

Method Description
Equals ( EntityToken entityToken ) : bool
Equals ( object obj ) : bool
EqualsWithVersionIgnore ( object obj ) : bool
GetHashCode ( ) : int
GetPrettyHtml ( string>.Dictionary piggybag ) : string
GetVersionHashCode ( ) : int
IsValid ( ) : bool

The state of the EntityToken. Invalid entity tokens will be automatically removed from the system.

OnGetExtraPrettyHtml ( ) : string
OnGetIdPrettyHtml ( ) : string
OnGetPrettyHtml ( Composite.C1Console.Security.EntityTokenHtmlPrettyfier entityTokenHtmlPrettyfier ) : void
OnGetSourcePrettyHtml ( ) : string
OnGetTypePrettyHtml ( ) : string
Serialize ( ) : string

Serialize the EntityToken

ToString ( ) : string

Protected Methods

Method Description
DoDeserialize ( string serializedEntityToken, string &type, string &source, string &id ) : void
DoDeserialize ( string serializedEntityToken, string &type, string &source, string &id, string>.Dictionary &dic ) : void
DoSerialize ( ) : string
DoSerialize ( StringBuilder stringBuilder ) : void

Private Methods

Method Description
ThrowNotUniqueException ( ) : void
ValidateEntityToken ( ) : void

Method Details

DoDeserialize() protected static method

protected static DoDeserialize ( string serializedEntityToken, string &type, string &source, string &id ) : void
serializedEntityToken string
type string
source string
id string
return void

DoDeserialize() protected static method

protected static DoDeserialize ( string serializedEntityToken, string &type, string &source, string &id, string>.Dictionary &dic ) : void
serializedEntityToken string
type string
source string
id string
dic string>.Dictionary
return void

DoSerialize() protected method

protected DoSerialize ( ) : string
return string

DoSerialize() protected method

protected DoSerialize ( StringBuilder stringBuilder ) : void
stringBuilder StringBuilder
return void

Equals() public method

public Equals ( EntityToken entityToken ) : bool
entityToken EntityToken
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

EqualsWithVersionIgnore() public method

public EqualsWithVersionIgnore ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetPrettyHtml() public method

public GetPrettyHtml ( string>.Dictionary piggybag ) : string
piggybag string>.Dictionary
return string

GetVersionHashCode() public method

public GetVersionHashCode ( ) : int
return int

IsValid() public method

The state of the EntityToken. Invalid entity tokens will be automatically removed from the system.
public IsValid ( ) : bool
return bool

OnGetExtraPrettyHtml() public method

public OnGetExtraPrettyHtml ( ) : string
return string

OnGetIdPrettyHtml() public method

public OnGetIdPrettyHtml ( ) : string
return string

OnGetPrettyHtml() public method

public OnGetPrettyHtml ( Composite.C1Console.Security.EntityTokenHtmlPrettyfier entityTokenHtmlPrettyfier ) : void
entityTokenHtmlPrettyfier Composite.C1Console.Security.EntityTokenHtmlPrettyfier
return void

OnGetSourcePrettyHtml() public method

public OnGetSourcePrettyHtml ( ) : string
return string

OnGetTypePrettyHtml() public method

public OnGetTypePrettyHtml ( ) : string
return string

Serialize() public abstract method

Serialize the EntityToken
public abstract Serialize ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string