C# Class SensorShare.QuestionAndAnswerAnnotation

Inheritance: AnnotationBase
Show file Open project: MarkPaxton/SensorShare3 Class Usage Examples

Public Properties

Property Type Description
AnswerText string
Question QuestionMessage

Public Methods

Method Description
GetBytes ( ) : byte[]

Return the Annotation as a byte array

QuestionAndAnswerAnnotation ( QuestionMessage question, System.Guid id, System.Guid author_id, string author, string answerText ) : System
QuestionAndAnswerAnnotation ( byte data ) : System

Method Details

GetBytes() public method

Return the Annotation as a byte array
public GetBytes ( ) : byte[]
return byte[]

QuestionAndAnswerAnnotation() public method

public QuestionAndAnswerAnnotation ( QuestionMessage question, System.Guid id, System.Guid author_id, string author, string answerText ) : System
question QuestionMessage
id System.Guid ID of the annotation
author_id System.Guid
author string
answerText string
return System

QuestionAndAnswerAnnotation() public method

public QuestionAndAnswerAnnotation ( byte data ) : System
data byte
return System

Property Details

AnswerText public property

The text of the answer
public string AnswerText
return string

Question public property

public QuestionMessage,SensorShare Question
return QuestionMessage