SelectorParser.

SelectorParser(Func<string, string, Type>) Constructor

Summary

Initializes a new instance of the SelectorParser class.
Namespace
Avalonia.Markup.Parsers
Containing Type
SelectorParser

Syntax

public SelectorParser(Func<string, string, Type> typeResolver)

Parameters

Name Type Description
typeResolver Func<string, string, Type> The type resolver to use. The type resolver is a function which accepts two strings: a type name and a XML namespace prefix and a type name, and should return the resolved type or throw an exception.

Return Value

Type Description
void