public static LogicalInfo Deserialize(string logicalState)
        {
            if (string.IsNullOrEmpty(logicalState))
            {
                return(null);
            }
            LogicalInfo res = null;

            SerializationHelper.DeserializeFromString(logicalState, x => res = (LogicalInfo) new XmlSerializer(typeof(LogicalInfo)).Deserialize(x));
            return(res);
        }
 public static string Serialize(LogicalInfo logicalState)
 {
     return(SerializationHelper.SerializeToString(x => new XmlSerializer(typeof(LogicalInfo)).Serialize(x, logicalState)));
 }