Exemple #1
0
 public ApplicationGetter(IApplicationsServiceAgent applicationsServiceAgent)
 {
     _applicationsServiceAgent = applicationsServiceAgent;
 }
 public ContentAreaResource(IContentAreasServiceAgent contentAreasServiceAgent, IApplicationsServiceAgent applicationsServiceAgent)
 {
     _contentAreasServiceAgent = contentAreasServiceAgent;
     _applicationsServiceAgent = applicationsServiceAgent;
 }
 public void SetUp()
 {
     ApplicationServiceAgent    = Substitute.For <IApplicationsServiceAgent>();
     FormsAuthenticationService = Substitute.For <IFormsAuthenticationService>();
     ApplicationService         = new ApplicationService(ApplicationServiceAgent, FormsAuthenticationService);
 }
 public ApplicationResource(IApplicationsServiceAgent applicationsServiceAgent)
 {
     _applicationsServiceAgent = applicationsServiceAgent;
 }
 public ApplicationService(IApplicationsServiceAgent applicationServiceAgent, IFormsAuthenticationService formsAuthenticationService)
 {
     _applicationServiceAgent    = applicationServiceAgent;
     _formsAuthenticationService = formsAuthenticationService;
 }