Web API Core | ComponentOne
Microsoft.AspNetCore.Builder Namespace / AppBuilderUseExtensions Class / SetReportCacheDuration Method / SetReportCacheDuration(IApplicationBuilder,TimeSpan) Method
The app builder.
The duration.

In This Topic
    SetReportCacheDuration(IApplicationBuilder,TimeSpan) Method
    In This Topic
    Set a duration for the report cache.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Overloads Shared Function SetReportCacheDuration( _
       ByVal app As IApplicationBuilder, _
       ByVal duration As TimeSpan _
    ) As IApplicationBuilder
    [Extension()]
    public static IApplicationBuilder SetReportCacheDuration( 
       IApplicationBuilder app,
       TimeSpan duration
    )

    Parameters

    app
    The app builder.
    duration
    The duration.

    Return Value

    The app builder.
    See Also