public virtual string GetProcedureUri(MethodInfo method)
        {
            WampProcedureAttribute attribute =
                method.GetCustomAttribute <WampProcedureAttribute>();

            return(attribute.Procedure);
        }
        public virtual string GetProcedureUri(MethodInfo method)
        {
            WampProcedureAttribute attribute =
                method.GetCustomAttribute <WampProcedureAttribute>();

            if (attribute == null)
            {
                throw new WampIncompatibleCalleeProxyMethodException(method);
            }

            return(attribute.Procedure);
        }