System.Data.ConstraintConverter.CanConvertTo C# (CSharp) Method

CanConvertTo() public method

Gets a value indicating whether this converter can convert an object to the given destination type using the context.
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType Type
return bool
        public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) =>
            destinationType == typeof(InstanceDescriptor) ||
            base.CanConvertTo(context, destinationType);