File size: 794 Bytes
fab29d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
namespace VersOne.Epub.Test.Integration.JsonUtils.Configuration
{
internal class CustomProperty
{
public CustomProperty(string typePropertyName, string? jsonPropertyName = null)
{
TypePropertyName = typePropertyName ?? throw new ArgumentNullException(nameof(typePropertyName));
JsonPropertyName = jsonPropertyName ?? typePropertyName;
UsesCustomSerialization = false;
IsIgnored = false;
OptionalPropertyValue = null;
}
public string TypePropertyName { get; }
public string JsonPropertyName { get; }
public bool UsesCustomSerialization { get; set; }
public bool IsIgnored { get; set; }
public PropertyDefaultValue? OptionalPropertyValue { get; set; }
}
}
|