public string ToString(AssemblyInfoString str) { switch (str) { case AssemblyInfoString.Full: return("[" + "Product: " + this.AssemblyProduct + "; " + "Title: " + this.AssemblyTitle + "; " + "Version: " + this.AssemblyVersion + "; " + "Description: " + this.AssemblyDescription + "; " + "Company: " + this.AssemblyCompany + "; " + "Copyright: " + this.AssemblyCopyright + "]"); case AssemblyInfoString.Normal: return("[" + "Title: " + this.AssemblyTitle + "; " + "Version: " + this.AssemblyVersion + "; " + "Description: " + this.AssemblyDescription + "; " + "Copyright: " + this.AssemblyCopyright + "]"); case AssemblyInfoString.Easy: return("Title: " + this.AssemblyTitle); case AssemblyInfoString.CommandLineStyle: return (this.AssemblyTitle + "\t" + this.AssemblyCopyright + " (" + this.AssemblyVersion + ")\n" + this.AssemblyDescription + "\n"); default: throw new NotImplementedException(); } }
public string ToString(AssemblyInfoString str) { switch (str) { case AssemblyInfoString.Full: return "[" + "Product: " + this.AssemblyProduct + "; " + "Title: " + this.AssemblyTitle + "; " + "Version: " + this.AssemblyVersion + "; " + "Description: " + this.AssemblyDescription + "; " + "Company: " + this.AssemblyCompany + "; " + "Copyright: " + this.AssemblyCopyright + "]"; case AssemblyInfoString.Normal: return "[" + "Title: " + this.AssemblyTitle + "; " + "Version: " + this.AssemblyVersion + "; " + "Description: " + this.AssemblyDescription + "; " + "Copyright: " + this.AssemblyCopyright + "]"; case AssemblyInfoString.Easy: return "Title: " + this.AssemblyTitle; case AssemblyInfoString.CommandLineStyle: return this.AssemblyTitle + "\t" + this.AssemblyCopyright + " (" + this.AssemblyVersion + ")\n" + this.AssemblyDescription + "\n"; default: throw new NotImplementedException(); } }