SchemaType Class

The base class for the schema type.

C#
public abstract class SchemaType
Inheritance
SchemaType
Derived

Remarks

SchemaType objects are immutable.

Methods

ApplyWithContent(Type, XmlReader, Func<Type, Metadata>, Reflector<object>, object[])

Processes a child element that has content, applying the binding logic.

ApplyWithEmptyElement(Type, XmlReader, Func<Type, Metadata>, Reflector<object>, object[])

Processes an empty child element, applying the binding logic.

Equals(object) (Inherited from object)
GetHashCode() (Inherited from object)
GetType() (Inherited from object)
MemberwiseClone() (Inherited from object)
ToString() (Inherited from object)

Methods Detail

ApplyWithContent(Type, XmlReader, Func<Type, Metadata>, Reflector<object>, object[])

Processes a child element that has content, applying the binding logic.

C#
public abstract void ApplyWithContent(Type unitType, XmlReader input, Func<Type, Metadata> getMetadata, Reflector<object> reflector, object[] arguments)

Parameters

unitType
Type

The unit type of the child element(s) being bound.

input
XmlReader

The XmlReader object.

getMetadata
Func<Type, Metadata>

The function that returns the Metadata object for the specified type.

reflector
Reflector<object>

The reflector.

arguments
object[]

The parent object's constructor arguments.

ApplyWithEmptyElement(Type, XmlReader, Func<Type, Metadata>, Reflector<object>, object[])

Processes an empty child element, applying the binding logic.

C#
public abstract void ApplyWithEmptyElement(Type unitType, XmlReader input, Func<Type, Metadata> getMetadata, Reflector<object> reflector, object[] arguments)

Parameters

unitType
Type

The unit type of the child element(s) being bound.

input
XmlReader

The XmlReader object.

getMetadata
Func<Type, Metadata>

The function that returns the Metadata object for the specified type.

reflector
Reflector<object>

The reflector.

arguments
object[]

The parent object's constructor arguments.