protected override void ProcessRecordInEH() { if (string.IsNullOrWhiteSpace(Type)) { Type = "*"; } WorkItemStore workItemStore = EnsureWorkItemStore(); foreach (WorkItemLinkTypeEnd workItemLinkTypeEnd in workItemStore.MatchWorkItemLinkTypeEnds(Type)) { WriteObject(workItemLinkTypeEnd); } }