/// <summary> /// Occurs when the AddOn instance is being initialized. /// </summary> /// <param name="e">The AddOn host event arguments.</param> protected virtual void OnIntialize(AddOnHostEventArgs e) { //Set Host host = e.Host; //Trigger initialize?.Invoke(this, e); }
void IAddOn.Initialize(IHost host) { //Create Args var e = new AddOnHostEventArgs(host); //Initialize OnIntialize(e); //Trigger initialize?.Invoke(this, e); }
void IAddOn.Initialize(IHost host) { //Set this.host = host; //Create Arguments AddOnHostEventArgs e = new AddOnHostEventArgs(host); //Initialize OnInitialize(e); //Invoke initialize?.Invoke(this, e); }
/// <summary> /// Occurs when the AddOn instance is being initialized. /// </summary> /// <param name="e">The AddOn host event arguments.</param> protected virtual void OnInitialize(AddOnHostEventArgs e) { }
/// <summary> /// Occurs when the AddOn instance is being initialized. /// </summary> /// <param name="e">The AddOn host event arguments.</param> protected virtual void OnIntialize(AddOnHostEventArgs e) { //Set Host host = e.Host; }