Example #1
0
 private FormattingOptions(
     int indentationSize,
     bool insertMissingTokens,
     BrackettingStyle brackettingStyle,
     PlacementStyle pipeOperatorStyle,
     PlacementStyle semicolonStyle)
 {
     this.IndentationSize     = indentationSize;
     this.InsertMissingTokens = insertMissingTokens;
     this.BrackettingStyle    = brackettingStyle;
     this.PipeOperatorStyle   = pipeOperatorStyle;
     this.SemicolonStyle      = semicolonStyle;
 }
Example #2
0
 public FormattingOptions WithBrackettingStyle(BrackettingStyle style)
 {
     return(With(brackettingStyle: style));
 }