|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PluginDemo
{
class Program
{
static void Main(string[] args)
{
PluginManager pluginMan = new PluginManager();
foreach (PluginBase.PluginBase p in pluginMan.Plugins.Values)
{
try
{
p.Run();
}
catch (Exception ex)
{
Log.Write(String.Format("An exception occured in the plugin {0} : {1}{2}", p.Name, ex.Message, ex.StackTrace), System.Diagnostics.EventLogEntryType.Error);
}
}
Console.ReadKey();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.