C# Class NotificationsExtensions.NotificationBaseExtensions

Show file Open project: nickharris/WnsRecipe

Public Methods

Method Description
Send ( this notification, Uri channelUri, IAccessTokenProvider accessTokenProvider ) : NotificationSendResult
Send ( this notification, Uri channelUri, IAccessTokenProvider accessTokenProvider, NotificationSendOptions options ) : NotificationSendResult
SendAsynchronously ( this notification, Uri channelUri, IAccessTokenProvider accessTokenProvider, Action sent, Action error ) : void
SendAsynchronously ( this notification, Uri channelUri, IAccessTokenProvider accessTokenProvider, Action sent, Action error, NotificationSendOptions options ) : void

Private Methods

Method Description
GetNotificationType ( this notification ) : NotificationType

Method Details

Send() public static method

public static Send ( this notification, Uri channelUri, IAccessTokenProvider accessTokenProvider ) : NotificationSendResult
notification this
channelUri System.Uri
accessTokenProvider IAccessTokenProvider
return NotificationSendResult

Send() public static method

public static Send ( this notification, Uri channelUri, IAccessTokenProvider accessTokenProvider, NotificationSendOptions options ) : NotificationSendResult
notification this
channelUri System.Uri
accessTokenProvider IAccessTokenProvider
options NotificationSendOptions
return NotificationSendResult

SendAsynchronously() public static method

public static SendAsynchronously ( this notification, Uri channelUri, IAccessTokenProvider accessTokenProvider, Action sent, Action error ) : void
notification this
channelUri System.Uri
accessTokenProvider IAccessTokenProvider
sent Action
error Action
return void

SendAsynchronously() public static method

public static SendAsynchronously ( this notification, Uri channelUri, IAccessTokenProvider accessTokenProvider, Action sent, Action error, NotificationSendOptions options ) : void
notification this
channelUri System.Uri
accessTokenProvider IAccessTokenProvider
sent Action
error Action
options NotificationSendOptions
return void