Methods
DeserializeChunk(reader) → {Boolean}
Reads the data of a chunk. The chunk header is already read by the reader and this method deserializes the contents of the chunk. Called continuously for each of the entity set's chunks
Parameters:
Name | Type | Description |
---|---|---|
reader |
AxHierarchyStreamReader | Reader to use for reading the serialized data. |
Returns:
True if a chunk was successfully deserialized
- Type
- Boolean
HierarchyContains(resource) → {Boolean}
Checks recursively whether the hierarchy in the set contains given resource.
Parameters:
Name | Type | Description |
---|---|---|
resource |
AxResource | The resource to check for in the set hierarchy |
Returns:
True if the set hierarchy contains the given resource
- Type
- Boolean
HierarchyContains(resource) → {Boolean}
Checks recursively whether the set contains a given resource.
Parameters:
Name | Type | Description |
---|---|---|
resource |
AxResource | The resource to be checked for |
Returns:
True if the set's references and subreferences contain the given resource
- Type
- Boolean
SerializeChunks(writer)
Writes chunks for all the data which is needed to serialize the entity set.
Parameters:
Name | Type | Description |
---|---|---|
writer |
AxHierarchyStreamWriter | Writer to use for writing the serialization data |