Exemplo n.º 1
0
 /// <summary>
 /// Adds or replaces an event route.
 /// Status codes:
 /// 200 (OK): Success.
 /// 400 (Bad Request): The request is invalid.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// The id for an event route. The id is unique within event routes and case
 /// sensitive.
 /// </param>
 /// <param name='eventRoute'>
 /// The event route data
 /// </param>
 public static void Add(this IEventRoutesOperations operations, string id, EventRoute eventRoute = default(EventRoute))
 {
     operations.AddAsync(id, eventRoute).GetAwaiter().GetResult();
 }