void DoDistinct() { foreach (var it in TargetCollection.Distinct(Distinct, _Query)) { WriteObject(Actor.ToObject(it)); } }