示例#1
0
 internal override void Execute()
 {
     if (_duration == null)
     {
         _tagable.Tag(_tag);
     }
     else
     {
         _tagable.Tag(_tag, _duration.Value);
     }
 }
示例#2
0
 public static void Tag(this ITagable tagable, string tag, int duration)
 {
     tagable.Tag(new TimerTag(tag, duration));
 }
示例#3
0
 public static void Tag(this ITagable tagable, string tag)
 {
     tagable.Tag(new BaseTag(tag));
 }