コード例 #1
0
 void RegisterUser()
 {
     RegistrationProcessor registrationProcess = new RegistrationProcessor();
     FileLogging fileLog = new FileLogging();
     DatabaseLogging dbLog = new DatabaseLogging();
     registrationProcess.Logging(dbLog);
 }
コード例 #2
0
        void RegisterUser()
        {
            RegistrationProcessor registrationProcess = new RegistrationProcessor();
            FileLogging           fileLog             = new FileLogging();
            DatabaseLogging       dbLog = new DatabaseLogging();

            registrationProcess.Logging(dbLog);
        }