Thetype exposes the following members.
Gets or sets the container or lifetime scope from which service instances will be retrieved.
Gets or sets an action that can be used to programmatically configure service host instances this factory generates.
Gets or sets the service implementation data strategy.
Creates a ServiceHost for a specified type of service with a specific base address.(Inherited from ServiceHostFactory.)
Creates a ServiceHost with specific base addresses and initializes it with specified data.(Overrides ServiceHostFactoryCreateServiceHost(String, Uri).)
Creates a ServiceHost for a specified type of service with a specific base address.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
The Autofac service host factory allows you to change the strategy by which service implementations are resolved. You do this by setting the ServiceImplementationDataProvider with a strategy implementation.
You may configure additional behaviors or other aspects of generated service instances by setting the HostConfigurationAction. If this value is not , generated host instances will be run through that action.