protected CommitMessage GetCommitMessage( string?type = null, string?scope = null, string?description = null, bool?isBreakingChange = null, IReadOnlyList <string>?body = null, IReadOnlyList <CommitMessageFooter>?footers = null) { var header = new CommitMessageHeader( type == null ? CommitType.Feature : new CommitType(type), description ?? "Example Summary", scope, isBreakingChange ?? false); return(new CommitMessage( header, body ?? Array.Empty <string>(), footers ?? Array.Empty <CommitMessageFooter>() )); }
internal XunitSerializableCommitMessageHeader(CommitMessageHeader value) => Value = value;