- 授权协议: Ms-PL
- 开发语言: C#
- 操作系统: 跨平台
- 软件首页: https://github.com/reactiveui/ReactiveUI
软件介绍
ReactiveUI 是集成了 .Net 的 ReatIve 扩展的 MVVM 框架,用来创建运行与任何移动设备或者桌面平台的优雅的可测试的用户接口。它支持 Xamarin.iOS,Xamarin.Android,Xamarin.Mac, WPF,Windows Forms,Windows Phone 8 和 Windows Store 应用程序。
示例代码:
public class ColorChooserThatDoesntLikeGreen : ReactiveObject
{
//
// Declaring a read/write property
//
byte _Red;
public byte Red {
get { return _Red; }
set { this.RaiseAndSetIfChanged(value); }
}
byte _Green;
public byte Green {
get { return _Green; }
set { this.RaiseAndSetIfChanged(value); }
}
byte _Blue;
public byte Blue {
get { return _Blue; }
set { this.RaiseAndSetIfChanged(value); }
}
//
// Declaring a Property that's based on an Observable
//
ObservableAsPropertyHelper<Color> _Color;
public Color Color {
get { return _Color.Value; }
}
ReactiveCommand OkButton { get; protected set; }
public ColorChooserThatDoesntLikeGreen()
{
var finalColor = this.WhenAny(x => x.Red, x => x.Green, x => x.Blue,
(r,g,b) => Color.FromRGB(r.Value, g.Value, b.Value));
finalColor.ToProperty(this, x => x.Color, out _Color);
// When the finalColor has full green, the Ok button is disabled
OkButton = new ReactiveCommand(finalColor.Select(x => x.Green != 255));
}
}深入理解C++11
Michael Wong、IBM XL编译器中国开发团队 / 机械工业出版社 / 2013-6 / 69.00元
《深入理解C++11:C++11新特性解析与应用》内容简介:国内首本全面深入解读C++11新标准的专著,由C++标准委员会代表和IBM XL编译器中国开发团队共同撰写。不仅详细阐述了C++11标准的设计原则,而且系统地讲解了C++11新标准中的所有新语言特性、新标准库特性、对原有特性的改进,以及如何应用所有这些新特性。 《深入理解C++11:C++11新特性解析与应用》一共8章:第1章从设计......一起来看看 《深入理解C++11》 这本书的介绍吧!
