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