public static T GetPropertyOrDefault <T>(this A11yElement e, int propertyId) { if (e == null) { return(default(T)); } return(e.TryGetPropertyValue(propertyId, out T value) ? value : default(T)); }
public static T GetPropertyOrDefault <T>(this A11yElement e, int propertyId) { if (e == null) { return(default(T)); } return(e.TryGetPropertyValue(propertyId, out T value) ? value : default(T)); }