csharpier
csharpier copied to clipboard
How to disable wrapping constructor arguments and parameter assignments in the constructor onto new lines
Input:
public Controller(IQueryHandler handler)
{
_handler = handler;
}
Output:
public Controller(
IQueryHandler handler
)
{
_handler =
handler;
}
Expected behavior:
public Controller(
IQueryHandler handler)
{
_handler = handler;
}
Is there a way to set up expected behaviour?
Your only option for that would be to use csharpier-ignore comments and manually format them all.