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