Interface IWebsiteChannelContext
Provides website channel context data for the current request.
public interface IWebsiteChannelContext
- Extension Methods
Remarks
This context works in the web site channel code only. It cannot be used in the admin application.
Properties
IsPreview
Returns true, if the current context executes on preview.
bool IsPreview { get; }
Property Value
- bool
WebsiteChannelID
Gets the ID of the current website channel.
int WebsiteChannelID { get; }
Property Value
- int
WebsiteChannelName
Gets the name of the current website channel.
string WebsiteChannelName { get; }
Property Value
- string