Beispiel #1
0
        public bool HasExpression(ExpressionType type, out string script)
        {
            EbScript obj = null;

            if (type == ExpressionType.ValueExpression)
            {
                obj = ValueExpr;
            }
            else if (type == ExpressionType.HideExpression)
            {
                obj = HiddenExpr;
            }
            else if (type == ExpressionType.DisableExpression)
            {
                obj = DisableExpr;
            }
            else if (type == ExpressionType.HideExpression)
            {
                obj = DefaultValueExpression;
            }

            script = obj?.GetCode();

            return(obj != null && !obj.IsEmpty());
        }
 public EbMobileVisualization()
 {
     OfflineQuery       = new EbScript();
     DataSourceParams   = new List <Param>();
     FilterControls     = new List <EbMobileControl>();
     SortColumns        = new List <EbMobileDataColumn>();
     LinkFormParameters = new List <EbMobileDataColToControlMap>();
 }
Beispiel #3
0
 public EbMobilePdf()
 {
     OfflineQuery = new EbScript();
 }