SchemaMetadata Class
Metadata of the classes that have constructor parameters annotated with the RequiredAttribute, OptionalAttribute, or MultipleAttribute.
public sealed class SchemaMetadata : Metadata
- Inheritance
Constructors
Schema |
Metadata of the classes that have constructor parameters annotated with the RequiredAttribute, OptionalAttribute, or MultipleAttribute. |
Properties
Methods
Handle |
Description copied from class: Metadata
|
Handle |
Description copied from class: Metadata
|
RequiredElement(XmlReader, Func<Type, Metadata>) |
Returns a new instance bound to the root XML element that is read from the specified XML reader. (Inherited from Metadata) |
CreateInstance(XmlReader, Func<Type, Metadata>) |
Creates a new instance bound to the next XML element in the specified XML reader. (Inherited from Metadata) |
HandleComponentsWithContent(object[], XmlReader, Func<Type, Metadata>) |
Handles the components of the instance using the content of the current XML element provided by the specified XML reader. (Inherited from Metadata) |
HandleComponentsWithEmptyElement(object[], XmlReader, Func<Type, Metadata>) |
Handles component binding when the XML reader encounters an empty element. (Inherited from Metadata) |
Equals(object) | (Inherited from object) |
GetHashCode() | (Inherited from object) |
GetType() | (Inherited from object) |
MemberwiseClone() | (Inherited from object) |
ToString() | (Inherited from object) |
Constructors Detail
SchemaMetadata(AttributeBank, IEnumerable<ChildParameter>)
Metadata of the classes that have constructor parameters annotated with the RequiredAttribute, OptionalAttribute, or MultipleAttribute.
public SchemaMetadata(AttributeBank bank, IEnumerable<ChildParameter> children)
Parameters
- bank
-
Attribute
Bank
The attribute bank to be associated with this metadata.
- children
-
IEnumerable<Child
Parameter >
A collection of ChildParameter objects.
Methods Detail
HandleComponentsWithContent(object[], XmlReader, Func<Type, Metadata>)
Description copied from class: Metadata
Handles the components of the instance using the content of the current XML element provided by the specified XML reader.
protected override void HandleComponentsWithContent(object[] arguments, XmlReader @in, Func<Type, Metadata> getMetadata)
Parameters
- arguments
- object[]
- in
-
Xml
Reader
HandleComponentsWithEmptyElement(object[], XmlReader, Func<Type, Metadata>)
Description copied from class: Metadata
Handles component binding when the XML reader encounters an empty element.
protected override void HandleComponentsWithEmptyElement(object[] arguments, XmlReader @in, Func<Type, Metadata> getMetadata)
Parameters
- arguments
- object[]
- in
-
Xml
Reader