MyGit

3.0.0-beta1

Caliburn-Micro/Caliburn.Micro

版本发布时间: 2015-08-12 05:02:30

Caliburn-Micro/Caliburn.Micro最新发布版本:4.0.222+a53dd1fa1b(2022-09-06 19:59:44)

All the release notes from 3.0.0-alpha apply to this release as well.

Windows 10

The Windows 10 release follows along with the Windows 8.1 and Windows Phone 8.1 releases and combines them into a single library which is great from a maitenance perspective. If we need to start adding features specific to Phone, Xbox or even HoloLens they'll be done using feature detection via Windows.Foundation.Metadata.ApiInformation.

Also included is a sample showing how to set up a SplitView style app with the Frame not being the root visual but inside the ShellView, this sample is available at Hello UWP.

Preserving state

One new feature in this release is the CachingFrameAdapter. This subclass of FrameAdapter (which implements INavigationService in WinRT platforms such as Windows 8.1, Windows Phone 8.1 and Windows 10) will cache internally view models and reuse them on the appropriate navigation. This allows scenarios where the built in NavigationCacheMode doesn't make sense but still preserve your view model state. A sample of this in action is available at Caliburn.Micro.State.

Xamarin Forms

navigationService.For<ProductViewModel>()
    .WithParam(v => v.ProductId, 42)
    .Navigate();

Other Changes

Breaking Changes

All the breaking changes from 3.0.0-alpha apply to this release as well.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2015-08-12发行的版本