示例#1
0
 /// <summary>
 /// Add a new contact
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='subscriptionId'>
 /// </param>
 /// <param name='building'>
 /// </param>
 /// <param name='city'>
 /// </param>
 /// <param name='street'>
 /// </param>
 /// <param name='postcode'>
 /// </param>
 /// <param name='company'>
 /// </param>
 /// <param name='title'>
 /// </param>
 /// <param name='firstName'>
 /// </param>
 /// <param name='lastName'>
 /// </param>
 public static ContactsModel AddContact(this IContacts operations, string subscriptionId, string building, string city, string street, string postcode, string company = default(string), string title = default(string), string firstName = default(string), string lastName = default(string))
 {
     return(operations.AddContactAsync(subscriptionId, building, city, street, postcode, company, title, firstName, lastName).GetAwaiter().GetResult());
 }