Example #1
0
 public QuestionElementManager(string identifier, string text, ElementManagerCollection parent, ElementManagerController controller, ExpressionBool activationExpression = null, TypedExpressionValue <T> answerExpression = null) :
     base(identifier, text, "question", parent, controller, activationExpression)
 {
     Answer            = new QuestionElementValue <T>(default(T), false);
     IsAnswered        = false;
     _answerExpression = answerExpression;
     Editable          = _answerExpression == null;
 }
Example #2
0
 public ElementManagerLeaf(string identifier, string text, string xmlName, ElementManagerCollection parent, ElementManagerController controller, ExpressionBool activationExpression = null) :
     base(identifier, text, xmlName, controller, activationExpression)
 {
     Parent = parent;
 }