C# Class SipSharp.Messages.Headers.StringHeader

Contains a string header value
Inheritance: IHeader
Exibir arquivo Open project: jgauffin/SipSharp

Public Methods

Method Description
Clone ( ) : object

Creates a new object that is a copy of the current instance.

Equals ( IHeader other ) : bool

Indicates whether the current object is equal to another object of the same type.

StringHeader ( string name )

Initializes a new instance of the StringHeader class.

StringHeader ( string name, string value )

Initializes a new instance of the StringHeader class.

ToString ( ) : string

Method Details

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object

Equals() public method

Indicates whether the current object is equal to another object of the same type.
public Equals ( IHeader other ) : bool
other IHeader An object to compare with this object. ///
return bool

StringHeader() public method

Initializes a new instance of the StringHeader class.
public StringHeader ( string name )
name string Header name.

StringHeader() public method

Initializes a new instance of the StringHeader class.
public StringHeader ( string name, string value )
name string Header name.
value string Header value

ToString() public method

public ToString ( ) : string
return string