Search Results for

    Show / Hide Table of Contents

    Class DataConnectorViewModel

    Inheritance
    System.Object
    ConnectorViewModel
    DataConnectorViewModel
    Namespace: Simplic.Flow.Editor.UI
    Assembly: Simplic.Flow.Editor.UI.dll
    Syntax
    public class DataConnectorViewModel : ConnectorViewModel

    Constructors

    | Improve this Doc View Source

    DataConnectorViewModel(DataPinDefinition)

    Declaration
    public DataConnectorViewModel(DataPinDefinition pinDefinition)
    Parameters
    Type Name Description
    DataPinDefinition pinDefinition

    Properties

    | Improve this Doc View Source

    AllowedTypes

    Gets a comma seperate string of allowed types (Type.Name)

    Declaration
    public string AllowedTypes { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    DataConnectorType

    Gets or sets the pin data type

    Declaration
    public Type DataConnectorType { get; set; }
    Property Value
    Type Description
    System.Type
    | Improve this Doc View Source

    DisplayName

    Gets the display name of the pin

    Declaration
    public override string DisplayName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    ConnectorViewModel.DisplayName
    | Improve this Doc View Source

    FillColor

    Gets the fill color of the pin

    Declaration
    public string FillColor { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    HighlightFillColor

    Gets the highlighted fill color

    Declaration
    public string HighlightFillColor { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    HighlightStrokeColor

    Gets the highlighted stroke color

    Declaration
    public string HighlightStrokeColor { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Id

    Gets the id of the pin

    Declaration
    public Guid Id { get; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    IsConnected

    Gets or sets if the pin is connected

    Declaration
    public override bool IsConnected { get; set; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    ConnectorViewModel.IsConnected
    | Improve this Doc View Source

    IsGeneric

    Gets if the pin is a generic data type ( this is used to overwrite the data type)

    Declaration
    public bool IsGeneric { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Name

    Gets the name of the pin

    Declaration
    public override string Name { get; }
    Property Value
    Type Description
    System.String
    Overrides
    ConnectorViewModel.Name
    | Improve this Doc View Source

    PinDirection

    Gets or sets the pin direction

    Declaration
    public override PinDirectionDefinition PinDirection { get; set; }
    Property Value
    Type Description
    PinDirectionDefinition
    Overrides
    ConnectorViewModel.PinDirection
    | Improve this Doc View Source

    StrokeColor

    Gets the stroke color of the pin

    Declaration
    public string StrokeColor { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    CanConnect()

    Decides if this pin can be connected to others

    Declaration
    public override bool CanConnect()
    Returns
    Type Description
    System.Boolean

    True if successfull

    Overrides
    ConnectorViewModel.CanConnect()
    | Improve this Doc View Source

    CanConnectTo(ConnectorViewModel)

    Decides if this pin can be connected to a target pin

    Declaration
    public override bool CanConnectTo(ConnectorViewModel targetConnectorViewModel)
    Parameters
    Type Name Description
    ConnectorViewModel targetConnectorViewModel

    Target pin's view model

    Returns
    Type Description
    System.Boolean

    True if successfull

    Overrides
    ConnectorViewModel.CanConnectTo(ConnectorViewModel)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx