Shared\Options\OptionValueParser.cs (7)
48value = CreateValue<CultureInfo>(() => new CultureInfo(stringValue), option, stringValue);
52value = CreateValue<Uri>(() => new Uri(stringValue, UriKind.RelativeOrAbsolute), option, stringValue);
56value = CreateValue<DirectoryInfo>(() => new DirectoryInfo(stringValue), option, stringValue);
60value = CreateValue<FileInfo>(() => new FileInfo(stringValue), option, stringValue);
64value = CreateValue<MSBuildProj>(() => MSBuildProj.FromPathAsync(stringValue, null, System.Threading.CancellationToken.None).Result, option, stringValue);
68value = CreateValue<FrameworkInfo>(() => TargetFrameworkHelper.GetValidFrameworkInfo(stringValue), option, stringValue);
72value = CreateValue<ProjectDependency>(() => ProjectDependency.Parse(stringValue), option, stringValue);