/// <summary> /// Activate Event. /// </summary> /// <remarks> /// Report that the specified event was actually displayed to the user and a /// reward should be expected for it /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='eventId'> /// The event ID this activation applies to. /// </param> public static void Activate(this IEvents operations, string eventId) { operations.ActivateAsync(eventId).GetAwaiter().GetResult(); }