I am writing a method that will set the properties of an object passed as a parameter. The method accepts one parameter of type interface and the return type of the method is the same interface. I was wondering if there is some kind of a naming convention for such methods. I was thinking of something like:
FillInInterfaceTypeData or InitInterfaceTypeData but both sound clumsy to me. How do you think?
There are no hard and fast rules here. Both of those names sound good but I would normally use something like
PopulateInterfaceTypeData.