コード例 #1
0
 public ConsoleMessage(string clientMessage, string consoleMessage, bool isNumberOfComponents, bool isComponent, IConsoleDataValidator messageValidator)
 {
     m_clientMessage        = clientMessage;
     m_consoleMessage       = consoleMessage;
     m_messageValidator     = messageValidator;
     m_isNumberOfComponents = isNumberOfComponents;
     m_isComponent          = isComponent;
 }
コード例 #2
0
 public ConsoleMessage(string clientMessage, string consoleMessage, IConsoleDataValidator messageValidator)
 {
     m_clientMessage        = clientMessage;
     m_consoleMessage       = consoleMessage;
     m_messageValidator     = messageValidator;
     m_isNumberOfComponents = false;
     m_isComponent          = false;
 }
コード例 #3
0
 public ExtendedValidator Add(IConsoleDataValidator nextValidator)
 {
     m_nextVal = new ExtendedValidator(nextValidator);
     return(m_nextVal);
 }
コード例 #4
0
 public ExtendedValidator AddLast(IConsoleDataValidator nextValidator)
 {
     m_nextVal = new ExtendedValidator(nextValidator);
     return(this);
 }
コード例 #5
0
 public ExtendedValidator(IConsoleDataValidator validator)
 {
     m_currentVal = validator;
 }