Ejemplo n.º 1
0
 public PolicyItem()
 {
     Key          = "";
     Value        = "";
     _StringData  = "";
     Size         = 0;
     LocalCompare = new PolicyItemLocalCheck();
 }
Ejemplo n.º 2
0
        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();
        }