C# Class SipSharp.Messages.Headers.NumericHeader

Contains an int value.
Inheritance: IHeader
Mostrar archivo 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.

Equals ( object obj ) : bool
NumericHeader ( string name )

Initializes a new instance of the NumericHeader class.

NumericHeader ( string name, int value )

Initializes a new instance of the NumericHeader 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

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

NumericHeader() public method

Initializes a new instance of the NumericHeader class.
public NumericHeader ( string name )
name string The name.

NumericHeader() public method

Initializes a new instance of the NumericHeader class.
public NumericHeader ( string name, int value )
name string The name.
value int Numerical value.

ToString() public method

public ToString ( ) : string
return string