Пример #1
0
        public GroupMember Build() {
            GroupMember result = new GroupMember();
            result.Email = email;
            result.FirstName = firstName;
            result.LastName = lastName;
            result.GroupMemberType = groupMemberType;

            return result;
        }
Пример #2
0
        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;
        }
Пример #3
0
        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;
 }
Пример #5
0
 public GroupMemberConverter( GroupMember sdkMember ) {
     this.sdkMember = sdkMember;
     this.apiMember = null;
 }
Пример #6
0
 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;
 }