Ejemplo n.º 1
0
 internal ParticleCollection(Type type, CompiledParticle compiled, OpenXmlCompositeElement element)
 {
     _type        = type;
     _element     = element;
     _compiled    = compiled;
     _elementPath = compiled.Find(type);
 }
Ejemplo n.º 2
0
 internal ElementMetadata(
     ReadOnlyArray <AttributeMetadata> attributes,
     ReadOnlyArray <IOpenXmlSimpleTypeValidator> validators,
     FileFormatVersions version,
     SchemaAttrAttribute schema,
     CompiledParticle particle,
     Lazy <ElementLookup> lookup)
 {
     Attributes   = attributes;
     Validators   = validators;
     Availability = version;
     Schema       = schema;
     Particle     = particle;
     _children    = lookup;
 }
Ejemplo n.º 3
0
 internal ElementMetadata(
     ReadOnlyArray <AttributeMetadata> attributes,
     ReadOnlyArray <IValidator> validators,
     ReadOnlyArray <IValidator> constraints,
     FileFormatVersions version,
     OpenXmlQualifiedName qname,
     CompiledParticle particle,
     Lazy <ElementLookup> lookup)
 {
     Attributes   = attributes;
     Validators   = validators;
     Constraints  = constraints;
     Availability = version;
     QName        = qname;
     Particle     = particle;
     _children    = lookup;
 }
Ejemplo n.º 4
0
 internal ParticleCollection(CompiledParticle compiled, OpenXmlCompositeElement element)
 {
     _element     = element;
     _compiled    = compiled;
     _elementPath = compiled.Find <TElement>();
 }