public XamlAstXamlPropertyValueNode(IXamlLineInfo lineInfo, IXamlAstPropertyReference property, IXamlAstValueNode value) : base(lineInfo) { Property = property; Values = new List <IXamlAstValueNode> { value }; }
public static XamlAstClrProperty GetClrProperty(this IXamlAstPropertyReference r) { if (r is XamlAstClrProperty clr) { return(clr); } throw new XamlParseException($"Unable to convert {r} to CLR property", r); }
public XamlAstXamlPropertyValueNode(IXamlLineInfo lineInfo, IXamlAstPropertyReference property, IEnumerable <IXamlAstValueNode> values) : base(lineInfo) { Property = property; Values = values.ToList(); }