Loupe - Log - Monitor - Resolve
Loupe.Agent.Core.Services Namespace / ServicesExtensions Class / AddLoupe Method / AddLoupe(IServiceCollection,Action<AgentConfiguration>) Method
The Microsoft.Extensions.DependencyInjection.IServiceCollection.
A callback to be invoked after configuration is loaded.

In This Topic
    AddLoupe(IServiceCollection,Action<AgentConfiguration>) Method
    In This Topic
    Adds Loupe to the services with a configuration callback.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Overloads Shared Function AddLoupe( _
       ByVal services As IServiceCollection, _
       ByVal configure As Action(Of AgentConfiguration) _
    ) As ILoupeAgentBuilder

    Parameters

    services
    The Microsoft.Extensions.DependencyInjection.IServiceCollection.
    configure
    A callback to be invoked after configuration is loaded.

    Return Value

    An instance of ILoupeAgentBuilder for further customization.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also