/// <summary>Execute the action.</summary> /// <param name="actionInput">The full input specified for executing the command.</param> public override void Execute(ActionInput actionInput) { // If the user invoked the context command, try to lock or unlock their target. if (LockString.Equals(actionInput.Noun, StringComparison.CurrentCultureIgnoreCase)) { locksUnlocksBehavior.Lock(actionInput.Controller.Thing); } else if (UnlockString.Equals(actionInput.Noun, StringComparison.CurrentCultureIgnoreCase)) { locksUnlocksBehavior.Unlock(actionInput.Controller.Thing); } }