Esempio n. 1
0
 public static ChangeField WithFields(bool id                   = false,
                                      bool version              = false,
                                      bool username             = false,
                                      bool href                 = false,
                                      bool weburl               = false,
                                      bool weblink              = false,
                                      bool date                 = false,
                                      bool comment              = false,
                                      bool personal             = false,
                                      UserField userField       = null,
                                      FilesField filesField     = null,
                                      VcsRootField vcsRootField = null,
                                      VcsRootInstanceField vcsRootInstanceField             = null,
                                      ChangeVcsRootInstanceField changeVcsRootInstanceField = null)
 {
     return(new ChangeField
     {
         Id = id,
         Version = version,
         Username = username,
         Href = href,
         WebUrl = weburl,
         WebLink = weblink,
         Date = date,
         Comment = comment,
         Personal = personal,
         UserField = userField,
         FilesField = filesField,
         VcsRootField = vcsRootField,
         VcsRootInstanceField = vcsRootInstanceField,
         ChangeVcsRootInstanceField = changeVcsRootInstanceField
     });
 }
Esempio n. 2
0
 public static RevisionField WithFields(bool version = false, VcsRootInstanceField vcsRootInstanceField = null)
 {
     return(new RevisionField
     {
         Version = version,
         VcsRootInstanceField = vcsRootInstanceField
     });
 }