Interface ISendConfigurationInfoProvider
- Namespace
- CMS.EmailMarketing
- Assembly
- CMS.EmailMarketing.dll
Declares members for SendConfigurationInfo management.
[Obsolete("Use CMS.DataEngine.IInfoProvider<SendConfigurationInfo> instead. Use CMS.DataEngine.InfoProviderExtensions for additional methods for individual objects retrieval. To get an instance of the interface's implementation use dependency injection or access the instance directly via the CMS.DataEngine.Provider<SendConfigurationInfo>.Instance property.")]
[ObsoleteSince(28, 4)]
public interface ISendConfigurationInfoProvider : IInfoProvider<SendConfigurationInfo>, IInfoByIdProvider<SendConfigurationInfo>
- Inherited Members
- Extension Methods
Methods
GetByEmailConfigurationId(int)
Gets an instance of SendConfigurationInfo by email configuration id.
[Obsolete("Use CMS.EmailMarketing.SendConfigurationInfoProviderExtensions.GetByEmailConfigurationId(CMS.DataEngine.IInfoProvider<SendConfigurationInfo>, int) instead.")]
[ObsoleteSince(28, 4)]
SendConfigurationInfo GetByEmailConfigurationId(int emailConfigurationId)
Parameters
emailConfigurationId
int
Returns
GetByEmailConfigurationIdAsync(int, CancellationToken)
Gets an instance of SendConfigurationInfo by email configuration id.
[Obsolete("Use CMS.EmailMarketing.SendConfigurationInfoProviderExtensions.GetByEmailConfigurationIdAsync(CMS.DataEngine.IInfoProvider<SendConfigurationInfo>, int, System.Threading.CancellationToken) instead.")]
[ObsoleteSince(28, 4)]
Task<SendConfigurationInfo> GetByEmailConfigurationIdAsync(int emailConfigurationId, CancellationToken cancellationToken = default)
Parameters
emailConfigurationId
intcancellationToken
CancellationToken
Returns
- Task<SendConfigurationInfo>