Esempio n. 1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="store">The persistent store holding the settings.</param>
 internal Settings(PersistentStore store)
 {
     Store = store;
 }
Esempio n. 2
0
 /// <summary>
 /// Initialises the Plugins library. This allows you to specify the registrars
 /// in charge of every extension point defined.
 ///
 /// Call <see cref="Host.Load"/> when object
 /// initialisation is complete.
 /// </summary>
 /// <param name="store">The root persistent store for all plugins.</param>
 /// <remarks>Call <see cref="Host.Instance.Dispose"/> when exiting.</remarks>
 public static void Initialise(PersistentStore store)
 {
     new DefaultHost(store);
 }