Exemplo n.º 1
0
 public ComponentStateChangePayload(T source, ComponentStateType state)
 {
     Source = source;
     State  = state;
 }
Exemplo n.º 2
0
        protected virtual void OnStateChanged(ComponentStateType state)
        {
            var target = GetTarget() as Component;

            Messenger.Default.Publish(new ComponentStateChangePayload(target, state));
        }