예제 #1
0
        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());
        }
예제 #3
0
 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());
 }
 public override void Read(IByteReaderBase reader)
 {
     Result = reader.ReadBoolean();
     Errors = ErrorResultTOExtensionMethods.FromByteArray(reader.ReadByteArray());
 }
 public override void Read(IByteReaderBase reader)
 {
     DatalistID = reader.ReadGuid();
     Errors = ErrorResultTOExtensionMethods.FromByteArray(reader.ReadByteArray());
 }