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."); }
public AppInfo(string ProductName, string Version, SoftwareCycle state) : this(ProductName, Version) { this.mSoftwareState = state; }
public String GetApplicationTitle(string productName, string ProductVersion, VersionDepth Depth, SoftwareCycle state) { return(GetApplicationTitle(productName, ProductVersion, Depth) + " " + state); }
public AppInfo(string ProductName, string Version, SoftwareCycle state) { this.mAppName = ProductName; this.mLocalVersion = Version; this.mSoftwareState = state; }
public AppInfo(string ProductName, string Version, SoftwareCycle state, bool showFinal) : this(ProductName, Version, state) { this.mShowFinalState = showFinal; }
public String GetApplicationTitle(string productName, string ProductVersion, VersionDepth Depth, SoftwareCycle state) { return GetApplicationTitle(productName, ProductVersion, Depth) + " " + state; }
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."); }