[This is preliminary documentation and is subject to change.]
Creates an instance of the document from JSON template with parameters populated from args optionally caching the template internal
representation. Do not cache templates that change often
Namespace: NFX.Serialization.BSONAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public BSONDocument(
string template,
bool cacheTemplate,
params TemplateArg[] args
)
public BSONDocument(
string template,
bool cacheTemplate,
params TemplateArg[] args
)
Public Sub New (
template As String,
cacheTemplate As Boolean,
ParamArray args As TemplateArg()
)
Public Sub New (
template As String,
cacheTemplate As Boolean,
ParamArray args As TemplateArg()
)
public:
BSONDocument(
String^ template,
bool cacheTemplate,
... array<TemplateArg>^ args
)
public:
BSONDocument(
String^ template,
bool cacheTemplate,
... array<TemplateArg>^ args
)
new :
template : string *
cacheTemplate : bool *
args : TemplateArg[] -> BSONDocument
new :
template : string *
cacheTemplate : bool *
args : TemplateArg[] -> BSONDocument