Method BeginProperty
BeginProperty(ref UnsafeText, string)
Property starts. Should be called before EndProperty(ref UnsafeText, string)
Declaration
public bool BeginProperty(ref UnsafeText output, string fieldName)
Parameters
Type | Name | Description |
---|---|---|
UnsafeText | output | UnsafeText where to append the text representation |
string | fieldName | Name of the field that can be used by formatter |
Returns
Type | Description |
---|---|
bool | True if successful |
Implements
BeginProperty<T>(ref UnsafeText, ref T)
Property starts. Should be called before EndProperty(ref UnsafeText, string)
Declaration
public bool BeginProperty<T>(ref UnsafeText output, ref T fieldName) where T : unmanaged, IUTF8Bytes, INativeList<byte>
Parameters
Type | Name | Description |
---|---|---|
UnsafeText | output | UnsafeText where to append the text representation |
T | fieldName | Name of the field that can be used by formatter |
Returns
Type | Description |
---|---|
bool | True if successful |
Type Parameters
Name | Description |
---|---|
T | Unmanaged UTF8 string |