SimpleApprover.with_factory


Description:

[ CCode ( has_construct_function = false , type = "TpBaseClient*" ) ]
[ Version ( since = "0.15.5" ) ]
public SimpleApprover.with_factory (SimpleClientFactory factory, string name, bool uniquify, owned SimpleApproverAddDispatchOperationImpl callback)

Convenient function to create a new SimpleApprover instance with a specified SimpleClientFactory.

Parameters:

factory

an SimpleClientFactory, which may not be null

name

the name of the Approver (see name for details)

uniquify

the value of the uniquify_name property

callback

the function called when AddDispatchOperation is called

destroy

called with user_data as its argument when the SimpleApprover is destroyed

user_data

arbitrary user-supplied data passed to callback

Returns:

a new SimpleApprover