Example #1
0
        void IServiceDispatchListener.OnServiceDescriptorFound(IServiceDescriptorFoundContext ctx)
        {
            var handler = ServiceDescriptorFound;

            if (handler != null)
            {
                handler(ctx);
            }
        }
 /// <summary>
 /// 在服务元数据被发现时进行监听
 /// </summary>
 /// <param name="ctx"></param>
 public virtual void OnServiceDescriptorFound(IServiceDescriptorFoundContext ctx)
 {
 }
 /// <summary>
 /// 在服务元数据被发现时进行监听
 /// </summary>
 /// <param name="ctx"></param>
 public virtual void OnServiceDescriptorFound(IServiceDescriptorFoundContext ctx)
 {
 }