private static void AddDecoders() { DataDeliveryReceiptDecoder.Init(); DataDeliveryReceiptRequestDecoder.Init(); DataDeliveryReceiptToMergeDecoder.Init(); DataDeliveryReceiptDetailsDecoder.Init(); DataHeaderDecoder.Init(); DataHeaderRuleDecoder.Init(); DataHeaderRulesDecoder.Init(); DataHeaderProviderDecoder.Init(); DataRequestDecoder.Init(); DepositDecoder.Init(); DepositApprovalDecoder.Init(); EarlyRefundTicketDecoder.Init(); EthRequestDecoder.Init(); SessionDecoder.Init(); UnitsRangeDecoder.Init(); }
private static void InitDecoders() { DataAssetDecoder.Init(); DataAssetRulesDecoder.Init(); DataAssetRuleDecoder.Init(); DataAssetProviderDecoder.Init(); DataDeliveryReceiptDecoder.Init(); DataRequestDecoder.Init(); EarlyRefundTicketDecoder.Init(); FaucetResponseDecoder.Init(); FaucetRequestDetailsDecoder.Init(); DataDeliveryReceiptDecoder.Init(); DataDeliveryReceiptRequestDecoder.Init(); UnitsRangeDecoder.Init(); SessionDecoder.Init(); DepositApprovalDecoder.Init(); DataDeliveryReceiptToMergeDecoder.Init(); }
public MessageTests() { _service.Register(typeof(HiMessage).Assembly); DataAssetDecoder.Init(); DataAssetRulesDecoder.Init(); DataAssetRuleDecoder.Init(); DataAssetProviderDecoder.Init(); DataDeliveryReceiptDecoder.Init(); DataRequestDecoder.Init(); EarlyRefundTicketDecoder.Init(); FaucetResponseDecoder.Init(); FaucetRequestDetailsDecoder.Init(); DataDeliveryReceiptDecoder.Init(); DataDeliveryReceiptRequestDecoder.Init(); UnitsRangeDecoder.Init(); SessionDecoder.Init(); DepositApprovalDecoder.Init(); DataDeliveryReceiptToMergeDecoder.Init(); }