Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
        public MigrationDeprecationsResponse Deprecations(Action <MigrationDeprecationsRequestDescriptor> configureRequest = null)
        {
            var descriptor = new MigrationDeprecationsRequestDescriptor();

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