Permalink
Browse files

Console setup includes View name postfix

  • Loading branch information...
slodge committed Oct 6, 2013
1 parent 49cf0e9 commit a0e43434b5e25c017ffdad50a5978bde897d0b18
Showing with 6 additions and 0 deletions.
  1. +6 −0 Cirrious/Cirrious.MvvmCross.Console/Platform/MvxConsoleSetup.cs
@@ -11,6 +11,7 @@
using Cirrious.CrossCore.Plugins;
using Cirrious.MvvmCross.Console.Views;
using Cirrious.MvvmCross.Platform;
using Cirrious.MvvmCross.ViewModels;
using Cirrious.MvvmCross.Views;
namespace Cirrious.MvvmCross.Console.Platform
@@ -23,6 +24,11 @@ protected override IMvxTrace CreateDebugTrace()
return new MvxDebugTrace();
}
protected override ViewModels.IMvxNameMapping CreateViewToViewModelNaming()
{
return new MvxPostfixAwareViewToViewModelNameMapping("View");
}
public virtual void InitializeMessagePump()
{
var messagePump = new MvxConsoleMessagePump();

0 comments on commit a0e4343

Please sign in to comment.