public LineColumnRule With( int? lines = null, int? spaces = null, int? indentation = null, LineOperations? lineOperation = null, SpaceOperations? spaceOperation = null, IndentationOperations? indentationOperation = null) { return new LineColumnRule { SpaceOperation = spaceOperation == null ? this.SpaceOperation : spaceOperation.Value, LineOperation = lineOperation == null ? this.LineOperation : lineOperation.Value, IndentationOperation = indentationOperation == null ? this.IndentationOperation : indentationOperation.Value, Lines = lines == null ? this.Lines : lines.Value, Spaces = spaces == null ? this.Spaces : spaces.Value, Indentation = indentation == null ? this.Indentation : indentation.Value }; }
public LineColumnRule( SpaceOperations spaceOperation, LineOperations lineOperation, IndentationOperations indentationOperation, int lines, int spaces, int indentation) { SpaceOperation = spaceOperation; LineOperation = lineOperation; IndentationOperation = indentationOperation; Lines = lines; Spaces = spaces; Indentation = indentation; }