public object Create(Type type, string propertyName, LinkedList<object> buildChain)
{
if (IsMatch(type, propertyName) == false)
{
var typeName = "<null>";
if (type != null)
{
typeName = type.FullName;
}
var message = string.Format(
CultureInfo.CurrentCulture,
Resources.Rule_InvalidMatch,
GetType().Name,
typeName,
propertyName);
throw new NotSupportedException(message);
}
return _creator(type, propertyName, buildChain);
}