示例#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);
        }