Beispiel #1
0
 public static string WriteMe(Project project)
 {
     return String.Join(Environment.NewLine + Environment.NewLine,
         WriteTitle(project.Basics.Name),
         WriteSummary(project.Basics.Summary),
         WriteBadges(project.Basics.Author, project.Basics.Name),
         WriteDemo(project.Basics.Name, project.Basics.Image, project.Basics.Video),
         WriteVersion(project.Versions),
         WriteIssue(project.Basics.Author, project.Basics.Name),
         WriteContributing(project.Basics.Author, project.Basics.Name));
 }
Beispiel #2
0
 public Project Clean(Project project)
 {
     Basics = project.Basics;
     Versions = (OrderByVersion(project.Versions)).ToArray();
     return this;
 }