The AlternateEmail object.
Inheritance: IdentifiableModel
Ejemplo n.º 1
0
            /// <summary>
            /// Builds the AlternateEmail.
            /// </summary>
            /// <returns> the alternate email</returns>
            public virtual AlternateEmail Build()
            {
                if (email == null)
                {
                    throw new MemberAccessException("An email address is required.");
                }

                AlternateEmail altEmail = new AlternateEmail();

                altEmail.email = email;
                return(altEmail);
            }
            /// <summary>
            /// Builds the AlternateEmail.
            /// </summary>
            /// <returns> the alternate email</returns>
            public virtual AlternateEmail Build()
            {
                if (email == null)
                {
                    throw new MemberAccessException("An email address is required.");
                }

                AlternateEmail altEmail = new AlternateEmail();
                altEmail.email = email;
                return altEmail;
            }