Ejemplo n.º 1
0
        public void WriteIgnore(CodeWriter.CodeWriter writer)
        {
            var serializeType = _serializes.Find((type => type is MessagePack));

            if (serializeType != null)
            {
                writer.Write("[MessagePack.IgnoreMember]");
            }
            writer.Write("[IgnoreDataMember]");
        }
Ejemplo n.º 2
0
 public void WriteSerializerString(CodeWriter.CodeWriter writer)
 {
     foreach (var serializeType in _serializes)
     {
         writer.Write(serializeType.TypeString());
     }
 }