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