public PropertyData GetPropertyData(string name)
{
Argument.IsNotNullOrWhitespace("name", name);
lock (_lockObject)
{
PropertyData catelProperty;
if (!_catelProperties.TryGetValue(name, out catelProperty))
{
throw Log.ErrorAndCreateException(msg => new PropertyNotRegisteredException(name, Type),
"Property '{0}' on type '{1}' is not registered", name, Type.FullName);
}
return catelProperty;
}
}