Пример #1
0
 public TransactionDownloadData(T transaction, TransactionDownloadManager transactionManager)
 {
     Transaction        = transaction;
     TransactionManager = transactionManager;
     HasAttachements    = transaction is AttachementDataTransaction;
     if (!HasAttachements)
     {
         AttachementsState = TransactionAttachementsState.Ok;
     }
 }
Пример #2
0
        public override async Task <long> QueryLastStoredTransactionId(TransactionDownloadManager transactionManager)
        {
            var result = await transactionManager.GetLastTargetedTransactionEntry(TransactionId);

            if (result != null)
            {
                return(result.LastTransactionId);
            }

            return(Operation.InvalidTransactionId);
        }
Пример #3
0
 public TargetedTransactionDownload(long transactionId, TransactionDownloadManager transactionManager) : base(transactionId, transactionManager)
 {
 }
Пример #4
0
 public AccountTransactionDownload(long accountId, TransactionDownloadManager transactionManager) : base(accountId, transactionManager)
 {
 }
 public abstract Task <long> QueryLastStoredTransactionId(TransactionDownloadManager transactionManager);
Пример #6
0
 public GroupTransactionDownload(long groupId, TransactionDownloadManager transactionManager) : base(groupId, transactionManager)
 {
 }
Пример #7
0
 public GroupIndexTransactionDownload(long groupId, Index index, TransactionDownloadManager transactionManager) : base(groupId, transactionManager)
 {
     Index = index;
 }
Пример #8
0
 protected TransactionDownload(long id, TransactionDownloadManager transactionManager)
 {
     Id = id;
     TransactionManager = transactionManager;
 }
 public SharedAccountIndexTransactionDownload(long accountId, Index index, TransactionDownloadManager transactionManager) : base(accountId, transactionManager)
 {
     Index = index;
 }