| 96 | |
| 97 | private: |
| 98 | ArrayWrapper( |
| 99 | ::Platform::Array<T> ^ winRtInstance, |
| 100 | const std::function<Local<Value>(T)>& getterFunc, |
| 101 | const std::function<bool(Local<Value>)>& checkTypeFunc = nullptr, |
| 102 | const std::function<T(Local<Value>)>& convertToTypeFunc = nullptr) |
| 103 | : _instance(winRtInstance), |
| 104 | _getterFunc(getterFunc), |
| 105 | _checkTypeFunc(checkTypeFunc), |
| 106 | _convertToTypeFunc(convertToTypeFunc) {} |
| 107 | |
| 108 | static void New(Nan::NAN_METHOD_ARGS_TYPE info) { |
| 109 | NodeRT::Utils::SetHiddenValue( |
nothing calls this directly
no outgoing calls
no test coverage detected