XamlMemberInvoker Class
Provides an extension point that can access member characteristics of a XAML member through techniques other than reflection.
Assembly: System.Xaml (in System.Xaml.dll)
The XamlMemberInvoker type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | XamlMemberInvoker() | Initializes a new instance of the XamlMemberInvoker class. |
![]() | XamlMemberInvoker(XamlMember) | Initializes a new instance of the XamlMemberInvoker class, based on a provided XamlMember. |
| Name | Description | |
|---|---|---|
![]() | UnderlyingGetter | Gets the MethodInfo for the CLR method that gets values for the property that is relevant for this XamlMemberInvoker. |
![]() | UnderlyingSetter | Gets the MethodInfo for the CLR method that sets values for the property that is relevant for this XamlMemberInvoker. |
![]() ![]() | UnknownInvoker | Provides a static value that represents an unknown, not fully implemented XamlMemberInvoker. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValue | Gets a value of the relevant property from an instance. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetValue | Sets a value of the relevant property on an instance. |
![]() | ShouldSerializeValue | Indicates whether the value needs to be persisted by serialization processes. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The purpose of XamlMemberInvoker is to enable an extensible XAML type system, schema, and a working run time that does not rely as fully on CLR features such as CLR attributes, reflection information through Type and MemberInfo, and so on. Subclasses of XamlMemberInvoker are used as input parameters for the alternate constructors of XAML schema classes such as XamlMember. You subclass XamlMember and pass the XamlMemberInvoker through to the base constructor. Along with defining a XamlMemberInvoker for the constructor, you must also provide overrides for at least some of the Lookup methods of XamlMember.
XamlMemberInvoker has a default implementation. The default implementation follows a similar model to the default implementation of XAML schema types XamlType and XamlMember: the CLR type system is used for instantiation, values and lookups, including using CLR attributes, Type and MemberInfo, and so on.
XamlMemberInvoker provides methods for basic get and set operations (GetValue; SetValue). It also provides the properties UnderlyingGetter and UnderlyingSetter, but these are not virtual.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
