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)); 559throw new InvalidOperationException(SR.Format(SR.Error_CannotActivateAbstractOrInterface, type)); 569throw new InvalidOperationException(SR.Format(SR.Error_MissingPublicInstanceConstructor, type)); 574throw new InvalidOperationException(SR.Format(SR.Error_MultipleParameterizedConstructors, type)); 584throw new InvalidOperationException(SR.Format(SR.Error_CannotBindToConstructorParameter, type, nameOfInvalidParameter)); 592throw new InvalidOperationException(SR.Format(SR.Error_ConstructorParametersDoNotMatchProperties, type, nameOfInvalidParameters)); 614throw new InvalidOperationException(SR.Format(SR.Error_FailedToActivate, type), ex); 617return instance ?? throw new InvalidOperationException(SR.Format(SR.Error_FailedToActivate, type)); 794throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 833throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 850throw new InvalidOperationException(SR.Format(SR.Error_UnsupportedMultidimensionalArray, type)); 889throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 960throw new InvalidOperationException(SR.Format(SR.Error_GeneralErrorWhenBinding, 1003error = new InvalidOperationException(SR.Format(SR.Error_FailedBinding, value, path, type), ex); 1019error = new InvalidOperationException(SR.Format(SR.Error_FailedBinding, value, path, type), ex); 1136throw new InvalidOperationException(SR.Format(SR.Error_ParameterBeingBoundToIsUnnamed, type)); 1156throw new InvalidOperationException(SR.Format(SR.Error_ParameterHasNoMatchingConfig, type, parameterName));