コード例 #1
0
        public CommandLineArgsParserActor(ILogger log, IEnvironmentAdapter environment)
            : base(log)
        {
            if (environment == null) throw new ArgumentNullException(nameof(environment));
            _environment = environment;

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

            Receive <GetRootDirectoryFromCommandLineArgs>(msg => OnGetRootDirectoryFromCommandLineArgs(msg));
        }
コード例 #3
0
ファイル: SgbDomain.cs プロジェクト: 3r453r/DomainCore
 public SgbDomain(IEnvironmentAdapter environmentAdapter, ICustomerModule customerModule, IAccountModule accountModule)
 {
     _environmentAdapter = environmentAdapter;
     _customerModule     = customerModule;
     _accountModule      = accountModule;
 }
コード例 #4
0
 public ToffeeAppDataDirectory(IEnvironmentAdapter environment, IFilesystem filesystem)
 {
     _environment = environment;
     _filesystem  = filesystem;
 }