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()); }
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())); }