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 string GetVersion(string ProductVersion, VersionDepth Depth) { string title = ""; int i; int d = Convert.ToInt32(Depth); String[] version = ProductVersion.Split('.'); if (d > version.Length) { d = version.Length; } for (i = 0; i < d - 1; i++) { title += version[i] + "."; } title += version[i]; return(title); }
public String GetApplicationTitle(string ProductName, string ProductVersion, VersionDepth Depth) { return(ProductName + " " + GetVersion(ProductVersion, Depth)); }
public String GetApplicationTitle(string productName, string ProductVersion, VersionDepth Depth, SoftwareCycle state) { return(GetApplicationTitle(productName, ProductVersion, Depth) + " " + state); }
public string GetApplicationTitle(VersionDepth depth, bool showFinal) { return(GetApplicationTitle(depth, mSoftwareState, showFinal)); }
public string GetVersion(string ProductVersion, VersionDepth Depth) { string title = ""; int i; int d = System.Convert.ToInt32(Depth); String[] version = ProductVersion.Split('.'); if (d > version.Length) { d = version.Length; } for (i = 0; i < d - 1; i++) { title += version[i] + "."; } title += version[i]; return title; }
public string GetApplicationTitle(VersionDepth depth) { return(GetApplicationTitle(depth, mShowFinalState)); }
public String GetApplicationTitle(string ProductName, string ProductVersion, VersionDepth Depth) { return ProductName + " " + GetVersion(ProductVersion, Depth); }
public string GetVersion(VersionDepth Depth) { return GetVersion(GetRemoteVersion(), Depth); }
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."); }
public string GetApplicationTitle(VersionDepth depth, bool showFinal) { return GetApplicationTitle(depth, mSoftwareState, showFinal); }
public string GetApplicationTitle(VersionDepth depth) { return GetApplicationTitle(depth, mShowFinalState); }
public string GetVersion(VersionDepth Depth) { return(GetVersion(GetRemoteVersion(), Depth)); }