예제 #1
0
        public DynamicPropertyManager()
        {
            Type type = typeof(TTarget);

            provider = new DynamicTypeDescriptionProvider(type);
            TypeDescriptor.AddProvider(provider, type);
        }
예제 #2
0
        public DynamicPropertyManager(TTarget target)
        {
            this.target = target;

            provider = new DynamicTypeDescriptionProvider(typeof(TTarget));
            TypeDescriptor.AddProvider(provider, target);
        }
 public DynamicCustomTypeDescriptor(DynamicTypeDescriptionProvider provider,
                                    ICustomTypeDescriptor descriptor)
     : base(descriptor)
 {
     this.provider = provider;
 }