public GroupMember Build() {
            GroupMember result = new GroupMember();
            result.Email = email;
            result.FirstName = firstName;
            result.LastName = lastName;
            result.GroupMemberType = groupMemberType;

            return result;
        }
        public GroupMember Build() {
			Support.LogMethodEntry();

            GroupMember result = new GroupMember();

            result.Email = email;
            result.FirstName = firstName;
            result.LastName = lastName;
            result.GroupMemberType = groupMemberType;
			Support.LogMethodExit(result);
            return result;
        }
        public GroupMember ToSDKGroupMember() {
            if (sdkMember != null)
            {
                return sdkMember;
            }
            else
            {
                GroupMember result = new GroupMember();
                result.Email = apiMember.Email;
                result.FirstName = apiMember.FirstName;
                result.LastName = apiMember.LastName;
                result.GroupMemberType = new GroupMemberTypeConverter(apiMember.MemberType).ToSDKGroupMemberType();

                return result;
            }
        }
示例#4
0
 public GroupBuilder WithMember( GroupMember groupMember ) {
     members.Add(groupMember);
     return this;
 }
 public GroupMemberConverter( GroupMember sdkMember ) {
     this.sdkMember = sdkMember;
     this.apiMember = null;
 }
 public GroupMemberConverter( Silanis.ESL.API.GroupMember apiMember ) {
     this.apiMember = apiMember;
     this.sdkMember = null;
 }
示例#7
0
 public GroupMemberConverter(GroupMember sdkMember)
 {
     this.sdkMember = sdkMember;
     this.apiMember = null;
 }
示例#8
0
 public GroupMemberConverter(Silanis.ESL.API.GroupMember apiMember)
 {
     this.apiMember = apiMember;
     this.sdkMember = null;
 }