Merge pull request #960 from ermshiperete/ShowHelp
[mono.git] / mcs / class / System.XML / System.Xml.Xsl / IXsltContextFunction.cs
1 // System.Xml.Xsl.IXsltContextFunction\r
2 //\r
3 // Author: Tim Coleman <tim@timcoleman.com>\r
4 // (C) Copyright 2002 Tim Coleman\r
5 \r
6 //\r
7 // Permission is hereby granted, free of charge, to any person obtaining\r
8 // a copy of this software and associated documentation files (the\r
9 // "Software"), to deal in the Software without restriction, including\r
10 // without limitation the rights to use, copy, modify, merge, publish,\r
11 // distribute, sublicense, and/or sell copies of the Software, and to\r
12 // permit persons to whom the Software is furnished to do so, subject to\r
13 // the following conditions:\r
14 // \r
15 // The above copyright notice and this permission notice shall be\r
16 // included in all copies or substantial portions of the Software.\r
17 // \r
18 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
19 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
20 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
21 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
22 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
23 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
24 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
25 //\r
26 \r
27 using System;\r
28 using System.Xml.XPath;\r
29 \r
30 namespace System.Xml.Xsl\r
31 {\r
32         public interface IXsltContextFunction\r
33         {\r
34                 #region Properties\r
35 \r
36                 XPathResultType [] ArgTypes { get; }\r
37                 int Maxargs { get; }\r
38                 int Minargs { get; }\r
39                 XPathResultType ReturnType { get; }\r
40 \r
41                 #endregion\r
42 \r
43                 #region Methods\r
44 \r
45                 object Invoke (XsltContext xsltContext, object [] args, XPathNavigator docContext);\r
46 \r
47                 #endregion\r
48         }\r
49 }\r