/// <summary> /// Returns the parameter provider for a given type. /// </summary> /// <param name="interfaceType">The type to analyze.</param> /// <returns>The parameter provider for the type.</returns> internal static TraceParameterProvider GetParameterProvider(Type interfaceType) { return(ProviderManager.GetProvider <TraceParameterProvider>(interfaceType, typeof(TraceParameterProviderAttribute), () => _defaultProvider)); }