Udostępnij za pośrednictwem


Events Class

Definition

Events operations.

public class Events : Microsoft.Azure.CognitiveServices.Personalizer.IEvents, Microsoft.Rest.IServiceOperations<Microsoft.Azure.CognitiveServices.Personalizer.PersonalizerClient>
type Events = class
    interface IServiceOperations<PersonalizerClient>
    interface IEvents
Public Class Events
Implements IEvents, IServiceOperations(Of PersonalizerClient)
Inheritance
Events
Implements

Constructors

Events(PersonalizerClient)

Initializes a new instance of the Events class.

Properties

Client

Gets a reference to the PersonalizerClient

Methods

ActivateWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

Report that the specified event was actually displayed to the user and a reward should be expected for it.

RewardWithHttpMessagesAsync(String, RewardRequest, Dictionary<String,List<String>>, CancellationToken)

Report reward to allocate to the top ranked action for the specified event.

Extension Methods

Activate(IEvents, String)

Report that the specified event was actually displayed to the user and a reward should be expected for it.

ActivateAsync(IEvents, String, CancellationToken)

Report that the specified event was actually displayed to the user and a reward should be expected for it.

ActivateWithHttpMessages(IEvents, String, Dictionary<String,List<String>>)

Report that the specified event was actually displayed to the user and a reward should be expected for it.

Reward(IEvents, String, RewardRequest)

Report reward to allocate to the top ranked action for the specified event.

RewardAsync(IEvents, String, RewardRequest, CancellationToken)

Report reward to allocate to the top ranked action for the specified event.

RewardWithHttpMessages(IEvents, String, RewardRequest, Dictionary<String,List<String>>)

Report reward to allocate to the top ranked action for the specified event.

Applies to