/// <summary>
 /// Gets a StringBuilder from the caller and uses it to append string information about the instance.
 /// </summary>
 /// <param name="builder">A StringBuilder instance to append data to.</param>
 public void BuildString(StringBuilder builder)
 {
     builder.Append("VersionAttributes {");
     StringBuildableUtility.BuildFromMember(builder, ProductName, "ProductName");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Description, "Description");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Company, "Company");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Copyright, "Copyright");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Config, "Config");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Major, "Major");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Minor, "Minor");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Update, "Update");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Hotfix, "Hotfix");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, BuildType, "BuildType");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, BuildNumber, "BuildNumber");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, FancyName, "FancyName");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, IsSource, "IsSource");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Revision, "Revision");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Date, "Date");
     builder.Append('}');
 }
 /// <summary>
 /// Gets a StringBuilder from the caller and uses it to append string information about the instance.
 /// </summary>
 /// <param name="builder">A StringBuilder instance to append data to.</param>
 public void BuildString(StringBuilder builder)
 {
     builder.Append(GetType().Name + " {");
     StringBuildableUtility.BuildFromMember(builder, ProductName, "ProductName");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Description, "Description");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Company, "Company");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Copyright, "Copyright");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, Config, "Config");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, InformationalVersion, "InformationalVersion");
     builder.Append(", ");
     StringBuildableUtility.BuildFromMember(builder, FileVersion, "FileVersion");
     builder.Append('}');
 }
示例#3
0
 /// <summary>
 /// Gets a StringBuilder from the caller and uses it to append string information about the instance.
 /// </summary>
 /// <param name="builder">A StringBuilder instance to append data to.</param>
 public void BuildString(StringBuilder builder)
 {
     builder.Append(GetType().Name + " {");
     StringBuildableUtility.BuildFromMember(builder, FileName, "FileName");
     builder.Append('}');
 }