Exemple #1
0
 public bool TryLoad(XmlElement element)
 {
     try
     {
         _hd = _serializationHelper.Deserialize <Docs.Qualified.ExchangeNetworkDocument>(element);
         return(true);
     }
     catch (InvalidOperationException)
     {
         return(false);
     }
 }
Exemple #2
0
 public bool TryLoad(string serializeFilePath)
 {
     try
     {
         _hd = _serializationHelper.Deserialize <Docs.Qualified.ExchangeNetworkDocument>(serializeFilePath);
         return(true);
     }
     catch (InvalidOperationException)
     {
         return(false);
     }
 }
Exemple #3
0
 public void Load(byte[] content)
 {
     _hd = _serializationHelper.Deserialize <Docs.Qualified.ExchangeNetworkDocument>(content);
 }
Exemple #4
0
 public void Load(string serializeFilePath)
 {
     _hd = _serializationHelper.Deserialize <Docs.Qualified.ExchangeNetworkDocument>(serializeFilePath);
 }