public PluginHostTests()
        {
            var configuration = new ExtensibilityConfiguration {
                PluginDirectory = "testPlugins"
            };

            PluginHost.UpdateConfiguration(configuration);
        }
Exemple #2
0
 public LoggingConfiguration TextWriter(Action <TextWriterLoggerConfiguration> textWriterLogger = null)
 {
     this.Application.Extensibility((ExtensibilityConfiguration extensibility) => {
         ExtensibilityConfiguration extensibilityConfigurations = extensibility;
         //Func<TextWriterLoggerConfiguration> u003cu003e9_81 = LoggingConfiguration.<>c.<>9__8_1;
         //if (u003cu003e9_81 == null)
         //{
         //	u003cu003e9_81 = () => new TextWriterLoggerConfiguration();
         //	LoggingConfiguration.<>c.<>9__8_1 = u003cu003e9_81;
         //}
         //TextWriterLoggerConfiguration textWriterLoggerConfiguration = extensibilityConfigurations.Register<TextWriterLoggerConfiguration>(u003cu003e9_81);
         //if (textWriterLogger != null)
         //{
         //	textWriterLogger(textWriterLoggerConfiguration);
         //}
     });
     return(this.Use <TextWriterLogger>());
 }