public ExpertiseViewModel(IHierarchyManager hierarchyManager, BindableExpertise expertise)
        {
            this.expertise = Contract.NotNull(expertise, "expertise");
            Contract.NotNull(hierarchyManager, "hierarchyManager");

            this.DisplayName = "Define Expertise";

            this.Sliders = new BindableCollection<SliderViewModel>();

            this.hierarchy = new BindableHierarchy(hierarchyManager.GetCurrentHierarchy());
            this.LoadExpertise();

            this.Interval = string.Format(IntervalPattern, expertise.Interval.LowerBound, expertise.Interval.UpperBound);
        }
 public SliderViewModel(BindableHierarchy bindableHierarchy, string expertName)
 {
     this.Sets = bindableHierarchy.Levels;
     this.CurrentSet = this.Sets.First();
     this.ExpertName = expertName;
 }