public FooterViewModel(IFooterProperties footerProperties, IEpiServerDependencies epiServerDependencies) { Current = footerProperties; _epiServerDependencies = epiServerDependencies; }
public FooterViewModel(IFooterProperties footerProperties, IEpiServerDependencies epiServerDependencies) { Current = footerProperties; _epiServerDependencies = epiServerDependencies; }
public FooterViewModel(IFooterProperties footerProperties) { Guard.ValidateObject(footerProperties); Current = footerProperties; }
private FooterViewModel CreateFooterProperties(IFooterProperties footerProperties) { return(footerProperties == null ? null : new FooterViewModel(footerProperties, _epiServerDependencies)); }
private FooterViewModel CreateFooterProperties(IFooterProperties footerProperties) { return footerProperties == null ? null : new FooterViewModel(footerProperties, _epiServerDependencies); }
public void Footer_Data_Should_Be_Set_Correctly(IFooterProperties footerProperties) { var metaDataViewModel = new FooterViewModel(footerProperties); metaDataViewModel.Current.Should().NotBeNull(); }