Example #1
0
        public Task <IOperationResult <IPublishSchema> > PublishSchemaAsync(
            PublishSchemaOperation operation,
            CancellationToken cancellationToken = default)
        {
            if (operation is null)
            {
                throw new ArgumentNullException(nameof(operation));
            }

            return(_executor.ExecuteAsync(operation, cancellationToken));
        }
Example #2
0
        public global::System.Threading.Tasks.Task <global::StrawberryShake.IOperationResult <global::StrawberryShake.Tools.SchemaRegistry.IPublishSchema> > PublishSchemaAsync(
            PublishSchemaOperation operation,
            global::System.Threading.CancellationToken cancellationToken = default)
        {
            if (operation is null)
            {
                throw new ArgumentNullException(nameof(operation));
            }

            return(_executor.ExecuteAsync(operation, cancellationToken));
        }