예제 #1
0
파일: Xaml.cs 프로젝트: space-wizards/XamlX
 public XamlAstXamlPropertyValueNode(IXamlLineInfo lineInfo,
                                     IXamlAstPropertyReference property, IXamlAstValueNode value) : base(lineInfo)
 {
     Property = property;
     Values   = new List <IXamlAstValueNode> {
         value
     };
 }
예제 #2
0
 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);
 }
예제 #3
0
파일: Xaml.cs 프로젝트: space-wizards/XamlX
 public XamlAstXamlPropertyValueNode(IXamlLineInfo lineInfo,
                                     IXamlAstPropertyReference property, IEnumerable <IXamlAstValueNode> values) : base(lineInfo)
 {
     Property = property;
     Values   = values.ToList();
 }