Example #1
0
 public string GetApplicationTitle(VersionDepth depth, SoftwareCycle cycle, bool showFinal)
 {
     if (!string.IsNullOrEmpty(AppName) && !string.IsNullOrEmpty(mLocalVersion))
     {
         if (cycle == SoftwareCycle.Final && showFinal || cycle != SoftwareCycle.Final)
         {
             return(GetApplicationTitle(AppName, mLocalVersion, depth, cycle));
         }
         return(GetApplicationTitle(AppName, mLocalVersion, depth));
     }
     throw new Exception("Product Name or Product Version is Empty.");
 }
Example #2
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state)
     : this(ProductName, Version)
 {
     this.mSoftwareState = state;
 }
Example #3
0
 public String GetApplicationTitle(string productName, string ProductVersion, VersionDepth Depth, SoftwareCycle state)
 {
     return(GetApplicationTitle(productName, ProductVersion, Depth) + " " + state);
 }
Example #4
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state)
 {
     this.mAppName = ProductName;
     this.mLocalVersion = Version;
     this.mSoftwareState = state;
 }
Example #5
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state, bool showFinal)
     : this(ProductName, Version, state)
 {
     this.mShowFinalState = showFinal;
 }
Example #6
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state, bool showFinal)
     : this(ProductName, Version, state)
 {
     this.mShowFinalState = showFinal;
 }
Example #7
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state)
     : this(ProductName, Version)
 {
     this.mSoftwareState = state;
 }
Example #8
0
 public String GetApplicationTitle(string productName, string ProductVersion, VersionDepth Depth, SoftwareCycle state)
 {
     return GetApplicationTitle(productName, ProductVersion, Depth) + " " + state;
 }
Example #9
0
 public string GetApplicationTitle(VersionDepth depth, SoftwareCycle cycle, bool showFinal)
 {
     if (!string.IsNullOrEmpty(AppName) && !string.IsNullOrEmpty(mLocalVersion))
     {
         if (cycle == SoftwareCycle.Final && showFinal || cycle != SoftwareCycle.Final)
         {
             return GetApplicationTitle(AppName, mLocalVersion, depth, cycle);
         }
         return GetApplicationTitle(AppName, mLocalVersion, depth);
     }
     throw new Exception("Product Name or Product Version is Empty.");
 }
Example #10
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state)
 {
     this.mAppName       = ProductName;
     this.mLocalVersion  = Version;
     this.mSoftwareState = state;
 }