void OnDebugStateReceived(string objString)
        {
            var obj = _serializer.Deserialize <DebugState>(objString);

            ServerEvents.Publish(new DebugWriterWriteMessage {
                DebugState = obj
            });
        }
Beispiel #2
0
        void OnDebugStateReceived(string objString)
        {
            var obj = _serializer.Deserialize <DebugState>(objString);

            Dev2Logger.Log.Info(string.Format("Debug Item Received ID {0}" + Environment.NewLine + "Parent ID:{1}" + "Name: {2}", obj.EnvironmentID, obj.ParentID, obj.Name));
            ServerEvents.Publish(new DebugWriterWriteMessage {
                DebugState = obj
            });
        }