Beispiel #1
0
        internal static HealthServiceMethodInfo CreateMethodInfo(
            XPathNavigator nav)
        {
            HealthServiceMethodInfo methodInfo =
                new HealthServiceMethodInfo();

            methodInfo.ParseXml(nav);
            return(methodInfo);
        }
Beispiel #2
0
        private static Collection <HealthServiceMethodInfo> GetMethods(
            XPathNavigator nav)
        {
            XPathNodeIterator methodNavs = nav.Select("xml-method");
            Collection <HealthServiceMethodInfo> methods =
                new Collection <HealthServiceMethodInfo>();

            foreach (XPathNavigator methodNav in methodNavs)
            {
                methods.Add(HealthServiceMethodInfo.CreateMethodInfo(methodNav));
            }

            return(methods);
        }
Beispiel #3
0
 /// <summary>
 /// Creates a new instance of the <see cref="HealthServiceMethodVersionInfo"/> class.
 /// </summary>
 /// <param name="method">The method information.</param>
 public HealthServiceMethodVersionInfo(HealthServiceMethodInfo method)
 {
     _method = method;
 }