Property | Type | Description | |
---|---|---|---|
author | string | ||
type | AnnotationType |
Method | Description | |
---|---|---|
AnnotationBase ( ) : System | ||
AnnotationBase ( System.Guid id, System.Guid server_id, System.Guid author_id, System.DateTime time, string author ) : System | ||
AnnotationBase ( System.Guid id, System.Guid server_id, System.Guid author_id, System.DateTime time, string author, AnnotationType type ) : System | ||
AnnotationBase ( byte data ) : System | ||
GetBytes ( ) : byte[] |
Returns the annotation data as an array of bytes
|
Method | Description | |
---|---|---|
ReadBaseData ( |
Read the data from a given MemoryStream and return that steam with the pointer at the end of the data Will Seek the start of the MemoryStream given and leave it at the end of the bytes loaded. Exceptions must be caught upstream. |
|
WriteBaseData ( ) : |
Generate a MemoryStream containing the base into which to add the data for the rest of the annotation. The MemoryStream is a new stream and therefore must be closed after use. |
public AnnotationBase ( System.Guid id, System.Guid server_id, System.Guid author_id, System.DateTime time, string author ) : System | ||
id | System.Guid | |
server_id | System.Guid | |
author_id | System.Guid | |
time | System.DateTime | |
author | string | |
return | System |
public AnnotationBase ( System.Guid id, System.Guid server_id, System.Guid author_id, System.DateTime time, string author, AnnotationType type ) : System | ||
id | System.Guid | |
server_id | System.Guid | |
author_id | System.Guid | |
time | System.DateTime | |
author | string | |
type | AnnotationType | |
return | System |
protected ReadBaseData ( |
||
ms | ||
return |
protected WriteBaseData ( ) : |
||
return |