public TerrificViewAdapter(IViewTerrific adaptee, Func<ViewContext, IViewDataContainer, TextWriter, RenderingContext> resolveContext)
            {
	            _adaptee = adaptee;
	            _resolveContext = resolveContext;
            }
Exemple #2
0
 protected virtual IViewTerrific CreateAdapter(IViewTerrific view)
 {
     return(view);
 }
	    protected virtual IViewTerrific CreateAdapter(IViewTerrific view)
	    {
		    return view;
	    }
Exemple #4
0
 public TerrificViewAdapter(IViewTerrific adaptee, Func <ViewContext, IViewDataContainer, TextWriter, RenderingContext> resolveContext)
 {
     _adaptee        = adaptee;
     _resolveContext = resolveContext;
 }