C# 클래스 System.Web.Mvc.ControllerExtensions

파일 보기 프로젝트 열기: aspnet/WebHooks

공개 메소드들

메소드 설명
NotifyAllAsync ( this controller ) : Task

Submits a notification to all matching registered WebHooks across all users. To match, the WebHook must have a filter that matches one or more of the actions provided for the notification.

NotifyAllAsync ( this controller, IEnumerable notifications, Func predicate ) : Task

Submits a notification to all matching registered WebHooks across all users. To match, the WebHook must have a filter that matches one or more of the actions provided for the notification.

NotifyAllAsync ( this controller, string action, object data ) : Task

Submits a notification to all matching registered WebHooks across all users. To match, the WebHook must have a filter that matches one or more of the actions provided for the notification.

NotifyAllAsync ( this controller, string action, object data, Func predicate ) : Task

Submits a notification to all matching registered WebHooks across all users. To match, the WebHook must have a filter that matches one or more of the actions provided for the notification.

NotifyAsync ( this controller ) : Task

Submits a notification to all matching registered WebHooks. To match, the WebHook must be registered by the current Controller.User and have a filter that matches one or more of the actions provided for the notification.

NotifyAsync ( this controller, IEnumerable notifications, Func predicate ) : Task

Submits a notification to all matching registered WebHooks. To match, the WebHook must be registered by the current Controller.User and have a filter that matches one or more of the actions provided for the notification.

NotifyAsync ( this controller, string action, object data ) : Task

Submits a notification to all matching registered WebHooks. To match, the WebHook must be registered by the current Controller.User and have a filter that matches one or more of the actions provided for the notification.

NotifyAsync ( this controller, string action, object data, Func predicate ) : Task

Submits a notification to all matching registered WebHooks. To match, the WebHook must be registered by the current Controller.User and have a filter that matches one or more of the actions provided for the notification.

메소드 상세

NotifyAllAsync() 공개 정적인 메소드

Submits a notification to all matching registered WebHooks across all users. To match, the WebHook must have a filter that matches one or more of the actions provided for the notification.
public static NotifyAllAsync ( this controller ) : Task
controller this The instance.
리턴 Task

NotifyAllAsync() 공개 정적인 메소드

Submits a notification to all matching registered WebHooks across all users. To match, the WebHook must have a filter that matches one or more of the actions provided for the notification.
public static NotifyAllAsync ( this controller, IEnumerable notifications, Func predicate ) : Task
controller this The instance.
notifications IEnumerable The set of notifications to include in the WebHook.
predicate Func A function to test each to see whether it fulfills the condition. The /// predicate is passed the and the user who registered it. If the predicate returns true then /// the is included; otherwise it is not.
리턴 Task

NotifyAllAsync() 공개 정적인 메소드

Submits a notification to all matching registered WebHooks across all users. To match, the WebHook must have a filter that matches one or more of the actions provided for the notification.
public static NotifyAllAsync ( this controller, string action, object data ) : Task
controller this The instance.
action string The action describing the notification.
data object Optional additional data to include in the WebHook request.
리턴 Task

NotifyAllAsync() 공개 정적인 메소드

Submits a notification to all matching registered WebHooks across all users. To match, the WebHook must have a filter that matches one or more of the actions provided for the notification.
public static NotifyAllAsync ( this controller, string action, object data, Func predicate ) : Task
controller this The instance.
action string The action describing the notification.
data object Optional additional data to include in the WebHook request.
predicate Func A function to test each to see whether it fulfills the condition. The /// predicate is passed the and the user who registered it. If the predicate returns true then /// the is included; otherwise it is not.
리턴 Task

NotifyAsync() 공개 정적인 메소드

Submits a notification to all matching registered WebHooks. To match, the WebHook must be registered by the current Controller.User and have a filter that matches one or more of the actions provided for the notification.
public static NotifyAsync ( this controller ) : Task
controller this The MVC instance.
리턴 Task

NotifyAsync() 공개 정적인 메소드

Submits a notification to all matching registered WebHooks. To match, the WebHook must be registered by the current Controller.User and have a filter that matches one or more of the actions provided for the notification.
public static NotifyAsync ( this controller, IEnumerable notifications, Func predicate ) : Task
controller this The MVC instance.
notifications IEnumerable The set of notifications to include in the WebHook.
predicate Func A function to test each to see whether it fulfills the condition. The /// predicate is passed the and the user who registered it. If the predicate returns true then /// the is included; otherwise it is not.
리턴 Task

NotifyAsync() 공개 정적인 메소드

Submits a notification to all matching registered WebHooks. To match, the WebHook must be registered by the current Controller.User and have a filter that matches one or more of the actions provided for the notification.
public static NotifyAsync ( this controller, string action, object data ) : Task
controller this The MVC instance.
action string The action describing the notification.
data object Optional additional data to include in the WebHook request.
리턴 Task

NotifyAsync() 공개 정적인 메소드

Submits a notification to all matching registered WebHooks. To match, the WebHook must be registered by the current Controller.User and have a filter that matches one or more of the actions provided for the notification.
public static NotifyAsync ( this controller, string action, object data, Func predicate ) : Task
controller this The MVC instance.
action string The action describing the notification.
data object Optional additional data to include in the WebHook request.
predicate Func A function to test each to see whether it fulfills the condition. The /// predicate is passed the and the user who registered it. If the predicate returns true then /// the is included; otherwise it is not.
리턴 Task