Ejemplo n.º 1
0
 /// <summary>
 /// Returns the JavaScript statements that should be executed when the value changes. Not available until after the page tree has been built.
 /// </summary>
 public string GetJsModificationStatements(string valueExpression)
 {
     EwfPage.AssertPageTreeBuilt();
     return(jsModificationStatements.Aggregate(
                new StringBuilder(),
                (builder, statementGetter) => builder.Append(statementGetter(valueExpression)),
                i => i.ToString()));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Not available until after the page tree has been built.
 /// </summary>
 internal IEnumerable <string> GetClassNames()
 {
     EwfPage.AssertPageTreeBuilt();
     return(from i in ConditionsByClassName where i.Value == null || i.Value.IsTrue select i.Key);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Not available until after the page tree has been built.
 /// </summary>
 internal IEnumerable <string> GetClassNames()
 {
     EwfPage.AssertPageTreeBuilt();
     return(from i in JsModificationStatementAdderAndInclusionPredicatePairsByClassName where i.Value == null || i.Value.Item2() select i.Key);
 }