/Mercurial.Net/Extensions/CaseGuard/CaseGuardExtension.cs

# · C# · 19 lines · 13 code · 0 blank · 6 comment · 0 complexity · 4ee718bce0cac1466980dae4ef669c8f MD5 · raw file

  1. namespace Mercurial.Extensions.CaseGuard
  2. {
  3. /// <summary>
  4. /// This class contains logic for the caseguard Mercurial extension.
  5. /// </summary>
  6. public static class CaseGuardExtension
  7. {
  8. /// <summary>
  9. /// Gets a value indicating whether the caseguard extension is installed and active.
  10. /// </summary>
  11. public static bool IsInstalled
  12. {
  13. get
  14. {
  15. return ClientExecutable.Configuration.ValueExists("extensions", "caseguard");
  16. }
  17. }
  18. }
  19. }