May-24-2023, 11:34 PM
In case you're interested, I created a class (call it Class A) that holds the consumer classes (Call them Class B and Class C) and creates the object that both classes depend upon. Then I just expose the required detail from Class B an class C through Class A back to whomever created the Class A object.
I hope this makes sense.
I hope this makes sense.