9 references to TryGetValue
Microsoft.DotNet.Cli.Utils (9)
MSBuildArgs.cs (9)
112var globalProperties = TryGetValue<ReadOnlyDictionary<string, string>?>("--property"); 113var restoreProperties = TryGetValue<ReadOnlyDictionary<string, string>?>("--restoreProperty"); 114var requestedTargets = TryGetValue<string[]?>("--target"); 115var getProperty = TryGetValue<string[]>("--getProperty"); 116var getItem = TryGetValue<string[]?>("--getItem"); 117var getTargetResult = TryGetValue<string[]?>("--getTargetResult"); 118var getResultOutputFile = TryGetValue<string[]?>("--getResultOutputFile"); 119var verbosity = TryGetValue<VerbosityOptions?>("--verbosity"); 120var nologo = TryGetValue<bool?>("--no-logo") ?? true; // Default to nologo if not specified