Open sandboxFocus

Method AddProfile

AddProfile(CachingProfile, bool)

Declaration
ICachingServiceBuilder AddProfile(CachingProfile profile, bool overwrite = false)
Parameters
Type Name Description
CachingProfile profile

A CachingProfile.

bool overwrite

A value indicating whether this method is allowed to overwrite an profile with the same name. When this parameter is false, an exception will be thrown in case of duplicate. The default value is false.

Returns
Type Description
ICachingServiceBuilder