コード例 #1
0
        protected override IEnumerable<CollectedItem> collectDataForSystemItem(ItemType systemItem)
        {
            CreateAuditEventPolicyHelper();
            var itemTypeBuilder = new AuditEventPolicyItemTypeBuilder(systemItem);

            var auditEventPolicies = this.AuditEventPolicyHelper.GetAuditEventPolicies(this.TargetInfo);
            itemTypeBuilder.FillItemTypeWithData(auditEventPolicies);
            itemTypeBuilder.SetItemTypeStatus(StatusEnumeration.exists, null);

            return new ItemTypeHelper().CreateCollectedItemsWithOneItem(itemTypeBuilder.BuiltItemType, BuildExecutionLog());
        }
コード例 #2
0
        protected override IEnumerable <CollectedItem> collectDataForSystemItem(ItemType systemItem)
        {
            CreateAuditEventPolicyHelper();
            var itemTypeBuilder = new AuditEventPolicyItemTypeBuilder(systemItem);

            var auditEventPolicies = this.AuditEventPolicyHelper.GetAuditEventPolicies(this.TargetInfo);

            itemTypeBuilder.FillItemTypeWithData(auditEventPolicies);
            itemTypeBuilder.SetItemTypeStatus(StatusEnumeration.exists, null);

            return(new ItemTypeHelper().CreateCollectedItemsWithOneItem(itemTypeBuilder.BuiltItemType, BuildExecutionLog()));
        }