Class TypeMatchingConnectionValidator
- Namespace
- FlowGraph.Avalonia.Validation
- Assembly
- FlowGraph.Avalonia.dll
Connection validator that checks port type compatibility.
public class TypeMatchingConnectionValidator : IConnectionValidator
- Inheritance
-
TypeMatchingConnectionValidator
- Implements
- Inherited Members
Methods
Validate(ConnectionContext)
Validates whether a connection can be made between two ports.
public ConnectionValidationResult Validate(ConnectionContext context)
Parameters
contextConnectionContextThe connection context containing source and target information.
Returns
- ConnectionValidationResult
A validation result indicating whether the connection is allowed.