C# 클래스 AnalyticsApi.AnalyticsService

파일 보기 프로젝트 열기: alexandernyquist/AnalyticsApi

보호된 프로퍼티들

프로퍼티 타입 설명
_password string
_profile int?
_token string
_username string

공개 메소드들

메소드 설명
Account ( int accountId ) : AnalyticsService

Set account id for current context

AnalyticsService ( IAnalyticsDataProvider dataProvider ) : System
GetAccounts ( ) : IEnumerable

Get all accounts for a specific user

GetDashboard ( string start, string end ) : DashboardRequest

Get dashboard summary for a given profile

GetGoalCompletions ( Goal goal, string end ) : Goal
GetGoalCompletions ( IEnumerable goals, string start, string end ) : IEnumerable
GetGoals ( ) : IEnumerable
GetPassword ( ) : string

Get current password

GetProfile ( ) : int?

Get current profile id

GetToken ( ) : string

Get current token

GetTopTrafficSources ( string start, string end ) : void
GetUsername ( ) : string

Get current username

Logon ( ) : AnalyticsService

Login to service

Password ( string password ) : AnalyticsService

Set password for current context

Profile ( int id ) : AnalyticsService

Set profile id for current context

Username ( string username ) : AnalyticsService

Set username for current context

메소드 상세

Account() 공개 메소드

Set account id for current context
public Account ( int accountId ) : AnalyticsService
accountId int
리턴 AnalyticsService

AnalyticsService() 공개 메소드

public AnalyticsService ( IAnalyticsDataProvider dataProvider ) : System
dataProvider IAnalyticsDataProvider
리턴 System

GetAccounts() 공개 메소드

Get all accounts for a specific user
public GetAccounts ( ) : IEnumerable
리턴 IEnumerable

GetDashboard() 공개 메소드

Get dashboard summary for a given profile
public GetDashboard ( string start, string end ) : DashboardRequest
start string
end string
리턴 DashboardRequest

GetGoalCompletions() 공개 메소드

public GetGoalCompletions ( Goal goal, string end ) : Goal
goal Goal
end string
리턴 Goal

GetGoalCompletions() 공개 메소드

public GetGoalCompletions ( IEnumerable goals, string start, string end ) : IEnumerable
goals IEnumerable
start string
end string
리턴 IEnumerable

GetGoals() 공개 메소드

public GetGoals ( ) : IEnumerable
리턴 IEnumerable

GetPassword() 공개 메소드

Get current password
public GetPassword ( ) : string
리턴 string

GetProfile() 공개 메소드

Get current profile id
public GetProfile ( ) : int?
리턴 int?

GetToken() 공개 메소드

Get current token
public GetToken ( ) : string
리턴 string

GetTopTrafficSources() 공개 메소드

public GetTopTrafficSources ( string start, string end ) : void
start string
end string
리턴 void

GetUsername() 공개 메소드

Get current username
public GetUsername ( ) : string
리턴 string

Logon() 공개 메소드

Login to service
public Logon ( ) : AnalyticsService
리턴 AnalyticsService

Password() 공개 메소드

Set password for current context
public Password ( string password ) : AnalyticsService
password string
리턴 AnalyticsService

Profile() 공개 메소드

Set profile id for current context
public Profile ( int id ) : AnalyticsService
id int
리턴 AnalyticsService

Username() 공개 메소드

Set username for current context
public Username ( string username ) : AnalyticsService
username string
리턴 AnalyticsService

프로퍼티 상세

_password 보호되어 있는 프로퍼티

protected string _password
리턴 string

_profile 보호되어 있는 프로퍼티

protected int? _profile
리턴 int?

_token 보호되어 있는 프로퍼티

protected string _token
리턴 string

_username 보호되어 있는 프로퍼티

protected string _username
리턴 string