public override void Read(IByteReaderBase reader) { IDataListTranslator translator = new DataListTranslatorFactory().FetchTranslator(DataListFormat.CreateFormat(GlobalConstants._BINARY)); ErrorResultTO tmpErrors; byte[] datalistData = reader.ReadByteArray(); Datalist = null; if (datalistData != null) { Datalist = translator.ConvertTo(datalistData, new StringBuilder(), out tmpErrors); } Errors = ErrorResultTOExtensionMethods.FromByteArray(reader.ReadByteArray()); }
public override void Read(IByteReaderBase reader) { IDataListTranslator translator = new DataListTranslatorFactory().FetchTranslator(DataListFormat.CreateFormat(GlobalConstants._BINARY)); ErrorResultTO tmpErrors; byte[] datalistData = reader.ReadByteArray(); Datalist = null; if(datalistData != null) { Datalist = translator.ConvertTo(datalistData, new StringBuilder(), out tmpErrors); } Errors = ErrorResultTOExtensionMethods.FromByteArray(reader.ReadByteArray()); }
public override void Read(IByteReaderBase reader) { DatalistID = reader.ReadGuid(); Errors = ErrorResultTOExtensionMethods.FromByteArray(reader.ReadByteArray()); }
public override void Read(IByteReaderBase reader) { Result = reader.ReadBoolean(); Errors = ErrorResultTOExtensionMethods.FromByteArray(reader.ReadByteArray()); }