| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- //
- // System.CodeDom CodeCatchClaus Class implementation
- //
- // Author:
- // Miguel de Icaza ([email protected])
- //
- // (C) 2001 Ximian, Inc.
- //
- namespace System.CodeDom {
- [Serializable]
- public class CodeCatchClause {
- CodeParameterDeclarationExpression condition;
- CodeStatementCollection statements;
-
- public CodeCatchClause ()
- {
- this.statements = new CodeStatementCollection ();
- }
- public CodeCatchClause (CodeParameterDeclarationExpression condition,
- CodeStatement [] statements)
- {
- this.condition = condition;
- this.statements = new CodeStatementCollection ();
- this.statements.AddRange (statements);
- }
- public CodeStatementCollection Statements {
- get {
- return statements;
- }
- }
- public CodeParameterDeclarationExpression Condition {
- get {
- return condition;
- }
- set {
- condition = value;
- }
- }
- }
- }
|