ServicesFactory.ForEach Method (IDictionary<String, String>, Action<Type, Type>)
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)
Syntax
'Declaration
Public Shared Sub ForEach ( _
settings As IDictionary(Of String, String), _
callback As Action(Of Type, Type) _
)
'Usage
Dim settings As IDictionary(Of String, String)
Dim callback As Action(Of Type, Type)
ServicesFactory.ForEach(settings, callback)
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 static function ForEach(
settings : IDictionary<String, String>,
callback : Action<Type, Type>
)
Parameters
- settings
Type: System.Collections.Generic.IDictionary<String, String>
The settings.
- callback
Type: System.Action<Type, Type>
The callback.