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); }
private static void Deserialize(IByteReaderBase reader, ICollection <IDebugItem> items) { var count = reader.ReadInt32(); for (var i = 0; i < count; i++) { var item = new DebugItem(); var resultCount = reader.ReadInt32(); for (var j = 0; j < resultCount; j++) { item.Add(new DebugItemResult { Type = (DebugItemResultType)reader.ReadInt32(), Label = reader.ReadString(), Variable = reader.ReadString(), Value = reader.ReadString(), GroupName = reader.ReadString(), GroupIndex = reader.ReadInt32(), MoreLink = reader.ReadString() }, true); } items.Add(item); } }
public void Read(IByteReaderBase reader) { CallbackID = reader.ReadGuid(); MessageType = (ExecutionStatusCallbackMessageType) reader.ReadInt32(); }
private static void Deserialize(IByteReaderBase reader, ICollection<IDebugItem> items) { var count = reader.ReadInt32(); for(var i = 0; i < count; i++) { var item = new DebugItem(); var resultCount = reader.ReadInt32(); for(var j = 0; j < resultCount; j++) { item.Add(new DebugItemResult { Type = (DebugItemResultType)reader.ReadInt32(), Label = reader.ReadString(), Variable = reader.ReadString(), Value = reader.ReadString(), GroupName = reader.ReadString(), GroupIndex = reader.ReadInt32(), MoreLink = reader.ReadString() }, true); } items.Add(item); } }
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 void Read(IByteReaderBase reader) { CallbackID = reader.ReadGuid(); MessageType = (ExecutionStatusCallbackMessageType)reader.ReadInt32(); }