Loading...
Searching...
No Matches
◆ delegate() [4/4]
template<typename result_t >
template<typename object1_t , typename object2_t >
xtd::delegate< result_t()>::delegate |
( |
const object1_t & |
object, |
|
|
result_t(object2_t::*)() |
method |
|
) |
| |
|
inlinenoexcept |
Initializes a delegate that invokes the specified instance method on the specified class instance.
- Parameters
-
object | the class instance. |
function | the method instance. |