/// <summary> /// Implements XAML schema context access to underlying type mapping, based on providing a helper value that describes a type. /// </summary> /// <param name="type">The type as represented by the relevant type system or interop support type.</param> /// <returns>The schema context's implementation of the <see cref="IXamlType"/> concept.</returns> public IXamlType GetXamlType(Type type) { if (_provider == null) { _provider = new XamlTypeInfoProvider(); } return _provider.GetXamlTypeByType(type); }
/// <summary> /// Implements XAML schema context access to underlying type mapping, based on specifying a full type name. /// </summary> /// <param name="typeName">The name of the class for which to return a XAML type mapping.</param> /// <returns>The schema context's implementation of the IXamlType concept.</returns> public IXamlType GetXamlType(String typeName) { if (_provider == null) { _provider = new XamlTypeInfoProvider(); } return _provider.GetXamlTypeByName(typeName); }
/// <summary> /// Implements XAML schema context access to underlying type mapping, based on specifying a full type name. /// </summary> /// <param name="typeName">The name of the class for which to return a XAML type mapping.</param> /// <returns>The schema context's implementation of the IXamlType concept.</returns> public IXamlType GetXamlType(String typeName) { if (provider == null) { provider = new XamlTypeInfoProvider(); } return(provider.GetXamlTypeByName(typeName)); }
/// <summary> /// Implements XAML schema context access to underlying type mapping, based on providing a helper value that describes a type. /// </summary> /// <param name="type">The type as represented by the relevant type system or interop support type.</param> /// <returns>The schema context's implementation of the <see cref="IXamlType"/> concept.</returns> public IXamlType GetXamlType(Type type) { if (provider == null) { provider = new XamlTypeInfoProvider(); } return(provider.GetXamlTypeByType(type)); }
public XamlMember(XamlTypeInfoProvider provider, string name, string typeName) { _name = name; _typeName = typeName; _provider = provider; }
public XamlUserType(XamlTypeInfoProvider provider, string fullName, Type fullType, IXamlType baseType) : base(fullName, fullType) { _provider = provider; _baseType = baseType; }