public ControlService() { _logger = new ConsoleLogger (); _uniqueIdProvider = new IntUniqueIdProvider (); _dataDirectory = Properties.Settings.Default.DataDirectory; _nodes = new NodeCache (); _edges = new EdgeCache (); _resources = new ResourceCache (); EdgesFilename = Properties.Settings.Default.EdgesFilename; NodesFilename = Properties.Settings.Default.NodesFilename; ResourcesTableFilename = Properties.Settings.Default.ResourcesTableFilename; ResourcesFolder = Properties.Settings.Default.ResourcesFolder; ClientCodeFolder = Properties.Settings.Default.ClientCodeFolder; Load (); }
public ControlService() { _logger = new ConsoleLogger(); _uniqueIdProvider = new IntUniqueIdProvider(); _dataDirectory = Properties.Settings.Default.DataDirectory; _nodes = new NodeCache(); _edges = new EdgeCache(); _resources = new ResourceCache(); EdgesFilename = Properties.Settings.Default.EdgesFilename; NodesFilename = Properties.Settings.Default.NodesFilename; ResourcesTableFilename = Properties.Settings.Default.ResourcesTableFilename; ResourcesFolder = Properties.Settings.Default.ResourcesFolder; ClientCodeFolder = Properties.Settings.Default.ClientCodeFolder; Load(); }
public AnimalFactory(IUniqueIdProvider uniqueIdProvider, IOptions <AnimalOptions> animalOptions) { _uniqueIdProvider = uniqueIdProvider; _animalOptions = animalOptions; }
public UserProfileDAL(ICurrentTimeProvider currentTimeProvider, IUniqueIdProvider uniqueIdProvider, IMapper mapper) { _currentTimeProvider = currentTimeProvider; _uniqueIdProvider = uniqueIdProvider; _mapper = mapper; }
public UsersController(IUserRepository userRepository, IUniqueIdProvider idProvider) { _userRepository = userRepository; _idProvider = idProvider; }
public UsersControllerTests() { _userRepository = A.Fake <IUserRepository>(); _uniqueIdProvider = A.Fake <IUniqueIdProvider>(); }
public WorkspaceDAL(ICurrentTimeProvider currentTimeProvider, IUniqueIdProvider uniqueIdProvider, IMapper mapper) { _currentTimeProvider = currentTimeProvider; _uniqueIdProvider = uniqueIdProvider; _mapper = mapper; }