Class SendConfigurationInfoProvider
- Namespace
- CMS.EmailMarketing
- Assembly
- CMS.EmailMarketing.dll
Class providing SendConfigurationInfo management.
[ProviderInterface(typeof(ISendConfigurationInfoProvider))]
[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. When faking metadata in CMS.Tests.UnitTests using Fake() use the obsolete provider class until fully removed.")]
[ObsoleteSince(29, 4)]
public class SendConfigurationInfoProvider : AbstractInfoProvider<SendConfigurationInfo, SendConfigurationInfoProvider>, IInfoProvider, ICustomizableProvider, IBulkOperationProvider, IWebFarmProvider, IInfoValidator<SendConfigurationInfo>, IInfoByGuidProvider<SendConfigurationInfo>, IInfoByNameProvider<SendConfigurationInfo>, IBulkInfoProvider<SendConfigurationInfo>, ISendConfigurationInfoProvider, IInfoProvider<SendConfigurationInfo>, IInfoByIdProvider<SendConfigurationInfo>
- Inheritance
-
objectAbstractInfoProvider<SendConfigurationInfo, SendConfigurationInfoProvider, ObjectQuery<SendConfigurationInfo>>SendConfigurationInfoProvider
- Implements
- Inherited Members
- Extension Methods
Constructors
SendConfigurationInfoProvider()
Initializes a new instance of the SendConfigurationInfoProvider class.
public SendConfigurationInfoProvider()
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)]
public 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)]
public Task<SendConfigurationInfo> GetByEmailConfigurationIdAsync(int emailConfigurationId, CancellationToken cancellationToken = default)
Parameters
emailConfigurationId
intcancellationToken
CancellationToken
Returns
- Task<SendConfigurationInfo>