public AssociatedMetadataTypeTypeDescriptionProvider(Type type, Type associatedMetadataType)
            : base(TypeDescriptor.GetProvider(type)) {
            if (associatedMetadataType == null) {
                throw new ArgumentNullException("associatedMetadataType");
            }

            Descriptor = new AssociatedMetadataTypeTypeDescriptor(base.GetTypeDescriptor(type, null), type, associatedMetadataType);
        }
        public AssociatedMetadataTypeTypeDescriptionProvider(Type type, Type associatedMetadataType)
            : base(TypeDescriptor.GetProvider(type))
        {
            if (associatedMetadataType == null)
            {
                throw new ArgumentNullException("associatedMetadataType");
            }

            Descriptor = new AssociatedMetadataTypeTypeDescriptor(base.GetTypeDescriptor(type, null), type, associatedMetadataType);
        }
 public AssociatedMetadataTypeTypeDescriptionProvider(Type type)
     : base(TypeDescriptor.GetProvider(type))
 {
     Descriptor = new AssociatedMetadataTypeTypeDescriptor(base.GetTypeDescriptor(type, null), type);
 }
 public AssociatedMetadataTypeTypeDescriptionProvider(Type type)
     : base(TypeDescriptor.GetProvider(type)) {
     Descriptor = new AssociatedMetadataTypeTypeDescriptor(base.GetTypeDescriptor(type, null), type);
 }