Is there a naming convention for a method that should set the properties of the passed object.

Posted by Genady Sergeev on Stack Overflow See other posts from Stack Overflow or by Genady Sergeev
Published on 2010-04-30T11:50:17Z Indexed on 2010/04/30 11:57 UTC
Read the original article Hit count: 285

Filed under:

Hello,

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?

© Stack Overflow or respective owner

Related posts about best-practices