November Happy Hour will be moved to Thursday December 5th.

Delegate PaymentFactory

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

A delegate for creating instance of IPayment implementation.

Namespace: Mediachase.Commerce.Orders.Internal
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public delegate IPayment PaymentFactory(Type implementationType);
Parameters
Type Name Description
System.Type implementationType

The implementation type of IPayment.

Returns
Type Description
IPayment

An instance of IPayment.

Constructors

PaymentFactory(Object, IntPtr)

Declaration
public PaymentFactory(object object, IntPtr method)
Parameters
Type Name Description
System.Object object
System.IntPtr method

Methods

BeginInvoke(Type, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(Type implementationType, AsyncCallback callback, object object)
Parameters
Type Name Description
System.Type implementationType
System.AsyncCallback callback
System.Object object
Returns
Type Description
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual IPayment EndInvoke(IAsyncResult result)
Parameters
Type Name Description
System.IAsyncResult result
Returns
Type Description
IPayment

Invoke(Type)

Declaration
public virtual IPayment Invoke(Type implementationType)
Parameters
Type Name Description
System.Type implementationType
Returns
Type Description
IPayment