예제 #1
0
 private static ExtendedRichDescription GetStatementDescription(SetContextStatement statement)
 {
     return(new ExtendedRichDescription(
                new RichDescription(
                    "Setting ",
                    new Hilite(statement.ContextType),
                    " context to ",
                    new Hilite(statement.ContextValue)
                    )
                ));
 }
예제 #2
0
 private static void Validate(SetContextStatement statement, ValidateStatementEventArgs e) => Validate(statement.ContextType, e);