Exemplo n.º 1
0
 public void Deserialize(IAttrContainer attrContainer, StreamWriter streamWriter)
 {
     foreach (IAttr attr in attrContainer.Attributes)
     {
         Deserialize(attr, streamWriter);
     }
 }
Exemplo n.º 2
0
        public void Deserialize(IAttr attr, StreamWriter streamWriter)
        {
            IAttrContainer container = (attr as Attr <AttrContainer>).Value;

            streamWriter.WriteLine($"{{{attr.Name}:{attr.Type}:}}");
            Deserialize(container, streamWriter);
            streamWriter.WriteLine($"}}");
        }
Exemplo n.º 3
0
 public void Serialize(IAttrContainer attrContainer, StreamReader streamReader)
 {
     throw new NotImplementedException();
 }