예제 #1
0
        public void Dispose()
        {
            if (frameBroker != null)
            {
                frameBroker.Dispose();
            }

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

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