From 02fbf2754b333b67f5cbb510e58d0c07cf98fe08 Mon Sep 17 00:00:00 2001 From: Ion Sapoval Date: Wed, 14 Sep 2016 21:00:58 +0300 Subject: [PATCH] Added support for all request types to GoogleAnalyticsRequestFactory --- .../GoogleAnalyticsRequestFactory.cs | 40 +++++++++++++++++-- src/TestConsole/TestConsole.csproj | 11 +++-- src/TestConsole/packages.config | 4 ++ 3 files changed, 45 insertions(+), 10 deletions(-) create mode 100644 src/TestConsole/packages.config diff --git a/src/GoogleMeasurementProtocol/GoogleAnalyticsRequestFactory.cs b/src/GoogleMeasurementProtocol/GoogleAnalyticsRequestFactory.cs index 2e3abf9..cc4478a 100644 --- a/src/GoogleMeasurementProtocol/GoogleAnalyticsRequestFactory.cs +++ b/src/GoogleMeasurementProtocol/GoogleAnalyticsRequestFactory.cs @@ -1,9 +1,10 @@ -using GoogleMeasurementProtocol.Parameters; -using GoogleMeasurementProtocol.Parameters.General; -using GoogleMeasurementProtocol.Requests; -using System; +using System; using System.Collections.Generic; using System.Net; +using GoogleMeasurementProtocol.Parameters; +using GoogleMeasurementProtocol.Parameters.General; +using GoogleMeasurementProtocol.Requests; + namespace GoogleMeasurementProtocol { @@ -60,6 +61,37 @@ public IGoogleAnalyticsRequest CreateRequest(string hitType, IEnumerable4 + + ..\packages\GoogleMeasurementProtocol.1.3.5\lib\GoogleMeasurementProtocol.dll + True + @@ -47,12 +51,7 @@ - - - - {5da1474f-fdf8-4014-8fc1-6f7303c0c027} - GoogleAnalyticsMeasurementProtocol - +