public static void TestReadMessage() { IConfigurationRepository configurationRepository = new ConfigFileConfigurationRepository(); ILoggingService loggingService = new Log4NetLoggingService(configurationRepository, new ThreadContextService()); // vep200pc // XDocument xd = XDocument.Load(@"C:\Temp\Compressed Data Samples\GAValidSample_GZIP.xml"); XDocument xd = XDocument.Load(@"C:\Temp\GAValidSample_GZIP.xml"); ReadSubmitRequestStrategy read = new ReadSubmitRequestStrategy(loggingService); read.ReadMessage(xd); read.IsMatch(xd); DataTable dt = read.GetMessageResults <DataTable>(); }
public static void TestReadMessage() { IConfigurationRepository configurationRepository = new ConfigFileConfigurationRepository(); ILoggingService loggingService = new Log4NetLoggingService(configurationRepository, new ThreadContextService()); // vep200pc // XDocument xd = XDocument.Load(@"C:\Temp\Compressed Data Samples\GAValidSample_GZIP.xml"); XDocument xd = XDocument.Load(@"C:\Temp\GAValidSample_GZIP.xml"); ReadSubmitRequestStrategy read = new ReadSubmitRequestStrategy(loggingService); read.ReadMessage(xd); read.IsMatch(xd); DataTable dt = read.GetMessageResults<DataTable>(); }