Пример #1
0
        /// <summary>
        ///     Test if public methods on the service has Invoke or Query Attribute
        ///     and generates from this methods their invocation method descriptions
        /// </summary>
        /// <returns></returns>
        private static void ProcessMethodDescriptions(IServiceContainer services, Type fromType, CachedMetadata metadata)
        {
            var allList    = GetAllMethods(fromType);
            var svcMethods = GetSvcMethods(allList, services);

            metadata.InitSvcMethods(svcMethods);

            var otherMethods = allList.GetOthersOnly();

            metadata.InitOperMethods(otherMethods);
        }