public static FilterTreeViewModel <PHASE, PHASE, Guid> GetPHASEFilterTree(object parentViewModel)
 {
     return(FilterTreeViewModel <PHASE, PHASE, Guid> .Create(
                new FilterTreeModelPageSpecificSettings <Settings, PHASE>(Settings.Default, bluePrintsEntitiesUnitOfWork.PHASES, "PHASE", x => x.AllStaticFilters, x => x.PHASECustomFilter,
                                                                          new[] {
         BindableBase.GetPropertyName(() => new PHASE().GUID)
     }),
                bluePrintsEntitiesUnitOfWork.PHASES, new Action <object, Action>(RegisterEntityChangedMessageHandler <PHASE, Guid>)
                ).SetParentViewModel(parentViewModel));
 }
 public static FilterTreeViewModel <AREA, AREA, Guid> GetAREAFilterTree(object parentViewModel)
 {
     return(FilterTreeViewModel <AREA, AREA, Guid> .Create(
                new FilterTreeModelPageSpecificSettings <Settings, AREA>(Settings.Default, bluePrintsEntitiesUnitOfWork.AREAS, "AREA", x => x.AllStaticFilters, x => x.AREACustomFilter,
                                                                         new[] {
         BindableBase.GetPropertyName(() => new AREA().GUID),
         BindableBase.GetPropertyName(() => new AREA().GUID_PROJECT)
     }),
                bluePrintsEntitiesUnitOfWork.AREAS, new Action <object, Action>(RegisterEntityChangedMessageHandler <AREA, Guid>)
                ).SetParentViewModel(parentViewModel));
 }