private BookmarkResumptionRecord(BookmarkResumptionRecord record)
     : base(record)
 {
     this.BookmarkScope = record.BookmarkScope;
     this.Owner         = record.Owner;
     this.BookmarkName  = record.BookmarkName;
     this.Payload       = record.Payload;
 }
Example #2
0
        private BookmarkResumptionQuery Match(BookmarkResumptionRecord bookmarkRecord)
        {
            BookmarkResumptionQuery trackingQuery = null;

            if (_bookmarkSubscriptions != null)
            {
                if (bookmarkRecord.BookmarkName != null)
                {
                    _bookmarkSubscriptions.TryGetValue(bookmarkRecord.BookmarkName, out trackingQuery);
                }
                if (trackingQuery == null)
                {
                    _bookmarkSubscriptions.TryGetValue("*", out trackingQuery);
                }
            }
            return(trackingQuery);
        }