public override bool IsSupported(Type type, string referenceName, LinkedList<object> buildChain)
{
var baseSupported = base.IsSupported(type, referenceName, buildChain);
if (baseSupported == false)
{
return false;
}
if (string.IsNullOrWhiteSpace(referenceName))
{
return false;
}
if (referenceName.Equals("count", StringComparison.OrdinalIgnoreCase))
{
return true;
}
if (referenceName.Equals("length", StringComparison.OrdinalIgnoreCase))
{
return true;
}
return false;
}