public static IModelList <IModelMember> Get_TodoListNameMembers(this IModelTodo modelTodo) { var modelClass = modelTodo.GetParent <IModelOffice>().User; var modelMembers = modelClass != null?modelClass.AllMembers.Where(member => member.Type == typeof(string)) : Enumerable.Empty <IModelMember>(); return(new CalculatedModelNodeList <IModelMember>(modelMembers)); }
public static IModelObjectViewsDependencyList ObjectViews(this IModelTodo modelTodo) { return(((IModelObjectViews)modelTodo).ObjectViews); }