Exemplo n.º 1
0
        private IViewsForActionFilter filterMatching(params int[] indices)
        {
            var filter = new StubViewsForActionFilter(views(indices));

            theAttacher.AddFilter(filter);

            return(filter);
        }
Exemplo n.º 2
0
 /// <summary>
 /// views are matched to actions based on same namespace and the Action's underlying method name
 /// </summary>
 public void by_ViewModel_and_Namespace_and_MethodName()
 {
     _attacher.AddFilter(new ActionWithSameNameAndFolderAsViewReturnsViewModelType());
 }