Interface IModelResolver
Resolve types and manage their dependencies among themselves
Namespace: Mars.Core.Model
Assembly: Mars.Core.dll
Syntax
public interface IModelResolver : IDisposable
Properties
Layers
Gets all resolved layer instances of this simulation.
Declaration
IDictionary<Type, ILayer> Layers { get; }
Property Value
Type | Description |
---|---|
IDictionary<Type, ILayer> |
Methods
Resolve(ModelDescription)
Resolve the layer dependency graph and creates layer instances
with their expected parameters and dependencies
Declaration
LayerInstanceContainer Resolve(ModelDescription modelDescription)
Parameters
Type | Name | Description |
---|---|---|
ModelDescription | modelDescription | The collection with all layer types. |
Returns
Type | Description |
---|---|
LayerInstanceContainer | Returns a LayerInstanceContainer which contains all layers instances with their associated type description. |