예제 #1
0
        Task IPremiseObject.DeleteAsync()
        {
            var future = new DeleteObjectFuture(_objectId, string.Empty);

            _client.Send(future, out Task task);
            return(task);
        }
예제 #2
0
        Task IPremiseObject.DeleteChildObjectAsync(string subObjectId)
        {
            if (!IsValidObjectId(subObjectId))
            {
                throw new ArgumentException("Invalid parameter", nameof(subObjectId));
            }

            var future = new DeleteObjectFuture(_objectId, subObjectId);

            _client.Send(future, out Task task);
            return(task);
        }