public void EmptyColumnBandViewSerializeTest() { var view = new AvrView(-1, "layoutName", -1); string viewXml = AvrViewSerializer.Serialize(view); Assert.IsNotNull(viewXml); var bandSerializer = new EidssSerializer <AvrViewBand>(); var band = new AvrViewBand(); string bandXml = bandSerializer.Serialize(band); Assert.IsNotNull(bandXml); var colSerializer = new EidssSerializer <AvrViewColumn>(); var column = new AvrViewColumn(); column.FieldType = typeof(string); string columnXml = colSerializer.Serialize(column); Assert.IsNotNull(columnXml); AvrViewColumn newColumn = colSerializer.Deserialize(columnXml); Assert.AreEqual(column.FieldType, newColumn.FieldType); }
public static AvrChartProperties Deserialize(string xml) { return(m_Singletone.Deserialize(xml)); }
public static DataTable Deserialize(string xml) { return(m_Singletone.Deserialize(xml)); }
public static AvrView Deserialize(string xml) { return(m_Singletone.Deserialize(xml)); }