private MapToFeedItem ( EventStore.ClientAPI.ResolvedEvent ev ) : System.ServiceModel.Syndication.SyndicationItem | ||
ev | EventStore.ClientAPI.ResolvedEvent | |
return | System.ServiceModel.Syndication.SyndicationItem |
private SyndicationItem MapToFeedItem(ResolvedEvent ev)
{
return new SyndicationItem(
"BeganFollowingEvent",
Encoding.UTF8.GetString(ev.Event.Data),
new Uri(RequestContext.Url.Content("/beganfollowing/" +
ev.Event.EventId)),
ev.Event.EventId.ToString(),
DateTime.Now // Event store client does not return timestamp yet
);
}
}