internal ParticleCollection(Type type, CompiledParticle compiled, OpenXmlCompositeElement element) { _type = type; _element = element; _compiled = compiled; _elementPath = compiled.Find(type); }
private void Visit(ElementParticle element) { var newValues = new ParticlePathItem[_values.Count]; _values.CopyTo(newValues, 0); Array.Reverse(newValues); var particlePath = ParticlePath.Create(newValues); _path.Add(new LookupItem(element.ElementType, particlePath)); }
public Enumerator(ParticlePath path) { _path = path._values; _idx = -1; }
internal ParticleCollection(CompiledParticle compiled, OpenXmlCompositeElement element) { _element = element; _compiled = compiled; _elementPath = compiled.Find <TElement>(); }