Interface IModelResolver
Resolve types and manage their dependencies among themselves
Inherited Members
System.IDisposable.Dispose()
Namespace: Mars.Core.Model
Assembly: Mars.Core.dll
Syntax
public interface IModelResolver : IDisposable
Properties
| Improve this Doc View SourceLayers
Gets all resolved layer instances of this simulation.
Declaration
IDictionary<Type, ILayer> Layers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.Type, ILayer> |
Methods
| Improve this Doc View SourceResolve(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. |