public User(Guid userId) { _userId = userId; _subscriptions = new SuccessorCollection<Subscription>( "Subscribe", CreateSubscription, "Unsubscribe", "Subscription"); _queuedEpisodes = new SuccessorCollection<Queue>( "Queue", CreateQueue, "Finished", "Queue"); }
public virtual void AddSuccessor(GraphNode <T> neighbor, double weight) { SuccessorCollection.Add(neighbor); Costs.Add(neighbor, weight); }