private void OnGUI()
        {
            var providerHost = GameObject.FindObjectOfType <GrpcChannelProviderHost>();

            if (providerHost == null)
            {
                EditorGUILayout.HelpBox("Cannot find a gRPC Channel Provider Host", MessageType.Info);
                _monitor = null;
                return;
            }

            if (_monitor == null)
            {
                _monitor = new GrpcChannelProviderMonitor(providerHost.Provider);
            }

            using (var scope = new EditorGUILayout.ScrollViewScope(_scrollPosition, false, false, new[] { GUILayout.Width(Screen.width) }))
                using (new EditorGUILayout.VerticalScope(new GUIStyle()
                {
                    padding =
                    {
                        left  = 10, top    = 10,
                        right = 10, bottom = 10,
                    }
                }))
                {
                    _monitor.DrawChannels();
                    _scrollPosition = scope.scrollPosition;
                }
        }
        public override void OnInspectorGUI()
        {
            var providerHost = (GrpcChannelProviderHost)target;

            if (providerHost == null || providerHost.Provider == null)
            {
                _monitor = null;
                return;
            }

            if (_monitor == null)
            {
                _monitor = new GrpcChannelProviderMonitor(providerHost.Provider);
            }

            _monitor.DrawChannels();
        }