public static GetServerCertificateResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new GetServerCertificateResultUnmarshaller();
            }

            return(instance);
        }
Ejemplo n.º 2
0
        public GetServerCertificateResponse Unmarshall(UnmarshallerContext context)
        {
            GetServerCertificateResponse response = new GetServerCertificateResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("GetServerCertificateResult", 2))
                    {
                        response.GetServerCertificateResult = GetServerCertificateResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }

            return(response);
        }