示例#1
0
        internal Members ToMembers()
        {
            Members m = new Members();
            m.Count = (uint)this.Members.Count;
            if (this.Level != null) m.Level = this.Level.Value;

            foreach (string s in this.Members)
            {
                m.Append(new Member() { Name = s });
            }

            return m;
        }
        internal Members ToMembers()
        {
            var m = new Members();

            m.Count = (uint)Members.Count;
            if (Level != null)
            {
                m.Level = Level.Value;
            }

            foreach (var s in Members)
            {
                m.Append(new Member {
                    Name = s
                });
            }

            return(m);
        }
示例#3
0
        internal Members ToMembers()
        {
            Members m = new Members();

            m.Count = (uint)this.Members.Count;
            if (this.Level != null)
            {
                m.Level = this.Level.Value;
            }

            foreach (string s in this.Members)
            {
                m.Append(new Member()
                {
                    Name = s
                });
            }

            return(m);
        }