Skip to content

ResolveLocalTextResult constructor

Initializes a new instance of the ResolveLocalTextResult record.

public ResolveLocalTextResult(string? key, string? text, bool isKey, bool literal = false)
parameter description
key The resolved local text key, or null if none is available.
text The invariant text, if specified.
isKey Whether the resolved key should be used as fallback text.
literal Whether the text is shown as it is, as its attribute has an empty text key, which is no key, e.g. a text that is a name. The key that the type would imply for the text is not used either, and nothing is registered for it.

See Also