| 791 | |
| 792 | private: |
| 793 | VectorWrapper( |
| 794 | ::Windows::Foundation::Collections::IVector<T> ^ winRtInstance, |
| 795 | const std::function<Local<Value>(T)>& getterFunc, |
| 796 | const std::function<bool(Local<Value>)>& checkTypeFunc = nullptr, |
| 797 | const std::function<T(Local<Value>)>& convertToTypeFunc = nullptr) |
| 798 | : _instance(winRtInstance), |
| 799 | _getterFunc(getterFunc), |
| 800 | _checkTypeFunc(checkTypeFunc), |
| 801 | _convertToTypeFunc(convertToTypeFunc) {} |
| 802 | |
| 803 | static void New(Nan::NAN_METHOD_ARGS_TYPE info) { |
| 804 | NodeRT::Utils::SetHiddenValue( |
nothing calls this directly
no outgoing calls
no test coverage detected