Trying to pass a required behavior as a parameter?

I am trying have a function that is to return a value. This value is based on properties from two separate behaviors. The function takes an object, and the two behaviors (which are attached to the object).

The two behaviors are required behavior properties.

How do I pass the behaviors as parameters when calling the function?

Here is what the function is looking for as far as parameters:

As you can see, I can pass in the object, but I also have to pass in the EquipWeapon and CharacterStats behaviors.

But I can’t seem to figure out how to pass those behaviors:

I’m not sure where I’m going wrong here. Any ideas?

Thanks so much!