private string OfCardinality(MemberDescription m) { if (m.MaxOccurs > 1) return "List<" + m.Type.Name + "> "; return m.Type.Name + " "; }
private void GenMember(MemberDescription m, CsFile target) { target.emit (2, "public " + OfCardinality (m) + ResolveKeywords (m.Name) + " { get; set; }"); }