public static HelloMessage11 Create(DiscoveryMessageSequence messageSequence, EndpointDiscoveryMetadata endpointDiscoveryMetadata)
 {
     return(new HelloMessage11()
     {
         MessageSequence = DiscoveryMessageSequence11.FromDiscoveryMessageSequence(messageSequence),
         Hello = EndpointDiscoveryMetadata11.FromEndpointDiscoveryMetadata(endpointDiscoveryMetadata)
     });
 }
Esempio n. 2
0
        public static ResolveMatches11 Create(EndpointDiscoveryMetadata endpointDiscoveryMetadata)
        {
            ResolveMatches11 resolveMatches = new ResolveMatches11();

            if (endpointDiscoveryMetadata != null)
            {
                resolveMatches.ResolveMatch =
                    EndpointDiscoveryMetadata11.FromEndpointDiscoveryMetadata(endpointDiscoveryMetadata);
            }

            return(resolveMatches);
        }