private void CallBackExecuteRedirectNewView() { lock (responseMethodDTO) { responseMethodDTO = (ResponseMethodDTO)FactoryDTO.Instance.Create(CreateDTO.ResponseMethod); object ret = methodToExecute.Invoke(componentModel, parameters); responseMethodDTO.MethodResult = ret; responseMethodDTO.SetExecutionSuccess(true); if (componentModel.VirtualMethod != null) { componentModel.VirtualMethod(responseMethodDTO); componentModel.VirtualMethod = null; } object obj = viewType.GetConstructor(null).Invoke(null); methodToResponse.Invoke(obj, new object[] { responseMethodDTO }); } }