예제 #1
0
        private BandCloudManager()
        {
            Events = new ObservableCollection <BandEventViewModel>();

            _cloud = new BandCloudClient();
            _cloud.AuthenticationCompleted += _cloud_AuthenticationCompleted;

            Login();
        }
예제 #2
0
        public BandEventViewModel(BandCloudClient cloud, BandEventBase cloudEvent)
        {
            _cloud = cloud;

            Event = cloudEvent;

            if (Event is UserDailyActivity)
            {
                // this event type is considered "Loaded" already since we get all of the information
                // from the initial API call
                Loaded = true;
            }
        }
예제 #3
0
        public BandEventViewModel(BandCloudClient cloud, BandEventBase cloudEvent)
        {
            _cloud = cloud;

            Event = cloudEvent;
        }