C# Класс GoogleAnalyticsUtilsTests.FakeAnalyticsReporterForEventsImpl

Наследование: IAnalyticsReporter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
FakeAnalyticsReporterForEventsImpl ( string expectedEventType, string expectedEventName, string expectedHostName, string expectedProjectNumberHash = null, bool expectedUserLoggedIn = false, string>.Dictionary expectedMetadata = null ) : GoogleAnalyticsUtils
ReportEvent ( string category, string action, string label = null, int value = default(int?) ) : void
ReportPageView ( string page, string title, string host, string>.Dictionary customDimensions = null ) : void

Приватные методы

Метод Описание
ParsePageUrl ( string page, string &eventType, string &eventName ) : void
ParseTitle ( string src ) : string>.Dictionary
ParseValue ( string src ) : string>.KeyValuePair

Описание методов

FakeAnalyticsReporterForEventsImpl() публичный Метод

public FakeAnalyticsReporterForEventsImpl ( string expectedEventType, string expectedEventName, string expectedHostName, string expectedProjectNumberHash = null, bool expectedUserLoggedIn = false, string>.Dictionary expectedMetadata = null ) : GoogleAnalyticsUtils
expectedEventType string
expectedEventName string
expectedHostName string
expectedProjectNumberHash string
expectedUserLoggedIn bool
expectedMetadata string>.Dictionary
Результат GoogleAnalyticsUtils

ReportEvent() публичный Метод

public ReportEvent ( string category, string action, string label = null, int value = default(int?) ) : void
category string
action string
label string
value int
Результат void

ReportPageView() публичный Метод

public ReportPageView ( string page, string title, string host, string>.Dictionary customDimensions = null ) : void
page string
title string
host string
customDimensions string>.Dictionary
Результат void