DependencyContainer Class
DependencyContainer is similar to a IoC Container. It takes providers and will synthesize an object based on them when requested.
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/synthesize/legacy
.
For more information about our API support guarantees, see here.
Signature
export declare class DependencyContainer<TMap> implements IFluidDependencySynthesizer
Implements: IFluidDependencySynthesizer
Type Parameters
Parameter | Description |
---|---|
TMap |
Constructors
Constructor | Alerts | Description |
---|---|---|
(constructor)(parents) | Alpha |
Constructs a new instance of the DependencyContainer class |
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
IFluidDependencySynthesizer | Alpha |
readonly |
this |
Constructor Details
(constructor)
Constructs a new instance of the DependencyContainer
class
This API is provided as an alpha preview and may change without notice.
To use, import via @fluidframework/synthesize/alpha
.
For more information about our API support guarantees, see here.
Signature
constructor(...parents: (IFluidDependencySynthesizer | undefined)[]);
Parameters
Parameter | Type | Description |
---|---|---|
parents | (IFluidDependencySynthesizer | undefined)[] |
Property Details
IFluidDependencySynthesizer
This API is provided as an alpha preview and may change without notice.
To use, import via @fluidframework/synthesize/alpha
.
For more information about our API support guarantees, see here.
Signature
get IFluidDependencySynthesizer(): this;
Type: this