36 references to SR
Microsoft.Extensions.Configuration.Binder (36)
ConfigurationBinder.cs (36)
243throw new InvalidOperationException(SR.Format(SR.Error_MissingConfig, 506throw new InvalidOperationException(SR.Format(SR.Error_FailedBinding, configValue, section.Path, type)); 562throw new InvalidOperationException(SR.Format(SR.Error_CannotActivateAbstractOrInterface, type)); 572throw new InvalidOperationException(SR.Format(SR.Error_MissingPublicInstanceConstructor, type)); 577throw new InvalidOperationException(SR.Format(SR.Error_MultipleParameterizedConstructors, type)); 587throw new InvalidOperationException(SR.Format(SR.Error_CannotBindToConstructorParameter, type, nameOfInvalidParameter)); 595throw new InvalidOperationException(SR.Format(SR.Error_ConstructorParametersDoNotMatchProperties, type, nameOfInvalidParameters)); 617throw new InvalidOperationException(SR.Format(SR.Error_FailedToActivate, type), ex); 620return instance ?? throw new InvalidOperationException(SR.Format(SR.Error_FailedToActivate, type)); 797throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 836throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 853throw new InvalidOperationException(SR.Format(SR.Error_UnsupportedMultidimensionalArray, type)); 892throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 963throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 1007error = new InvalidOperationException(SR.Format(SR.Error_FailedBinding, value, path, type), ex); 1023error = new InvalidOperationException(SR.Format(SR.Error_FailedBinding, value, path, type), ex); 1135throw new InvalidOperationException(SR.Format(SR.Error_ParameterBeingBoundToIsUnnamed, type)); 1155throw new InvalidOperationException(SR.Format(SR.Error_ParameterHasNoMatchingConfig, type, parameterName));