The Labs \ Source Viewer \ SSCLI \ System.Xml.Xsl.Qil \ QilInvoke

  1. //------------------------------------------------------------------------------
  2. // <copyright file="QilInvoke.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. using System;
  16. using System.Diagnostics;
  17. using System.Xml.Schema;
  18. using System.Xml.Xsl;
  19. namespace System.Xml.Xsl.Qil
  20. {
  21.    
  22.     /// <summary>
  23.     /// A function invocation node which represents a call to a Qil functions.
  24.     /// </summary>
  25.     internal class QilInvoke : QilBinary
  26.     {
  27.        
  28.         //-----------------------------------------------
  29.         // Constructor
  30.         //-----------------------------------------------
  31.        
  32.         /// <summary>
  33.         /// Construct a new node
  34.         /// </summary>
  35.         public QilInvoke(QilNodeType nodeType, QilNode function, QilNode arguments) : base(nodeType, function, arguments)
  36.         {
  37.         }
  38.        
  39.        
  40.         //-----------------------------------------------
  41.         // QilInvoke methods
  42.         //-----------------------------------------------
  43.        
  44.         public QilFunction Function {
  45.             get { return (QilFunction)Left; }
  46.             set { Left = value; }
  47.         }
  48.        
  49.         public QilList Arguments {
  50.             get { return (QilList)Right; }
  51.             set { Right = value; }
  52.         }
  53.     }
  54. }

Developer Fusion