This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// UpdateCommand waits for the web to return some data | |
// VisualState is a property that tells the view to switch the VisualStateManager visual state (a "raiseif" property) | |
UpdateCommand.IsExecuting.Where(x => x).Subscribe(_ => VisualState = "Loading"); | |
UpdateCommand.Subscribe( | |
data => | |
{ | |
// ... | |
// do stuff with data | |
// ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"C:\projects\reactiveui\ReactiveUI\ReactiveUI_WinRT80.csproj" (Rebuild target) (25) -> | |
7624 C:\projects\reactiveui\ReactiveUI\ReactiveUI_WinRT80.csproj(134,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v12.0\Microsoft.Windows.UI.Xaml.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class ListMixins | |
{ | |
public static IEnumerable<T> Forever<T>(this IList<T> This) | |
{ | |
using (var e = This.GetEnumerator()) | |
{ | |
for (; ; ) | |
{ | |
while (e.MoveNext()) | |
{ |
NewerOlder