AddProfile(CachingProfile, bool)
Adds a CachingProfile to the CachingService.
Declaration
ICachingServiceBuilder AddProfile(CachingProfile profile, bool overwrite = false)
Parameters
Type | Name | Description |
---|---|---|
CachingProfile | profile | |
bool | overwrite | A value indicating whether this method is allowed to overwrite an profile with the same name.
When this parameter is |
Returns
Type | Description |
---|---|
ICachingServiceBuilder |