示例#1
0
文件: App.cs 项目: tOmoness/.net-sdk
 public App(IAuthPlatformSpecific platformSpecificAuth, string appVersion, IUriLauncher uriLauncher)
 {
     this.MixRadioClient    = new MusicClient(ApiKeys.ClientId);
     this.AuthHelper        = new AuthHelper(platformSpecificAuth, this.MixRadioClient);
     this.ActivityViewModel = new ActivityViewModel(this.MixRadioClient, this.AuthHelper);
     this.AppVersion        = appVersion;
     this.UriLauncher       = uriLauncher;
     this.MainPage          = new RootPage();
 }
示例#2
0
文件: App.cs 项目: ni3bobade/.net-sdk
		public App(IAuthPlatformSpecific platformSpecificAuth, string appVersion, IUriLauncher uriLauncher)
        {
			this.MixRadioClient = new MusicClient (ApiKeys.ClientId);
			this.AuthHelper = new AuthHelper (platformSpecificAuth, this.MixRadioClient);
			this.ActivityViewModel = new ActivityViewModel (this.MixRadioClient, this.AuthHelper);
			this.AppVersion = appVersion;
			this.UriLauncher = uriLauncher;
			this.MainPage = new RootPage ();
        }
示例#3
0
 public AuthHelper(IAuthPlatformSpecific platformSpecific, MusicClient mixRadioClient)
 {
     this._platformSpecific = platformSpecific;
     this._mixRadioClient   = mixRadioClient;
 }
示例#4
0
 public AuthHelper(IAuthPlatformSpecific platformSpecific, MusicClient mixRadioClient)
 {
     this._platformSpecific = platformSpecific;
     this._mixRadioClient = mixRadioClient;
 }