Caliburn.Micro.Extras
Caliburn.Micro.Extras copied to clipboard
Some additions to Caliburn.Micro framework.
Caliburn.Micro.Extras [Discontinued]
Caliburn.Micro is a powerful framework for building WPF, Silverlight, Windows Phone and Windows 8 Store apps. These additions make it easier to to get the most out of the framework.
Install
The extras are available through NuGet:
Install-Package Caliburn.Micro.Extras
Content
ActionCommandto use Caliburn.Micro Actions withICommand- [Win8]
IWindowManagerfor displaying normal dialogs all around the screen
Dialogs
IMessageServiceto show a MessageBoxIOpenFileServiceto show an OpenFileDialogISaveFileServiceto show an SaveFileDialogMessengerResultwraps IMessageService with fluent configurationOpenFileResultwraps IOpenFileService with fluent configurationSaveFileResultwraps ISaveFileService with fluent configuration
Weak Events
powered by Weakly
Conventions
- Module level bootstrappers (inspired by Splitting Application to Multiple Assemblies when using Caliburn.Micro)
ContentHostcontrol (inspired by Fast switching between ViewModels in Caliburn.Micro
Integrated in CM 2.0
DebugLoggerto see Caliburn.Micro logging output in Visual StudioEventAggregatorExtensionsto publish messages on different Threads
IResult Implementations
CancelResultalways returns WasCancelled=trueDelegateResultwraps an arbitrary Action or Func<TResult>
IResult Extensions
Rescue<TException>()decorates the result with an error handler which is executed when an error occursWhenChancelled()decorates the result with an handler which is executed when the result was cancelledOverrideCancel()decorates the result and overrides WasCancelled=false