Class XamlSchemaContext
Inheritance
System.Object
XamlSchemaContext
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: OpenSilver.Xaml.dll
Syntax
public class XamlSchemaContext
Constructors
|
Improve this Doc
View Source
XamlSchemaContext()
Declaration
public XamlSchemaContext()
|
Improve this Doc
View Source
XamlSchemaContext(IEnumerable<Assembly>)
Declaration
public XamlSchemaContext(IEnumerable<Assembly> referenceAssemblies)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> |
referenceAssemblies |
|
|
Improve this Doc
View Source
XamlSchemaContext(IEnumerable<Assembly>, XamlSchemaContextSettings)
Declaration
public XamlSchemaContext(IEnumerable<Assembly> referenceAssemblies, XamlSchemaContextSettings settings)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> |
referenceAssemblies |
|
XamlSchemaContextSettings |
settings |
|
|
Improve this Doc
View Source
XamlSchemaContext(XamlSchemaContextSettings)
Declaration
public XamlSchemaContext(XamlSchemaContextSettings settings)
Parameters
Properties
|
Improve this Doc
View Source
FullyQualifyAssemblyNamesInClrNamespaces
Declaration
public bool FullyQualifyAssemblyNamesInClrNamespaces { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
InvokerOptions
Declaration
public XamlInvokerOptions InvokerOptions { get; }
Property Value
|
Improve this Doc
View Source
ReferenceAssemblies
Declaration
public IList<Assembly> ReferenceAssemblies { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<System.Reflection.Assembly> |
|
|
Improve this Doc
View Source
SupportMarkupExtensionsWithDuplicateArity
Declaration
public bool SupportMarkupExtensionsWithDuplicateArity { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
Finalize()
Declaration
protected void Finalize()
|
Improve this Doc
View Source
GetAllXamlNamespaces()
Declaration
public virtual IEnumerable<string> GetAllXamlNamespaces()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
GetAllXamlTypes(String)
Declaration
public virtual ICollection<XamlType> GetAllXamlTypes(string xamlNamespace)
Parameters
Type |
Name |
Description |
System.String |
xamlNamespace |
|
Returns
Type |
Description |
System.Collections.Generic.ICollection<XamlType> |
|
|
Improve this Doc
View Source
GetAttachableEvent(String, MethodInfo)
Declaration
protected virtual XamlMember GetAttachableEvent(string attachablePropertyName, MethodInfo adder)
Parameters
Type |
Name |
Description |
System.String |
attachablePropertyName |
|
System.Reflection.MethodInfo |
adder |
|
Returns
|
Improve this Doc
View Source
GetAttachableProperty(String, MethodInfo, MethodInfo)
Declaration
protected virtual XamlMember GetAttachableProperty(string attachablePropertyName, MethodInfo getter, MethodInfo setter)
Parameters
Type |
Name |
Description |
System.String |
attachablePropertyName |
|
System.Reflection.MethodInfo |
getter |
|
System.Reflection.MethodInfo |
setter |
|
Returns
|
Improve this Doc
View Source
GetEvent(EventInfo)
Declaration
protected virtual XamlMember GetEvent(EventInfo eventInfo)
Parameters
Type |
Name |
Description |
System.Reflection.EventInfo |
eventInfo |
|
Returns
|
Improve this Doc
View Source
GetParameter(ParameterInfo)
Declaration
protected virtual XamlMember GetParameter(ParameterInfo parameterInfo)
Parameters
Type |
Name |
Description |
System.Reflection.ParameterInfo |
parameterInfo |
|
Returns
|
Improve this Doc
View Source
GetPreferredPrefix(String)
Declaration
public virtual string GetPreferredPrefix(string xmlns)
Parameters
Type |
Name |
Description |
System.String |
xmlns |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetProperty(PropertyInfo)
Declaration
protected virtual XamlMember GetProperty(PropertyInfo propertyInfo)
Parameters
Type |
Name |
Description |
System.Reflection.PropertyInfo |
propertyInfo |
|
Returns
|
Improve this Doc
View Source
GetValueConverter<TConverterBase>(Type, XamlType)
Declaration
protected XamlValueConverter<TConverterBase> GetValueConverter<TConverterBase>(Type converterType, XamlType targetType)
where TConverterBase : class
Parameters
Type |
Name |
Description |
System.Type |
converterType |
|
XamlType |
targetType |
|
Returns
Type Parameters
Name |
Description |
TConverterBase |
|
|
Improve this Doc
View Source
GetXamlDirective(String, String)
Declaration
public virtual XamlDirective GetXamlDirective(string xamlNamespace, string name)
Parameters
Type |
Name |
Description |
System.String |
xamlNamespace |
|
System.String |
name |
|
Returns
|
Improve this Doc
View Source
GetXamlType(String, String, XamlType[])
Declaration
protected virtual XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeArguments)
Parameters
Type |
Name |
Description |
System.String |
xamlNamespace |
|
System.String |
name |
|
XamlType[] |
typeArguments |
|
Returns
|
Improve this Doc
View Source
GetXamlType(Type)
Declaration
public virtual XamlType GetXamlType(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
|
Improve this Doc
View Source
GetXamlType(XamlTypeName)
Declaration
public XamlType GetXamlType(XamlTypeName xamlTypeName)
Parameters
Returns
|
Improve this Doc
View Source
OnAssemblyResolve(String)
Declaration
protected virtual Assembly OnAssemblyResolve(string assemblyName)
Parameters
Type |
Name |
Description |
System.String |
assemblyName |
|
Returns
Type |
Description |
System.Reflection.Assembly |
|
|
Improve this Doc
View Source
TryGetCompatibleXamlNamespace(String, out String)
Declaration
public virtual bool TryGetCompatibleXamlNamespace(string xamlNamespace, out string compatibleNamespace)
Parameters
Type |
Name |
Description |
System.String |
xamlNamespace |
|
System.String |
compatibleNamespace |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods