C# Class System.Web.Mvc.DependencyResolverExtensions

Show file Open project: aspnet/WebHooks

Public Methods

Method Description
GetFilterManager ( this services ) : IWebHookFilterManager

Gets an IWebHookFilterManager implementation registered with the Dependency Injection engine or a default implementation if none are registered.

GetFilterProviders ( this services ) : IEnumerable

Gets the set of IWebHookFilterProvider instances registered with the Dependency Injection engine or an empty collection if none are registered.

GetLogger ( this services ) : ILogger

Gets an ILogger implementation registered with the Dependency Injection engine or a default System.Diagnostics.Trace implementation if none are registered.

GetSettings ( this services ) : SettingsDictionary

Gets a SettingsDictionary instance registered with the Dependency Injection engine or a default implementation based on application settings if none are registered.

GetStore ( this services ) : IWebHookStore

Gets an IWebHookStore implementation registered with the Dependency Injection engine or a default implementation if none are registered.

GetUser ( this services ) : IWebHookUser

Gets an IWebHookUser implementation registered with the Dependency Injection engine or a default implementation if none are registered.

Private Methods

Method Description
GetManager ( this services ) : IWebHookManager
GetSender ( this services ) : IWebHookSender

Method Details

GetFilterManager() public static method

Gets an IWebHookFilterManager implementation registered with the Dependency Injection engine or a default implementation if none are registered.
public static GetFilterManager ( this services ) : IWebHookFilterManager
services this The implementation.
return IWebHookFilterManager

GetFilterProviders() public static method

Gets the set of IWebHookFilterProvider instances registered with the Dependency Injection engine or an empty collection if none are registered.
public static GetFilterProviders ( this services ) : IEnumerable
services this The implementation.
return IEnumerable

GetLogger() public static method

Gets an ILogger implementation registered with the Dependency Injection engine or a default System.Diagnostics.Trace implementation if none are registered.
public static GetLogger ( this services ) : ILogger
services this The implementation.
return ILogger

GetSettings() public static method

Gets a SettingsDictionary instance registered with the Dependency Injection engine or a default implementation based on application settings if none are registered.
public static GetSettings ( this services ) : SettingsDictionary
services this The implementation.
return SettingsDictionary

GetStore() public static method

Gets an IWebHookStore implementation registered with the Dependency Injection engine or a default implementation if none are registered.
public static GetStore ( this services ) : IWebHookStore
services this The implementation.
return IWebHookStore

GetUser() public static method

Gets an IWebHookUser implementation registered with the Dependency Injection engine or a default implementation if none are registered.
public static GetUser ( this services ) : IWebHookUser
services this The implementation.
return IWebHookUser