Exemple #1
0
 public XamlIlAstTextNode(IXamlIlLineInfo lineInfo, string text, IXamlIlType type = null) : base(lineInfo)
 {
     Text = text;
     if (type != null)
     {
         Type = new XamlIlAstClrTypeReference(lineInfo, type);
     }
     else
     {
         Type = new XamlIlAstXmlTypeReference(lineInfo, XamlNamespaces.Xaml2006, "String");
     }
 }
Exemple #2
0
 public XamlIlAstTextNode(IXamlIlLineInfo lineInfo, string text) : base(lineInfo)
 {
     Text = text;
     Type = new XamlIlAstXmlTypeReference(lineInfo, XamlNamespaces.Xaml2006, "String");
 }