public void Dispose()
        {
            if (frameBroker != null)
            {
                frameBroker.Dispose();
            }

            if (frameProvider != null)
            {
                frameProvider.Dispose();
            }
        }
Exemple #2
0
        protected virtual void Dispose(bool disposing)
        {
            if (!disposed)
            {
                if (frameBroker != null)
                {
                    frameBroker.Dispose();
                }

                if (frameProvider != null)
                {
                    frameProvider.Dispose();
                }
                disposed = true;
            }
        }