Class XamlType
Inheritance
System.Object
XamlType
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: OpenSilver.Xaml.dll
Syntax
public class XamlType : IEquatable<XamlType>
Constructors
|
Improve this Doc
View Source
XamlType(String, IList<XamlType>, XamlSchemaContext)
Declaration
protected XamlType(string typeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext)
Parameters
Type |
Name |
Description |
System.String |
typeName |
|
System.Collections.Generic.IList<XamlType> |
typeArguments |
|
XamlSchemaContext |
schemaContext |
|
|
Improve this Doc
View Source
XamlType(String, String, IList<XamlType>, XamlSchemaContext)
Declaration
public XamlType(string unknownTypeNamespace, string unknownTypeName, IList<XamlType> typeArguments, XamlSchemaContext schemaContext)
Parameters
Type |
Name |
Description |
System.String |
unknownTypeNamespace |
|
System.String |
unknownTypeName |
|
System.Collections.Generic.IList<XamlType> |
typeArguments |
|
XamlSchemaContext |
schemaContext |
|
|
Improve this Doc
View Source
XamlType(Type, XamlSchemaContext)
Declaration
public XamlType(Type underlyingType, XamlSchemaContext schemaContext)
Parameters
|
Improve this Doc
View Source
XamlType(Type, XamlSchemaContext, XamlTypeInvoker)
Declaration
public XamlType(Type underlyingType, XamlSchemaContext schemaContext, XamlTypeInvoker invoker)
Parameters
Properties
|
Improve this Doc
View Source
AllowedContentTypes
Declaration
public IList<XamlType> AllowedContentTypes { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<XamlType> |
|
|
Improve this Doc
View Source
BaseType
Declaration
public XamlType BaseType { get; }
Property Value
|
Improve this Doc
View Source
ConstructionRequiresArguments
Declaration
public bool ConstructionRequiresArguments { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ContentProperty
Declaration
public XamlMember ContentProperty { get; }
Property Value
|
Improve this Doc
View Source
ContentWrappers
Declaration
public IList<XamlType> ContentWrappers { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<XamlType> |
|
|
Improve this Doc
View Source
DeferringLoader
Declaration
public XamlValueConverter<XamlDeferringLoader> DeferringLoader { get; }
Property Value
|
Improve this Doc
View Source
Invoker
Declaration
public XamlTypeInvoker Invoker { get; }
Property Value
|
Improve this Doc
View Source
IsAmbient
Declaration
public bool IsAmbient { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsArray
Declaration
public bool IsArray { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsCollection
Declaration
public bool IsCollection { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsConstructible
Declaration
public bool IsConstructible { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsDictionary
Declaration
public bool IsDictionary { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsGeneric
Declaration
public bool IsGeneric { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsImmutable
Declaration
public bool IsImmutable { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsMarkupExtension
Declaration
public bool IsMarkupExtension { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsNameScope
Declaration
public bool IsNameScope { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsNameValid
Declaration
public bool IsNameValid { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsNullable
Declaration
public bool IsNullable { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPublic
Declaration
public bool IsPublic { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsUnknown
Declaration
public bool IsUnknown { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsUsableDuringInitialization
Declaration
public bool IsUsableDuringInitialization { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWhitespaceSignificantCollection
Declaration
public bool IsWhitespaceSignificantCollection { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsXData
Declaration
public bool IsXData { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ItemType
Declaration
public XamlType ItemType { get; }
Property Value
|
Improve this Doc
View Source
KeyType
Declaration
public XamlType KeyType { get; }
Property Value
|
Improve this Doc
View Source
MarkupExtensionReturnType
Declaration
public XamlType MarkupExtensionReturnType { get; }
Property Value
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
PreferredXamlNamespace
Declaration
public string PreferredXamlNamespace { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SchemaContext
Declaration
public XamlSchemaContext SchemaContext { get; }
Property Value
|
Improve this Doc
View Source
SerializationVisibility
Visability object during serialization. This property lookup attribute System.ComponentModel.DesignerSerializationVisibilityAttribute
Declaration
public DesignerSerializationVisibility SerializationVisibility { get; }
Property Value
Type |
Description |
System.ComponentModel.DesignerSerializationVisibility |
|
|
Improve this Doc
View Source
TrimSurroundingWhitespace
Declaration
public bool TrimSurroundingWhitespace { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TypeArguments
Declaration
public IList<XamlType> TypeArguments { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<XamlType> |
|
|
Improve this Doc
View Source
TypeConverter
Declaration
public XamlValueConverter<TypeConverter> TypeConverter { get; }
Property Value
|
Improve this Doc
View Source
UnderlyingType
Declaration
public Type UnderlyingType { get; }
Property Value
Type |
Description |
System.Type |
|
|
Improve this Doc
View Source
ValueSerializer
Declaration
public XamlValueConverter<ValueSerializer> ValueSerializer { get; }
Property Value
Methods
|
Improve this Doc
View Source
CanAssignTo(XamlType)
Declaration
public virtual bool CanAssignTo(XamlType xamlType)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CanConvertFrom(XamlType)
Gets a value indicating this type can be assigned or converted from the specified type.
Declaration
public bool CanConvertFrom(XamlType xamlType)
Parameters
Type |
Name |
Description |
XamlType |
xamlType |
Type to convert from.
|
Returns
Type |
Description |
System.Boolean |
true , if it can be assigned or converted from the input type , false otherwise.
|
|
Improve this Doc
View Source
CanConvertTo(XamlType)
Gets a value indicating this type can be assigned or converted to the specified type
Declaration
public bool CanConvertTo(XamlType xamlType)
Parameters
Type |
Name |
Description |
XamlType |
xamlType |
Type to convert to.
|
Returns
Type |
Description |
System.Boolean |
true , if it can be assigned or converted to the input type , false otherwise.
|
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
Equals(XamlType)
Declaration
public bool Equals(XamlType other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetAliasedProperty(XamlDirective)
Declaration
public XamlMember GetAliasedProperty(XamlDirective directive)
Parameters
Returns
|
Improve this Doc
View Source
GetAllAttachableMembers()
Declaration
public ICollection<XamlMember> GetAllAttachableMembers()
Returns
Type |
Description |
System.Collections.Generic.ICollection<XamlMember> |
|
|
Improve this Doc
View Source
GetAllMembers()
Declaration
public ICollection<XamlMember> GetAllMembers()
Returns
Type |
Description |
System.Collections.Generic.ICollection<XamlMember> |
|
|
Improve this Doc
View Source
GetAttachableMember(String)
Declaration
public XamlMember GetAttachableMember(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
GetMember(String)
Declaration
public XamlMember GetMember(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
|
Improve this Doc
View Source
GetPositionalParameters(Int32)
Declaration
public IList<XamlType> GetPositionalParameters(int parameterCount)
Parameters
Type |
Name |
Description |
System.Int32 |
parameterCount |
|
Returns
Type |
Description |
System.Collections.Generic.IList<XamlType> |
|
|
Improve this Doc
View Source
GetXamlNamespaces()
Declaration
public virtual IList<string> GetXamlNamespaces()
Returns
Type |
Description |
System.Collections.Generic.IList<System.String> |
|
|
Improve this Doc
View Source
LookupAliasedProperty(XamlDirective)
Declaration
protected virtual XamlMember LookupAliasedProperty(XamlDirective directive)
Parameters
Returns
|
Improve this Doc
View Source
LookupAllAttachableMembers()
Declaration
protected virtual IEnumerable<XamlMember> LookupAllAttachableMembers()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<XamlMember> |
|
|
Improve this Doc
View Source
LookupAllMembers()
Declaration
protected virtual IEnumerable<XamlMember> LookupAllMembers()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<XamlMember> |
|
|
Improve this Doc
View Source
LookupAllowedContentTypes()
Declaration
protected virtual IList<XamlType> LookupAllowedContentTypes()
Returns
Type |
Description |
System.Collections.Generic.IList<XamlType> |
|
|
Improve this Doc
View Source
LookupAttachableMember(String)
Declaration
protected virtual XamlMember LookupAttachableMember(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
|
Improve this Doc
View Source
LookupBaseType()
Declaration
protected virtual XamlType LookupBaseType()
Returns
|
Improve this Doc
View Source
LookupCollectionKind()
Declaration
protected virtual XamlCollectionKind LookupCollectionKind()
Returns
|
Improve this Doc
View Source
LookupConstructionRequiresArguments()
Declaration
protected virtual bool LookupConstructionRequiresArguments()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupContentProperty()
Declaration
protected virtual XamlMember LookupContentProperty()
Returns
|
Improve this Doc
View Source
LookupContentWrappers()
Declaration
protected virtual IList<XamlType> LookupContentWrappers()
Returns
Type |
Description |
System.Collections.Generic.IList<XamlType> |
|
|
Improve this Doc
View Source
LookupCustomAttributeProvider()
Declaration
protected virtual ICustomAttributeProvider LookupCustomAttributeProvider()
Returns
Type |
Description |
System.Reflection.ICustomAttributeProvider |
|
|
Improve this Doc
View Source
LookupDeferringLoader()
Declaration
protected virtual XamlValueConverter<XamlDeferringLoader> LookupDeferringLoader()
Returns
|
Improve this Doc
View Source
LookupInvoker()
Declaration
protected virtual XamlTypeInvoker LookupInvoker()
Returns
|
Improve this Doc
View Source
LookupIsAmbient()
Declaration
protected virtual bool LookupIsAmbient()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupIsConstructible()
Declaration
protected virtual bool LookupIsConstructible()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupIsImmutable()
Declaration
protected virtual bool LookupIsImmutable()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupIsMarkupExtension()
Declaration
protected virtual bool LookupIsMarkupExtension()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupIsNameScope()
Declaration
protected virtual bool LookupIsNameScope()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupIsNullable()
Declaration
protected virtual bool LookupIsNullable()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupIsPublic()
Declaration
protected virtual bool LookupIsPublic()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupIsUnknown()
Declaration
protected virtual bool LookupIsUnknown()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupIsWhitespaceSignificantCollection()
Declaration
protected virtual bool LookupIsWhitespaceSignificantCollection()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupIsXData()
Declaration
protected virtual bool LookupIsXData()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupItemType()
Declaration
protected virtual XamlType LookupItemType()
Returns
|
Improve this Doc
View Source
LookupKeyType()
Declaration
protected virtual XamlType LookupKeyType()
Returns
|
Improve this Doc
View Source
LookupMarkupExtensionReturnType()
Declaration
protected virtual XamlType LookupMarkupExtensionReturnType()
Returns
|
Improve this Doc
View Source
LookupMember(String, Boolean)
Declaration
protected virtual XamlMember LookupMember(string name, bool skipReadOnlyCheck)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Boolean |
skipReadOnlyCheck |
|
Returns
|
Improve this Doc
View Source
LookupPositionalParameters(Int32)
Declaration
protected virtual IList<XamlType> LookupPositionalParameters(int parameterCount)
Parameters
Type |
Name |
Description |
System.Int32 |
parameterCount |
|
Returns
Type |
Description |
System.Collections.Generic.IList<XamlType> |
|
|
Improve this Doc
View Source
LookupSetMarkupExtensionHandler()
Declaration
protected virtual EventHandler<XamlSetMarkupExtensionEventArgs> LookupSetMarkupExtensionHandler()
Returns
|
Improve this Doc
View Source
LookupSetTypeConverterHandler()
Declaration
protected virtual EventHandler<XamlSetTypeConverterEventArgs> LookupSetTypeConverterHandler()
Returns
|
Improve this Doc
View Source
LookupTrimSurroundingWhitespace()
Declaration
protected virtual bool LookupTrimSurroundingWhitespace()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupTypeConverter()
Declaration
protected virtual XamlValueConverter<TypeConverter> LookupTypeConverter()
Returns
|
Improve this Doc
View Source
LookupUnderlyingType()
Declaration
protected virtual Type LookupUnderlyingType()
Returns
Type |
Description |
System.Type |
|
|
Improve this Doc
View Source
LookupUsableDuringInitialization()
Declaration
protected virtual bool LookupUsableDuringInitialization()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LookupValueSerializer()
Declaration
protected virtual XamlValueConverter<ValueSerializer> LookupValueSerializer()
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Operators
|
Improve this Doc
View Source
Equality(XamlType, XamlType)
Declaration
public static bool operator ==(XamlType left, XamlType right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Inequality(XamlType, XamlType)
Declaration
public static bool operator !=(XamlType left, XamlType right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>
Extension Methods