public CommandLineArgsParserActor(ILogger log, IEnvironmentAdapter environment)
            : base(log)
        {
            if (environment == null) throw new ArgumentNullException(nameof(environment));
            _environment = environment;

            Receive<GetRootDirectoryFromCommandLineArgs>(msg => OnGetRootDirectoryFromCommandLineArgs(msg));
        }
        public CommandLineArgsParserActor(ILogger log, IEnvironmentAdapter environment) : base(log)
        {
            if (environment == null)
            {
                throw new ArgumentNullException(nameof(environment));
            }
            _environment = environment;

            Receive <GetRootDirectoryFromCommandLineArgs>(msg => OnGetRootDirectoryFromCommandLineArgs(msg));
        }
Example #3
0
 public SgbDomain(IEnvironmentAdapter environmentAdapter, ICustomerModule customerModule, IAccountModule accountModule)
 {
     _environmentAdapter = environmentAdapter;
     _customerModule     = customerModule;
     _accountModule      = accountModule;
 }
Example #4
0
 public ToffeeAppDataDirectory(IEnvironmentAdapter environment, IFilesystem filesystem)
 {
     _environment = environment;
     _filesystem  = filesystem;
 }