Animatroller.Framework.Expander.MonoExpanderBaseInstance.SendMessage C# (CSharp) 메소드

SendMessage() 보호된 메소드

protected SendMessage ( object message, string stateKey = null ) : void
message object
stateKey string
리턴 void
        protected void SendMessage(object message, string stateKey = null)
        {
            if (Executor.Current.IsOffline)
                return;

            this.sendAction?.Invoke(message);

            if (!string.IsNullOrEmpty(stateKey))
            {
                lock (this.lastState)
                    this.lastState[stateKey] = message;
            }
        }