Interface IChannelManager
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Interface for Channel management.
public interface IChannelManager
- Extension Methods
Methods
Create(ChannelInfo, IDictionary<string, object>, CancellationToken)
Creates the channel.
Task Create(ChannelInfo channelInfo, IDictionary<string, object> channelSpecificData, CancellationToken cancellationToken = default)
Parameters
channelInfo
ChannelInfoChannel to create.
channelSpecificData
IDictionary<string, object>Addition required values for type specific channel fields.
cancellationToken
CancellationTokenCancellation instruction.
Returns
- Task
Update(ChannelInfo, IDictionary<string, object>, CancellationToken)
Updates the channel.
Task Update(ChannelInfo channelInfo, IDictionary<string, object> channelSpecificData, CancellationToken cancellationToken = default)
Parameters
channelInfo
ChannelInfoChannel to update.
channelSpecificData
IDictionary<string, object>Addition required values for type specific channel fields.
cancellationToken
CancellationTokenCancellation instruction.
Returns
- Task