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); }
public WorkspaceChange() { this.workspaceEdit = new WorkspaceEdit(); this.textEditChanges = new Dictionary<string, TextEditChange>(); }
private IDictionary <string, TextEditChange> textEditChanges; // [uri: string]: TextEditChange public WorkspaceChange() { this.workspaceEdit = new WorkspaceEdit(); this.textEditChanges = new Dictionary <string, TextEditChange>(); }