CK.Keyboard.Model.KeyInteractionEventArgs.KeyInteractionEventArgs C# (CSharp) Method

KeyInteractionEventArgs() public method

public KeyInteractionEventArgs ( IKey k, IKeyProgram p, KeyInteractionEventType eventType ) : System.Linq
k IKey
p IKeyProgram
eventType KeyInteractionEventType
return System.Linq
        public KeyInteractionEventArgs( IKey k, IKeyProgram p, KeyInteractionEventType eventType )
            : base(k)
        {
            EventType = eventType;
            // Clone the commands: the emitted commands is a snapshot of the commands
            // at the time of the event.
            string[] copy = p.Commands.ToArray();
            Commands = new CKReadOnlyListOnIList<string>( copy );
        }
KeyInteractionEventArgs