public override object Clone() { QuestionFlowDocumentPart newPart = new QuestionFlowDocumentPart(); newPart.Id = this.Id; newPart.FlowDocument = this.FlowDocument; return(newPart); }
public override int CompareTo(QuestionContentPart other) { if (!(other is QuestionFlowDocumentPart)) { return(-1); } QuestionFlowDocumentPart flowDocumentPart = other as QuestionFlowDocumentPart; return(this.FlowDocument.CompareTo(flowDocumentPart.FlowDocument)); }