private void ParseStyles(Flex.Node node, IDictionary <string, string> style) { foreach (var property in style) { if (this.styleProperties.TryGetValue(property.Key, out PropertyParser setter)) { setter.Set(node, property.Value); } } }
public void Set(Flex.Node node, string value) { var v = Parse(this.PropertyType, value); setter(node, v); }