Пример #1
0
        public override IEnumerable <Item> Perform(IEnumerable <Item> items, IEnumerable <Item> modItems)
        {
            string alias;

            alias = (modItems.First() as ITextItem).Text;
            yield return(AliasItemSource.Alias(items.First(), alias));;
        }
Пример #2
0
 public override IEnumerable <Item> Perform(IEnumerable <Item> items, IEnumerable <Item> modItems)
 {
     foreach (Item item in items)
     {
         AliasItemSource.Unalias(item);
     }
     return(null);
 }
Пример #3
0
 public override bool SupportsItem(Item item)
 {
     return(AliasItemSource.ItemHasAlias(item));
 }