public SiteContentByQueryPresenter(ISiteContentByQueryView view, SPWeb clientWeb) { Validation.ArgumentNotNull(view, "ISiteContentByQueryView"); Validation.ArgumentNotNull(clientWeb, "clientWeb"); this.view = view; this.Web = clientWeb; }
public SiteContentByQueryPresenter(ISiteContentByQueryView view) : this(view, SPContext.Current != null ? SPContext.Current.Web : null) { }