public bool CreateItem(RemoteDriveItem item) { if (this.LoggedIn()) { return(item.Localize(this.PathResolver).EnsureParents(this.PathResolver).CreateOrUpdate()); } return(false); }
public bool DeleteItem(RemoteDriveItem item) { if (this.LoggedIn()) { return(item.Localize(this.PathResolver).Delete()); } return(false); }
public bool MoveItem(RemoteDriveItem item, string newPath) { if (this.LoggedIn()) { item.Localize(this.PathResolver).MoveTo(this.PathResolver.Resolve(newPath)); return(true); } return(false); }