Skip to content

LocalText.ResolveFromAttribute method

Resolves the local text key and invariant text for an attribute value.

public static ResolveLocalTextResult ResolveFromAttribute(Attribute attribute, string? text, 
    string? defaultKey)
parameter description
attribute The attribute that defines the text.
text The attribute's invariant text.
defaultKey The fallback key, or null or empty when no fallback key is available.

Return Value

The resolved local text key, invariant text, and fallback behavior.

See Also