Delete() public method

public Delete ( CmisPath cmisPath, bool recursive ) : IList
cmisPath CmisPath
recursive bool
return IList
 protected override void ProcessRecord()
 {
     var navigation = new CmisNavigation(CmisSession, WorkingFolder);
     if (Path != null)
     {
         foreach (var path in Path)
         {
             WriteFailErrors(navigation.Delete(path, Recursive.IsPresent));
         }
     }
     else
     {
         foreach (var obj in Object)
         {
             WriteFailErrors(navigation.Delete(obj, Recursive.IsPresent));
         }
     }
 }