Provides information about an add-in engine event.
Inheritance: System.EventArgs
Exemple #1
0
 private void OnAddinLoaded(object sender, Mono.Addins.AddinEventArgs args)
 {
     Mono.Addins.Addin addin = Mono.Addins.AddinManager.Registry.GetAddin(args.AddinId);
     Log.Debug($"=============================");
     Log.Debug($"OnAddinLoaded: {args.AddinId}");
     Log.Debug($"         Name: '{addin.Name}'");
     Log.Debug($"  Description: '{addin.Description.Description}'");
     Log.Debug($"    Namespace: '{addin.Namespace}'");
     Log.Debug($"      Enabled: '{addin.Enabled}'");
     Log.Debug($"         File: '{addin.AddinFile}'");
     Log.Debug("= = = = = = = = = = = = =");
 }
Exemple #2
0
		private static void AddinManager_AddinLoaded(object sender, AddinEventArgs args)
		{
			Logger.WriteEvent("Addin loaded: {0}", args.AddinId);
		}
Exemple #3
0
 private void OnAddinUnloaded(object sender, Mono.Addins.AddinEventArgs args)
 {
     Log.Debug($"Add-in Id: {args.AddinId}");
 }
		static void OnUnload (object s, AddinEventArgs args)
		{
			Counters.AddinsLoaded.Dec ("Add-in unloaded: " + args.AddinId);
		}
Exemple #5
0
		static void OnUnload (object s, AddinEventArgs args)
		{
			Console.WriteLine ("Add-in unloaded: " + args.AddinId);
		}
Exemple #6
0
 void OnAddinLoaded (object sender, AddinEventArgs args)
 {
     if (args.AddinId == "Banshee.NotificationArea") {
         Log.Debug("ApplicationIndicator conflicts with NotificationArea, disabling ApplicationIndicator");
         AddinManager.Registry.GetAddin("Banshee.AppIndicator").Enabled = false;
     }
 }
Exemple #7
0
 void OnAddinLoaded(object sender, AddinEventArgs args)
 {
     if (args.AddinId == "Banshee.NotificationArea" || args.AddinId == "Banshee.AppIndicator") {
         Log.Debug("SoundMenu conflicts with " + args.AddinId + ", disabling SoundMenu");
         AddinManager.Registry.GetAddin("Banshee.SoundMenu").Enabled = false;
     }
 }
Exemple #8
0
		static void OnLoad (object s, AddinEventArgs args)
		{
			Counters.AddinsLoaded.Inc ("Add-in loaded: " + args.AddinId, new Dictionary<string,string> { { "AddinId", args.AddinId } });
		}
Exemple #9
0
 private static void OnLoad(object s, AddinEventArgs args)
 {
     SorentoLib.Services.Logging.LogInfo (string.Format (Strings.LogInfo.ServicesAddinsAddinInitialized, args.AddinId));
 }