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

Method ValidateArguments

src/NodeRTCmd/Program.cs:212–224  ·  view source on GitHub ↗
(Dictionary<String, String> args)

Source from the content-addressed store, hash-verified

210 }
211
212 static bool ValidateArguments(Dictionary<String, String> args)
213 {
214 if (!args.ContainsKey("winmd") || String.IsNullOrEmpty(args["winmd"]))
215 return false;
216
217 if (args.ContainsKey("namespaces"))
218 return true;
219
220 if (!args.ContainsKey("outdir") || String.IsNullOrEmpty(args["outdir"]))
221 return false;
222
223 return true;
224 }
225
226 static void PrintHelp()
227 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected