public FilterContainer( IBlockFilter blockFilter = null, ITransactionFilter transactionFilter = null, ITransactionReceiptFilter transactionReceiptFilter = null, ITransactionAndReceiptFilter transactionAndReceiptFilter = null, ITransactionLogFilter transactionLogFilter = null) { if (blockFilter != null) { BlockFilters = new List <IBlockFilter>(1) { blockFilter };; } if (transactionFilter != null) { TransactionFilters = new List <ITransactionFilter>(1) { transactionFilter }; } if (transactionReceiptFilter != null) { TransactionReceiptFilters = new List <ITransactionReceiptFilter>(1) { transactionReceiptFilter }; } if (transactionAndReceiptFilter != null) { TransactionAndReceiptFilters = new List <ITransactionAndReceiptFilter>(1) { transactionAndReceiptFilter }; } if (transactionLogFilter != null) { TransactionLogFilters = new List <ITransactionLogFilter>(1) { transactionLogFilter }; } }
public FilterContainer(ITransactionLogFilter transactionLogFilter) : this(null, null, null, null, transactionLogFilter) { }