CK.WordPredictor.TextualContextService.OnPredictionAreaServiceStatusChanged C# (CSharp) 메소드

OnPredictionAreaServiceStatusChanged() 개인적인 메소드

private OnPredictionAreaServiceStatusChanged ( object sender, CK.Plugin.ServiceStatusChangedEventArgs e ) : void
sender object
e CK.Plugin.ServiceStatusChangedEventArgs
리턴 void
        private void OnPredictionAreaServiceStatusChanged( object sender, ServiceStatusChangedEventArgs e )
        {
            if( e.Current <= InternalRunningStatus.Stopping )
            {
                PredictionTextAreaService.Service.PredictionAreaTextSent -= OnPredictionAreaContentSent;
                PredictionTextAreaService.Service.PredictionAreaContentChanged -= OnPredictionAreaServicePropertyChanged;
            }
            if( e.Current == InternalRunningStatus.Starting )
            {
                PredictionTextAreaService.Service.PredictionAreaTextSent += OnPredictionAreaContentSent;
                PredictionTextAreaService.Service.PredictionAreaContentChanged += OnPredictionAreaServicePropertyChanged;
            }
        }