/// <summary> /// /// </summary> /// <returns></returns> public ServiceInfo ToServiceInfo() { var serviceInfo = new ServiceInfo { Name = Name, Address = Address, Group = Group, }; return serviceInfo; }
/// <summary> /// /// </summary> /// <param name="serviceInfo"></param> /// <returns></returns> public override Task RegisterAsync(ServiceInfo serviceInfo) { return TaskHelper.FromResult<object>(null); }