C# Class Microsoft.AspNet.WebHooks.WebHookReceiverConfigExtensions

Datei anzeigen Open project: aspnet/WebHooks

Public Methods

Method Description
GetReceiverConfigAsync ( this config, string name, string id, int minLength, int maxLength ) : Task

Gets the receiver configuration with the given name and id.

Method Details

GetReceiverConfigAsync() public static method

Gets the receiver configuration with the given name and id.
public static GetReceiverConfigAsync ( this config, string name, string id, int minLength, int maxLength ) : Task
config this The current .
name string The name of the configuration to obtain. Typically this is the name of the receiver, e.g. github.
id string A (potentially empty) ID of a particular configuration for this . This /// allows an to support multiple WebHooks with individual configurations.
minLength int The minimum length of the key value.
maxLength int The maximum length of the key value.
return Task