예제 #1
0
        // returns null on error
        internal FormatInfoData DeserializeObject(PSObject so)
        {
            FormatInfoData fid = FormatInfoDataClassFactory.CreateInstance(so, this);

            if (fid != null)
            {
                fid.Deserialize(so, this);
            }
            return(fid);
        }
예제 #2
0
        internal FormatInfoData DeserializeObject(PSObject so)
        {
            FormatInfoData data = FormatInfoDataClassFactory.CreateInstance(so, this);

            if (data != null)
            {
                data.Deserialize(so, this);
            }
            return(data);
        }