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

This class specifies the waterline knowledge.
Inheritance: SpecializedKnowledgeData
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
WaterlineKnowledge ( ) : System.Collections.Generic

Initializes a new instance of the WaterlineKnowledge class.

Protected Methods

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

This method is used to deserialize the items of the waterline knowledge from the byte array.

SerializeItemsToByteList ( List byteList ) : int

This method is used to serialize the items of the waterline knowledge to the byte list.

Method Details

DeserializeItemsFromByteArray() protected method

This method is used to deserialize the items of the waterline knowledge from the byte array.
protected DeserializeItemsFromByteArray ( byte byteArray, int &currentIndex, int lengthOfItems ) : void
byteArray byte Specify the byte array.
currentIndex int Specify the start index from the byte array.
lengthOfItems int Specify the current length of items in the waterline knowledge.
return void

SerializeItemsToByteList() protected method

This method is used to serialize the items of the waterline knowledge to the byte list.
protected SerializeItemsToByteList ( List byteList ) : int
byteList List Specify the byte list which stores the information of the waterline knowledge.
return int

WaterlineKnowledge() public method

Initializes a new instance of the WaterlineKnowledge class.
public WaterlineKnowledge ( ) : System.Collections.Generic
return System.Collections.Generic