Example #1
0
        protected override void WriteResult(IConfigurable dataObject)
        {
            PsHoldRule psHoldRule = new PsHoldRule(dataObject as RuleStorage);

            psHoldRule.PopulateTaskProperties(this, base.DataSession as IConfigurationSession);
            base.WriteResult(psHoldRule);
        }
Example #2
0
        protected override void WriteResult(IConfigurable dataObject)
        {
            PsHoldRule psHoldRule = new PsHoldRule(dataObject as RuleStorage);

            psHoldRule.PopulateTaskProperties(this, base.DataSession as IConfigurationSession);
            if (psHoldRule.ReadOnly)
            {
                this.WriteWarning(Strings.WarningTaskRuleIsTooAdvancedToRead(psHoldRule.Name));
            }
            base.WriteResult(psHoldRule);
        }