Opc.Ua.Com.Client.ComAeClientNodeManager.WaitForTypeCache C# (CSharp) Method

WaitForTypeCache() private method

Waits for the type cache to be initialized.
private WaitForTypeCache ( ) : bool
return bool
        private bool WaitForTypeCache()
        {
            // need to wait until the cache is refreshed for the first time.
            for (int ii = 0; Object.ReferenceEquals(m_typeCache, null) && ii < 200 && Server.IsRunning; ii++)
            {
                Thread.Sleep(100);
            }

            return !Object.ReferenceEquals(m_typeCache, null);
        }