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