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(); }