System.Net.Http.Formatting.BetterJsonMediaTypeFormatter.CanReadType C# (CSharp) Method

CanReadType() protected method

Determines whether this JsonMediaTypeFormatter can read objects of the specified type.
protected CanReadType ( Type type ) : bool
type Type The type of object that will be read.
return bool
        protected override bool CanReadType(Type type)
        {
            if (type == null)
            {
                throw new ArgumentNullException("type");
            }

            return true;
        }