public SemanticRelease(string releaseName, DateTimeOffset?when, List <IReleaseNoteLine> releaseNoteLines, ReleaseDiffInfo diffInfo)
 {
     DiffInfo         = diffInfo;
     ReleaseName      = releaseName;
     When             = when;
     ReleaseNoteLines = releaseNoteLines;
 }
 public SemanticRelease(string releaseName, DateTimeOffset? when, List<IReleaseNoteLine> releaseNoteLines, ReleaseDiffInfo diffInfo)
 {
     DiffInfo = diffInfo;
     ReleaseName = releaseName;
     When = when;
     ReleaseNoteLines = releaseNoteLines;
 }
示例#3
0
        public SemanticRelease(string releaseName, DateTimeOffset?when, ReleaseDiffInfo diffInfo = null, IEnumerable <IReleaseNoteLine> releaseNoteLines = null)
            : this()
        {
            ReleaseName = releaseName;
            When        = when;

            if (diffInfo != null)
            {
                DiffInfo = diffInfo;
            }

            if (releaseNoteLines != null)
            {
                ReleaseNoteLines.AddRange(releaseNoteLines);
            }
        }
        public SemanticRelease(string releaseName, DateTimeOffset? when, ReleaseDiffInfo diffInfo = null, IEnumerable<IReleaseNoteLine> releaseNoteLines = null)
            : this()
        {
            ReleaseName = releaseName;
            When = when;

            if (diffInfo != null)
            {
                DiffInfo = diffInfo;
            }

            if (releaseNoteLines != null)
            {
                ReleaseNoteLines.AddRange(releaseNoteLines);
            }
        }
 public SemanticRelease()
 {
     DiffInfo         = new ReleaseDiffInfo();
     ReleaseNoteLines = new List <IReleaseNoteLine>();
 }
 public SemanticRelease()
 {
     DiffInfo = new ReleaseDiffInfo();
     ReleaseNoteLines = new List<IReleaseNoteLine>();
 }