protected virtual List <ModelExpression> ExploreModelsRecursively(List <ModelExpression> list, ModelExplorer model) { if (model.GetAttribute <DynamicFormIgnore>() != null) { return(list); } if (IsCsharpClassOrPrimitive(model.ModelType) || IsListOfCsharpClassOrPrimitive(model.ModelType)) { list.Add(ModelExplorerToModelExpressionConverter(model)); return(list); } if (IsListOfSelectItem(model.ModelType)) { return(list); } return(model.Properties.Aggregate(list, ExploreModelsRecursively)); }
protected virtual bool IsRadioGroup(ModelExplorer explorer) { return(explorer.GetAttribute <AbpRadioButton>() != null); }
protected virtual bool AreSelectItemsProvided(ModelExplorer explorer) { return(explorer.GetAttribute <SelectItems>() != null); }
protected virtual bool IsEasySelectorGroup(ModelExplorer explorer) { return(explorer.GetAttribute <EasySelectorAttribute>() != null); }