ServicesFactory.ForEach Method (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 ( _
settingsFile As String, _
callback As Action(Of Type, Type) _
)
'Usage
Dim settingsFile As String
Dim callback As Action(Of Type, Type)
ServicesFactory.ForEach(settingsFile, callback)
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 static function ForEach(
settingsFile : String,
callback : Action<Type, Type>
)
Parameters
- settingsFile
Type: System.String
The settings file.
- callback
Type: System.Action<Type, Type>
The callback.