System::InitObject 方法

System::InitObject method

开始以共享所有权初始化对象。

template<typename T> Details::ObjectBuilder<T, SharedPtr<T>> System::InitObject(const SharedPtr<T> &object)
参数描述
T要初始化的对象类型
参数类型描述
objectconst SharedPtr<T>&要初始化的 Object

ReturnValue

为共享指针构造配置的 ObjectBuilder

备注

Object initialization must be finished with Get() call

另见