예제 #1
0
        public Task <MigrationDeprecationsResponse> DeprecationsAsync(Action <MigrationDeprecationsRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new MigrationDeprecationsRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <MigrationDeprecationsRequestDescriptor, MigrationDeprecationsResponse>(descriptor));
        }
예제 #2
0
        public MigrationDeprecationsResponse Deprecations(Action <MigrationDeprecationsRequestDescriptor> configureRequest = null)
        {
            var descriptor = new MigrationDeprecationsRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <MigrationDeprecationsRequestDescriptor, MigrationDeprecationsResponse>(descriptor));
        }