SchemaType Class
The base class for the schema type.
C#
public abstract class SchemaType
- Inheritance
-
Schema
Type
- Derived
Remarks
SchemaType objects are immutable.
Methods
Apply |
Processes a child element that has content, applying the binding logic. |
Apply |
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.
The function that returns the Metadata object for the specified type.
- 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.
The function that returns the Metadata object for the specified type.
- arguments
- object[]
The parent object's constructor arguments.