Esempio n. 1
0
 /// <summary>
 ///     Creates the frames for upsert.
 /// </summary>
 /// <param name="positions">The positions.</param>
 /// <returns>List&lt;Frame&gt;.</returns>
 internal virtual List<Frame> CreateFramesForUpsert(PositionsResult positions)
 {
     var breakRecord = positions.CurrentThreadResult;
     var frames = positions
         .Where(positionRecord => positionRecord.Position == breakRecord.Position)
         .Select(positionRecord => TimeTravelFacade.GetCurrentFrame(positionRecord.ThreadId))
         .ToList();
     return frames;
 }
Esempio n. 2
0
        /// <summary>
        ///     Creates the frames for upsert.
        /// </summary>
        /// <param name="positions">The positions.</param>
        /// <param name="breakRecord">The break record.</param>
        /// <param name="options">The options.</param>
        /// <returns>List&lt;Frame&gt;.</returns>
        internal List <Frame> CreateFramesForUpsert(PositionsResult positions,
                                                    PositionsRecord breakRecord, IndexOptions options)
        {
            var frames = positions
                         .Where(positionRecord => positionRecord.Position == breakRecord.Position)
                         .Select(positionRecord => TimeTravelFacade.GetCurrentFrame(positionRecord.ThreadId))
                         .ToList();

            return(frames);
        }