Interface IContextFactory
Interface for context factory.
Namespace: Kephas.Services
Assembly: Kephas.Core.dll
Syntax
[SingletonAppServiceContract]
public interface IContextFactory
Methods
| Improve this Doc View SourceCreateContext<TContext>(Object[])
Creates a typed context.
Declaration
TContext CreateContext<TContext>(params object[] args)
where TContext : IContext
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object[] | args | A variable-length parameters list containing arguments. |
Returns
| Type | Description |
|---|---|
| TContext | The new context. |
Type Parameters
| Name | Description |
|---|---|
| TContext | Type of the context. |