Method OpenIfChanged
OpenIfChanged<T>(T)
If the taxonomy has changed since the provided reader was opened, open and
return a new TaxonomyReader; else, return null
. The new
reader, if not null
, will be the same type of reader as the one
given to this method.
This method is typically far less costly than opening a fully new
TaxonomyReader as it shares resources with the provided
TaxonomyReader, when possible.
Declaration
public static T OpenIfChanged<T>(T oldTaxoReader)
where T : TaxonomyReader
Parameters
Type |
Name |
Description |
T |
oldTaxoReader |
|
Returns
Type Parameters