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