WorkingContext class
Version Info: This topic applies to Episerver.ConnectForMarketingAutomation 4.0.0 and lower. For later versions, see Sample Connector - IMarketingConnector.
Context for the entire marketing automation (MA) interface application. From here, you get access to the working MA provider.
- Inheritance hierarchy.
System.Object EPiServer.MarketingAutomationIntegration.Core.WorkingContext
- Namespace. EPiServer.MarketingAutomationIntegration.Core
- Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
- C# syntax.
public class WorkingContext : IWorkingContext
Constructor ![](/globalassets/public-method-icon.png)
Instantiate the WorkingContext, with provider as ActiveProvider.
- Namespace. EPiServer.MarketingAutomationIntegration.Core
- Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
- C# syntax.
public WorkingContext( IProvider provider )
- Parameters.
- provider. Type: EPiServer.MarketingAutomationIntegration.Core.IProvider
Active provider for working.
- provider. Type: EPiServer.MarketingAutomationIntegration.Core.IProvider
- Remarks. This invokes automatically by ServiceLocator.
Properties
WorkingContext.ActiveProvider property ![](/globalassets/public-property-icon.png)
Return the IProvider instance fed.
- Namespace. EPiServer.MarketingAutomationIntegration.Core
- Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
- C# syntax.
public IProvider ActiveProvider { get; }
- Property value. Type: IProvider
- Implements. IWorkingContext.ActiveProvider
WorkingContext.Current property ![](/globalassets/public-property-icon.png)
Gets the IWorkingContext object.
- Namespace. EPiServer.MarketingAutomationIntegration.Core
- Assembly. EPiServer.MarketingAutomationIntegration (in EPiServer.MarketingAutomationIntegration.dll) Version: 2.2.0.9000
- C# syntax.
public static IWorkingContext Current { get; set; }
- Property value. Type: IWorkingContext
Last updated: Dec 10, 2015