Namespace Kephas.Services
Classes
AppServiceContractAttribute
Marks an interface to be an application service contract. Application services are automatically identified by the composition and added to the container.
Context
A base implementation for contexts.
ContextExtensions
A context extensions.
ContextFactory
A context factory.
DefaultNamedServiceProvider
A default named service provider.
MetadataValueAttribute
Marks properties which should be included in the service metadata.
NullServiceException
Exception thrown by null services.
OrderedServiceCollection<TService, TServiceMetadata>
Collection of ordered services.
OrderedServiceCollectionExtensions
An ordered service collection extensions.
OverridePriorityAttribute
Indicates an override priority for services when more service implementations are defined for the same contract. The service with the highest priority defined will be used.
ProcessingPriorityAttribute
Indicates a processing priority used when more services must be processed.
ScopedAppServiceContractAttribute
Marks an interface to be contract for singleton application services within a specific scope. Application services are automatically identified by the composition and added to the container.
ServiceException
Exception for signalling service errors.
ServiceHelper
A service helper.
ServiceNameAttribute
Attribute for naming services.
ServiceNotInitializedException
Exception for signalling service not initialized errors.
SingletonAppServiceContractAttribute
Marks an interface to be a contract for singleton application services. Application services are automatically identified by the composition and added to the container.
Interfaces
IAsyncFinalizable
Provides the FinalizeAsync(IContext, CancellationToken) method for service asynchronous finalization.
IAsyncInitializable
Provides the InitializeAsync(IContext, CancellationToken) method for asynchronous service initialization.
IContext
Defines a base contract for context-dependent operations.
IContextFactory
Interface for context factory.
IFinalizable
Provides the Finalize(IContext) method for service finalization.
IInitializable
Provides the Initialize(IContext) method for service initialization.
INamedServiceProvider
Contract for a shared application service providing named services.
IOrderedServiceCollection<TService, TServiceMetadata>
Interface for ordered service collection.
Enums
AppServiceLifetime
Enumerates the lifetime values for application services.
Priority
Enumerates the priority values. They are practically a convenient way to provide integer values for defining priorities. A lower value indicates a higher priority.