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

This class specifies the SpecializedKnowledge.
Inheritance: StreamObject
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Properties

Property Type Description
CellKnowledgeGuid System.Guid
ContentTagKnowledgeGuid System.Guid
FragmentKnowledgeGuid System.Guid
KnowledgeEnumGuidMapping Guid>.Dictionary
KnowledgeTypeGuidMapping Type>.Dictionary
WaterlineKnowledgeGuid System.Guid

Public Methods

Method Description
SpecializedKnowledge ( ) : System

Initializes a new instance of the SpecializedKnowledge class.

Protected Methods

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

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

SerializeItemsToByteList ( List byteList ) : int

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

Method Details

DeserializeItemsFromByteArray() protected method

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

SerializeItemsToByteList() protected method

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

SpecializedKnowledge() public method

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

Property Details

CellKnowledgeGuid public static property

A GUID value specifies a cell knowledge.
public static Guid,System CellKnowledgeGuid
return System.Guid

ContentTagKnowledgeGuid public static property

A GUID value specifies a content tag knowledge.
public static Guid,System ContentTagKnowledgeGuid
return System.Guid

FragmentKnowledgeGuid public static property

A GUID value specifies a fragment knowledge.
public static Guid,System FragmentKnowledgeGuid
return System.Guid

KnowledgeEnumGuidMapping public static property

A mapping that maps the stream object header and knowledge GUID value.
public static Dictionary KnowledgeEnumGuidMapping
return Guid>.Dictionary

KnowledgeTypeGuidMapping public static property

A mapping that maps the knowledge GUID value and the knowledge types.
public static Dictionary KnowledgeTypeGuidMapping
return Type>.Dictionary

WaterlineKnowledgeGuid public static property

A GUID value specifies a waterline knowledge.
public static Guid,System WaterlineKnowledgeGuid
return System.Guid