/// <summary>
        /// Determines whether this instance can convert the specified object type.
        /// </summary>
        /// <param name="objectType">Type of the object.</param>
        /// <returns>
        /// <c>true</c> if this instance can convert the specified object type; otherwise, <c>false</c>.
        /// </returns>
        public override bool CanConvert(Type objectType)
        {
            bool isFirstCanConvert  = _firstDeserializeConverter.CanConvert(objectType);
            bool isSecondCanConvert = _secondDeserializeConverter.CanConvert(objectType);

            return(isFirstCanConvert || isSecondCanConvert);
        }
示例#2
0
 public override bool CanConvert(Type objectType)
 {
     return(_converter.CanConvert(objectType));
 }