/// <summary> /// Sends a PartDeleted message to a customer. /// </summary> /// <param name="request">The request.</param> /// <param name="uri">The URI.</param> /// <param name="uid">The UID.</param> /// <param name="changeTime">The change time.</param> /// <returns>The message identifier.</returns> public long PartDeleted(IMessageHeader request, string uri, string uid, long changeTime) { var header = CreateMessageHeader(Protocols.GrowingObjectNotification, MessageTypes.GrowingObjectNotification.PartDeleted, request.MessageId); var message = new PartDeleted { Uri = uri, Uid = uid, ChangeTime = changeTime }; return(Session.SendMessage(header, message)); }
/// <summary> /// Handles the PartDeleted message from a store. /// </summary> /// <param name="header">The message header.</param> /// <param name="notification">The PartDeleted message.</param> protected virtual void HandlePartDeleted(IMessageHeader header, PartDeleted notification) { Notify(OnPartDeleted, header, notification); }