public static ToAllEventsBackwardFeed ( ClientMessage msg, |
||
msg | ClientMessage | |
requestedUrl | ||
embedContent | EmbedLevel | |
Résultat | EventStore.Transport.Http.Atom.FeedElement |
public static string ReadAllEventsBackwardCompleted(HttpEntity entity, Message message) { Debug.Assert(message.GetType() == typeof(ClientMessage.ReadAllEventsBackwardCompleted)); var completed = message as ClientMessage.ReadAllEventsBackwardCompleted; return(completed != null ? entity.ResponseCodec.To(Convert.ToAllEventsBackwardFeed(completed.Result, Convert.ToEntry, entity.UserHostName)) : string.Empty); }
public static string ReadAllEventsBackwardCompleted(HttpResponseFormatterArgs entity, Message message, EmbedLevel embed) { var msg = message as ClientMessage.ReadAllEventsBackwardCompleted; if (msg == null || msg.Result != ReadAllResult.Success) { return(String.Empty); } return(entity.ResponseCodec.To(Convert.ToAllEventsBackwardFeed(msg, entity.RequestedUrl, embed))); }