Property | Value |
---|---|
@prop.GetFriendlyName() @if (Nullable.GetUnderlyingType(prop.PropertyType) is not null) { * } | @{ var getter = prop.GetGetMethod(); var setter = prop.GetSetMethod(); } @switch (Nullable.GetUnderlyingType(prop.PropertyType) ?? prop.PropertyType) { case Type t when t == typeof(string):
@PolicyEvent.ToJson(true, false)