Adds specified part to the cache.
Namespace: FirstFloor.Documents.IO.CachingAssembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)
Syntax
Remarks
A null value for the stream parameter is allowed. It prevents duplicate requests for non-existing parts.
Do not close or dispose the part stream for it is re-used. There's not need to reposition the stream, that is handled by Document Toolkit.