public NitroViewAdapter(IViewNitro adaptee, Func <ViewContext, IViewDataContainer, TextWriter, RenderingContext> resolveContext) { _adaptee = adaptee; _resolveContext = resolveContext; }
public SitecoreViewAdapter(IView adaptee) { _adaptee = adaptee; }
protected virtual IViewNitro CreateAdapter(IViewNitro view) { return(view); }
protected override IView CreateAdapter(IView view) { return(new SitecoreViewAdapter(view)); }