Beispiel #1
0
        public void DismissTarget(Target target)
        {
            TagTarget tagTarget = TagTargets.FirstOrDefault(tt => (tt.Tag == this && tt.Target == target));

            if (tagTarget == null)
            {
                return;
            }

            TagTargets.Remove(tagTarget);
        }
Beispiel #2
0
        public void RemoveTag(Tag queriedTag)
        {
            TagTarget tagTarget = TagTargets.SingleOrDefault(tt => tt.Tag == queriedTag);

            TagTargets.Remove(tagTarget);
        }