/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='type'> /// </param> /// <param name='year'> /// </param> public static object Get2(this IEvents operations, string type, int year) { return(operations.Get2Async(type, year).GetAwaiter().GetResult()); }