/// <summary> /// Passes this instance of the COBieReader into the provided ICOBieSerialiser /// </summary> /// <param name="serialiser">The object implementing the ICOBieSerialiser interface.</param> public void Export(ICOBieSerialiser serialiser, ICOBieValidationTemplate ValidationTemplate = null) { if (serialiser == null) { throw new ArgumentNullException("formatter", "Parameter passed to COBieReader.Export(ICOBieSerialiser) must not be null."); } serialiser.Serialise(Workbook, ValidationTemplate); }