// returns null on error internal FormatInfoData DeserializeObject(PSObject so) { FormatInfoData fid = FormatInfoDataClassFactory.CreateInstance(so, this); if (fid != null) { fid.Deserialize(so, this); } return(fid); }
internal FormatInfoData DeserializeObject(PSObject so) { FormatInfoData data = FormatInfoDataClassFactory.CreateInstance(so, this); if (data != null) { data.Deserialize(so, this); } return(data); }