Ejemplo n.º 1
0
        private ResponseResultOrError CallRename(RequestType requestType, object parameters)
        {
            ResponseResultOrError resultOrError = null;

            try
            {
                WorkspaceEdit result = OnRename((RenameParams)parameters);
                resultOrError = new ResponseResultOrError()
                {
                    result = result
                };
            }
            catch (Exception e)
            {
                resultOrError = new ResponseResultOrError()
                {
                    code = ErrorCodes.InternalError, message = e.Message
                };
            }
            return(resultOrError);
        }
Ejemplo n.º 2
0
 public WorkspaceChange()
 {
     this.workspaceEdit = new WorkspaceEdit();
     this.textEditChanges = new Dictionary<string, TextEditChange>();
 }
Ejemplo n.º 3
0
        private IDictionary <string, TextEditChange> textEditChanges; // [uri: string]: TextEditChange

        public WorkspaceChange()
        {
            this.workspaceEdit   = new WorkspaceEdit();
            this.textEditChanges = new Dictionary <string, TextEditChange>();
        }