Consumer.NotifyBackEnd C# (CSharp) Method

NotifyBackEnd() private method

private NotifyBackEnd ( ) : void
return void
        private void NotifyBackEnd()
        {
            // unsubscribe
            BackEnd.Current.OnDataChanged -= NotifyConsumer;
            BackEnd.Current.Data = Control.Text;
            // subscribe again
            BackEnd.Current.OnDataChanged += NotifyConsumer;
        }
    }