C# Class SIPSorcery.SIP.SIPParameters

显示文件 Open project: sipsorcery/sipsorcery Class Usage Examples

Private Properties

Property Type Description
AddKeyValuePair void
Initialise void

Public Methods

Method Description
CopyOf ( ) : SIPParameters
Get ( string name ) : string
GetHashCode ( ) : int
GetKeyValuePairsFromQuoted ( string quotedString, char delimiter ) : string[]
GetKeys ( ) : string[]
Has ( string name ) : bool
Remove ( string name ) : void
RemoveAll ( ) : void
SIPParameters ( string sipString, char delimiter ) : NUnit.Framework

Parses the name value pairs from a SIP parameter or header string.

Set ( string name, string value ) : void
ToString ( ) : string

Private Methods

Method Description
AddKeyValuePair ( string keyValuePair, string>.Dictionary dictionary ) : void
Initialise ( string sipString, char delimiter ) : void

Method Details

CopyOf() public method

public CopyOf ( ) : SIPParameters
return SIPParameters

Get() public method

public Get ( string name ) : string
name string
return string

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetKeyValuePairsFromQuoted() public static method

public static GetKeyValuePairsFromQuoted ( string quotedString, char delimiter ) : string[]
quotedString string
delimiter char
return string[]

GetKeys() public method

public GetKeys ( ) : string[]
return string[]

Has() public method

public Has ( string name ) : bool
name string
return bool

Remove() public method

public Remove ( string name ) : void
name string
return void

RemoveAll() public method

public RemoveAll ( ) : void
return void

SIPParameters() public method

Parses the name value pairs from a SIP parameter or header string.
public SIPParameters ( string sipString, char delimiter ) : NUnit.Framework
sipString string
delimiter char
return NUnit.Framework

Set() public method

public Set ( string name, string value ) : void
name string
value string
return void

ToString() public method

public ToString ( ) : string
return string