Exemplo n.º 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");
     }
 }
Exemplo n.º 2
0
 public XamlIlAstTextNode(IXamlIlLineInfo lineInfo, string text) : base(lineInfo)
 {
     Text = text;
     Type = new XamlIlAstXmlTypeReference(lineInfo, XamlNamespaces.Xaml2006, "String");
 }