Testing.Contact.CreateContact C# (CSharp) Method

CreateContact() public static method

Create a new Contact object.
public static CreateContact ( global contactID, global nameStyle, global firstName, global lastName, global emailPromotion, global passwordHash, global passwordSalt, global rowguid, global modifiedDate ) : Contact
contactID global Initial value of the ContactID property.
nameStyle global Initial value of the NameStyle property.
firstName global Initial value of the FirstName property.
lastName global Initial value of the LastName property.
emailPromotion global Initial value of the EmailPromotion property.
passwordHash global Initial value of the PasswordHash property.
passwordSalt global Initial value of the PasswordSalt property.
rowguid global Initial value of the rowguid property.
modifiedDate global Initial value of the ModifiedDate property.
return Contact
        public static Contact CreateContact(global::System.Int32 contactID, global::System.Boolean nameStyle, global::System.String firstName, global::System.String lastName, global::System.Int32 emailPromotion, global::System.String passwordHash, global::System.String passwordSalt, global::System.Guid rowguid, global::System.DateTime modifiedDate)
        {
            Contact contact = new Contact();
            contact.ContactID = contactID;
            contact.NameStyle = nameStyle;
            contact.FirstName = firstName;
            contact.LastName = lastName;
            contact.EmailPromotion = emailPromotion;
            contact.PasswordHash = passwordHash;
            contact.PasswordSalt = passwordSalt;
            contact.rowguid = rowguid;
            contact.ModifiedDate = modifiedDate;
            return contact;
        }