Class DefaultConnectionValidator
- Namespace
- FlowGraph.Avalonia.Validation
- Assembly
- FlowGraph.Avalonia.dll
Default connection validator that allows all connections.
public class DefaultConnectionValidator : IConnectionValidator
- Inheritance
-
DefaultConnectionValidator
- 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.