private static VTVector MakeVector(VectorBaseValues type, params OpenXmlElement[] values) { return(new VTVector(values) { BaseType = type, Size = (uint)values.Length }); }
private static VTVector MakeVector <T>(VectorBaseValues type, IEnumerable <T> values) where T : OpenXmlElement { return(MakeVector(type, values.OfType <OpenXmlElement>().ToArray())); }