Example #1
0
        public FormDescriptor BuildMeta(object form,object context) {

            var builders = BuildersForType(form.GetType());

            var meta = new FormDescriptor(form, context);
            foreach (var builder in builders) {
                builder.Build(meta);
            }

            return meta;
        }
Example #2
0
        public FormDescriptor BuildMeta(object form, object context)
        {
            var builders = BuildersForType(form.GetType());

            var meta = new FormDescriptor(form, context);

            foreach (var builder in builders)
            {
                builder.Build(meta);
            }

            return(meta);
        }