public FooterViewModel(IFooterProperties footerProperties, IEpiServerDependencies epiServerDependencies)
 {
     Current = footerProperties;
     _epiServerDependencies = epiServerDependencies;
 }
Exemplo n.º 2
0
 public FooterViewModel(IFooterProperties footerProperties, IEpiServerDependencies epiServerDependencies)
 {
     Current = footerProperties;
     _epiServerDependencies = epiServerDependencies;
 }
Exemplo n.º 3
0
 public FooterViewModel(IFooterProperties footerProperties)
 {
     Guard.ValidateObject(footerProperties);
     Current = footerProperties;
 }
Exemplo n.º 4
0
 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();
        }