Exemplo n.º 1
0
 public AndroidLogcat(AndroidLogcat rhs)
 {
     AdbFullPath         = rhs.AdbFullPath;
     SelectedDevice      = rhs.SelectedDevice;
     CaptureOutputToFile = rhs.CaptureOutputToFile;
     AppendOutputFile    = rhs.AppendOutputFile;
     LogBuffers          = rhs.LogBuffers.Dup();
     FilterSpecs         = rhs.FilterSpecs.Dup();
     LogFormat           = rhs.LogFormat;
     ConnectionType      = rhs.ConnectionType;
     IPAddressHistory    = rhs.IPAddressHistory.Dup();
     ConnectionPort      = rhs.ConnectionPort;
 }
Exemplo n.º 2
0
 public AndroidLogcat(XElement node)
 {
     AdbFullPath         = node.Element(XmlTag.ADBPath).As <string>();
     SelectedDevice      = node.Element(XmlTag.Device).As <string>();
     CaptureOutputToFile = node.Element(XmlTag.CaptureOutput).As <bool>();
     AppendOutputFile    = node.Element(XmlTag.AppendOutput).As <bool>();
     LogBuffers          = node.Element(XmlTag.LogBuffers).As <ELogBuffer[]>();
     FilterSpecs         = node.Element(XmlTag.FilterSpecs).As <FilterSpec[]>();
     LogFormat           = node.Element(XmlTag.LogFormat).As <ELogFormat>();
     ConnectionType      = node.Element(XmlTag.ConnType).As <EConnectionType>();
     IPAddressHistory    = node.Element(XmlTag.IPAddrHistory).As <string[]>();
     ConnectionPort      = node.Element(XmlTag.Port).As <int>();
 }