Пример #1
0
        private void ValidateParameters()
        {
            try
            {
                this.Diagnostics.StartTimer("Validation");
                FfoExpressionVisitor <TOutputObject> .Parse(this.Expression, this);

                Schema.Utilities.ValidateParameters(this, () => this.ConfigSession, new HashSet <CmdletValidator.ValidatorTypes>
                {
                    CmdletValidator.ValidatorTypes.Preprocessing
                });
                this.CustomInternalValidate();
            }
            finally
            {
                this.Diagnostics.StopTimer("Validation");
            }
        }
        public static void Parse(Expression node, object task)
        {
            FfoExpressionVisitor <TReportObject> ffoExpressionVisitor = new FfoExpressionVisitor <TReportObject>(task);

            ffoExpressionVisitor.Visit(node);
        }