public bool DeleteExplorerObject(ExplorerObjectEventArgs e) { ConfigConnections stream = new ConfigConnections("OGR", "ca7011b3-0812-47b6-a999-98a900c4087d"); stream.Remove(_name); if (ExplorerObjectDeleted != null) { ExplorerObjectDeleted(this); } return(true); }
public bool DeleteExplorerObject(ExplorerObjectEventArgs e) { ConfigConnections stream = new ConfigConnections("TileCache", "b9d6ae5b-9ca1-4a52-890f-caa4009784d4"); stream.Remove(_name); if (ExplorerObjectDeleted != null) { ExplorerObjectDeleted(this); } return(true); }
public bool DeleteExplorerObject(ExplorerObjectEventArgs e) { ConfigConnections configStream = new ConfigConnections("directories"); configStream.Remove(this.Name); if (ExplorerObjectDeleted != null) { ExplorerObjectDeleted(this); } return(true); }
public Task <bool> DeleteExplorerObject(ExplorerObjectEventArgs e) { ConfigConnections stream = new ConfigConnections("eventtable", "546B0513-D71D-4490-9E27-94CD5D72C64A"); bool ret = stream.Remove(_name); if (ret) { if (ExplorerObjectDeleted != null) { ExplorerObjectDeleted(this); } } return(Task.FromResult(ret)); }
public bool DeleteExplorerObject(ExplorerObjectEventArgs e) { bool ret = false; if (_connectionString != null) { ConfigConnections stream = new ConfigConnections("oracle", "546B0513-D71D-4490-9E27-94CD5D72C64A"); ret = stream.Remove(_server); } if (ret && ExplorerObjectDeleted != null) { ExplorerObjectDeleted(this); } return(ret); }
public Task <bool> DeleteExplorerObject(ExplorerObjectEventArgs e) { //ConfigTextStream stream = new ConfigTextStream("postgis_connections", true, true); //stream.Remove(this.Name, _connectionString); //stream.Close(); //if (ExplorerObjectDeleted != null) ExplorerObjectDeleted(this); //return true; bool ret = false; if (_connectionString != null) { ConfigConnections stream = new ConfigConnections("postgis", "546B0513-D71D-4490-9E27-94CD5D72C64A"); ret = stream.Remove(_server); } if (ret && ExplorerObjectDeleted != null) { ExplorerObjectDeleted(this); } return(Task.FromResult(ret)); }
public Task <bool> DeleteExplorerObject(ExplorerObjectEventArgs e) { //ConfigTextStream stream = new ConfigTextStream("postgis_connections", true, true); //stream.Remove(this.Name, _connectionString); //stream.Close(); //if (ExplorerObjectDeleted != null) ExplorerObjectDeleted(this); //return true; bool ret = false; if (_connectionString != null) { ConfigConnections stream = new ConfigConnections(GeoJsonServiceGroupObject.ConfigName, GeoJsonServiceGroupObject.EncKey); ret = stream.Remove(_name); } if (ret && ExplorerObjectDeleted != null) { ExplorerObjectDeleted(this); } return(Task.FromResult(ret)); }