Used in order to retreive the namespace with the appropriate casings
(string winmdFile, string winRTNamespace, string baseWinMDDir)
| 261 | |
| 262 | // Used in order to retreive the namespace with the appropriate casings |
| 263 | private static string ResolveNamespaceCasing(string winmdFile, string winRTNamespace, string baseWinMDDir) |
| 264 | { |
| 265 | foreach (string ns in GetNamespaces(winmdFile, baseWinMDDir)) |
| 266 | { |
| 267 | if (String.Compare(winRTNamespace, ns, true) == 0) |
| 268 | { |
| 269 | return ns; |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | // not found, fallback to the given namepace |
| 274 | return winRTNamespace; |
| 275 | } |
| 276 | |
| 277 | public static string GenerateProject(string winmdFile, string winRTNamespace, string destinationFolder, NodeRTProjectGenerator generator, |
| 278 | string npmPackageVersion, string npmScope, string baseWinMDDir) |
nothing calls this directly
no outgoing calls
no test coverage detected