Beispiel #1
0
        private void TestToDynamic <TBsonType>(TBsonType testee, Action <dynamic> check)
            where TBsonType : BsonValue
        {
            BsonValue testee2 = testee;
            var       result  = testee.ToDynamic();
            var       result2 = testee2.ToDynamic();

            check(result);
            check(result2);
        }