|
|
|
@ -31,10 +31,15 @@ namespace ICSharpCode.NRefactory.PrettyPrinter |
|
|
|
BraceStyle methodBraceStyle = BraceStyle.NextLine; |
|
|
|
BraceStyle methodBraceStyle = BraceStyle.NextLine; |
|
|
|
|
|
|
|
|
|
|
|
BraceStyle propertyBraceStyle = BraceStyle.EndOfLine; |
|
|
|
BraceStyle propertyBraceStyle = BraceStyle.EndOfLine; |
|
|
|
|
|
|
|
bool allowPropertyGetBlockInline = true; |
|
|
|
BraceStyle propertyGetBraceStyle = BraceStyle.EndOfLine; |
|
|
|
BraceStyle propertyGetBraceStyle = BraceStyle.EndOfLine; |
|
|
|
|
|
|
|
bool allowPropertySetBlockInline = true; |
|
|
|
BraceStyle propertySetBraceStyle = BraceStyle.EndOfLine; |
|
|
|
BraceStyle propertySetBraceStyle = BraceStyle.EndOfLine; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BraceStyle eventBraceStyle = BraceStyle.EndOfLine; |
|
|
|
|
|
|
|
bool allowEventAddBlockInline = true; |
|
|
|
BraceStyle eventAddBraceStyle = BraceStyle.EndOfLine; |
|
|
|
BraceStyle eventAddBraceStyle = BraceStyle.EndOfLine; |
|
|
|
|
|
|
|
bool allowEventRemoveBlockInline = true; |
|
|
|
BraceStyle eventRemoveBraceStyle = BraceStyle.EndOfLine; |
|
|
|
BraceStyle eventRemoveBraceStyle = BraceStyle.EndOfLine; |
|
|
|
|
|
|
|
|
|
|
|
BraceStyle statementBraceStyle = BraceStyle.EndOfLine; |
|
|
|
BraceStyle statementBraceStyle = BraceStyle.EndOfLine; |
|
|
|
@ -137,6 +142,16 @@ namespace ICSharpCode.NRefactory.PrettyPrinter |
|
|
|
propertyGetBraceStyle = value; |
|
|
|
propertyGetBraceStyle = value; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public bool AllowPropertyGetBlockInline { |
|
|
|
|
|
|
|
get { |
|
|
|
|
|
|
|
return allowPropertyGetBlockInline; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
set { |
|
|
|
|
|
|
|
allowPropertyGetBlockInline = value; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public BraceStyle PropertySetBraceStyle { |
|
|
|
public BraceStyle PropertySetBraceStyle { |
|
|
|
get { |
|
|
|
get { |
|
|
|
return propertySetBraceStyle; |
|
|
|
return propertySetBraceStyle; |
|
|
|
@ -145,6 +160,23 @@ namespace ICSharpCode.NRefactory.PrettyPrinter |
|
|
|
propertySetBraceStyle = value; |
|
|
|
propertySetBraceStyle = value; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public bool AllowPropertySetBlockInline { |
|
|
|
|
|
|
|
get { |
|
|
|
|
|
|
|
return allowPropertySetBlockInline; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
set { |
|
|
|
|
|
|
|
allowPropertySetBlockInline = value; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public BraceStyle EventBraceStyle { |
|
|
|
|
|
|
|
get { |
|
|
|
|
|
|
|
return eventBraceStyle; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
set { |
|
|
|
|
|
|
|
eventBraceStyle = value; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public BraceStyle EventAddBraceStyle { |
|
|
|
public BraceStyle EventAddBraceStyle { |
|
|
|
get { |
|
|
|
get { |
|
|
|
@ -154,6 +186,15 @@ namespace ICSharpCode.NRefactory.PrettyPrinter |
|
|
|
eventAddBraceStyle = value; |
|
|
|
eventAddBraceStyle = value; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public bool AllowEventAddBlockInline { |
|
|
|
|
|
|
|
get { |
|
|
|
|
|
|
|
return allowEventAddBlockInline; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
set { |
|
|
|
|
|
|
|
allowEventAddBlockInline = value; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public BraceStyle EventRemoveBraceStyle { |
|
|
|
public BraceStyle EventRemoveBraceStyle { |
|
|
|
get { |
|
|
|
get { |
|
|
|
return eventRemoveBraceStyle; |
|
|
|
return eventRemoveBraceStyle; |
|
|
|
@ -162,6 +203,14 @@ namespace ICSharpCode.NRefactory.PrettyPrinter |
|
|
|
eventRemoveBraceStyle = value; |
|
|
|
eventRemoveBraceStyle = value; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public bool AllowEventRemoveBlockInline { |
|
|
|
|
|
|
|
get { |
|
|
|
|
|
|
|
return allowEventRemoveBlockInline; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
set { |
|
|
|
|
|
|
|
allowEventRemoveBlockInline = value; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
#region Before Parentheses
|
|
|
|
#region Before Parentheses
|
|
|
|
|