Class GraphValidation

Checks declared connections before any registered block constructor opens a device.

Inheritance
GraphValidation
Namespace: MOSAIC.Components.Factory
Assembly: MOSAIC.dll
Syntax
internal static class GraphValidation

Methods

CheckInputs(int, Inputs, IEnumerable<Type?>)

Declaration
internal static string? CheckInputs(int count, BlockConstraints.Inputs constraints, IEnumerable<Type?> inputs)
Parameters
Type Name Description
int count
BlockConstraints.Inputs constraints
IEnumerable<Type> inputs
Returns
Type Description
string

Validate(IReadOnlyDictionary<string, JsonModel>, IBlockFactory)

Declaration
internal static Dictionary<string, string> Validate(IReadOnlyDictionary<string, JsonModel> models, IBlockFactory factory)
Parameters
Type Name Description
IReadOnlyDictionary<string, JsonModel> models
IBlockFactory factory
Returns
Type Description
Dictionary<string, string>

Search documentation

Start typing to search the documentation.