DefaultServiceImplementationDataProviderGetServiceImplementationData Method |
Namespace: Autofac.Integration.Wcf
Exception | Condition |
---|---|
InvalidOperationException | Thrown if the Container is ; if the service indicated by value is not registered with the Container; or if the service is a singleton that isn't registered as a singleton. |
ArgumentNullException | Thrown if value is . |
ArgumentException | Thrown if value is empty. |
This resolver takes the constructor string stored in the .svc file and resolves a matching keyed or typed service from the root application container. That resolved type is used both for the service host as well as the implementation type.