Added new section to handle the PreventTransferForClassNames settings.

This commit is contained in:
Brett Hewitson 2021-06-19 15:34:44 +10:00
parent afa461f956
commit a54f1e5381
17 changed files with 484 additions and 35 deletions

View file

@ -35,13 +35,23 @@ namespace ServerManagerTool.Common.Attibutes
public int BracketsAroundValueDelimiter = 1;
/// <summary>
/// If true, then the property with not be written if empty. This does not work for collections, only value types.
/// If true, then the property will not be written if empty. This does not work for collections, only value types.
/// </summary>
public bool ExcludeIfEmpty;
/// <summary>
/// If true, then the property with not be written if false. This does not work for collections, only BOOLEAN types.
/// If true, then the property will not be written if false. This does not work for collections, only BOOLEAN types.
/// </summary>
public bool ExcludeIfFalse = false;
/// <summary>
/// If true, the value will always be written with quotes; otherwise without quotes.
/// </summary>
public bool QuotedString = true;
/// <summary>
/// If true, then the property name will not be written. This does not work for collections, only value types.
/// </summary>
public bool ExcludePropertyName = false;
}
}