예제 #1
0
 internal override void Deserialize(PSObject so, FormatObjectDeserializer deserializer)
 {
     base.Deserialize(so, deserializer);
     this.hideHeader = deserializer.DeserializeBoolMemberVariable(so, "hideHeader");
     this.hideHeader = deserializer.DeserializeBoolMemberVariable(so, "repeatHeader");
     FormatInfoDataListDeserializer <TableColumnInfo> .ReadList(so, "tableColumnInfoList", this.tableColumnInfoList, deserializer);
 }
예제 #2
0
        internal override void Deserialize(PSObject so, FormatObjectDeserializer deserializer)
        {
            base.Deserialize(so, deserializer);

            // The "repeatHeader" property was added later (V5, V6) and presents an incompatibility when remoting to older version PowerShell sessions.
            // When the property is missing from the serialized object, let the deserialized property be false.
            this.repeatHeader = deserializer.DeserializeBoolMemberVariable(so, "repeatHeader", cannotBeNull: false);
            this.hideHeader   = deserializer.DeserializeBoolMemberVariable(so, "hideHeader");
            FormatInfoDataListDeserializer <TableColumnInfo> .ReadList(so, "tableColumnInfoList", this.tableColumnInfoList, deserializer);
        }
예제 #3
0
        internal override void Deserialize(PSObject so, FormatObjectDeserializer deserializer)
        {
            base.Deserialize(so, deserializer);
            FormatInfoDataListDeserializer <FormatPropertyField> .ReadList(so, "formatPropertyFieldList", this.formatPropertyFieldList, deserializer);

            this.multiLine = deserializer.DeserializeBoolMemberVariable(so, "multiLine");
        }
예제 #4
0
 internal override void Deserialize(PSObject so, FormatObjectDeserializer deserializer)
 {
     base.Deserialize(so, deserializer);
     this.formatEntryInfo = (FormatEntryInfo)deserializer.DeserializeMandatoryMemberObject(so, "formatEntryInfo");
     this.outOfBand       = deserializer.DeserializeBoolMemberVariable(so, "outOfBand");
     this.writeStream     = deserializer.DeserializeWriteStreamTypeMemberVariable(so);
     this.isHelpObject    = so.IsHelpObject;
 }
예제 #5
0
 internal override void Deserialize(PSObject so, FormatObjectDeserializer deserializer)
 {
     base.Deserialize(so, deserializer);
     this.formatEntryInfo = (FormatEntryInfo) deserializer.DeserializeMandatoryMemberObject(so, "formatEntryInfo");
     this.outOfBand = deserializer.DeserializeBoolMemberVariable(so, "outOfBand");
     this.writeStream = deserializer.DeserializeWriteStreamTypeMemberVariable(so);
     this.isHelpObject = so.IsHelpObject;
 }
예제 #6
0
 internal override void Deserialize(PSObject so, FormatObjectDeserializer deserializer)
 {
     base.Deserialize(so, deserializer);
     this.hideHeader = deserializer.DeserializeBoolMemberVariable(so, "hideHeader");
     FormatInfoDataListDeserializer<TableColumnInfo>.ReadList(so, "tableColumnInfoList", this.tableColumnInfoList, deserializer);
 }
예제 #7
0
 internal override void Deserialize(PSObject so, FormatObjectDeserializer deserializer)
 {
     base.Deserialize(so, deserializer);
     FormatInfoDataListDeserializer<FormatPropertyField>.ReadList(so, "formatPropertyFieldList", this.formatPropertyFieldList, deserializer);
     this.multiLine = deserializer.DeserializeBoolMemberVariable(so, "multiLine");
 }