| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //
- // System.CodeDom CodeCastExpression Class implementation
- //
- // Author:
- // Miguel de Icaza ([email protected])
- //
- // (C) 2001 Ximian, Inc.
- //
- namespace System.CodeDom {
- [Serializable]
- public class CodeCastExpression : CodeExpression {
- string targetType;
- CodeExpression expression;
-
- //
- // Constructors
- //
- public CodeCastExpression ()
- {
- }
- public CodeCastExpression (string targetType, CodeExpression expression)
- {
- this.targetType = targetType;
- this.expression = expression;
- }
- //
- // Properties
- //
- public CodeExpression Expression {
- get {
- return expression;
- }
- set {
- expression = value;
- }
- }
- public string TargetType {
- get {
- return targetType;
- }
- set {
- targetType = value;
- }
- }
- }
- }
|