c# - Caliburn Micro是否从版本1.1更改为1.5.1?

标签 c# .net wpf mvvm caliburn.micro

谁知道,除了增加对WinRT和Windows Phone 8的支持之外,Caliburn Micro 1.1对1.5.1所做的更改是什么。

我需要此信息,因为我在项目中使用了Caliburn Micro 1.4,并想将其更新为1.5.1?

如果有任何重大变化,我会继续努力。

命名约定是否有变化?

最佳答案

这取自每个发行版的changes.txt:

1.2

  • Improvements to EventAggregator to improve testability and re-use apart from the full Caliburn.Micro framework.
  • Enabled basic child containers for the SimpleContainer.
  • Some improvements to the nuget install script.
  • Improvements and bug fixes for View/ViewModel name resolution.
  • Fixed some NRE's in the new UriBuilder. NO explicitly throws if it cannot locate the view.
  • Improved logging around searched for Views/ViewModels.
  • Fixed bugs with the WP7 version of Screen.OnViewReady. It now works consistently.
  • Improvements to PropertyChangedBase and BindableCollection to better support serialization.
  • Moved IsInDesign mode out of Bootstrapper and into the Execute class.
  • Added WP7 platform abstractions for vibration and sound effects, including enabling the window manager to play sounds when showing a custom modal dialog.
  • Fixed some bugs in the WindowManager related to bubbling actions.
  • Fixed some issues with the WPF navigation service.
  • Minor refactoring to enable the new "feature packages".


1.3

  • Improved serialization of PropertyChangedBase and BindableCollection
  • Enabled the WP7 UriBuilder to actually build a Uri without navigating.
  • Added SetUIThreadMarshaller method to Executor to allow customization of the framework's default thread marshalling behavior.
  • Added optional settings parameters to all window manager apis.
  • Changed FrameAdapter to inject query string parameters into the ViewModel before the conventional databinding takes place.
  • Added a new WinRT project. WinRT now supports Execute, BindableCollection, PropertyChangedBase, ExtensionMethods, EventAggregator and SimpleContainer.
  • Fixed some WPF bugs in Screen
  • Vast improvements and API enhancements to ViewModelLocator and ViewLocator for easier customization of location conventions.
  • Fixed a potential memory leak in coroutines that are cancelled and re-used.
  • Enabled design-time application of convention bindings (preliminary support). To turn this feature on, set the Bind.AtDesignTime attached property to true for your view. If you are using blend's design-time data generation, you can optionally replace ViewLocator.ModifyModelTypeAtDesignTime to perform custom mapping to views. It shouldn't be needed though.
  • Turned ConventionManager.ConfigureSelectedItem into a delegate to allow customizations.
  • Added ConventionManager.ConfigureSelectedItemBinding delegate aimed to allow the inspection of the proposed binding and its customization or rejection.
  • Added Support for WP7 Mango
  • Added Support for Silverlight 5
  • Various improvements made to the NavigationService; improvements to navigation away, tombstoning, etc.
  • Fixed some WPF bugs with TabControl
  • Some improvements to integration between the tombstoning mechanism and the IoC container.
  • The Application property of the Bootstrapper is no longer globally available, to help prevent misuse.
  • Some breaking changes in ConventionManager API related to bug fixes in ItemsControl conventions.
  • Enabled overriding of default services in PhoneContainer
  • Assemblies are now marked as CLSCompliant.
  • Added a new Func to ViewLocator called DeterminePackUriFromType. This function maps a View Type to pack Uri for use in navigation scenarios. Since there is no way to reliable way to determine the Uri from a type, a default implementation is provided which should work for most cases, but can be replaced for other scenarios. This function is used internally by the WP7 UriBuilder.
  • Updated the SL5 build to use the new native UpdateSourceTrigger.
  • Enabled ValidatesOnExceptions when conventional validation is turned on for a binding.
  • Fixed a certain long-standing bug which caused problems when conventions were applied via the Bind.Model property inside of a virtualizing control with container recycling enabled. This may have fixed some other intermitent issues related to the Bind.Model property as well.


1.3.1

  • Switching to Semantic Versioning.
  • Added some exception handling for design time bootstrapper operations.
  • Added a custom converter to the MessageBinder so that we can handle converting to DateTime from string.


1.4

这不包含changes.txt,所以我能找到的最好的是:

This version includes many bug fixes across all platforms, improvements to nuget support and...the biggest news of all...full support for both WinRT and WP8.

关于c# - Caliburn Micro是否从版本1.1更改为1.5.1?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13519534/

相关文章:

c# - 具有父子关系的自引用表使用 LINQ 表示文件树

c# - 如何在 C# 中不定义静态类的情况下访问 const 值?

c# - 缺少 .NET 4.0 的引用程序集文件夹

c# - .NET 中是否有 SortedList<T> 类?

wpf - 如何使用过滤器集自动刷新 ListCollectionView

wpf - 将 WebView2 映射到相对路径

c# - FileHelpers:混合分隔和固定长度记录

c# - 返回类型错误-Class

.net - 在 Windows 7 中 DropDownStyle = DropDownList 时,ComboBox.SelectedValue 与显示的文本不匹配

wpf - 在浏览器中运行 WPF 应用程序