Example #1
0
 /// <summary>
 /// Check if this action is available at the constructed context.
 /// Actions could store precalculated info in <paramref name="cache"/> to share it between different actions
 /// </summary>
 public override bool IsAvailable(IUserDataHolder cache)
 {
     return(_highlighting.IsValid());
 }
 public override bool IsAvailable(IUserDataHolder cache)
 => _highlighting.IsValid();