public Abstract_PhoneReference CreateNewPhoneReference(Abstract_Phone phoneObject)
 {
     Abstract_PhoneReference phoneRecord = new Abstract_PhoneReference(phoneObject.id);
     Connection connectionString = new Connection(phoneObject);
     phoneRecord.connection = connectionString;
     PhoneList.Add(phoneRecord);
     return phoneRecord;
 }
 public SubscriberFactory(Abstract_PhoneReference phoneReference,  Abstract_NewsFeed NewsFeedObject)
 {
     IObservable<bool> NewsFeedObserver = (IObservable<bool>)NewsFeedObject;
     switch (NewsFeedObject.FeedName)
     {
         case "Business":
             {
                 phoneReference.subsciptions = new Subscription_Business(phoneReference.subsciptions, NewsFeedObject);
                 phoneReference.subsciptions.Subscribe(NewsFeedObserver);
                 break;
             }
         case "Sports":
             {
                 phoneReference.subsciptions = new Subscription_Sports(phoneReference.subsciptions, NewsFeedObject);
                 phoneReference.subsciptions.Subscribe(NewsFeedObserver);
                 break;
             }
     }
 }
 public void SubscribePhoneToFeed(Abstract_PhoneReference phoneReference, Abstract_NewsFeed NewsFeed)
 {
     SubscriberFactory subscriber = new SubscriberFactory(phoneReference, NewsFeed);
 }
 public string GetAllSubscribedContent(Abstract_PhoneReference phoneReference)
 {
     return phoneReference.subsciptions.GetAllContent();
 }