public static Settable <T> GetPropertySettable <T>(this ProjectXElement projectXElement, string propertyElementName, Func <string, T> propertyValueFromString) { var hasProperty = projectXElement.HasProperty(out var propertyValue, propertyElementName, propertyValueFromString); var propertySettable = Settable <T> .New(propertyValue, hasProperty); return(propertySettable); }
public static Settable <string> GetSdkSettable(this ProjectXElement projectXElement) { var hasSdk = projectXElement.HasSdk(out var sdk); var sdkSettable = Settable <string> .New(sdk, hasSdk); return(sdkSettable); }