Class SerializableIServiceInstance
[Serializable]
public class SerializableIServiceInstance : IServiceInstance
- Inheritance
-
SerializableIServiceInstance
- Implements
- Inherited Members
Constructors
SerializableIServiceInstance()
Initializes a new instance of the SerializableIServiceInstance class. For use with JsonSerializer
public SerializableIServiceInstance()
SerializableIServiceInstance(IServiceInstance)
public SerializableIServiceInstance(IServiceInstance instance)
Parameters
instanceIServiceInstance
Properties
Host
Gets the hostname of the registered ServiceInstance
public string Host { get; set; }
Property Value
IsSecure
Gets a value indicating whether if the port of the registered ServiceInstance is https or not
public bool IsSecure { get; set; }
Property Value
Metadata
Gets the key value pair metadata associated with the service instance
public IDictionary<string, string> Metadata { get; set; }
Property Value
Port
Gets the port of the registered ServiceInstance
public int Port { get; set; }
Property Value
ServiceId
Gets the service id as register by the DiscoveryClient
public string ServiceId { get; set; }
Property Value
Uri
Gets the service uri address
public Uri Uri { get; set; }