Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angelovstanton/190336ace881a1246169a696d706d188 to your computer and use it in GitHub Desktop.
Save angelovstanton/190336ace881a1246169a696d706d188 to your computer and use it in GitHub Desktop.
public class ShippingAddressPageFillShippingBehaviour : ActionBehaviour
{
private readonly ShippingAddressPage shippingAddressPage;
private readonly ClientPurchaseInfo clientPurchaseInfo;
public ShippingAddressPageFillShippingBehaviour(
ClientPurchaseInfo clientPurchaseInfo)
{
this.shippingAddressPage =
UnityContainerFactory.GetContainer().Resolve<ShippingAddressPage>();
this.clientPurchaseInfo = clientPurchaseInfo;
}
protected override void PerformAct()
{
this.shippingAddressPage.FillShippingInfo(this.clientPurchaseInfo);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment