protected bool CallApi(object sender, ApiEventArgs <T> data) { if (ApiInvoke == null) { return(false); } ApiInvoke(sender, data); return(true); }
virtual public bool Call(ApiEventArgs <T> data) { return(Call(null, data)); }
/// <summary>External Trigger</summary> virtual public bool Call(object sender, ApiEventArgs <T> data) { return(FilterCall(sender, data)); }
/// <returns>true if OnApi handles the call</returns> virtual protected bool OnApi(object sender, ApiEventArgs <T> args) { return(false); }