예제 #1
0
 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)));
     }
 }
예제 #2
0
 public override bool HasBeenAnswered(CustomQuestionProperties props)
 {
     if (props.ContainsAttribute(_valueGuid))
     {
         return(!string.IsNullOrEmpty(props.GetAttributeString(_valueGuid)));
     }
     else
     {
         return(false);
     }
 }