Custom Stub Functions
Custom Stub Functions

Custom Stub Functions

The Custom Stub Functions are optional functions that  allow a user to write code that runs when the stub function executes. Custom Stub Functions are tied to a specific parameter. There are two types of Custom Stub Functions. The Get-Custom-Stub Function will run when a get operation is conducted on a parameter. For example an application-screen which displays the parameter in the GUI. When this screen is shown, the Get-Custom-Stub Function will execute. The Set-Custom-Stub Function will run when a set operation is conducted on a parameter.