public PolicyItem() { Key = ""; Value = ""; _StringData = ""; Size = 0; LocalCompare = new PolicyItemLocalCheck(); }
public PolicyItem(SerializationInfo info, StreamingContext ctxt) { this.Key = (String)info.GetValue("Key", typeof(string)); this.Value = (String)info.GetValue("Value", typeof(string)); this._Type = (int)info.GetValue("_Type", typeof(int)); this.Size = (int)info.GetValue("Size", typeof(int)); this._StringData = (string)info.GetValue("_StringData", typeof(string)); LocalCompare = new PolicyItemLocalCheck(); }