Пример #1
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.endpoint)
            {
                hashcode = (hashcode * 397) + Endpoint.GetHashCode();
            }
            if (__isset.endpointSsl)
            {
                hashcode = (hashcode * 397) + EndpointSsl.GetHashCode();
            }
            if (__isset.updateUrl)
            {
                hashcode = (hashcode * 397) + UpdateUrl.GetHashCode();
            }
            if (__isset.c2dmAccount)
            {
                hashcode = (hashcode * 397) + C2dmAccount.GetHashCode();
            }
            if (__isset.nniServer)
            {
                hashcode = (hashcode * 397) + NniServer.GetHashCode();
            }
        }
        return(hashcode);
    }