public Responder(string newType, string name) { requestResponder = requestResponderFactory.GetResponder(newType); responderData = responderDataFactory.GetResponderData(newType); requestResponder.responderData = responderData; responderData.ResponderName = name; }
public void SwitchType(string newType) { RequestData requestData = requestResponder.requestData; requestResponder = requestResponderFactory.GetResponder(newType); responderData = responderDataFactory.GetResponderData(newType); requestResponder.responderData = responderData; requestResponder.requestData = requestData; }
public DirectoryResponderData(ResponderData responderData) : base(responderData) { ResponderInputType = 4; }