Example #1
0
        public SolutionGeneratorService(IGitService gitService, ITemplateRenderer templateRenderer,
                                        IProjectTypeConverterService projectTypeConverterService, IReferencesService referencesService)
        {
            Argument.IsNotNull(() => gitService);
            Argument.IsNotNull(() => templateRenderer);
            Argument.IsNotNull(() => projectTypeConverterService);
            Argument.IsNotNull(() => referencesService);

            _gitService                  = gitService;
            _templateRenderer            = templateRenderer;
            _projectTypeConverterService = projectTypeConverterService;
            _referencesService           = referencesService;
        }
        public SolutionGeneratorService(IGitService gitService, ITemplateRenderer templateRenderer,
            IProjectTypeConverterService projectTypeConverterService, IReferencesService referencesService)
        {
            Argument.IsNotNull(() => gitService);
            Argument.IsNotNull(() => templateRenderer);
            Argument.IsNotNull(() => projectTypeConverterService);
            Argument.IsNotNull(() => referencesService);

            _gitService = gitService;
            _templateRenderer = templateRenderer;
            _projectTypeConverterService = projectTypeConverterService;
            _referencesService = referencesService;
        }
Example #3
0
        public void TestGetById()
        {
            IReferencesService service = DALBuild.GetObj <IReferencesService>("BLL", "ReferencesService");

            Console.WriteLine(service.GetById(2).SchoolName);
        }
Example #4
0
 public ReferencesController(ISysReferencesService _sysRefService,
                             IReferencesService _refService, IUserProfileService userSrv) : base(userSrv)
 {
     this.sysRefService = _sysRefService;
     this.refService    = _refService;
 }