/// <summary> /// Initializes a new instance of the <see cref="PresentationFrameworkModule"/> class. /// </summary> /// <param name="hook">The hook.</param> public PresentationFrameworkModule(IConfigurationHook hook) : base(hook) { UsingRoutedMessageController <RoutedMessageController>(); UsingMessageBinder <MessageBinder>(); UsingParser <Parser>(); UsingActionFactory <ActionFactory>(); UsingDispatcher <DispatcherImplementation>(); UsingViewStrategy <DefaultViewStrategy>(); UsingBinder <DefaultBinder>(); #if !SILVERLIGHT_20 UsingWindowManager <DefaultWindowManager>(); #endif }
/// <summary> /// Initializes a new instance of the <see cref="CaliburnModule"/> class. /// </summary> /// <param name="hook">The hook.</param> protected CaliburnModule(IConfigurationHook hook) { _hook = hook; _hook.Core.Add(this); }
public Configuration(IConfigurationHook hook) : base(hook) {}
/// <summary> /// Initializes a new instance of the <see cref="CaliburnModule"/> class. /// </summary> /// <param name="hook">The hook.</param> protected CaliburnModule(IConfigurationHook hook) { _hook = hook; _hook.Core.Add(this); }
/// <summary> /// Adds the routed UI messaging module's configuration to the system. /// </summary> /// <param name="hook">The hook.</param> /// <returns>The configuration.</returns> public static PresentationFrameworkModule WithPresentationFramework(this IConfigurationHook hook) { return(new PresentationFrameworkModule(hook)); }