public GridImportConfig(IVmPropertyFinder vmPropertyFinder)
            : base()
        {
            IgnoreViewmodels.Add <vmBlock_DataRows>();
            IgnoreViewmodels.Add <vmBlock_DataGrid>();

            SpecialistProperties.Add("Grids", vmPropertyFinder.GetProperties(typeof(vmBlock_DataGrid)));
            SpecialistProperties.Add("Rows", vmPropertyFinder.GetProperties(typeof(vmBlock_DataRows)));
        }
예제 #2
0
        public CoreImportConfig(IVmPropertyFinder vmPropertyFinder)
            : base()
        {
            IgnoreViewmodels.Add <vmBlock_DataImage>();
            IgnoreViewmodels.Add <vmBlock_DataLink>();

            if (vmPropertyFinder != null)
            {
                SpecialistProperties.Add("Images", vmPropertyFinder.GetProperties(typeof(vmBlock_DataImage)));
                SpecialistProperties.Add("Links", vmPropertyFinder.GetProperties(typeof(vmBlock_DataLink)));
            }
        }
예제 #3
0
        public FormImportConfig(IVmPropertyFinder vmPropertyFinder)
            : base()
        {
            IgnoreViewmodels.Add <vmBlock_DataForm>();
            IgnoreViewmodels.Add <vmBlock_DataFormBuilder>();
            IgnoreViewmodels.Add <vmBlock_Form>();
            IgnoreViewmodels.Add <vmBlock_FormButton>();
            IgnoreViewmodels.Add <vmBlock_FormCheckboxRadio>();
            IgnoreViewmodels.Add <vmBlock_FormCheckboxRadioList>();
            IgnoreViewmodels.Add <vmBlock_FormHidden>();
            IgnoreViewmodels.Add <vmBlock_FormSelect>();
            IgnoreViewmodels.Add <vmBlock_FormTextArea>();
            IgnoreViewmodels.Add <vmBlock_FormTextInput>();
            IgnoreViewmodels.Add <vmBlock_Recaptcha>();
            IgnoreViewmodels.Add <vmBlock_TitleAndDescription>();

            SpecialistProperties.Add("Forms", vmPropertyFinder.GetProperties(typeof(vmBlock_DataForm)));
        }