public XmlLuaProjectProperties(DebugStartAction startAction,
                                string externalProgram,
                                string cmdLineArgs,
                                int remotePort,
                                string startupFileName,
                                string workingDir,
                                bool useRemoteMachine,
                                string remoteMachineName,
                                string buildOutputDir,
                                string preBuildEventCmdLine,
                                string postBuildEventCmdLine,
                                PostBuildRunType runPostBuildEvent)
 {
     StartAction           = startAction;
     ExternalProgram       = externalProgram;
     CmdLineArgs           = cmdLineArgs;
     RemotePort            = remotePort;
     StartupFileName       = startupFileName;
     WorkingDir            = workingDir;
     UseRemoteMachine      = useRemoteMachine;
     RemoteMachineName     = remoteMachineName;
     BuildOutputDir        = buildOutputDir;
     PreBuildEventCmdLine  = preBuildEventCmdLine;
     PostBuildEventCmdLine = postBuildEventCmdLine;
     RunPostBuildEvent     = runPostBuildEvent;
 }
 public DebugInfo(IPAddress serverIP, int serverPort, DebugStartAction startAction)
 {
     _serverIP    = serverIP;
     _serverPort  = serverPort;
     _startAction = startAction;
     _isLocal     = serverIP.ToString() == "127.0.0.1";
 }
 public DebugInfo(IPAddress serverIP, int serverPort, string remotePath, List <ILuaEditDocument> scripts,
                  ILuaEditDocument startupDoc, DebugStartAction startAction) :
     this(serverIP, serverPort, startAction)
 {
     _remotePath = remotePath;
     _scripts    = scripts;
     _startupDoc = startupDoc;
 }
        /// <summary>
        /// Deserializes the serialized data
        /// </summary>
        public void DeserializeData(byte[] data, ref int offset)
        {
            int startActionTemp = 0;

            RPCCommand.DeserializeInteger(data, ref offset, ref startActionTemp);
            _startAction = (DebugStartAction)startActionTemp;
            RPCCommand.DeserializeString(data, ref offset, ref _remotePath);
        }
 public DebugInfo(int processID, IPAddress serverIP, int serverPort, string remotePath,
                  List <ILuaEditDocument> scripts, ILuaEditDocument startupDoc, DebugStartAction startAction)
     : this(serverIP, serverPort, remotePath, scripts, startupDoc, startAction)
 {
     _processID = processID;
 }