Share via


ServicesFactory.ForEach Method

 

Performs the specified action on each element of the service providers.

Namespace:   Microsoft.Owin.Hosting.Services
Assembly:  Microsoft.Owin.Hosting (in Microsoft.Owin.Hosting.dll)

Overload List

Name Description
System_CAPS_pubmethodSystem_CAPS_static ForEach(Action<Type, Type>)

Enumerate the default service types.

System_CAPS_pubmethodSystem_CAPS_static ForEach(IDictionary<String, String>, Action<Type, Type>)

Enumerate the default service types with the given settings overrides.

System_CAPS_pubmethodSystem_CAPS_static ForEach(String, Action<Type, Type>)

Enumerate the default service types with the given settings file overrides.

See Also

ServicesFactory Class
Microsoft.Owin.Hosting.Services Namespace

Return to top

ServicesFactory.ForEach Method (Action<Type, Type>)

Enumerate the default service types.

Syntax

public static void ForEach(
    Action<Type, Type> callback
)
public:
static void ForEach(
    Action<Type^, Type^>^ callback
)
static member ForEach : 
        callback:Action<Type, Type> -> unit
Public Shared Sub ForEach (
    callback As Action(Of Type, Type)
)

Parameters

Return to top

ServicesFactory.ForEach Method (IDictionary<String, String>, Action<Type, Type>)

Enumerate the default service types with the given settings overrides.

Syntax

public static void ForEach(
    IDictionary<string, string> settings,
    Action<Type, Type> callback
)
public:
static void ForEach(
    IDictionary<String^, String^>^ settings,
    Action<Type^, Type^>^ callback
)
static member ForEach : 
        settings:IDictionary<string, string> *
        callback:Action<Type, Type> -> unit
Public Shared Sub ForEach (
    settings As IDictionary(Of String, String),
    callback As Action(Of Type, Type)
)

Parameters

Return to top

ServicesFactory.ForEach Method (String, Action<Type, Type>)

Enumerate the default service types with the given settings file overrides.

Syntax

public static void ForEach(
    string settingsFile,
    Action<Type, Type> callback
)
public:
static void ForEach(
    String^ settingsFile,
    Action<Type^, Type^>^ callback
)
static member ForEach : 
        settingsFile:string *
        callback:Action<Type, Type> -> unit
Public Shared Sub ForEach (
    settingsFile As String,
    callback As Action(Of Type, Type)
)

Parameters

Return to top