internal ParticleCollection(Type type, CompiledParticle compiled, OpenXmlCompositeElement element) { _type = type; _element = element; _compiled = compiled; _elementPath = compiled.Find(type); }
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; }
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; }
internal ParticleCollection(CompiledParticle compiled, OpenXmlCompositeElement element) { _element = element; _compiled = compiled; _elementPath = compiled.Find <TElement>(); }