public override async Task<string> OnGetEvaluatedPropertyValueAsync(string propertyName, string evaluatedPropertyValue, IProjectProperties defaultProperties) { ConfigurationGeneral configuration = await _properties.GetConfigurationGeneralPropertiesAsync(); string value = await configuration.OutputType.GetEvaluatedValueAtEndAsync(); if (GetMap.TryGetValue(value, out string returnValue)) { return returnValue; } return DefaultGetValue; }
public override async Task <string> OnGetEvaluatedPropertyValueAsync(string evaluatedPropertyValue, IProjectProperties defaultProperties) { var configuration = await _properties.GetConfigurationGeneralPropertiesAsync().ConfigureAwait(false); var value = await configuration.OutputType.GetEvaluatedValueAtEndAsync().ConfigureAwait(false); if (GetMap.TryGetValue(value, out string returnValue)) { return(returnValue); } return(DefaultGetValue); }