ImageResizer  3.4.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | List of all members
ImageResizer.Plugins.ICurrentConfigProvider Interface Reference

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

Public Member Functions

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. More...
 

Detailed Description

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

Definition at line 11 of file ICurrentConfigProvider.cs.

Member Function Documentation

Config ImageResizer.Plugins.ICurrentConfigProvider.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.

Returns

The documentation for this interface was generated from the following file: