예제 #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.");
 }
예제 #2
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state)
     : this(ProductName, Version)
 {
     this.mSoftwareState = state;
 }
예제 #3
0
 public String GetApplicationTitle(string productName, string ProductVersion, VersionDepth Depth, SoftwareCycle state)
 {
     return(GetApplicationTitle(productName, ProductVersion, Depth) + " " + state);
 }
예제 #4
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state)
 {
     this.mAppName = ProductName;
     this.mLocalVersion = Version;
     this.mSoftwareState = state;
 }
예제 #5
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state, bool showFinal)
     : this(ProductName, Version, state)
 {
     this.mShowFinalState = showFinal;
 }
예제 #6
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state, bool showFinal)
     : this(ProductName, Version, state)
 {
     this.mShowFinalState = showFinal;
 }
예제 #7
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state)
     : this(ProductName, Version)
 {
     this.mSoftwareState = state;
 }
예제 #8
0
 public String GetApplicationTitle(string productName, string ProductVersion, VersionDepth Depth, SoftwareCycle state)
 {
     return GetApplicationTitle(productName, ProductVersion, Depth) + " " + state;
 }
예제 #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.");
 }
예제 #10
0
 public AppInfo(string ProductName, string Version, SoftwareCycle state)
 {
     this.mAppName       = ProductName;
     this.mLocalVersion  = Version;
     this.mSoftwareState = state;
 }