RowConverter TryConvertBSONtoCLR Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Tries to convert the BSON value into target CLR type. Returns true if conversion was successfull

Namespace: NFX.Serialization.BSON
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

protected virtual bool TryConvertBSONtoCLR(
	Type target,
	BSONElement element,
	string targetName,
	out Object clrValue,
	Func<BSONDocument, BSONElement, bool> filter
)

Return Value

Type: OnlineBoolean
See Also