/// <inheritdoc/> public override ModelBatchRuleExecuteLevels InitializeForTransaction(IRuleInitializeContext context) { return(ModelBatchRuleExecuteLevels.Intermediate); }
/// <inheritdoc/> public override ModelBatchRuleExecuteLevels InitializeForTransaction(IRuleInitializeContext context) { // Indicated that this batch rule should run at each stage of the transaction and just just when // the operation completes. return(ModelBatchRuleExecuteLevels.Intermediate); }
/// <inheritdoc/> public override ModelBatchRuleExecuteLevels InitializeForTransaction(IRuleInitializeContext context) { return(context.IsRootElementUnsetOrMatches <BlockDiagram>() ? ModelBatchRuleExecuteLevels.Intermediate : ModelBatchRuleExecuteLevels.None); }