public ConnectorDomainProperties GetConnectorDomainProperties(ConnectorElementType type)
 {
   switch (type)
   {
     case ConnectorElementType.PipeInput:
     case ConnectorElementType.PipeOutput:
       return new PipeConnectorDomainProperties();
     default:
       throw new ArgumentOutOfRangeException("type", type, null);
   }
 }
示例#2
0
 public ConnectorModel(ConnectorProperties connectorProperties, ConnectorElementType connectorType)
 {
   ConnectorProperties = connectorProperties;
   ConnectorType = connectorType;
 }