Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void Init(LoggerBase, JsonValue, ISettingsSaver)

Declaration

public void Init(
    LoggerBase log,
    JsonValue settings,
    ISettingsSaver saver
)

Summary

When implemented in a class, initializes the module.

Parameters

LoggerBaselog Reference to a LoggerBase that should be used to log messages.
JsonValuesettings The module’s settings as stored within the Propeller settings file.
ISettingsSaversaver An object that can be used to save the module’s settings.

Remarks

Every time the Propeller server initializes this module, it creates a new instance of the class and then calls this method before invoking anything else on this interface.

If this method throws an exception, Propeller cancels reinitialization and does not invoke any other methods or properties on this interface.