This file contains hidden or 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
| void ConnectionChanged (CoreStatusType coreStatus) | |
| { | |
| IMvxMessenger messenger = Mvx.Resolve(IMvxMessenger); | |
| messenger.Publish (new CoreStatusMessage(sender, coreStatus)); | |
| } |
This file contains hidden or 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 HomeVM () | |
| { | |
| token = MessageHub.Subscribe<CoreStatusMessage> ((d) => CoreStatusChanged(d.CoreStatus)); | |
| } |
This file contains hidden or 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 override void LoadPlugins (IMvxPluginManager pluginManager) | |
| { | |
| base.LoadPlugins (pluginManager); | |
| pluginManager.EnsurePluginLoaded<Cirrious.MvvmCross.Plugins.Messenger.PluginLoader> (); | |
| } |
This file contains hidden or 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
| var connection = Mvx.Resolve<INetworkConnection>(); | |
| connection.OnChange += () => RaisePropertyChanged("IsConnecting") |
This file contains hidden or 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
| Interval Since Last Panic Report: 1397798 sec | |
| Panics Since Last Report: 2 | |
| Anonymous UUID: CAAA47F4-A550-9EEA-8D53-DF93BA2B6326 | |
| Wed Mar 6 17:23:27 2013 | |
| panic(cpu 0 caller 0xffffff7f9f1efb25): NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xd2000000 0xffffff8132709000 0x0a5480a2, D0, P3/4 | |
| Backtrace (CPU 0), Frame : Return Address | |
| 0xffffff810f6eaf70 : 0xffffff801ea1d626 | |
| 0xffffff810f6eafe0 : 0xffffff7f9f1efb25 | |
| 0xffffff810f6eb070 : 0xffffff7f9f2e94b3 |
This file contains hidden or 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
| interface IPullable | |
| { | |
| void Pull(); | |
| } | |
| class Rope : IPullable | |
| { | |
| public void Pull() | |
| { | |
| Console.WriteLine("Pulled"); |
This file contains hidden or 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
| using System; | |
| using System.Collections.Concurrent; | |
| namespace IOC | |
| { | |
| public sealed class IocContainer | |
| { | |
| ConcurrentDictionary<Type,Lazy<Object>> container = new ConcurrentDictionary<Type, Lazy<Object>>(); | |
| public static readonly IocContainer Default = new IocContainer(); |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:centrastage="http://schemas.android.com/apk/res/CentraStage.Droid" | |
| android:orientation="vertical" | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent"> | |
| <DeapExt.BindableGroupListView | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent" | |
| android:orientation="vertical" |
This file contains hidden or 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 MvxRelayCommand<Device> DeviceSelected { | |
| get { | |
| return new MvxRelayCommand<Device> ((device) => | |
| { | |
| DataStore.AddToRecentlyUsed(device); | |
| this.RequestNavigate<DeviceVM>(new { deviceUid = device.Id.ToString() }, true, new MvxRequestedBy()); | |
| }); | |
| } | |
| } |
This file contains hidden or 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
| class Profile : IEnumerable<Device> |