Image Resizer : API Documentation

Type ICurrentConfigProvider

Namespace ImageResizer.Plugins

Allows multi-tenancy support. The 'root' config only needs one plugin, which implements this interface.

Methods

Public instance methods

Config GetCurrentConfig()

Returns a Config instance appropriate for the current request. If null is returned, the default/root instance will be used. Implementations MUST return the same instance of Config for two identical requests. Multiple Config instances per tenant/area will cause problems. MUST be thread-safe, concurrent calls WILL ocurr, and WILL occur during initial call.