public FolderInterruptionTrigger( string pluginFolderPath ) { _pluginContainer = new FolderPluginComposition( this, pluginFolderPath ); // Initialize loaded interruption handlers. foreach ( var handler in _interruptionTriggers ) { handler.InterruptionReceived += TriggerInterruption; } }
/// <summary> /// Create a new persistence provider with application persistence plugins loaded from the specified path. /// </summary> /// <param name = "pluginFolderPath">The path where application persistence plugins are located.</param> public PluginPersistenceProvider( string pluginFolderPath ) { try { _pluginContainer = new FolderPluginComposition( this, pluginFolderPath ); } catch ( CompositionException ) { Dispose(); throw; } }
/// <summary> /// Create a new persistence provider with application persistence plugins loaded from the specified path. /// </summary> /// <param name = "pluginFolderPath">The path where application persistence plugins are located.</param> public FolderPersistenceProvider( string pluginFolderPath ) { _pluginContainer = new FolderPluginComposition( this, pluginFolderPath ); }