public override void FillAnswerFileNode(System.Xml.Linq.XElement answerFileNode, CustomQuestionProperties props) { if (props.ContainsAttribute(_valueGuid)) { answerFileNode.Add(new System.Xml.Linq.XAttribute(_valueGuid.ToString(), props.GetAttributeString(_valueGuid))); } }
public override bool HasBeenAnswered(CustomQuestionProperties props) { if (props.ContainsAttribute(_valueGuid)) { return(!string.IsNullOrEmpty(props.GetAttributeString(_valueGuid))); } else { return(false); } }