public static void TaskSetImplementations(FrameworkElement fe, string route, PropertyRoute context) { if (fe is EntityBase eb && eb.NotSet(EntityBase.ImplementationsProperty)) { PropertyRoute entityContext = eb.GetEntityPropertyRoute(); if (entityContext != null && entityContext.Type.CleanType().IsIEntity()) { eb.Implementations = entityContext.GetImplementations(); } } }