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