public DebugState(IByteReaderBase reader) : this() { WorkspaceID = reader.ReadGuid(); ID = reader.ReadGuid(); ParentID = reader.ReadGuid(); StateType = (StateType)reader.ReadInt32(); DisplayName = reader.ReadString(); Name = reader.ReadString(); ActivityType = (ActivityType)reader.ReadInt32(); Version = reader.ReadString(); IsSimulation = reader.ReadBoolean(); HasError = reader.ReadBoolean(); ErrorMessage = reader.ReadString(); Server = reader.ReadString(); ServerID = reader.ReadGuid(); OriginatingResourceID = reader.ReadGuid(); OriginalInstanceID = reader.ReadGuid(); StartTime = reader.ReadDateTime(); EndTime = reader.ReadDateTime(); NumberOfSteps = reader.ReadInt32(); ExecutionOrigin = (ExecutionOrigin)reader.ReadInt32(); ExecutionOriginDescription = reader.ReadString(); ExecutingUser = reader.ReadString(); EnvironmentID = reader.ReadGuid(); SessionID = reader.ReadGuid(); Deserialize(reader, Inputs); Deserialize(reader, Outputs); }
public override void Read(IByteReaderBase reader) { IDataListTranslator translator = new DataListTranslatorFactory().FetchTranslator(DataListFormat.CreateFormat(GlobalConstants._BINARY)); DatalistID = reader.ReadGuid(); byte[] datalistData = reader.ReadByteArray(); Datalist = null; if(datalistData != null) { ErrorResultTO tmpErrors; 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)); DatalistID = reader.ReadGuid(); byte[] datalistData = reader.ReadByteArray(); Datalist = null; if (datalistData != null) { ErrorResultTO tmpErrors; 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 void Read(IByteReaderBase reader) { CallbackID = reader.ReadGuid(); MessageType = (ExecutionStatusCallbackMessageType) reader.ReadInt32(); }
public DebugState(IByteReaderBase reader) : this() { WorkspaceID = reader.ReadGuid(); ID = reader.ReadGuid(); ParentID = reader.ReadGuid(); StateType = (StateType)reader.ReadInt32(); DisplayName = reader.ReadString(); Name = reader.ReadString(); ActivityType = (ActivityType)reader.ReadInt32(); Version = reader.ReadString(); IsSimulation = reader.ReadBoolean(); HasError = reader.ReadBoolean(); ErrorMessage = reader.ReadString(); Server = reader.ReadString(); ServerID = reader.ReadGuid(); OriginatingResourceID = reader.ReadGuid(); OriginalInstanceID = reader.ReadGuid(); StartTime = reader.ReadDateTime(); EndTime = reader.ReadDateTime(); NumberOfSteps = reader.ReadInt32(); ExecutionOrigin = (ExecutionOrigin)reader.ReadInt32(); ExecutionOriginDescription = reader.ReadString(); ExecutingUser = reader.ReadString(); EnvironmentID = reader.ReadGuid(); SessionID = reader.ReadGuid(); Deserialize(reader, Inputs); Deserialize(reader, Outputs); }
public override void Read(IByteReaderBase reader) { ID = reader.ReadGuid(); OnlyIfNotPersisted = reader.ReadBoolean(); }
public override void Read(IByteReaderBase reader) { ID = reader.ReadGuid(); OnlyIfNotPersisted = reader.ReadBoolean(); }
public void Read(IByteReaderBase reader) { CallbackID = reader.ReadGuid(); MessageType = (ExecutionStatusCallbackMessageType)reader.ReadInt32(); }
public override void Read(IByteReaderBase reader) { ID = reader.ReadGuid(); }
public override void Read(IByteReaderBase reader) { ID = reader.ReadGuid(); }
public override void Read(IByteReaderBase reader) { DatalistID = reader.ReadGuid(); Errors = ErrorResultTOExtensionMethods.FromByteArray(reader.ReadByteArray()); }