using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Discord.Overrides { /// /// Represents a generic build override for Discord.Net /// public interface IOverride { /// /// Initializes the override. /// /// /// This method is called by the class /// and should not be called externally from it. /// /// Context used by an override to initialize. /// /// A task representing the asynchronous initialization operation. /// Task InitializeAsync(OverrideContext context); /// /// Registers a callback to load a dependency for this override. /// /// The callback to load an external dependency. void RegisterPackageLookupHandler(Func> func); } }