Access model class instance from a custom AdditionalMetadataAttribute (asp.net mvc 5)

I have the following situation – I need to write a custom additional metadata attribute, that based on another property value (from the same model), adds a value to the AdditionalValues dictionary. Right now, my issue is that I’m not able to access the model instance inside my attribute class.