Пример #1
0
        private IDiagramConnector CreateConnector([NotNull] IModelRelationship relationship)
        {
            var connectorType = _connectorTypeResolver.GetConnectorType(relationship.Stereotype);

            return(new DiagramConnector(relationship, connectorType));
        }
Пример #2
0
 public ConnectorType GetConnectorType(ModelRelationshipStereotype stereotype)
 {
     return(_connectorTypeResolver.GetConnectorType(stereotype));
 }