Method BeginProperty
BeginProperty(ref UnsafeText, string)
Property starts. Should be called before EndProperty(ref UnsafeText, string)
Declaration
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 |
BeginProperty<T>(ref UnsafeText, ref T)
Property starts. Should be called before EndProperty(ref UnsafeText, string)
Declaration
bool BeginProperty<T>(ref UnsafeText output, ref T fieldName) where T : unmanaged, INativeList<byte>, IUTF8Bytes
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 |