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