Example #1
0
            public MemberNode ToMemberNode()
            {
                MemberModel member = new MemberModel(
                    this.Id,
                    new AccountNo(this.AccountNo),
                    this.Username,
                    this.RegistrationDate,
                    new Rank(this.RankId, this.Rank, this.RankLevel),
                    new PersonalInformation(
                        new EmiratesId(this.EmiratesId),
                        new FullName(this.FirstName, this.LastName),
                        this.Gender,
                        new Email(this.Email),
                        new Mobile(this.Mobile),
                        new Address(this.City, this.Country, this.AddressLine1, this.AddressLine2),
                        this.DateOfBirth));

                return new MemberNode(this.NodeString, member);
            }
Example #2
0
 public MemberNode(string nodeString, MemberModel member)
 {
     this.NodeString = nodeString;
     this.Member = member;
 }