Interface IImageLoaderDescriptor
The image loader descriptor specifying the loader properties. The loader descriptor is used to overcome the necessity to contain each image loader instance in memory and multithreading issues.
public interface IImageLoaderDescriptor : IImageDescriptor
- Inherited Members
Methods
CanLoad(StreamContainer, LoadOptions)
Determines whether image loader can read a new image from the specified stream and optionally using the loadOptions
.
bool CanLoad(StreamContainer streamContainer, LoadOptions loadOptions)
Parameters
streamContainer
StreamContainerThe stream container.
loadOptions
LoadOptionsThe file format details specified by
loadOptions
. TheloadOptions
may be null.
Returns
- bool
true
if image loader created by this descriptor can read image from stream; otherwise,false
.
CreateInstance()
Creates a new loader instance.
IImageLoader CreateInstance()
Returns
- IImageLoader
A new loader instance.