Skip to content

Commit

Permalink
Add API Snapshots for .NET 9.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcweber committed Nov 22, 2024
1 parent d2a787e commit 33bc9d3
Show file tree
Hide file tree
Showing 12 changed files with 2,499 additions and 0 deletions.
2,231 changes: 2,231 additions & 0 deletions test/PublicApi.Tests/PublicApiTests.Core.DotNet9_0.verified.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
namespace ExRam.Gremlinq.Core.AspNet
{
public static class GremlinqServicesBuilderExtensions
{
public static ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder ConfigureBase(this ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder builder) { }
public static ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder<TConfigurator> UseProvider<TConfigurator>(this ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder setup, System.Func<ExRam.Gremlinq.Core.IGremlinQuerySource, System.Func<System.Func<TConfigurator, ExRam.Gremlinq.Core.IGremlinQuerySourceTransformation>, ExRam.Gremlinq.Core.IGremlinQuerySource>> providerChoice)
where TConfigurator : ExRam.Gremlinq.Core.IGremlinqConfigurator<TConfigurator> { }
}
public interface IGremlinqConfigurationSection : Microsoft.Extensions.Configuration.IConfiguration, Microsoft.Extensions.Configuration.IConfigurationSection { }
public interface IGremlinqServicesBuilder
{
Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; }
ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder ConfigureQuerySource(System.Func<ExRam.Gremlinq.Core.IGremlinQuerySource, Microsoft.Extensions.Configuration.IConfigurationSection, ExRam.Gremlinq.Core.IGremlinQuerySource> sourceTranformation);
ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder ConfigureQuerySource<TTransformation>()
where TTransformation : class, ExRam.Gremlinq.Core.IGremlinQuerySourceTransformation;
ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder FromBaseSection(string sectionName);
}
public interface IGremlinqServicesBuilder<TConfigurator> : ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder
where TConfigurator : ExRam.Gremlinq.Core.IGremlinqConfigurator<TConfigurator>
{
ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder<TConfigurator> Configure(System.Func<TConfigurator, Microsoft.Extensions.Configuration.IConfigurationSection, TConfigurator> extraConfiguration);
ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder<TConfigurator> Configure<TConfiguratorTransformation>()
where TConfiguratorTransformation : class, ExRam.Gremlinq.Core.IGremlinqConfiguratorTransformation<TConfigurator>;
}
public static class ServiceCollectionExtensions
{
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGremlinq(this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, System.Action<ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder> configuration) { }
}
}
42 changes: 42 additions & 0 deletions test/PublicApi.Tests/PublicApiTests.CosmosDb.DotNet9_0.verified.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
namespace ExRam.Gremlinq.Providers.CosmosDb
{
public static class ConfigurableGremlinQuerySourceExtensions
{
public static ExRam.Gremlinq.Core.IGremlinQuerySource UseCosmosDb<TVertexBase, TEdgeBase>(this ExRam.Gremlinq.Core.IGremlinQuerySource source, System.Func<ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase>, ExRam.Gremlinq.Core.IGremlinQuerySourceTransformation> configuratorTransformation) { }
}
public static class CosmosDbConfiguratorExtensions
{
public static ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase> At<TVertexBase>(this ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase> configurator, string uri, string databaseName, string graphName) { }
public static ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase> At<TVertexBase>(this ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase> configurator, System.Uri uri, string databaseName, string graphName) { }
public static ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase> AtLocalhost<TVertexBase>(this ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase> configurator, string databaseName, string graphName) { }
}
public readonly struct CosmosDbKey : System.IEquatable<ExRam.Gremlinq.Providers.CosmosDb.CosmosDbKey>
{
public CosmosDbKey(string id) { }
public CosmosDbKey(string partitionKey, string id) { }
public string Id { get; }
public string? PartitionKey { get; }
public bool Equals(ExRam.Gremlinq.Providers.CosmosDb.CosmosDbKey other) { }
public override bool Equals(object? obj) { }
public override int GetHashCode() { }
public static bool operator !=(ExRam.Gremlinq.Providers.CosmosDb.CosmosDbKey left, ExRam.Gremlinq.Providers.CosmosDb.CosmosDbKey right) { }
public static bool operator ==(ExRam.Gremlinq.Providers.CosmosDb.CosmosDbKey left, ExRam.Gremlinq.Providers.CosmosDb.CosmosDbKey right) { }
}
public interface ICosmosDbConfigurator<TVertexBase> : ExRam.Gremlinq.Core.IGremlinQuerySourceTransformation, ExRam.Gremlinq.Core.IGremlinqConfigurator<ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase>>, ExRam.Gremlinq.Providers.Core.IProviderConfigurator<ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase>, ExRam.Gremlinq.Providers.Core.IPoolGremlinqClientFactory<ExRam.Gremlinq.Providers.Core.IWebSocketGremlinqClientFactory>>
{
ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase> AuthenticateBy(string authKey);
ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase> OnDatabase(string databaseName);
ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase> OnGraph(string graphName);
ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase> WithPartitionKey(System.Linq.Expressions.Expression<System.Func<TVertexBase, object>> partitionKeyExpression);
}
public readonly struct SystemProperty
{
public static readonly ExRam.Gremlinq.Providers.CosmosDb.SystemProperty _etag;
public static readonly ExRam.Gremlinq.Providers.CosmosDb.SystemProperty _rid;
public static readonly ExRam.Gremlinq.Providers.CosmosDb.SystemProperty _self;
public static readonly ExRam.Gremlinq.Providers.CosmosDb.SystemProperty _ts;
public static readonly ExRam.Gremlinq.Providers.CosmosDb.SystemProperty inVPartition;
public static readonly ExRam.Gremlinq.Providers.CosmosDb.SystemProperty outVPartition;
public string Name { get; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace ExRam.Gremlinq.Providers.CosmosDb.AspNet
{
public static class GremlinqServicesBuilderExtensions
{
public static ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder<ExRam.Gremlinq.Providers.CosmosDb.ICosmosDbConfigurator<TVertexBase>> UseCosmosDb<TVertexBase, TEdgeBase>(this ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder setup) { }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace ExRam.Gremlinq.Providers.GremlinServer
{
public static class ConfigurableGremlinQuerySourceExtensions
{
public static ExRam.Gremlinq.Core.IGremlinQuerySource UseGremlinServer<TVertexBase, TEdgeBase>(this ExRam.Gremlinq.Core.IGremlinQuerySource source, System.Func<ExRam.Gremlinq.Providers.GremlinServer.IGremlinServerConfigurator, ExRam.Gremlinq.Core.IGremlinQuerySourceTransformation> configuratorTransformation) { }
}
public interface IGremlinServerConfigurator : ExRam.Gremlinq.Core.IGremlinQuerySourceTransformation, ExRam.Gremlinq.Core.IGremlinqConfigurator<ExRam.Gremlinq.Providers.GremlinServer.IGremlinServerConfigurator>, ExRam.Gremlinq.Providers.Core.IProviderConfigurator<ExRam.Gremlinq.Providers.GremlinServer.IGremlinServerConfigurator, ExRam.Gremlinq.Providers.Core.IPoolGremlinqClientFactory<ExRam.Gremlinq.Providers.Core.IWebSocketGremlinqClientFactory>> { }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace ExRam.Gremlinq.Providers.GremlinServer.AspNet
{
public static class GremlinqServicesBuilderExtensions
{
public static ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder<ExRam.Gremlinq.Providers.GremlinServer.IGremlinServerConfigurator> UseGremlinServer<TVertex, TEdge>(this ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder setup) { }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace ExRam.Gremlinq.Providers.JanusGraph
{
public static class ConfigurableGremlinQuerySourceExtensions
{
public static ExRam.Gremlinq.Core.IGremlinQuerySource UseJanusGraph<TVertexBase, TEdgeBase>(this ExRam.Gremlinq.Core.IGremlinQuerySource source, System.Func<ExRam.Gremlinq.Providers.JanusGraph.IJanusGraphConfigurator, ExRam.Gremlinq.Core.IGremlinQuerySourceTransformation> configuratorTransformation) { }
}
public interface IJanusGraphConfigurator : ExRam.Gremlinq.Core.IGremlinQuerySourceTransformation, ExRam.Gremlinq.Core.IGremlinqConfigurator<ExRam.Gremlinq.Providers.JanusGraph.IJanusGraphConfigurator>, ExRam.Gremlinq.Providers.Core.IProviderConfigurator<ExRam.Gremlinq.Providers.JanusGraph.IJanusGraphConfigurator, ExRam.Gremlinq.Providers.Core.IPoolGremlinqClientFactory<ExRam.Gremlinq.Providers.Core.IWebSocketGremlinqClientFactory>> { }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace ExRam.Gremlinq.Providers.JanusGraph.AspNet
{
public static class GremlinqServicesBuilderExtensions
{
public static ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder<ExRam.Gremlinq.Providers.JanusGraph.IJanusGraphConfigurator> UseJanusGraph<TVertexBase, TEdgeBase>(this ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder setup) { }
}
}
54 changes: 54 additions & 0 deletions test/PublicApi.Tests/PublicApiTests.Neptune.DotNet9_0.verified.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
namespace ExRam.Gremlinq.Providers.Neptune
{
public static class ConfigurableGremlinQuerySourceExtensions
{
public static ExRam.Gremlinq.Core.IGremlinQuerySource UseNeptune<TVertexBase, TEdgeBase>(this ExRam.Gremlinq.Core.IGremlinQuerySource source, System.Func<ExRam.Gremlinq.Providers.Neptune.INeptuneConfigurator, ExRam.Gremlinq.Core.IGremlinQuerySourceTransformation> configuratorTransformation) { }
}
public interface INeptuneConfigurator : ExRam.Gremlinq.Core.IGremlinQuerySourceTransformation, ExRam.Gremlinq.Core.IGremlinqConfigurator<ExRam.Gremlinq.Providers.Neptune.INeptuneConfigurator>, ExRam.Gremlinq.Providers.Core.IProviderConfigurator<ExRam.Gremlinq.Providers.Neptune.INeptuneConfigurator, ExRam.Gremlinq.Providers.Core.IPoolGremlinqClientFactory<ExRam.Gremlinq.Providers.Core.IWebSocketGremlinqClientFactory>> { }
public static class NeptuneConfiguratorExtensions
{
public static ExRam.Gremlinq.Providers.Neptune.INeptuneConfigurator UseElasticSearch(this ExRam.Gremlinq.Providers.Neptune.INeptuneConfigurator configurator, System.Uri elasticSearchEndPoint, ExRam.Gremlinq.Providers.Neptune.NeptuneElasticSearchIndexConfiguration indexConfiguration = 0) { }
}
public enum NeptuneElasticSearchIndexConfiguration
{
Standard = 0,
LowercaseKeyword = 1,
}
public readonly struct NeptuneErrorCode : System.IEquatable<ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode>
{
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode AccessDeniedException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode BadRequestException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode CancelledByUserException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode ConcurrentModificationException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode ConstraintViolationException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode FailureByQueryException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode InternalFailureException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode InvalidNumericDataException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode InvalidParameterException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode MalformedQueryException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode MemoryLimitExceededException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode MethodNotAllowedException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode MissingParameterException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode QueryLimitExceededException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode QueryLimitException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode QueryTooLargeException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode ReadOnlyViolationException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode ThrottlingException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode TimeLimitExceededException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode TooManyRequestsException;
public static readonly ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode UnsupportedOperationException;
public string Code { get; }
public bool Equals(ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode other) { }
public override bool Equals(object? obj) { }
public override int GetHashCode() { }
public static ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode From(string code) { }
public static bool operator !=(ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode left, ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode right) { }
public static bool operator ==(ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode left, ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode right) { }
}
public sealed class NeptuneGremlinQueryExecutionException : ExRam.Gremlinq.Core.Execution.GremlinQueryExecutionException
{
public NeptuneGremlinQueryExecutionException(ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode code, ExRam.Gremlinq.Core.Execution.GremlinQueryExecutionContext executionContext, System.Exception innerException) { }
public NeptuneGremlinQueryExecutionException(ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode code, ExRam.Gremlinq.Core.Execution.GremlinQueryExecutionContext executionContext, string message, System.Exception innerException) { }
public ExRam.Gremlinq.Providers.Neptune.NeptuneErrorCode Code { get; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace ExRam.Gremlinq.Providers.Neptune.AspNet
{
public static class GremlinqServicesBuilderExtensions
{
public static ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder<ExRam.Gremlinq.Providers.Neptune.INeptuneConfigurator> UseNeptune<TVertexBase, TEdgeBase>(this ExRam.Gremlinq.Core.AspNet.IGremlinqServicesBuilder setup) { }
}
}
Loading

0 comments on commit 33bc9d3

Please sign in to comment.