US$0.00
0

Understanding Task Hooks

🔒 You're viewing limited content

In this lesson, we begin implementing the OnCmd method, which acts as the primary engine for your add-in’s logic.
You will learn how to use a switch statement to intercept the specific event hooks we registered earlier, allowing your code to react differently whether the PDM admin is configuring settings or a user is running the task.

Key Highlights:

    • The Role of OnCmd : Understand how OnCmd serves as the entry point for all PDM notifications.

    • Switch Statement Implementation : Learn how to structure a C# switch statement based on the meCmdType to cleanly separate your setup, launch, and execution logic.

Existing Student?

OR

If you're a premium user with access to technical support, please address all of your questions via our dedicated help channel on Slack.

Leave a Comment

0
    0
    Your Cart
    Your cart is emptyReturn to Shop