Exemplo n.º 1
0
        bool DeleteLink(ServiceProtocol serviceProtocol, Int64 requestID, Guid guid)
        {
            if (true) // Decide whether to delete an link.
            {         // We're going to do it.
              // Delete the item.

                // Raise event(s).
                serviceProtocol.DoLinkDeleted(requestID, guid);

                return(true);
            }
            else
            { // We're not going to do it.
                return(false);
            }
        }
Exemplo n.º 2
0
  bool DeleteLink(ServiceProtocol serviceProtocol, Int64 requestID, Guid guid)
  {
    if (true) // Decide whether to delete an link.
    { // We're going to do it.
      // Delete the item.

      // Raise event(s).
      serviceProtocol.DoLinkDeleted(requestID, guid);

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