Beispiel #1
0
        private string OfCardinality(MemberDescription m)
        {
            if (m.MaxOccurs > 1)
                return "List<" + m.Type.Name + "> ";

            return m.Type.Name + " ";
        }
Beispiel #2
0
 private void GenMember(MemberDescription m, CsFile target)
 {
     target.emit (2, "public " + OfCardinality (m) + ResolveKeywords (m.Name) + " { get; set; }");
 }