Exemplo n.º 1
0
        bool ModifyLink(ServiceProtocol serviceProtocol, Int64 requestID, Guid guid, String tag, String classID, Guid origin, Guid destination, String originPort, String destinationPort, List <PointF> controlPoints)
        {
            if (true) // Decide whether to modify an link.
            {         // We're going to do it.
              // Modify the item.

                // Raise event(s).
                serviceProtocol.DoLinkModified(requestID, guid, tag, classID, origin, destination, originPort, destinationPort, controlPoints);

                return(true);
            }
            else
            { // We're not going to do it.
                return(false);
            }
        }
Exemplo n.º 2
0
  bool ModifyLink(ServiceProtocol serviceProtocol, Int64 requestID, Guid guid, String tag, String classID, Guid origin, Guid destination, String originPort, String destinationPort, List<PointF> controlPoints)
  {
    if (true) // Decide whether to modify an link.
    { // We're going to do it.
      // Modify the item.

      // Raise event(s).
      serviceProtocol.DoLinkModified(requestID, guid, tag, classID, origin, destination, originPort, destinationPort, controlPoints);

      return true;
    }
    else
    { // We're not going to do it.
      return false;
    }
  }