Rebornbuddy
Loading...
Searching...
No Matches
ff14bot.Managers.PluginContainer Class Reference

Represents a container class that encapsulates an instance of a plugin implementing the IBotPlugin interface. More...

Inheritance diagram for ff14bot.Managers.PluginContainer:

Public Member Functions

bool Equals (PluginContainer other)
 Determines whether the specified PluginContainer instance is equal to the current instance.

Protected Member Functions

virtual void OnPropertyChanged ([CallerMemberName] string propertyName=null)

Properties

IBotPlugin Plugin [get, set]
 Gets or sets the plugin associated with the current plugin container.
bool Enabled [get, set]
 Gets or sets a value indicating whether the plugin is currently enabled.

Events

PropertyChangedEventHandler PropertyChanged
 Occurs when a property value changes within this instance.

Detailed Description

Represents a container class that encapsulates an instance of a plugin implementing the IBotPlugin interface.

Member Function Documentation

◆ Equals()

bool ff14bot.Managers.PluginContainer.Equals ( PluginContainer other)

Determines whether the specified PluginContainer instance is equal to the current instance.

Parameters
otherThe PluginContainer instance to compare with the current instance.
Returns
True if the specified instance is equal to the current instance; otherwise, false.

◆ OnPropertyChanged()

virtual void ff14bot.Managers.PluginContainer.OnPropertyChanged ( [CallerMemberName] string propertyName = null)
protectedvirtual

Property Documentation

◆ Enabled

bool ff14bot.Managers.PluginContainer.Enabled
getset

Gets or sets a value indicating whether the plugin is currently enabled.

True if the plugin is enabled, otherwise false.

◆ Plugin

IBotPlugin ff14bot.Managers.PluginContainer.Plugin
getset

Gets or sets the plugin associated with the current plugin container.

The plugin instance that implements the IBotPlugin interface.

Event Documentation

◆ PropertyChanged

PropertyChangedEventHandler ff14bot.Managers.PluginContainer.PropertyChanged

Occurs when a property value changes within this instance.