internal string GetText() { var builder = new StringBuilder(); builder.AppendFormat("Project(\"{0}\") = \"{1}\", \"{2}\", \"{3}\"", ProjectTypeGuid.ToString("B").ToUpper(), ProjectName, ProjectPath, ProjectGuid.ToString("B").ToUpper()); builder.AppendLine(); foreach (var block in _projectSections) { builder.Append(block.GetText(indent: 1)); } builder.AppendLine("EndProject"); return(builder.ToString()); }
/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <returns> /// A hash code for the current <see cref="T:System.Object"/>. /// </returns> public override int GetHashCode() { return(ProjectTypeGuid.GetHashCode()); }