public DescriptionService(IDescriptionRepository descriptionRepository, IPropertySubmissionRepository propertySubmissionRepository, IDescriptionEngine descriptionEngine)
        {
            Check.If(descriptionRepository).IsNotNull();
            Check.If(propertySubmissionRepository).IsNotNull();
            Check.If(descriptionEngine).IsNotNull();

            _descriptionRepository = descriptionRepository;
            _propertySubmissionRepository = propertySubmissionRepository;
            _descriptionEngine = descriptionEngine;
        }
Beispiel #2
0
 public SVMMainController(IDescriptionRepository idrepo)
 {
     DescriptRepo = idrepo;
 }
 public DescriptionService(IDescriptionRepository repository)
 {
     _descriptionRepository = repository;
 }
 public SVMController(IDescriptionRepository IDescriptRepo)
 {
     IDescriptionRepo = IDescriptRepo;
 }
 public HomeController(IDescriptionRepository idr)
 {
     DesciptionRepo = idr;
 }
Beispiel #6
0
        public DescriptionsUserControl()
        {
            string connectionString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;

            _repository = new DescriptionRepository(connectionString);
        }
Beispiel #7
0
 public ImageController(IDescriptionRepository IDescriptRepo)
 {
     this.IDescriptionRepo = IDescriptRepo;
 }