public void WriteIgnore(CodeWriter.CodeWriter writer) { var serializeType = _serializes.Find((type => type is MessagePack)); if (serializeType != null) { writer.Write("[MessagePack.IgnoreMember]"); } writer.Write("[IgnoreDataMember]"); }
public void WriteSerializerString(CodeWriter.CodeWriter writer) { foreach (var serializeType in _serializes) { writer.Write(serializeType.TypeString()); } }