Пример #1
0
        public UserRoleAnalyzer(IProjectRepository repository, UserRoleAnalyzerSettings settings)
        {
            Require.NotNull(repository, nameof(repository));
            Require.NotNull(settings, nameof(settings));

            _repository = repository;
            _settings   = settings;
        }
        public UserRoleAnalyzer(IProjectRepository repository, UserRoleAnalyzerSettings settings)
        {
            Require.NotNull(repository, nameof(repository));
            Require.NotNull(settings, nameof(settings));

            _repository = repository;
            _settings = settings;
        }
 public void Initialize()
 {
     _projectRepositoryStub = new Mock<IProjectRepository>();
     _userRoleAnalyzerSettings = new UserRoleAnalyzerSettings(4, "Developer");
 }