IAsyncServiceContainer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods to add and remove services.
public interface class IAsyncServiceContainer
public interface class IAsyncServiceContainer
__interface IAsyncServiceContainer
public interface IAsyncServiceContainer
type IAsyncServiceContainer = interface
Public Interface IAsyncServiceContainer
- Derived
Methods
AddService(Type, AsyncServiceCreatorCallback, Boolean) |
Gets a service. |
AddService(Type, AsyncServiceCreatorCallback) |
Adds a service. |
AddService(Type, AsyncServiceCreatorWithProgressCallback, Boolean) | |
AddService(Type, AsyncServiceCreatorWithProgressCallback) | |
RemoveService(Type, Boolean) |
Removes the service of the type specified. |
RemoveService(Type) |
Removes the service of the type specified. |
Extension Methods
ProfferService<TService>(IAsyncServiceContainer, Func<CancellationToken,Task<Object>>, Boolean) |
Proffers a service implemented by the specified type to an async service container.
When the service is queried the first time, the |
ProfferService<TService>(IAsyncServiceContainer, Func<CancellationToken,Task<Object>>) |
Proffers a service implemented by the specified type to an async service container.
When the service is queried the first time, the |
ProfferService<TService>(IAsyncServiceContainer, Func<Task<Object>>, Boolean) |
Proffers a service implemented by the specified type to an async service container.
When the service is queried the first time, the |
ProfferService<TService>(IAsyncServiceContainer, Func<Task<Object>>) |
Proffers a service implemented by the specified type to an async service container.
When the service is queried the first time, the |