C# 클래스 CSharpAnalytics.Protocols.Urchin.UtmeEncoder

Encodes parameter values into the Utme parameter format used by Google Analytics for events and custom variables.
파일 보기 프로젝트 열기: TechSmith/CSharpAnalytics 1 사용 예제들

공개 메소드들

메소드 설명
Compress ( string uncompressed ) : string[]

Compress an array of values into a Utme compressed array by skipping empty elements and prefixing the next one with an offset.

Encode ( TimedEventActivity timedEventActivity ) : string

Encode a TimedEventActivity using Utme escaping.

Encode ( string prefix ) : string

Encode an array of values with an prefix using Utme compression and escaping.

EscapeValue ( string value ) : string

Escaped a value by replacing single quote, close brace, asterisk and exclamation with their encoded counterparts.

메소드 상세

Compress() 공개 정적인 메소드

Compress an array of values into a Utme compressed array by skipping empty elements and prefixing the next one with an offset.
public static Compress ( string uncompressed ) : string[]
uncompressed string Original uncompressed array of values
리턴 string[]

Encode() 공개 정적인 메소드

Encode a TimedEventActivity using Utme escaping.
public static Encode ( TimedEventActivity timedEventActivity ) : string
timedEventActivity CSharpAnalytics.Activities.TimedEventActivity TimedEventActivity being encoded.
리턴 string

Encode() 공개 정적인 메소드

Encode an array of values with an prefix using Utme compression and escaping.
public static Encode ( string prefix ) : string
prefix string Prefix of the values being encoded.
리턴 string

EscapeValue() 공개 정적인 메소드

Escaped a value by replacing single quote, close brace, asterisk and exclamation with their encoded counterparts.
public static EscapeValue ( string value ) : string
value string Unescaped value to escape.
리턴 string