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 | |
---|---|---|
![]() ![]() |
ForEach(Action<Type, Type>) | Enumerate the default service types. |
![]() ![]() |
ForEach(IDictionary<String, String>, Action<Type, Type>) | Enumerate the default service types with the given settings overrides. |
![]() ![]() |
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
- callback
Type: System.Action<Type, Type>
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
- settings
Type: System.Collections.Generic.IDictionary<String, String>
- callback
Type: System.Action<Type, Type>
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
- settingsFile
Type: System.String
- callback
Type: System.Action<Type, Type>
Return to top