示例#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));
 }