sdk/dotnet/test/Datasync.Common.Test/BaseTest.cs
/// <summary>
/// Builds the handler set for the clients.
/// </summary>
/// <param name="authProvider"></param>
/// <param name="clientHandler"></param>
/// <returns></returns>
Builds the handler set for the clients.
Builds the handler set for the clients .
private static List<HttpMessageHandler> BuildHandlers(AuthenticationProvider authProvider, HttpMessageHandler clientHandler)
        {
            List<HttpMessageHandler> handlers = new(new[] { clientHandler });
            if (authProvider != null)
            {
                handlers.Insert(0, authProvider);
            }
            return handlers;
        }
private static List < HttpMessageHandler > BuildHandlers ( AuthenticationProvider authProvider , HttpMessageHandler clientHandler ) { List < HttpMessageHandler > handlers = new ( new [ ] { clientHandler } ) ; if ( authProvider != null ) { handlers . Insert ( 0 , authProvider ) ; } return handlers ; }
Builds the handler set for the clients.
Builds the handler set for the clients .
None
authProvider
AuthenticationProvider
None
clientHandler
HttpMessageHandler
None