Example #1
0
        private static T GetValue <T>(ITableEntriesSnapshot snapshot, string columnName)
        {
            object content;

            snapshot.TryGetValue(0, columnName, out content).Should().BeTrue();

            content.Should().BeOfType <T>();
            return((T)content);
        }
Example #2
0
 /// <inheritdoc />
 public bool TryGetValue(string keyName, out object content)
 {
     return(_snapshot.TryGetValue(_index, keyName, out content));
 }