C# Class SipSharp.Messages.Headers.Parsers.UriParser

Afficher le fichier Open project: jgauffin/SipSharp Class Usage Examples

Méthodes publiques

Méthode Description
Parse ( ITextReader reader ) : SipUri

Parse a message value.

Parse ( string text ) : SipUri

Parse a message value.

ParseContact ( ITextReader reader ) : Contact
ParseParameters ( string>.IKeyValueCollection parameters, ITextReader reader ) : void

Parse all semicolon separated parameters.

ParseParameters ( string>.IKeyValueCollection parameters, ITextReader reader, char delimiter ) : void

Parse all semicolon separated parameters.

Parameter names are converted to lower case.

Private Methods

Méthode Description
IsValidScheme ( string scheme ) : bool
Test ( string uriString ) : void
TestCombined ( ) : void

Method Details

Parse() public static méthode

Parse a message value.
Header value is malformed.
public static Parse ( ITextReader reader ) : SipUri
reader ITextReader Reader containing the string that should be parsed.
Résultat SipUri

Parse() public static méthode

Parse a message value.
Header value is malformed.
public static Parse ( string text ) : SipUri
text string Text containg uri.
Résultat SipUri

ParseContact() public static méthode

public static ParseContact ( ITextReader reader ) : Contact
reader ITextReader
Résultat Contact

ParseParameters() public static méthode

Parse all semicolon separated parameters.
public static ParseParameters ( string>.IKeyValueCollection parameters, ITextReader reader ) : void
parameters string>.IKeyValueCollection
reader ITextReader
Résultat void

ParseParameters() public static méthode

Parse all semicolon separated parameters.
Parameter names are converted to lower case.
public static ParseParameters ( string>.IKeyValueCollection parameters, ITextReader reader, char delimiter ) : void
parameters string>.IKeyValueCollection String containing all parameters to parse
reader ITextReader
delimiter char Delimiter separating parameters.
Résultat void