JsonWriterConfiguration: Use classic property getters.

This commit is contained in:
2019-11-24 05:00:48 +01:00
parent 180a5f0065
commit d02a598035

View File

@@ -9,16 +9,16 @@ namespace VAR.Json
public class JsonWriterConfiguration public class JsonWriterConfiguration
{ {
private bool _indent; private bool _indent;
public bool Indent { get => _indent; } public bool Indent { get { return _indent; } }
private bool _useTabForIndent; private bool _useTabForIndent;
public bool UseTabForIndent { get => _useTabForIndent; } public bool UseTabForIndent { get { return _useTabForIndent; } }
private int _indentChars; private int _indentChars;
public int IndentChars { get => _indentChars; } public int IndentChars { get { return _indentChars; } }
private int _indentThresold; private int _indentThresold;
public int IndentThresold { get => _indentThresold; } public int IndentThresold { get { return _indentThresold; } }
public JsonWriterConfiguration( public JsonWriterConfiguration(
bool indent = false, bool indent = false,