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

This class specifies the client knows about a state of a file.
Inheritance: StreamObject
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
Knowledge ( ) : System.Collections.Generic

Initializes a new instance of the Knowledge class.

Protected Methods

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

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

SerializeItemsToByteList ( List byteList ) : int

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

Method Details

DeserializeItemsFromByteArray() protected method

This method is used to deserialize the items of the 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 knowledge.
return void

Knowledge() public method

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

SerializeItemsToByteList() protected method

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