コード例 #1
0
        public Task <SnapshotStatusResponse> StatusAsync(Action <SnapshotStatusRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new SnapshotStatusRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <SnapshotStatusRequestDescriptor, SnapshotStatusResponse>(descriptor));
        }
コード例 #2
0
        public SnapshotStatusResponse Status(Action <SnapshotStatusRequestDescriptor> configureRequest = null)
        {
            var descriptor = new SnapshotStatusRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <SnapshotStatusRequestDescriptor, SnapshotStatusResponse>(descriptor));
        }