The Labs \ Source Viewer \ SSCLI \ System.CodeDom \ CodeDirectionExpression

  1. //------------------------------------------------------------------------------
  2. // <copyright file="CodeDirectionExpression.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. namespace System.CodeDom
  16. {
  17.    
  18.     using System.Diagnostics;
  19.     using System;
  20.     using Microsoft.Win32;
  21.     using System.Collections;
  22.     using System.Runtime.InteropServices;
  23.    
  24.     /// <devdoc>
  25.     /// <para>[To be supplied.]</para>
  26.     /// </devdoc>
  27.     [ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable()]
  28.     public class CodeDirectionExpression : CodeExpression
  29.     {
  30.         private CodeExpression expression;
  31.         private FieldDirection direction = FieldDirection.In;
  32.        
  33.        
  34.         /// <devdoc>
  35.         /// <para>[To be supplied.]</para>
  36.         /// </devdoc>
  37.         public CodeDirectionExpression()
  38.         {
  39.         }
  40.        
  41.         /// <devdoc>
  42.         /// <para>[To be supplied.]</para>
  43.         /// </devdoc>
  44.         public CodeDirectionExpression(FieldDirection direction, CodeExpression expression)
  45.         {
  46.             this.expression = expression;
  47.             this.direction = direction;
  48.         }
  49.        
  50.         /// <devdoc>
  51.         /// <para>[To be supplied.]</para>
  52.         /// </devdoc>
  53.         public CodeExpression Expression {
  54.             get { return expression; }
  55.             set { expression = value; }
  56.         }
  57.        
  58.         /// <devdoc>
  59.         /// <para>[To be supplied.]</para>
  60.         /// </devdoc>
  61.         public FieldDirection Direction {
  62.             get { return direction; }
  63.             set { direction = value; }
  64.         }
  65.     }
  66. }

Developer Fusion