AssignMainFunction Method
Converts auxiliary function into main function.
Parameters
- pFunction
- Function will be assigned the "Main function" property. Can't be
null
or transient. - bOverwriteEmptyPropsWithFilledProps
- If
true
then properties of old main function that contain value are transfered to properties on new main function that contain no value. - bOverwriteFilledPropsWithEmptyProps
- If
true
then properties of old main function that contain no value removes existing properties on new main function.