ערוך

שתף באמצעות


InternalTypeHelper Class

Definition

Abstract class used internally by the WPF XAML compiler to support the use of internal types.

public ref class InternalTypeHelper abstract
public abstract class InternalTypeHelper
type InternalTypeHelper = class
Public MustInherit Class InternalTypeHelper
Inheritance
InternalTypeHelper
Derived

Remarks

The InternalTypeHelper class is not intended for use by anything other than the WPF XAML markup compiler.

When compiling a XAML file, you can use public types, but you can also use internal types subject to the same limitations that exist on code access to internal types. InternalTypeHelper enables support of internal access level types for markup. This involves the compiler creating a generated class that derives from InternalTypeHelper and implements its members. The generated class exists in a security and access context such that only the same assembly or other assemblies specifically attributed for shared internal access can reference the generated class and thus the internal types.

Constructors

InternalTypeHelper()

Initializes a new instance of the InternalTypeHelper class.

Methods

AddEventHandler(EventInfo, Object, Delegate)

When overridden in a derived (generated) class, attaches an event handler delegate to an internal event.

CreateDelegate(Type, Object, String)

When overridden in a derived (generated) class, creates an event delegate referencing a non-public handler method.

CreateInstance(Type, CultureInfo)

When overridden in a derived (generated) class, creates an instance of an internal type.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetPropertyValue(PropertyInfo, Object, CultureInfo)

When overridden in a derived (generated) class, gets the value of an internal property on the target object.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetPropertyValue(PropertyInfo, Object, Object, CultureInfo)

When overridden in a derived (generated) class, sets the value on an internal property on the target object.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also