public bool Delete() { if (_gmlDataset != null) { return(_gmlDataset.Delete()); } return(false); }
public bool DeleteExplorerObject(ExplorerObjectEventArgs e) { if (_dataset != null) { if (_dataset.Delete()) { if (ExplorerObjectDeleted != null) { ExplorerObjectDeleted(this); } return(true); } } return(false); }
public Task <bool> DeleteExplorerObject(ExplorerObjectEventArgs e) { if (_dataset != null) { if (_dataset.Delete()) { if (ExplorerObjectDeleted != null) { ExplorerObjectDeleted(this); } return(Task.FromResult(true)); } } return(Task.FromResult(false)); }