Class TransactionProcessorFactory
A factory class for creating extenders for processing with ITransactionProcessor
See https://help.lemonedge.com/transactions/ for more information
Inheritance
Inherited Members
Namespace: LemonEdge.API.Processors.Transactional
Assembly: API.dll
Syntax
public static class TransactionProcessorFactory
Properties
Extenders
Returns a list of information about all the transaction processor extenders currently loaded in the system
Declaration
public static IEnumerable<(string Name, string Description, string Key)> Extenders { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<System.ValueTuple<System.String, System.String, System.String>> |
Methods
CreateExtender(String, ITransactionProcessor)
Returns a new instance of the specified transaction processor extender
Declaration
public static TransactionProcessorExtender CreateExtender(string extenderKey, ITransactionProcessor forProcessor)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | extenderKey | The globally unique key of the transaction processor extender to use |
| ITransactionProcessor | forProcessor | The current transaction processor for this extender algorithm to run against |
Returns
| Type | Description |
|---|---|
| TransactionProcessorExtender | A new instance of the specified TransactionProcessorExtender |
HasExtender(String)
Returns true if the system has a TransactionProcessorExtender with the specified key
Declaration
public static bool HasExtender(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key | The globally unique key (Key) of a Transaction Processor Extender |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the system has a TransactionProcessorExtender with the specified key |