示例#1
0
 static ReleaseProject GetMainProject(ReleaseProject[] projects)
 {
     return projects.Single(x => x.IsMainProject);
 }
 static Version GetReleaseVersion(ReleaseProject[] projects)
 {
     return projects.Single(x => x.IsMainProject).Version;
 }