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); }
/// <inheritdoc /> public bool TryGetValue(string keyName, out object content) { return(_snapshot.TryGetValue(_index, keyName, out content)); }