Ejemplo n.º 1
0
 public UsingDeclaration(string nameSpace)
 {
     AddChild(AstType.Create(nameSpace), ImportRole);
 }
Ejemplo n.º 2
0
 public IsExpression IsType(Type type)
 {
     return(new IsExpression {
         Type = AstType.Create(type), Expression = this
     });
 }
Ejemplo n.º 3
0
 public CastExpression CastTo(Type type)
 {
     return(new CastExpression {
         Type = AstType.Create(type), Expression = this
     });
 }
Ejemplo n.º 4
0
 public AsExpression CastAs(Type type)
 {
     return(new AsExpression {
         Type = AstType.Create(type), Expression = this
     });
 }
Ejemplo n.º 5
0
 public UsingDeclaration(string nameSpace)
 {
     AddChild(AstType.Create(nameSpace, BoxedTextColor.Namespace), ImportRole);
 }