C# Class AnalyticsApi.AnalyticsService

Afficher le fichier Open project: alexandernyquist/AnalyticsApi

Protected Properties

Свойство Type Description
_password string
_profile int?
_token string
_username string

Méthodes publiques

Méthode Description
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

Method Details

Account() public méthode

Set account id for current context
public Account ( int accountId ) : AnalyticsService
accountId int
Résultat AnalyticsService

AnalyticsService() public méthode

public AnalyticsService ( IAnalyticsDataProvider dataProvider ) : System
dataProvider IAnalyticsDataProvider
Résultat System

GetAccounts() public méthode

Get all accounts for a specific user
public GetAccounts ( ) : IEnumerable
Résultat IEnumerable

GetDashboard() public méthode

Get dashboard summary for a given profile
public GetDashboard ( string start, string end ) : DashboardRequest
start string
end string
Résultat DashboardRequest

GetGoalCompletions() public méthode

public GetGoalCompletions ( Goal goal, string end ) : Goal
goal Goal
end string
Résultat Goal

GetGoalCompletions() public méthode

public GetGoalCompletions ( IEnumerable goals, string start, string end ) : IEnumerable
goals IEnumerable
start string
end string
Résultat IEnumerable

GetGoals() public méthode

public GetGoals ( ) : IEnumerable
Résultat IEnumerable

GetPassword() public méthode

Get current password
public GetPassword ( ) : string
Résultat string

GetProfile() public méthode

Get current profile id
public GetProfile ( ) : int?
Résultat int?

GetToken() public méthode

Get current token
public GetToken ( ) : string
Résultat string

GetTopTrafficSources() public méthode

public GetTopTrafficSources ( string start, string end ) : void
start string
end string
Résultat void

GetUsername() public méthode

Get current username
public GetUsername ( ) : string
Résultat string

Logon() public méthode

Login to service
public Logon ( ) : AnalyticsService
Résultat AnalyticsService

Password() public méthode

Set password for current context
public Password ( string password ) : AnalyticsService
password string
Résultat AnalyticsService

Profile() public méthode

Set profile id for current context
public Profile ( int id ) : AnalyticsService
id int
Résultat AnalyticsService

Username() public méthode

Set username for current context
public Username ( string username ) : AnalyticsService
username string
Résultat AnalyticsService

Property Details

_password protected_oe property

protected string _password
Résultat string

_profile protected_oe property

protected int? _profile
Résultat int?

_token protected_oe property

protected string _token
Résultat string

_username protected_oe property

protected string _username
Résultat string