C# Класс DotNetOpenAuth.OpenId.Identifier

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Identifier System
Identifier System
IsValid bool
Parse Identifier
Parse Identifier
Reparse Identifier
TrimFragment Identifier
TryRequireSsl bool

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

Equals() публичный Метод

Tests equality between two Identifiers.
/// The parameter is null. ///
public Equals ( object obj ) : bool
obj object The to compare with the current .
Результат bool

GetHashCode() публичный Метод

Gets the hash code for an Identifier for storage in a hashtable.
public GetHashCode ( ) : int
Результат int

TryParse() публичный статический Метод

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.
Результат bool

operator() публичный статический Метод

Tests equality between two Identifiers.
public static operator ( ) : bool
Результат bool