Class VdpService
Namespace: Aurigma.DesignAtoms.VDP
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class VdpService : IVdpService
Inheritance: System.Object -> VdpService
Implements
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
VdpService
public VdpService(IVdpProductBuilder vdpProductBuilder, IVdpDataSerializer vdpDataSerializer, IItemsDataValidator itemsDataValidator)
Methods
ApplyStateVdpData
public Task ApplyStateVdpData(State state, bool storeDataInState, DataSet dataSet, ItemsData itemsData)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.State | state | |
System.Boolean | storeDataInState | |
| Aurigma.DesignAtoms.Model.DataSet | dataSet | |
| Aurigma.DesignAtoms.Model.ItemsData | itemsData |
Returns
System.Threading.Tasks.Task
ApplyStateVdpData
public Task ApplyStateVdpData(State state, bool storeDataInState, DataSet dataSet, ItemsData itemsData, VdpOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.State | state | |
System.Boolean | storeDataInState | |
| Aurigma.DesignAtoms.Model.DataSet | dataSet | |
| Aurigma.DesignAtoms.Model.ItemsData | itemsData | |
| Aurigma.DesignAtoms.Model.VdpOptions | options |
Returns
System.Threading.Tasks.Task
ContainsVdpData
public bool ContainsVdpData(State state)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.State | state |
Returns
System.Boolean
GetDataSet
public DataSet GetDataSet(State state)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.State | state |
Returns
Aurigma.DesignAtoms.Model.DataSet
GetItemsData
public ItemsData GetItemsData(State state)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.State | state |
Returns
Aurigma.DesignAtoms.Model.ItemsData
GetCombinedVdpProductFromState
public Product GetCombinedVdpProductFromState(State state)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.State | state |
Returns
Aurigma.DesignAtoms.Model.Product
GetCombinedVdpProductFromStateAsync
public Task<Product> GetCombinedVdpProductFromStateAsync(State state)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.State | state |
Returns
System.Threading.Tasks.Task<Aurigma.DesignAtoms.Model.Product>
GetVdpProductsFromStateAsync
public Task<IEnumerable<VdpProductData>> GetVdpProductsFromStateAsync(State state, SplitOptions splitOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.State | state | |
| Aurigma.DesignAtoms.VDP.SplitOptions | splitOptions |
Returns
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.VDP.VdpProductData>>
SetStateVdpData
public void SetStateVdpData(State spState, DataSet dataSet, ItemsData itemsData)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.State | spState | |
| Aurigma.DesignAtoms.Model.DataSet | dataSet | |
| Aurigma.DesignAtoms.Model.ItemsData | itemsData |
SetStateVdpData
public void SetStateVdpData(State spState, DataSet dataSet, ItemsData itemsData, VdpOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.DesignAtoms.Model.State | spState | |
| Aurigma.DesignAtoms.Model.DataSet | dataSet | |
| Aurigma.DesignAtoms.Model.ItemsData | itemsData | |
| Aurigma.DesignAtoms.Model.VdpOptions | options |