public IEnumerable <Models.EventBlob> FindAllWithHeader(string name, string value, long fromid = 0) { var evb = new Models.EventHeader { Name = name, Value = value }; var strname = HeaderStreamname(evb); return(ReadAllFromStream <Models.EventBlob>(strname, fromid)); }
string HeaderStreamname(Models.EventHeader h) { return(HeaderPrefix + "_" + h.Name + "_" + h.Value); }