36 references to SR
Microsoft.Extensions.Configuration.Binder (36)
ConfigurationBinder.cs (36)
240throw new InvalidOperationException(SR.Format(SR.Error_MissingConfig, 503throw new InvalidOperationException(SR.Format(SR.Error_FailedBinding, configValue, section.Path, type)); 558throw new InvalidOperationException(SR.Format(SR.Error_CannotActivateAbstractOrInterface, type)); 568throw new InvalidOperationException(SR.Format(SR.Error_MissingPublicInstanceConstructor, type)); 573throw new InvalidOperationException(SR.Format(SR.Error_MultipleParameterizedConstructors, type)); 583throw new InvalidOperationException(SR.Format(SR.Error_CannotBindToConstructorParameter, type, nameOfInvalidParameter)); 591throw new InvalidOperationException(SR.Format(SR.Error_ConstructorParametersDoNotMatchProperties, type, nameOfInvalidParameters)); 613throw new InvalidOperationException(SR.Format(SR.Error_FailedToActivate, type), ex); 616return instance ?? throw new InvalidOperationException(SR.Format(SR.Error_FailedToActivate, type)); 793throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 832throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 849throw new InvalidOperationException(SR.Format(SR.Error_UnsupportedMultidimensionalArray, type)); 888throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 959throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 1002error = new InvalidOperationException(SR.Format(SR.Error_FailedBinding, value, path, type), ex); 1018error = new InvalidOperationException(SR.Format(SR.Error_FailedBinding, value, path, type), ex); 1138throw new InvalidOperationException(SR.Format(SR.Error_ParameterBeingBoundToIsUnnamed, type)); 1158throw new InvalidOperationException(SR.Format(SR.Error_ParameterHasNoMatchingConfig, type, parameterName));