C# Class DotNetOpenAuth.OpenId.Identifier

Afficher le fichier Open project: OneCare/dotnetopenid Class Usage Examples

Private Properties

Свойство Type Description
Identifier System
Identifier System
IsValid bool
Parse Identifier
Parse Identifier
Reparse Identifier
TrimFragment Identifier
TryRequireSsl bool

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool

Tests equality between two Identifiers.

GetHashCode ( ) : int

Gets the hash code for an Identifier for storage in a hashtable.

TryParse ( string value, Identifier &result ) : bool

Attempts to parse a string for an OpenId Identifier.

operator ( ) : bool

Tests equality between two Identifiers.

Private Methods

Méthode Description
Identifier ( ) : System

Initializes static members of the Identifier class.

Identifier ( string originalString, bool isDiscoverySecureEndToEnd ) : System
IsValid ( string identifier ) : bool
Parse ( string identifier ) : Identifier
Parse ( string identifier, bool serializeExactValue ) : Identifier
Reparse ( Identifier identifier ) : Identifier

Reparses the specified identifier in order to be assured that the concrete type that implements the identifier is one of the well-known ones.

TrimFragment ( ) : Identifier
TryRequireSsl ( Identifier &secureIdentifier ) : bool

Converts a given identifier to its secure equivalent. UriIdentifiers originally created with an implied HTTP scheme change to HTTPS. Discovery is made to require SSL for the entire resolution process.

Method Details

Equals() public méthode

Tests equality between two Identifiers.
/// The parameter is null. ///
public Equals ( object obj ) : bool
obj object The to compare with the current .
Résultat bool

GetHashCode() public méthode

Gets the hash code for an Identifier for storage in a hashtable.
public GetHashCode ( ) : int
Résultat int

TryParse() public static méthode

Attempts to parse a string for an OpenId Identifier.
public static TryParse ( string value, Identifier &result ) : bool
value string The string to be parsed.
result Identifier The parsed Identifier form.
Résultat bool

operator() public static méthode

Tests equality between two Identifiers.
public static operator ( ) : bool
Résultat bool