C# Class Microsoft.Protocols.TestSuites.SharedAdapter.SignatureObject

Signature Object
Inheritance: StreamObject
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Override the equals method.

GetHashCode ( ) : int

Override the GetHashCode method.

SignatureObject ( ) : System

Initializes a new instance of the SignatureObject class.

ToString ( ) : string

Override the ToString method.

Protected Methods

Method Description
DeserializeItemsFromByteArray ( byte byteArray, int &currentIndex, int lengthOfItems ) : void

Used to de-serialize the element.

SerializeItemsToByteList ( List byteList ) : int

Used to convert the element into a byte List.

Method Details

DeserializeItemsFromByteArray() protected method

Used to de-serialize the element.
protected DeserializeItemsFromByteArray ( byte byteArray, int &currentIndex, int lengthOfItems ) : void
byteArray byte A Byte array
currentIndex int Start position
lengthOfItems int The length of the items
return void

Equals() public method

Override the equals method.
public Equals ( object obj ) : bool
obj object Specify the compared instance.
return bool

GetHashCode() public method

Override the GetHashCode method.
public GetHashCode ( ) : int
return int

SerializeItemsToByteList() protected method

Used to convert the element into a byte List.
protected SerializeItemsToByteList ( List byteList ) : int
byteList List A Byte list
return int

SignatureObject() public method

Initializes a new instance of the SignatureObject class.
public SignatureObject ( ) : System
return System

ToString() public method

Override the ToString method.
public ToString ( ) : string
return string