StoryTeller.Messages.ResultsCache.LastResultFor C# (CSharp) Method

LastResultFor() public method

public LastResultFor ( string id ) : SpecExecutionCompleted
id string
return SpecExecutionCompleted
        public SpecExecutionCompleted LastResultFor(string id)
        {
            return ResultsFor(id).FirstOrDefault();
        }

Usage Example

 public SpecRecord(Specification data, ResultsCache cache)
 {
     this.data   = data;
     LastResults = cache.LastResultFor(data.id);
 }
All Usage Examples Of StoryTeller.Messages.ResultsCache::LastResultFor