示例#1
0
 /// <summary>
 ///     Gets Called when this Plugin is detached from a host
 /// </summary>
 public override void OnUnload()
 {
     base.OnUnload();
     PackageDataManager.RemovePackerFormat(this);
 }
示例#2
0
 /// <summary>
 ///     Gets Called when this Plugin is attached to a Host.
 /// </summary>
 /// <param name="ptr">The Pointer that is used to Query File Paths and other Plugin Specific Data</param>
 public override void OnLoad(PluginAssemblyPointer ptr)
 {
     base.OnLoad(ptr);
     PackageDataManager.AddPackerFormat(this);
 }