示例#1
0
        public override CfgEncoder Encode()
        {
            current = this;

            var cody = this.EncodeUnrecognized()
                       .Add("s", subCategories)
                       .Add_IfNotNegative("i", inspected)
                       .Add("fi", unusedIndex);

            current = null;

            return(cody);
        }
示例#2
0
 public override void Decode(string data)
 {
     current = this;
     base.Decode(data);
     current = null;
 }