MCPcopy Create free account
hub / github.com/NodeRT/NodeRT / GenerateModel

Method GenerateModel

src/NodeRTLib/Reflector.cs:75–85  ·  view source on GitHub ↗
(string winmdFile, string winRTNamespace, string baseWinMDDir)

Source from the content-addressed store, hash-verified

73 }
74
75 public static dynamic GenerateModel(string winmdFile, string winRTNamespace, string baseWinMDDir)
76 {
77 BaseWindMDDir = baseWinMDDir;
78 var assembly = Assembly.ReflectionOnlyLoadFrom(winmdFile);
79 if (!assembly.FullName.Contains("WindowsRuntime"))
80 {
81 return null;
82 }
83
84 return GenerateModel(assembly, winRTNamespace);
85 }
86
87 public static IList<TypeInfo> GetHiddenTypesForNamespace(Assembly assembly, string winRTNamespace)
88 {

Callers

nothing calls this directly

Calls 4

SplitMethod · 0.80
ShouldIgnoreMethodMethod · 0.80
IsAsyncMethod · 0.80

Tested by

no test coverage detected