Exemplo n.º 1
0
 public static void OnDemand()
 {
     if (UserChecker.ItIsMe())
     {
         OnceOnlyWriter.WriteLine(SauceryConstants.ON_DEMAND, Enviro.SauceOnDemandBrowsers);
     }
 }
Exemplo n.º 2
0
 public static void CopyrightBanner()
 {
     OnceOnlyWriter.WriteLine(SauceryConstants.CONSOLE_RUNNER, Saucery3Constants.PRODUCTNAME /*, NuGetHelper.GetInstalledVersion()*/);
     OnceOnlyWriter.WriteLine(SauceryConstants.COPYRIGHT_NOTICE, GetCurrentYear());
     //NewVersionAvailable();
     OnceOnlyWriter.WriteLine(SauceryConstants.SPACE);
 }
Exemplo n.º 3
0
 internal static void RestApiLimitExceeded()
 {
     OnceOnlyWriter.WriteLine(SauceryConstants.RESTAPI_LIMIT_EXCEEDED_MSG);
 }
Exemplo n.º 4
0
 public static void DaysRemaining(double remaining)
 {
     OnceOnlyWriter.WriteLine(SauceryConstants.DAYS_REMAINING, remaining);
 }
Exemplo n.º 5
0
 public static void UsingTrial()
 {
     OnceOnlyWriter.WriteLine(SauceryConstants.TRIAL_VERSION, Saucery3Constants.PRODUCTNAME);
 }
Exemplo n.º 6
0
        //private static void NewVersionAvailable() {
        //    if (NuGetHelper.IsNewVersionAvailable()) {
        //        var installed = NuGetHelper.GetInstalledVersion();
        //        var max = NuGetHelper.GetMaxVersion();
        //        OnceOnlyWriter.WriteLine(SauceryConstants.NEW_VERSION_AVAILABLE, installed, max);
        //    }
        //}

        public static void UsingLicenced()
        {
            OnceOnlyWriter.WriteLine(SauceryConstants.LICENCED_VERSION, Saucery3Constants.PRODUCTNAME);
        }
Exemplo n.º 7
0
 public static void TestingOn(List <SaucePlatform> platforms)
 {
     OnceOnlyWriter.WriteLine(platforms.Any()
         ? string.Format(SauceryConstants.TESTING_ON, platforms.Count, GetMoniker(platforms))
         : SauceryConstants.NO_PLATFORMS);
 }