Ejemplo n.º 1
0
        public bool Delete()
        {
            if (_gmlDataset != null)
            {
                return(_gmlDataset.Delete());
            }

            return(false);
        }
Ejemplo n.º 2
0
 public bool DeleteExplorerObject(ExplorerObjectEventArgs e)
 {
     if (_dataset != null)
     {
         if (_dataset.Delete())
         {
             if (ExplorerObjectDeleted != null)
             {
                 ExplorerObjectDeleted(this);
             }
             return(true);
         }
     }
     return(false);
 }
Ejemplo n.º 3
0
 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));
 }