C# Class RecurringIntegrationApp.DataSourceFactory

Show file Open project: Microsoft/Dynamics-AX-Integration Class Usage Examples

Public Methods

Method Description
GetDataSourceForLocation ( string location ) : IDataSource

Factory method to return a datasource based on a given location

GetDataSourceForMessage ( ClientDataMessage dataMessage ) : IDataSource

Factory method to return a datasource based on a given data message

Method Details

GetDataSourceForLocation() public static method

Factory method to return a datasource based on a given location
public static GetDataSourceForLocation ( string location ) : IDataSource
location string
return IDataSource

GetDataSourceForMessage() public static method

Factory method to return a datasource based on a given data message
public static GetDataSourceForMessage ( ClientDataMessage dataMessage ) : IDataSource
dataMessage ClientDataMessage ClientDataMessage object
return IDataSource