Interface IChannelManager
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Interface for Channel management.
[Obsolete("This interface is deprecated and will be removed in future versions. Please use ChannelInfo and specific channel classes like WebsiteChannelInfo instead.")]
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
channelInfoChannelInfoChannel to create.
channelSpecificDataIDictionary<string, object>Addition required values for type specific channel fields.
cancellationTokenCancellationTokenCancellation instruction.
Returns
- Task
Update(ChannelInfo, IDictionary<string, object>, CancellationToken)
Updates the channel.
Task Update(ChannelInfo channelInfo, IDictionary<string, object> channelSpecificData, CancellationToken cancellationToken = default)
Parameters
channelInfoChannelInfoChannel to update.
channelSpecificDataIDictionary<string, object>Addition required values for type specific channel fields.
cancellationTokenCancellationTokenCancellation instruction.
Returns
- Task