System::MulticastDelegate< ReturnType(ArgumentTypes...)>::MulticastDelegate method

MulticastDelegate< ReturnType(ArgumentTypes…)>::MulticastDelegate() method

Constructs an empty collection.

System::MulticastDelegate<ReturnType(ArgumentTypes...)>::MulticastDelegate()

See Also

MulticastDelegate< ReturnType(ArgumentTypes…)>::MulticastDelegate(Callback&&) method

Constructs an instance and puts the specified delegate to the delegates collection.

System::MulticastDelegate<ReturnType(ArgumentTypes...)>::MulticastDelegate(Callback &&initial)
ParameterTypeDescription
initialCallback&&A delegate to put to the delegate collection

See Also

MulticastDelegate< ReturnType(ArgumentTypes…)>::MulticastDelegate(const MulticastDelegate&) method

Performs a shallow copy of the delegate collection.

System::MulticastDelegate<ReturnType(ArgumentTypes...)>::MulticastDelegate(const MulticastDelegate &o)
ParameterTypeDescription
oconst MulticastDelegate&An instance of MulticastDelegate class to copy the collection of delegates from.

See Also

MulticastDelegate< ReturnType(ArgumentTypes…)>::MulticastDelegate(MulticastDelegate&&) method

Moving constructor.

System::MulticastDelegate<ReturnType(ArgumentTypes...)>::MulticastDelegate(MulticastDelegate &&o) noexcept
ParameterTypeDescription
oMulticastDelegate&&An instance of MulticastDelegate class to move the collection of delegates from.

See Also

MulticastDelegate< ReturnType(ArgumentTypes…)>::MulticastDelegate(std::function<ReturnType(ArgumentTypes…)>) method

Constructs an instance and puts the specified value to the delegates collection.

System::MulticastDelegate<ReturnType(ArgumentTypes...)>::MulticastDelegate(std::function<ReturnType(ArgumentTypes...)> arg)
ParameterTypeDescription
argstd::function<ReturnType(ArgumentTypes…)>A value to put to the delegate collection

See Also

MulticastDelegate< ReturnType(ArgumentTypes…)>::MulticastDelegate(std::nullptr_t) method

Equivalent to defalt constructor.

System::MulticastDelegate<ReturnType(ArgumentTypes...)>::MulticastDelegate(std::nullptr_t)

See Also

MulticastDelegate< ReturnType(ArgumentTypes…)>::MulticastDelegate(T) method

Constructs an instance and puts the specified value to the delegates collection.

template<class T,typename> System::MulticastDelegate<ReturnType(ArgumentTypes...)>::MulticastDelegate(T arg)
ParameterDescription
TType of the value to put to the delegate collection of the newly constructed instance; the type must be convertible to Callback type.
ParameterTypeDescription
argTA value to put to the delegate collection

See Also