From 28dd60306bef0e6200066b0d3951d4fc8be5b1f8 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Mon, 24 May 2021 14:50:30 -0700 Subject: [PATCH] Move GeoJSON to Azure.Core.GeoJson (#21296) --- .../tests/JsonDataDynamicMutableTests.cs | 2 +- sdk/core/Azure.Core/api/Azure.Core.net461.cs | 316 +++++++++--------- sdk/core/Azure.Core/api/Azure.Core.net5.0.cs | 316 +++++++++--------- .../api/Azure.Core.netcoreapp2.1.cs | 316 +++++++++--------- .../api/Azure.Core.netstandard2.0.cs | 316 +++++++++--------- sdk/core/Azure.Core/src/GeoJson/GeoArray.cs | 2 +- .../Azure.Core/src/GeoJson/GeoBoundingBox.cs | 3 +- .../Azure.Core/src/GeoJson/GeoCollection.cs | 3 +- .../src/GeoJson/GeoJsonConverter.cs | 2 +- .../Azure.Core/src/GeoJson/GeoLineString.cs | 2 +- .../src/GeoJson/GeoLineStringCollection.cs | 3 +- .../Azure.Core/src/GeoJson/GeoLinearRing.cs | 3 +- sdk/core/Azure.Core/src/GeoJson/GeoObject.cs | 3 +- .../Azure.Core/src/GeoJson/GeoObjectType.cs | 2 +- sdk/core/Azure.Core/src/GeoJson/GeoPoint.cs | 2 +- .../src/GeoJson/GeoPointCollection.cs | 3 +- sdk/core/Azure.Core/src/GeoJson/GeoPolygon.cs | 3 +- .../src/GeoJson/GeoPolygonCollection.cs | 3 +- .../Azure.Core/src/GeoJson/GeoPosition.cs | 3 +- sdk/core/Azure.Core/tests/GeoArrayTests.cs | 2 +- .../tests/GeoJsonSerializationTests.cs | 2 +- sdk/core/Azure.Core/tests/GeoJsonTests.cs | 2 +- .../tests/samples/GeoJsonSamples.cs | 2 +- .../Azure.Search.Documents.netstandard2.0.cs | 4 +- .../src/Indexes/FieldBuilder.cs | 2 +- .../src/SearchDocument/SearchDocument.cs | 2 +- .../src/SearchFilter.cs | 2 +- .../src/Serialization/JsonSerialization.cs | 2 +- .../src/Spatial/SpatialFormatter.cs | 2 +- .../tests/DocumentOperations/IndexingTests.cs | 2 +- .../tests/DocumentOperations/SearchTests.cs | 2 +- .../tests/Models/ReflectableModel.cs | 2 +- .../tests/Models/ReflectableStructModel.cs | 2 +- .../Serialization/SearchDocumentTests.cs | 2 +- .../tests/Serialization/SearchFilterTests.cs | 2 +- .../tests/Utilities/SearchResources.Data.cs | 2 +- .../tests/Utilities/SearchTestBase.cs | 2 +- .../tests/Utilities/TestExtensions.cs | 2 +- 38 files changed, 667 insertions(+), 676 deletions(-) diff --git a/sdk/core/Azure.Core.Experimental/tests/JsonDataDynamicMutableTests.cs b/sdk/core/Azure.Core.Experimental/tests/JsonDataDynamicMutableTests.cs index 8aa948f289c4..487193009bb8 100644 --- a/sdk/core/Azure.Core.Experimental/tests/JsonDataDynamicMutableTests.cs +++ b/sdk/core/Azure.Core.Experimental/tests/JsonDataDynamicMutableTests.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text.Json; -using Azure.GeoJson; +using Azure.Core.GeoJson; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/api/Azure.Core.net461.cs b/sdk/core/Azure.Core/api/Azure.Core.net461.cs index 412af64408ba..5051389e87fa 100644 --- a/sdk/core/Azure.Core/api/Azure.Core.net461.cs +++ b/sdk/core/Azure.Core/api/Azure.Core.net461.cs @@ -507,104 +507,7 @@ public partial interface IAzureClientFactoryBuilderWithCredential Azure.Core.Extensions.IAzureClientBuilder RegisterClientFactory(System.Func clientFactory, bool requiresCredential = true) where TOptions : class; } } -namespace Azure.Core.Pipeline -{ - public partial class BearerTokenAuthenticationPolicy : Azure.Core.Pipeline.HttpPipelinePolicy - { - public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, System.Collections.Generic.IEnumerable scopes) { } - public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, string scope) { } - protected void AuthenticateAndAuthorizeRequest(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { } - protected System.Threading.Tasks.ValueTask AuthenticateAndAuthorizeRequestAsync(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { throw null; } - protected virtual void AuthorizeRequest(Azure.Core.HttpMessage message) { } - protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestAsync(Azure.Core.HttpMessage message) { throw null; } - protected virtual bool AuthorizeRequestOnChallenge(Azure.Core.HttpMessage message) { throw null; } - protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestOnChallengeAsync(Azure.Core.HttpMessage message) { throw null; } - public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public partial class HttpClientTransport : Azure.Core.Pipeline.HttpPipelineTransport - { - public static readonly Azure.Core.Pipeline.HttpClientTransport Shared; - public HttpClientTransport() { } - public HttpClientTransport(System.Net.Http.HttpClient client) { } - public HttpClientTransport(System.Net.Http.HttpMessageHandler messageHandler) { } - public sealed override Azure.Core.Request CreateRequest() { throw null; } - public override void Process(Azure.Core.HttpMessage message) { } - public sealed override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message) { throw null; } - } - public partial class HttpPipeline - { - public HttpPipeline(Azure.Core.Pipeline.HttpPipelineTransport transport, Azure.Core.Pipeline.HttpPipelinePolicy[]? policies = null, Azure.Core.ResponseClassifier? responseClassifier = null) { } - public Azure.Core.ResponseClassifier ResponseClassifier { get { throw null; } } - public static System.IDisposable CreateClientRequestIdScope(string? clientRequestId) { throw null; } - public static System.IDisposable CreateHttpMessagePropertiesScope(System.Collections.Generic.IDictionary messageProperties) { throw null; } - public Azure.Core.HttpMessage CreateMessage() { throw null; } - public Azure.Core.Request CreateRequest() { throw null; } - public void Send(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { } - public System.Threading.Tasks.ValueTask SendAsync(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { throw null; } - public Azure.Response SendRequest(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.ValueTask SendRequestAsync(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } - } - public static partial class HttpPipelineBuilder - { - public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, params Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies) { throw null; } - public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.ResponseClassifier responseClassifier) { throw null; } - } - public abstract partial class HttpPipelinePolicy - { - protected HttpPipelinePolicy() { } - public abstract void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); - public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); - protected static void ProcessNext(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - protected static System.Threading.Tasks.ValueTask ProcessNextAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public abstract partial class HttpPipelineSynchronousPolicy : Azure.Core.Pipeline.HttpPipelinePolicy - { - protected HttpPipelineSynchronousPolicy() { } - public virtual void OnReceivedResponse(Azure.Core.HttpMessage message) { } - public virtual void OnSendingRequest(Azure.Core.HttpMessage message) { } - public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public abstract partial class HttpPipelineTransport - { - protected HttpPipelineTransport() { } - public abstract Azure.Core.Request CreateRequest(); - public abstract void Process(Azure.Core.HttpMessage message); - public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message); - } -} -namespace Azure.Core.Serialization -{ - public partial interface IMemberNameConverter - { - string? ConvertMemberName(System.Reflection.MemberInfo member); - } - public partial class JsonObjectSerializer : Azure.Core.Serialization.ObjectSerializer, Azure.Core.Serialization.IMemberNameConverter - { - public JsonObjectSerializer() { } - public JsonObjectSerializer(System.Text.Json.JsonSerializerOptions options) { } - public static Azure.Core.Serialization.JsonObjectSerializer Default { get { throw null; } } - string? Azure.Core.Serialization.IMemberNameConverter.ConvertMemberName(System.Reflection.MemberInfo member) { throw null; } - public override object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { } - public override System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public abstract partial class ObjectSerializer - { - protected ObjectSerializer() { } - public abstract object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); - public abstract System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); - public abstract void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); - public virtual System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public abstract System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); - public virtual System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } -} -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GeoArray : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable @@ -613,7 +516,7 @@ namespace Azure.GeoJson private readonly int _dummyPrimitive; public int Count { get { throw null; } } public T this[int index] { get { throw null; } } - public Azure.GeoJson.GeoArray.Enumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoArray.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -628,7 +531,7 @@ public void Dispose() { } public void Reset() { } } } - public sealed partial class GeoBoundingBox : System.IEquatable + public sealed partial class GeoBoundingBox : System.IEquatable { public GeoBoundingBox(double west, double south, double east, double north) { } public GeoBoundingBox(double west, double south, double east, double north, double? minAltitude, double? maxAltitude) { } @@ -639,57 +542,57 @@ public GeoBoundingBox(double west, double south, double east, double north, doub public double North { get { throw null; } } public double South { get { throw null; } } public double West { get { throw null; } } - public bool Equals(Azure.GeoJson.GeoBoundingBox? other) { throw null; } + public bool Equals(Azure.Core.GeoJson.GeoBoundingBox? other) { throw null; } public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public override string ToString() { throw null; } } - public sealed partial class GeoCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoCollection(System.Collections.Generic.IEnumerable geometries) { } - public GeoCollection(System.Collections.Generic.IEnumerable geometries, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoCollection(System.Collections.Generic.IEnumerable geometries) { } + public GeoCollection(System.Collections.Generic.IEnumerable geometries, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } public int Count { get { throw null; } } - public Azure.GeoJson.GeoObject this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoObject this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } - public sealed partial class GeoJsonConverter : System.Text.Json.Serialization.JsonConverter + public sealed partial class GeoJsonConverter : System.Text.Json.Serialization.JsonConverter { public GeoJsonConverter() { } public override bool CanConvert(System.Type typeToConvert) { throw null; } - public override Azure.GeoJson.GeoObject Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { throw null; } - public override void Write(System.Text.Json.Utf8JsonWriter writer, Azure.GeoJson.GeoObject value, System.Text.Json.JsonSerializerOptions options) { } + public override Azure.Core.GeoJson.GeoObject Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { throw null; } + public override void Write(System.Text.Json.Utf8JsonWriter writer, Azure.Core.GeoJson.GeoObject value, System.Text.Json.JsonSerializerOptions options) { } } public sealed partial class GeoLinearRing { - public GeoLinearRing(System.Collections.Generic.IEnumerable coordinates) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } + public GeoLinearRing(System.Collections.Generic.IEnumerable coordinates) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } } - public sealed partial class GeoLineString : Azure.GeoJson.GeoObject + public sealed partial class GeoLineString : Azure.Core.GeoJson.GeoObject { - public GeoLineString(System.Collections.Generic.IEnumerable coordinates) { } - public GeoLineString(System.Collections.Generic.IEnumerable coordinates, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public GeoLineString(System.Collections.Generic.IEnumerable coordinates) { } + public GeoLineString(System.Collections.Generic.IEnumerable coordinates, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoLineStringCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoLineStringCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines) { } - public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray> Coordinates { get { throw null; } } + public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines) { } + public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray> Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoLineString this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoLineString this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } public abstract partial class GeoObject { internal GeoObject() { } - public Azure.GeoJson.GeoBoundingBox? BoundingBox { get { throw null; } } - public abstract Azure.GeoJson.GeoObjectType Type { get; } - public static Azure.GeoJson.GeoObject Parse(string json) { throw null; } + public Azure.Core.GeoJson.GeoBoundingBox? BoundingBox { get { throw null; } } + public abstract Azure.Core.GeoJson.GeoObjectType Type { get; } + public static Azure.Core.GeoJson.GeoObject Parse(string json) { throw null; } public override string ToString() { throw null; } public bool TryGetCustomProperty(string name, out object? value) { throw null; } public void WriteTo(System.Text.Json.Utf8JsonWriter writer) { } @@ -704,49 +607,49 @@ public enum GeoObjectType MultiLineString = 5, GeometryCollection = 6, } - public sealed partial class GeoPoint : Azure.GeoJson.GeoObject + public sealed partial class GeoPoint : Azure.Core.GeoJson.GeoObject { - public GeoPoint(Azure.GeoJson.GeoPosition position) { } - public GeoPoint(Azure.GeoJson.GeoPosition position, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoPoint(Azure.Core.GeoJson.GeoPosition position) { } + public GeoPoint(Azure.Core.GeoJson.GeoPosition position, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } public GeoPoint(double longitude, double latitude) { } public GeoPoint(double longitude, double latitude, double? altitude) { } - public Azure.GeoJson.GeoPosition Coordinates { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public Azure.Core.GeoJson.GeoPosition Coordinates { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoPointCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoPointCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoPointCollection(System.Collections.Generic.IEnumerable points) { } - public GeoPointCollection(System.Collections.Generic.IEnumerable points, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } + public GeoPointCollection(System.Collections.Generic.IEnumerable points) { } + public GeoPointCollection(System.Collections.Generic.IEnumerable points, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoPoint this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoPoint this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } - public sealed partial class GeoPolygon : Azure.GeoJson.GeoObject + public sealed partial class GeoPolygon : Azure.Core.GeoJson.GeoObject { - public GeoPolygon(System.Collections.Generic.IEnumerable rings) { } - public GeoPolygon(System.Collections.Generic.IEnumerable rings, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public GeoPolygon(System.Collections.Generic.IEnumerable positions) { } - public Azure.GeoJson.GeoArray> Coordinates { get { throw null; } } - public Azure.GeoJson.GeoLinearRing OuterRing { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Rings { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public GeoPolygon(System.Collections.Generic.IEnumerable rings) { } + public GeoPolygon(System.Collections.Generic.IEnumerable rings, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoPolygon(System.Collections.Generic.IEnumerable positions) { } + public Azure.Core.GeoJson.GeoArray> Coordinates { get { throw null; } } + public Azure.Core.GeoJson.GeoLinearRing OuterRing { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Rings { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoPolygonCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoPolygonCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons) { } - public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray>> Coordinates { get { throw null; } } + public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons) { } + public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray>> Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoPolygon this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoPolygon this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct GeoPosition : System.IEquatable + public readonly partial struct GeoPosition : System.IEquatable { private readonly int _dummyPrimitive; public GeoPosition(double longitude, double latitude) { throw null; } @@ -756,14 +659,111 @@ public GeoPolygonCollection(System.Collections.Generic.IEnumerable scopes) { } + public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, string scope) { } + protected void AuthenticateAndAuthorizeRequest(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { } + protected System.Threading.Tasks.ValueTask AuthenticateAndAuthorizeRequestAsync(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { throw null; } + protected virtual void AuthorizeRequest(Azure.Core.HttpMessage message) { } + protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestAsync(Azure.Core.HttpMessage message) { throw null; } + protected virtual bool AuthorizeRequestOnChallenge(Azure.Core.HttpMessage message) { throw null; } + protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestOnChallengeAsync(Azure.Core.HttpMessage message) { throw null; } + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public partial class HttpClientTransport : Azure.Core.Pipeline.HttpPipelineTransport + { + public static readonly Azure.Core.Pipeline.HttpClientTransport Shared; + public HttpClientTransport() { } + public HttpClientTransport(System.Net.Http.HttpClient client) { } + public HttpClientTransport(System.Net.Http.HttpMessageHandler messageHandler) { } + public sealed override Azure.Core.Request CreateRequest() { throw null; } + public override void Process(Azure.Core.HttpMessage message) { } + public sealed override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message) { throw null; } + } + public partial class HttpPipeline + { + public HttpPipeline(Azure.Core.Pipeline.HttpPipelineTransport transport, Azure.Core.Pipeline.HttpPipelinePolicy[]? policies = null, Azure.Core.ResponseClassifier? responseClassifier = null) { } + public Azure.Core.ResponseClassifier ResponseClassifier { get { throw null; } } + public static System.IDisposable CreateClientRequestIdScope(string? clientRequestId) { throw null; } + public static System.IDisposable CreateHttpMessagePropertiesScope(System.Collections.Generic.IDictionary messageProperties) { throw null; } + public Azure.Core.HttpMessage CreateMessage() { throw null; } + public Azure.Core.Request CreateRequest() { throw null; } + public void Send(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { } + public System.Threading.Tasks.ValueTask SendAsync(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { throw null; } + public Azure.Response SendRequest(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.ValueTask SendRequestAsync(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } + } + public static partial class HttpPipelineBuilder + { + public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, params Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies) { throw null; } + public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.ResponseClassifier responseClassifier) { throw null; } + } + public abstract partial class HttpPipelinePolicy + { + protected HttpPipelinePolicy() { } + public abstract void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); + public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); + protected static void ProcessNext(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + protected static System.Threading.Tasks.ValueTask ProcessNextAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public abstract partial class HttpPipelineSynchronousPolicy : Azure.Core.Pipeline.HttpPipelinePolicy + { + protected HttpPipelineSynchronousPolicy() { } + public virtual void OnReceivedResponse(Azure.Core.HttpMessage message) { } + public virtual void OnSendingRequest(Azure.Core.HttpMessage message) { } + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public abstract partial class HttpPipelineTransport + { + protected HttpPipelineTransport() { } + public abstract Azure.Core.Request CreateRequest(); + public abstract void Process(Azure.Core.HttpMessage message); + public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message); + } +} +namespace Azure.Core.Serialization +{ + public partial interface IMemberNameConverter + { + string? ConvertMemberName(System.Reflection.MemberInfo member); + } + public partial class JsonObjectSerializer : Azure.Core.Serialization.ObjectSerializer, Azure.Core.Serialization.IMemberNameConverter + { + public JsonObjectSerializer() { } + public JsonObjectSerializer(System.Text.Json.JsonSerializerOptions options) { } + public static Azure.Core.Serialization.JsonObjectSerializer Default { get { throw null; } } + string? Azure.Core.Serialization.IMemberNameConverter.ConvertMemberName(System.Reflection.MemberInfo member) { throw null; } + public override object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { } + public override System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public abstract partial class ObjectSerializer + { + protected ObjectSerializer() { } + public abstract object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); + public abstract void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); + public virtual System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public abstract System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); + public virtual System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } +} namespace Azure.Messaging { public partial class CloudEvent diff --git a/sdk/core/Azure.Core/api/Azure.Core.net5.0.cs b/sdk/core/Azure.Core/api/Azure.Core.net5.0.cs index 7e430e9a4c32..ce6552027c5d 100644 --- a/sdk/core/Azure.Core/api/Azure.Core.net5.0.cs +++ b/sdk/core/Azure.Core/api/Azure.Core.net5.0.cs @@ -507,104 +507,7 @@ public partial interface IAzureClientFactoryBuilderWithCredential Azure.Core.Extensions.IAzureClientBuilder RegisterClientFactory(System.Func clientFactory, bool requiresCredential = true) where TOptions : class; } } -namespace Azure.Core.Pipeline -{ - public partial class BearerTokenAuthenticationPolicy : Azure.Core.Pipeline.HttpPipelinePolicy - { - public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, System.Collections.Generic.IEnumerable scopes) { } - public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, string scope) { } - protected void AuthenticateAndAuthorizeRequest(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { } - protected System.Threading.Tasks.ValueTask AuthenticateAndAuthorizeRequestAsync(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { throw null; } - protected virtual void AuthorizeRequest(Azure.Core.HttpMessage message) { } - protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestAsync(Azure.Core.HttpMessage message) { throw null; } - protected virtual bool AuthorizeRequestOnChallenge(Azure.Core.HttpMessage message) { throw null; } - protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestOnChallengeAsync(Azure.Core.HttpMessage message) { throw null; } - public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public partial class HttpClientTransport : Azure.Core.Pipeline.HttpPipelineTransport - { - public static readonly Azure.Core.Pipeline.HttpClientTransport Shared; - public HttpClientTransport() { } - public HttpClientTransport(System.Net.Http.HttpClient client) { } - public HttpClientTransport(System.Net.Http.HttpMessageHandler messageHandler) { } - public sealed override Azure.Core.Request CreateRequest() { throw null; } - public override void Process(Azure.Core.HttpMessage message) { } - public sealed override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message) { throw null; } - } - public partial class HttpPipeline - { - public HttpPipeline(Azure.Core.Pipeline.HttpPipelineTransport transport, Azure.Core.Pipeline.HttpPipelinePolicy[]? policies = null, Azure.Core.ResponseClassifier? responseClassifier = null) { } - public Azure.Core.ResponseClassifier ResponseClassifier { get { throw null; } } - public static System.IDisposable CreateClientRequestIdScope(string? clientRequestId) { throw null; } - public static System.IDisposable CreateHttpMessagePropertiesScope(System.Collections.Generic.IDictionary messageProperties) { throw null; } - public Azure.Core.HttpMessage CreateMessage() { throw null; } - public Azure.Core.Request CreateRequest() { throw null; } - public void Send(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { } - public System.Threading.Tasks.ValueTask SendAsync(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { throw null; } - public Azure.Response SendRequest(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.ValueTask SendRequestAsync(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } - } - public static partial class HttpPipelineBuilder - { - public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, params Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies) { throw null; } - public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.ResponseClassifier responseClassifier) { throw null; } - } - public abstract partial class HttpPipelinePolicy - { - protected HttpPipelinePolicy() { } - public abstract void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); - public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); - protected static void ProcessNext(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - protected static System.Threading.Tasks.ValueTask ProcessNextAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public abstract partial class HttpPipelineSynchronousPolicy : Azure.Core.Pipeline.HttpPipelinePolicy - { - protected HttpPipelineSynchronousPolicy() { } - public virtual void OnReceivedResponse(Azure.Core.HttpMessage message) { } - public virtual void OnSendingRequest(Azure.Core.HttpMessage message) { } - public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public abstract partial class HttpPipelineTransport - { - protected HttpPipelineTransport() { } - public abstract Azure.Core.Request CreateRequest(); - public abstract void Process(Azure.Core.HttpMessage message); - public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message); - } -} -namespace Azure.Core.Serialization -{ - public partial interface IMemberNameConverter - { - string? ConvertMemberName(System.Reflection.MemberInfo member); - } - public partial class JsonObjectSerializer : Azure.Core.Serialization.ObjectSerializer, Azure.Core.Serialization.IMemberNameConverter - { - public JsonObjectSerializer() { } - public JsonObjectSerializer(System.Text.Json.JsonSerializerOptions options) { } - public static Azure.Core.Serialization.JsonObjectSerializer Default { get { throw null; } } - string? Azure.Core.Serialization.IMemberNameConverter.ConvertMemberName(System.Reflection.MemberInfo member) { throw null; } - public override object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { } - public override System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public abstract partial class ObjectSerializer - { - protected ObjectSerializer() { } - public abstract object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); - public abstract System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); - public abstract void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); - public virtual System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public abstract System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); - public virtual System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } -} -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GeoArray : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable @@ -613,7 +516,7 @@ namespace Azure.GeoJson private readonly int _dummyPrimitive; public int Count { get { throw null; } } public T this[int index] { get { throw null; } } - public Azure.GeoJson.GeoArray.Enumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoArray.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -628,7 +531,7 @@ public void Dispose() { } public void Reset() { } } } - public sealed partial class GeoBoundingBox : System.IEquatable + public sealed partial class GeoBoundingBox : System.IEquatable { public GeoBoundingBox(double west, double south, double east, double north) { } public GeoBoundingBox(double west, double south, double east, double north, double? minAltitude, double? maxAltitude) { } @@ -639,57 +542,57 @@ public GeoBoundingBox(double west, double south, double east, double north, doub public double North { get { throw null; } } public double South { get { throw null; } } public double West { get { throw null; } } - public bool Equals(Azure.GeoJson.GeoBoundingBox? other) { throw null; } + public bool Equals(Azure.Core.GeoJson.GeoBoundingBox? other) { throw null; } public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public override string ToString() { throw null; } } - public sealed partial class GeoCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoCollection(System.Collections.Generic.IEnumerable geometries) { } - public GeoCollection(System.Collections.Generic.IEnumerable geometries, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoCollection(System.Collections.Generic.IEnumerable geometries) { } + public GeoCollection(System.Collections.Generic.IEnumerable geometries, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } public int Count { get { throw null; } } - public Azure.GeoJson.GeoObject this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoObject this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } - public sealed partial class GeoJsonConverter : System.Text.Json.Serialization.JsonConverter + public sealed partial class GeoJsonConverter : System.Text.Json.Serialization.JsonConverter { public GeoJsonConverter() { } public override bool CanConvert(System.Type typeToConvert) { throw null; } - public override Azure.GeoJson.GeoObject Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { throw null; } - public override void Write(System.Text.Json.Utf8JsonWriter writer, Azure.GeoJson.GeoObject value, System.Text.Json.JsonSerializerOptions options) { } + public override Azure.Core.GeoJson.GeoObject Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { throw null; } + public override void Write(System.Text.Json.Utf8JsonWriter writer, Azure.Core.GeoJson.GeoObject value, System.Text.Json.JsonSerializerOptions options) { } } public sealed partial class GeoLinearRing { - public GeoLinearRing(System.Collections.Generic.IEnumerable coordinates) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } + public GeoLinearRing(System.Collections.Generic.IEnumerable coordinates) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } } - public sealed partial class GeoLineString : Azure.GeoJson.GeoObject + public sealed partial class GeoLineString : Azure.Core.GeoJson.GeoObject { - public GeoLineString(System.Collections.Generic.IEnumerable coordinates) { } - public GeoLineString(System.Collections.Generic.IEnumerable coordinates, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public GeoLineString(System.Collections.Generic.IEnumerable coordinates) { } + public GeoLineString(System.Collections.Generic.IEnumerable coordinates, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoLineStringCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoLineStringCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines) { } - public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray> Coordinates { get { throw null; } } + public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines) { } + public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray> Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoLineString this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoLineString this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } public abstract partial class GeoObject { internal GeoObject() { } - public Azure.GeoJson.GeoBoundingBox? BoundingBox { get { throw null; } } - public abstract Azure.GeoJson.GeoObjectType Type { get; } - public static Azure.GeoJson.GeoObject Parse(string json) { throw null; } + public Azure.Core.GeoJson.GeoBoundingBox? BoundingBox { get { throw null; } } + public abstract Azure.Core.GeoJson.GeoObjectType Type { get; } + public static Azure.Core.GeoJson.GeoObject Parse(string json) { throw null; } public override string ToString() { throw null; } public bool TryGetCustomProperty(string name, out object? value) { throw null; } public void WriteTo(System.Text.Json.Utf8JsonWriter writer) { } @@ -704,49 +607,49 @@ public enum GeoObjectType MultiLineString = 5, GeometryCollection = 6, } - public sealed partial class GeoPoint : Azure.GeoJson.GeoObject + public sealed partial class GeoPoint : Azure.Core.GeoJson.GeoObject { - public GeoPoint(Azure.GeoJson.GeoPosition position) { } - public GeoPoint(Azure.GeoJson.GeoPosition position, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoPoint(Azure.Core.GeoJson.GeoPosition position) { } + public GeoPoint(Azure.Core.GeoJson.GeoPosition position, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } public GeoPoint(double longitude, double latitude) { } public GeoPoint(double longitude, double latitude, double? altitude) { } - public Azure.GeoJson.GeoPosition Coordinates { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public Azure.Core.GeoJson.GeoPosition Coordinates { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoPointCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoPointCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoPointCollection(System.Collections.Generic.IEnumerable points) { } - public GeoPointCollection(System.Collections.Generic.IEnumerable points, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } + public GeoPointCollection(System.Collections.Generic.IEnumerable points) { } + public GeoPointCollection(System.Collections.Generic.IEnumerable points, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoPoint this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoPoint this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } - public sealed partial class GeoPolygon : Azure.GeoJson.GeoObject + public sealed partial class GeoPolygon : Azure.Core.GeoJson.GeoObject { - public GeoPolygon(System.Collections.Generic.IEnumerable rings) { } - public GeoPolygon(System.Collections.Generic.IEnumerable rings, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public GeoPolygon(System.Collections.Generic.IEnumerable positions) { } - public Azure.GeoJson.GeoArray> Coordinates { get { throw null; } } - public Azure.GeoJson.GeoLinearRing OuterRing { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Rings { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public GeoPolygon(System.Collections.Generic.IEnumerable rings) { } + public GeoPolygon(System.Collections.Generic.IEnumerable rings, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoPolygon(System.Collections.Generic.IEnumerable positions) { } + public Azure.Core.GeoJson.GeoArray> Coordinates { get { throw null; } } + public Azure.Core.GeoJson.GeoLinearRing OuterRing { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Rings { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoPolygonCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoPolygonCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons) { } - public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray>> Coordinates { get { throw null; } } + public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons) { } + public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray>> Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoPolygon this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoPolygon this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct GeoPosition : System.IEquatable + public readonly partial struct GeoPosition : System.IEquatable { private readonly int _dummyPrimitive; public GeoPosition(double longitude, double latitude) { throw null; } @@ -756,14 +659,111 @@ public GeoPolygonCollection(System.Collections.Generic.IEnumerable scopes) { } + public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, string scope) { } + protected void AuthenticateAndAuthorizeRequest(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { } + protected System.Threading.Tasks.ValueTask AuthenticateAndAuthorizeRequestAsync(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { throw null; } + protected virtual void AuthorizeRequest(Azure.Core.HttpMessage message) { } + protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestAsync(Azure.Core.HttpMessage message) { throw null; } + protected virtual bool AuthorizeRequestOnChallenge(Azure.Core.HttpMessage message) { throw null; } + protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestOnChallengeAsync(Azure.Core.HttpMessage message) { throw null; } + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public partial class HttpClientTransport : Azure.Core.Pipeline.HttpPipelineTransport + { + public static readonly Azure.Core.Pipeline.HttpClientTransport Shared; + public HttpClientTransport() { } + public HttpClientTransport(System.Net.Http.HttpClient client) { } + public HttpClientTransport(System.Net.Http.HttpMessageHandler messageHandler) { } + public sealed override Azure.Core.Request CreateRequest() { throw null; } + public override void Process(Azure.Core.HttpMessage message) { } + public sealed override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message) { throw null; } + } + public partial class HttpPipeline + { + public HttpPipeline(Azure.Core.Pipeline.HttpPipelineTransport transport, Azure.Core.Pipeline.HttpPipelinePolicy[]? policies = null, Azure.Core.ResponseClassifier? responseClassifier = null) { } + public Azure.Core.ResponseClassifier ResponseClassifier { get { throw null; } } + public static System.IDisposable CreateClientRequestIdScope(string? clientRequestId) { throw null; } + public static System.IDisposable CreateHttpMessagePropertiesScope(System.Collections.Generic.IDictionary messageProperties) { throw null; } + public Azure.Core.HttpMessage CreateMessage() { throw null; } + public Azure.Core.Request CreateRequest() { throw null; } + public void Send(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { } + public System.Threading.Tasks.ValueTask SendAsync(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { throw null; } + public Azure.Response SendRequest(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.ValueTask SendRequestAsync(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } + } + public static partial class HttpPipelineBuilder + { + public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, params Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies) { throw null; } + public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.ResponseClassifier responseClassifier) { throw null; } + } + public abstract partial class HttpPipelinePolicy + { + protected HttpPipelinePolicy() { } + public abstract void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); + public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); + protected static void ProcessNext(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + protected static System.Threading.Tasks.ValueTask ProcessNextAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public abstract partial class HttpPipelineSynchronousPolicy : Azure.Core.Pipeline.HttpPipelinePolicy + { + protected HttpPipelineSynchronousPolicy() { } + public virtual void OnReceivedResponse(Azure.Core.HttpMessage message) { } + public virtual void OnSendingRequest(Azure.Core.HttpMessage message) { } + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public abstract partial class HttpPipelineTransport + { + protected HttpPipelineTransport() { } + public abstract Azure.Core.Request CreateRequest(); + public abstract void Process(Azure.Core.HttpMessage message); + public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message); + } +} +namespace Azure.Core.Serialization +{ + public partial interface IMemberNameConverter + { + string? ConvertMemberName(System.Reflection.MemberInfo member); + } + public partial class JsonObjectSerializer : Azure.Core.Serialization.ObjectSerializer, Azure.Core.Serialization.IMemberNameConverter + { + public JsonObjectSerializer() { } + public JsonObjectSerializer(System.Text.Json.JsonSerializerOptions options) { } + public static Azure.Core.Serialization.JsonObjectSerializer Default { get { throw null; } } + string? Azure.Core.Serialization.IMemberNameConverter.ConvertMemberName(System.Reflection.MemberInfo member) { throw null; } + public override object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { } + public override System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public abstract partial class ObjectSerializer + { + protected ObjectSerializer() { } + public abstract object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); + public abstract void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); + public virtual System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public abstract System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); + public virtual System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } +} namespace Azure.Messaging { public partial class CloudEvent diff --git a/sdk/core/Azure.Core/api/Azure.Core.netcoreapp2.1.cs b/sdk/core/Azure.Core/api/Azure.Core.netcoreapp2.1.cs index 412af64408ba..5051389e87fa 100644 --- a/sdk/core/Azure.Core/api/Azure.Core.netcoreapp2.1.cs +++ b/sdk/core/Azure.Core/api/Azure.Core.netcoreapp2.1.cs @@ -507,104 +507,7 @@ public partial interface IAzureClientFactoryBuilderWithCredential Azure.Core.Extensions.IAzureClientBuilder RegisterClientFactory(System.Func clientFactory, bool requiresCredential = true) where TOptions : class; } } -namespace Azure.Core.Pipeline -{ - public partial class BearerTokenAuthenticationPolicy : Azure.Core.Pipeline.HttpPipelinePolicy - { - public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, System.Collections.Generic.IEnumerable scopes) { } - public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, string scope) { } - protected void AuthenticateAndAuthorizeRequest(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { } - protected System.Threading.Tasks.ValueTask AuthenticateAndAuthorizeRequestAsync(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { throw null; } - protected virtual void AuthorizeRequest(Azure.Core.HttpMessage message) { } - protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestAsync(Azure.Core.HttpMessage message) { throw null; } - protected virtual bool AuthorizeRequestOnChallenge(Azure.Core.HttpMessage message) { throw null; } - protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestOnChallengeAsync(Azure.Core.HttpMessage message) { throw null; } - public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public partial class HttpClientTransport : Azure.Core.Pipeline.HttpPipelineTransport - { - public static readonly Azure.Core.Pipeline.HttpClientTransport Shared; - public HttpClientTransport() { } - public HttpClientTransport(System.Net.Http.HttpClient client) { } - public HttpClientTransport(System.Net.Http.HttpMessageHandler messageHandler) { } - public sealed override Azure.Core.Request CreateRequest() { throw null; } - public override void Process(Azure.Core.HttpMessage message) { } - public sealed override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message) { throw null; } - } - public partial class HttpPipeline - { - public HttpPipeline(Azure.Core.Pipeline.HttpPipelineTransport transport, Azure.Core.Pipeline.HttpPipelinePolicy[]? policies = null, Azure.Core.ResponseClassifier? responseClassifier = null) { } - public Azure.Core.ResponseClassifier ResponseClassifier { get { throw null; } } - public static System.IDisposable CreateClientRequestIdScope(string? clientRequestId) { throw null; } - public static System.IDisposable CreateHttpMessagePropertiesScope(System.Collections.Generic.IDictionary messageProperties) { throw null; } - public Azure.Core.HttpMessage CreateMessage() { throw null; } - public Azure.Core.Request CreateRequest() { throw null; } - public void Send(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { } - public System.Threading.Tasks.ValueTask SendAsync(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { throw null; } - public Azure.Response SendRequest(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.ValueTask SendRequestAsync(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } - } - public static partial class HttpPipelineBuilder - { - public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, params Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies) { throw null; } - public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.ResponseClassifier responseClassifier) { throw null; } - } - public abstract partial class HttpPipelinePolicy - { - protected HttpPipelinePolicy() { } - public abstract void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); - public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); - protected static void ProcessNext(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - protected static System.Threading.Tasks.ValueTask ProcessNextAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public abstract partial class HttpPipelineSynchronousPolicy : Azure.Core.Pipeline.HttpPipelinePolicy - { - protected HttpPipelineSynchronousPolicy() { } - public virtual void OnReceivedResponse(Azure.Core.HttpMessage message) { } - public virtual void OnSendingRequest(Azure.Core.HttpMessage message) { } - public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public abstract partial class HttpPipelineTransport - { - protected HttpPipelineTransport() { } - public abstract Azure.Core.Request CreateRequest(); - public abstract void Process(Azure.Core.HttpMessage message); - public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message); - } -} -namespace Azure.Core.Serialization -{ - public partial interface IMemberNameConverter - { - string? ConvertMemberName(System.Reflection.MemberInfo member); - } - public partial class JsonObjectSerializer : Azure.Core.Serialization.ObjectSerializer, Azure.Core.Serialization.IMemberNameConverter - { - public JsonObjectSerializer() { } - public JsonObjectSerializer(System.Text.Json.JsonSerializerOptions options) { } - public static Azure.Core.Serialization.JsonObjectSerializer Default { get { throw null; } } - string? Azure.Core.Serialization.IMemberNameConverter.ConvertMemberName(System.Reflection.MemberInfo member) { throw null; } - public override object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { } - public override System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public abstract partial class ObjectSerializer - { - protected ObjectSerializer() { } - public abstract object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); - public abstract System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); - public abstract void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); - public virtual System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public abstract System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); - public virtual System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } -} -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GeoArray : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable @@ -613,7 +516,7 @@ namespace Azure.GeoJson private readonly int _dummyPrimitive; public int Count { get { throw null; } } public T this[int index] { get { throw null; } } - public Azure.GeoJson.GeoArray.Enumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoArray.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -628,7 +531,7 @@ public void Dispose() { } public void Reset() { } } } - public sealed partial class GeoBoundingBox : System.IEquatable + public sealed partial class GeoBoundingBox : System.IEquatable { public GeoBoundingBox(double west, double south, double east, double north) { } public GeoBoundingBox(double west, double south, double east, double north, double? minAltitude, double? maxAltitude) { } @@ -639,57 +542,57 @@ public GeoBoundingBox(double west, double south, double east, double north, doub public double North { get { throw null; } } public double South { get { throw null; } } public double West { get { throw null; } } - public bool Equals(Azure.GeoJson.GeoBoundingBox? other) { throw null; } + public bool Equals(Azure.Core.GeoJson.GeoBoundingBox? other) { throw null; } public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public override string ToString() { throw null; } } - public sealed partial class GeoCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoCollection(System.Collections.Generic.IEnumerable geometries) { } - public GeoCollection(System.Collections.Generic.IEnumerable geometries, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoCollection(System.Collections.Generic.IEnumerable geometries) { } + public GeoCollection(System.Collections.Generic.IEnumerable geometries, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } public int Count { get { throw null; } } - public Azure.GeoJson.GeoObject this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoObject this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } - public sealed partial class GeoJsonConverter : System.Text.Json.Serialization.JsonConverter + public sealed partial class GeoJsonConverter : System.Text.Json.Serialization.JsonConverter { public GeoJsonConverter() { } public override bool CanConvert(System.Type typeToConvert) { throw null; } - public override Azure.GeoJson.GeoObject Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { throw null; } - public override void Write(System.Text.Json.Utf8JsonWriter writer, Azure.GeoJson.GeoObject value, System.Text.Json.JsonSerializerOptions options) { } + public override Azure.Core.GeoJson.GeoObject Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { throw null; } + public override void Write(System.Text.Json.Utf8JsonWriter writer, Azure.Core.GeoJson.GeoObject value, System.Text.Json.JsonSerializerOptions options) { } } public sealed partial class GeoLinearRing { - public GeoLinearRing(System.Collections.Generic.IEnumerable coordinates) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } + public GeoLinearRing(System.Collections.Generic.IEnumerable coordinates) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } } - public sealed partial class GeoLineString : Azure.GeoJson.GeoObject + public sealed partial class GeoLineString : Azure.Core.GeoJson.GeoObject { - public GeoLineString(System.Collections.Generic.IEnumerable coordinates) { } - public GeoLineString(System.Collections.Generic.IEnumerable coordinates, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public GeoLineString(System.Collections.Generic.IEnumerable coordinates) { } + public GeoLineString(System.Collections.Generic.IEnumerable coordinates, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoLineStringCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoLineStringCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines) { } - public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray> Coordinates { get { throw null; } } + public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines) { } + public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray> Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoLineString this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoLineString this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } public abstract partial class GeoObject { internal GeoObject() { } - public Azure.GeoJson.GeoBoundingBox? BoundingBox { get { throw null; } } - public abstract Azure.GeoJson.GeoObjectType Type { get; } - public static Azure.GeoJson.GeoObject Parse(string json) { throw null; } + public Azure.Core.GeoJson.GeoBoundingBox? BoundingBox { get { throw null; } } + public abstract Azure.Core.GeoJson.GeoObjectType Type { get; } + public static Azure.Core.GeoJson.GeoObject Parse(string json) { throw null; } public override string ToString() { throw null; } public bool TryGetCustomProperty(string name, out object? value) { throw null; } public void WriteTo(System.Text.Json.Utf8JsonWriter writer) { } @@ -704,49 +607,49 @@ public enum GeoObjectType MultiLineString = 5, GeometryCollection = 6, } - public sealed partial class GeoPoint : Azure.GeoJson.GeoObject + public sealed partial class GeoPoint : Azure.Core.GeoJson.GeoObject { - public GeoPoint(Azure.GeoJson.GeoPosition position) { } - public GeoPoint(Azure.GeoJson.GeoPosition position, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoPoint(Azure.Core.GeoJson.GeoPosition position) { } + public GeoPoint(Azure.Core.GeoJson.GeoPosition position, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } public GeoPoint(double longitude, double latitude) { } public GeoPoint(double longitude, double latitude, double? altitude) { } - public Azure.GeoJson.GeoPosition Coordinates { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public Azure.Core.GeoJson.GeoPosition Coordinates { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoPointCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoPointCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoPointCollection(System.Collections.Generic.IEnumerable points) { } - public GeoPointCollection(System.Collections.Generic.IEnumerable points, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } + public GeoPointCollection(System.Collections.Generic.IEnumerable points) { } + public GeoPointCollection(System.Collections.Generic.IEnumerable points, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoPoint this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoPoint this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } - public sealed partial class GeoPolygon : Azure.GeoJson.GeoObject + public sealed partial class GeoPolygon : Azure.Core.GeoJson.GeoObject { - public GeoPolygon(System.Collections.Generic.IEnumerable rings) { } - public GeoPolygon(System.Collections.Generic.IEnumerable rings, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public GeoPolygon(System.Collections.Generic.IEnumerable positions) { } - public Azure.GeoJson.GeoArray> Coordinates { get { throw null; } } - public Azure.GeoJson.GeoLinearRing OuterRing { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Rings { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public GeoPolygon(System.Collections.Generic.IEnumerable rings) { } + public GeoPolygon(System.Collections.Generic.IEnumerable rings, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoPolygon(System.Collections.Generic.IEnumerable positions) { } + public Azure.Core.GeoJson.GeoArray> Coordinates { get { throw null; } } + public Azure.Core.GeoJson.GeoLinearRing OuterRing { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Rings { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoPolygonCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoPolygonCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons) { } - public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray>> Coordinates { get { throw null; } } + public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons) { } + public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray>> Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoPolygon this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoPolygon this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct GeoPosition : System.IEquatable + public readonly partial struct GeoPosition : System.IEquatable { private readonly int _dummyPrimitive; public GeoPosition(double longitude, double latitude) { throw null; } @@ -756,14 +659,111 @@ public GeoPolygonCollection(System.Collections.Generic.IEnumerable scopes) { } + public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, string scope) { } + protected void AuthenticateAndAuthorizeRequest(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { } + protected System.Threading.Tasks.ValueTask AuthenticateAndAuthorizeRequestAsync(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { throw null; } + protected virtual void AuthorizeRequest(Azure.Core.HttpMessage message) { } + protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestAsync(Azure.Core.HttpMessage message) { throw null; } + protected virtual bool AuthorizeRequestOnChallenge(Azure.Core.HttpMessage message) { throw null; } + protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestOnChallengeAsync(Azure.Core.HttpMessage message) { throw null; } + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public partial class HttpClientTransport : Azure.Core.Pipeline.HttpPipelineTransport + { + public static readonly Azure.Core.Pipeline.HttpClientTransport Shared; + public HttpClientTransport() { } + public HttpClientTransport(System.Net.Http.HttpClient client) { } + public HttpClientTransport(System.Net.Http.HttpMessageHandler messageHandler) { } + public sealed override Azure.Core.Request CreateRequest() { throw null; } + public override void Process(Azure.Core.HttpMessage message) { } + public sealed override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message) { throw null; } + } + public partial class HttpPipeline + { + public HttpPipeline(Azure.Core.Pipeline.HttpPipelineTransport transport, Azure.Core.Pipeline.HttpPipelinePolicy[]? policies = null, Azure.Core.ResponseClassifier? responseClassifier = null) { } + public Azure.Core.ResponseClassifier ResponseClassifier { get { throw null; } } + public static System.IDisposable CreateClientRequestIdScope(string? clientRequestId) { throw null; } + public static System.IDisposable CreateHttpMessagePropertiesScope(System.Collections.Generic.IDictionary messageProperties) { throw null; } + public Azure.Core.HttpMessage CreateMessage() { throw null; } + public Azure.Core.Request CreateRequest() { throw null; } + public void Send(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { } + public System.Threading.Tasks.ValueTask SendAsync(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { throw null; } + public Azure.Response SendRequest(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.ValueTask SendRequestAsync(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } + } + public static partial class HttpPipelineBuilder + { + public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, params Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies) { throw null; } + public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.ResponseClassifier responseClassifier) { throw null; } + } + public abstract partial class HttpPipelinePolicy + { + protected HttpPipelinePolicy() { } + public abstract void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); + public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); + protected static void ProcessNext(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + protected static System.Threading.Tasks.ValueTask ProcessNextAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public abstract partial class HttpPipelineSynchronousPolicy : Azure.Core.Pipeline.HttpPipelinePolicy + { + protected HttpPipelineSynchronousPolicy() { } + public virtual void OnReceivedResponse(Azure.Core.HttpMessage message) { } + public virtual void OnSendingRequest(Azure.Core.HttpMessage message) { } + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public abstract partial class HttpPipelineTransport + { + protected HttpPipelineTransport() { } + public abstract Azure.Core.Request CreateRequest(); + public abstract void Process(Azure.Core.HttpMessage message); + public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message); + } +} +namespace Azure.Core.Serialization +{ + public partial interface IMemberNameConverter + { + string? ConvertMemberName(System.Reflection.MemberInfo member); + } + public partial class JsonObjectSerializer : Azure.Core.Serialization.ObjectSerializer, Azure.Core.Serialization.IMemberNameConverter + { + public JsonObjectSerializer() { } + public JsonObjectSerializer(System.Text.Json.JsonSerializerOptions options) { } + public static Azure.Core.Serialization.JsonObjectSerializer Default { get { throw null; } } + string? Azure.Core.Serialization.IMemberNameConverter.ConvertMemberName(System.Reflection.MemberInfo member) { throw null; } + public override object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { } + public override System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public abstract partial class ObjectSerializer + { + protected ObjectSerializer() { } + public abstract object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); + public abstract void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); + public virtual System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public abstract System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); + public virtual System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } +} namespace Azure.Messaging { public partial class CloudEvent diff --git a/sdk/core/Azure.Core/api/Azure.Core.netstandard2.0.cs b/sdk/core/Azure.Core/api/Azure.Core.netstandard2.0.cs index 412af64408ba..5051389e87fa 100644 --- a/sdk/core/Azure.Core/api/Azure.Core.netstandard2.0.cs +++ b/sdk/core/Azure.Core/api/Azure.Core.netstandard2.0.cs @@ -507,104 +507,7 @@ public partial interface IAzureClientFactoryBuilderWithCredential Azure.Core.Extensions.IAzureClientBuilder RegisterClientFactory(System.Func clientFactory, bool requiresCredential = true) where TOptions : class; } } -namespace Azure.Core.Pipeline -{ - public partial class BearerTokenAuthenticationPolicy : Azure.Core.Pipeline.HttpPipelinePolicy - { - public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, System.Collections.Generic.IEnumerable scopes) { } - public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, string scope) { } - protected void AuthenticateAndAuthorizeRequest(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { } - protected System.Threading.Tasks.ValueTask AuthenticateAndAuthorizeRequestAsync(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { throw null; } - protected virtual void AuthorizeRequest(Azure.Core.HttpMessage message) { } - protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestAsync(Azure.Core.HttpMessage message) { throw null; } - protected virtual bool AuthorizeRequestOnChallenge(Azure.Core.HttpMessage message) { throw null; } - protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestOnChallengeAsync(Azure.Core.HttpMessage message) { throw null; } - public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public partial class HttpClientTransport : Azure.Core.Pipeline.HttpPipelineTransport - { - public static readonly Azure.Core.Pipeline.HttpClientTransport Shared; - public HttpClientTransport() { } - public HttpClientTransport(System.Net.Http.HttpClient client) { } - public HttpClientTransport(System.Net.Http.HttpMessageHandler messageHandler) { } - public sealed override Azure.Core.Request CreateRequest() { throw null; } - public override void Process(Azure.Core.HttpMessage message) { } - public sealed override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message) { throw null; } - } - public partial class HttpPipeline - { - public HttpPipeline(Azure.Core.Pipeline.HttpPipelineTransport transport, Azure.Core.Pipeline.HttpPipelinePolicy[]? policies = null, Azure.Core.ResponseClassifier? responseClassifier = null) { } - public Azure.Core.ResponseClassifier ResponseClassifier { get { throw null; } } - public static System.IDisposable CreateClientRequestIdScope(string? clientRequestId) { throw null; } - public static System.IDisposable CreateHttpMessagePropertiesScope(System.Collections.Generic.IDictionary messageProperties) { throw null; } - public Azure.Core.HttpMessage CreateMessage() { throw null; } - public Azure.Core.Request CreateRequest() { throw null; } - public void Send(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { } - public System.Threading.Tasks.ValueTask SendAsync(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { throw null; } - public Azure.Response SendRequest(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.ValueTask SendRequestAsync(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } - } - public static partial class HttpPipelineBuilder - { - public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, params Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies) { throw null; } - public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.ResponseClassifier responseClassifier) { throw null; } - } - public abstract partial class HttpPipelinePolicy - { - protected HttpPipelinePolicy() { } - public abstract void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); - public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); - protected static void ProcessNext(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - protected static System.Threading.Tasks.ValueTask ProcessNextAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public abstract partial class HttpPipelineSynchronousPolicy : Azure.Core.Pipeline.HttpPipelinePolicy - { - protected HttpPipelineSynchronousPolicy() { } - public virtual void OnReceivedResponse(Azure.Core.HttpMessage message) { } - public virtual void OnSendingRequest(Azure.Core.HttpMessage message) { } - public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } - public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } - } - public abstract partial class HttpPipelineTransport - { - protected HttpPipelineTransport() { } - public abstract Azure.Core.Request CreateRequest(); - public abstract void Process(Azure.Core.HttpMessage message); - public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message); - } -} -namespace Azure.Core.Serialization -{ - public partial interface IMemberNameConverter - { - string? ConvertMemberName(System.Reflection.MemberInfo member); - } - public partial class JsonObjectSerializer : Azure.Core.Serialization.ObjectSerializer, Azure.Core.Serialization.IMemberNameConverter - { - public JsonObjectSerializer() { } - public JsonObjectSerializer(System.Text.Json.JsonSerializerOptions options) { } - public static Azure.Core.Serialization.JsonObjectSerializer Default { get { throw null; } } - string? Azure.Core.Serialization.IMemberNameConverter.ConvertMemberName(System.Reflection.MemberInfo member) { throw null; } - public override object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { } - public override System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public override System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { throw null; } - public override System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public abstract partial class ObjectSerializer - { - protected ObjectSerializer() { } - public abstract object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); - public abstract System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); - public abstract void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); - public virtual System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public abstract System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); - public virtual System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } -} -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GeoArray : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable @@ -613,7 +516,7 @@ namespace Azure.GeoJson private readonly int _dummyPrimitive; public int Count { get { throw null; } } public T this[int index] { get { throw null; } } - public Azure.GeoJson.GeoArray.Enumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoArray.Enumerator GetEnumerator() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -628,7 +531,7 @@ public void Dispose() { } public void Reset() { } } } - public sealed partial class GeoBoundingBox : System.IEquatable + public sealed partial class GeoBoundingBox : System.IEquatable { public GeoBoundingBox(double west, double south, double east, double north) { } public GeoBoundingBox(double west, double south, double east, double north, double? minAltitude, double? maxAltitude) { } @@ -639,57 +542,57 @@ public GeoBoundingBox(double west, double south, double east, double north, doub public double North { get { throw null; } } public double South { get { throw null; } } public double West { get { throw null; } } - public bool Equals(Azure.GeoJson.GeoBoundingBox? other) { throw null; } + public bool Equals(Azure.Core.GeoJson.GeoBoundingBox? other) { throw null; } public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public override string ToString() { throw null; } } - public sealed partial class GeoCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoCollection(System.Collections.Generic.IEnumerable geometries) { } - public GeoCollection(System.Collections.Generic.IEnumerable geometries, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoCollection(System.Collections.Generic.IEnumerable geometries) { } + public GeoCollection(System.Collections.Generic.IEnumerable geometries, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } public int Count { get { throw null; } } - public Azure.GeoJson.GeoObject this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoObject this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } - public sealed partial class GeoJsonConverter : System.Text.Json.Serialization.JsonConverter + public sealed partial class GeoJsonConverter : System.Text.Json.Serialization.JsonConverter { public GeoJsonConverter() { } public override bool CanConvert(System.Type typeToConvert) { throw null; } - public override Azure.GeoJson.GeoObject Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { throw null; } - public override void Write(System.Text.Json.Utf8JsonWriter writer, Azure.GeoJson.GeoObject value, System.Text.Json.JsonSerializerOptions options) { } + public override Azure.Core.GeoJson.GeoObject Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { throw null; } + public override void Write(System.Text.Json.Utf8JsonWriter writer, Azure.Core.GeoJson.GeoObject value, System.Text.Json.JsonSerializerOptions options) { } } public sealed partial class GeoLinearRing { - public GeoLinearRing(System.Collections.Generic.IEnumerable coordinates) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } + public GeoLinearRing(System.Collections.Generic.IEnumerable coordinates) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } } - public sealed partial class GeoLineString : Azure.GeoJson.GeoObject + public sealed partial class GeoLineString : Azure.Core.GeoJson.GeoObject { - public GeoLineString(System.Collections.Generic.IEnumerable coordinates) { } - public GeoLineString(System.Collections.Generic.IEnumerable coordinates, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public GeoLineString(System.Collections.Generic.IEnumerable coordinates) { } + public GeoLineString(System.Collections.Generic.IEnumerable coordinates, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoLineStringCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoLineStringCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines) { } - public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray> Coordinates { get { throw null; } } + public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines) { } + public GeoLineStringCollection(System.Collections.Generic.IEnumerable lines, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray> Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoLineString this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoLineString this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } public abstract partial class GeoObject { internal GeoObject() { } - public Azure.GeoJson.GeoBoundingBox? BoundingBox { get { throw null; } } - public abstract Azure.GeoJson.GeoObjectType Type { get; } - public static Azure.GeoJson.GeoObject Parse(string json) { throw null; } + public Azure.Core.GeoJson.GeoBoundingBox? BoundingBox { get { throw null; } } + public abstract Azure.Core.GeoJson.GeoObjectType Type { get; } + public static Azure.Core.GeoJson.GeoObject Parse(string json) { throw null; } public override string ToString() { throw null; } public bool TryGetCustomProperty(string name, out object? value) { throw null; } public void WriteTo(System.Text.Json.Utf8JsonWriter writer) { } @@ -704,49 +607,49 @@ public enum GeoObjectType MultiLineString = 5, GeometryCollection = 6, } - public sealed partial class GeoPoint : Azure.GeoJson.GeoObject + public sealed partial class GeoPoint : Azure.Core.GeoJson.GeoObject { - public GeoPoint(Azure.GeoJson.GeoPosition position) { } - public GeoPoint(Azure.GeoJson.GeoPosition position, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoPoint(Azure.Core.GeoJson.GeoPosition position) { } + public GeoPoint(Azure.Core.GeoJson.GeoPosition position, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } public GeoPoint(double longitude, double latitude) { } public GeoPoint(double longitude, double latitude, double? altitude) { } - public Azure.GeoJson.GeoPosition Coordinates { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public Azure.Core.GeoJson.GeoPosition Coordinates { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoPointCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoPointCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoPointCollection(System.Collections.Generic.IEnumerable points) { } - public GeoPointCollection(System.Collections.Generic.IEnumerable points, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray Coordinates { get { throw null; } } + public GeoPointCollection(System.Collections.Generic.IEnumerable points) { } + public GeoPointCollection(System.Collections.Generic.IEnumerable points, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoPoint this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoPoint this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } - public sealed partial class GeoPolygon : Azure.GeoJson.GeoObject + public sealed partial class GeoPolygon : Azure.Core.GeoJson.GeoObject { - public GeoPolygon(System.Collections.Generic.IEnumerable rings) { } - public GeoPolygon(System.Collections.Generic.IEnumerable rings, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public GeoPolygon(System.Collections.Generic.IEnumerable positions) { } - public Azure.GeoJson.GeoArray> Coordinates { get { throw null; } } - public Azure.GeoJson.GeoLinearRing OuterRing { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Rings { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } + public GeoPolygon(System.Collections.Generic.IEnumerable rings) { } + public GeoPolygon(System.Collections.Generic.IEnumerable rings, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public GeoPolygon(System.Collections.Generic.IEnumerable positions) { } + public Azure.Core.GeoJson.GeoArray> Coordinates { get { throw null; } } + public Azure.Core.GeoJson.GeoLinearRing OuterRing { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Rings { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } } - public sealed partial class GeoPolygonCollection : Azure.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable + public sealed partial class GeoPolygonCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons) { } - public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons, Azure.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } - public Azure.GeoJson.GeoArray>> Coordinates { get { throw null; } } + public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons) { } + public GeoPolygonCollection(System.Collections.Generic.IEnumerable polygons, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary customProperties) { } + public Azure.Core.GeoJson.GeoArray>> Coordinates { get { throw null; } } public int Count { get { throw null; } } - public Azure.GeoJson.GeoPolygon this[int index] { get { throw null; } } - public override Azure.GeoJson.GeoObjectType Type { get { throw null; } } - public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } + public Azure.Core.GeoJson.GeoPolygon this[int index] { get { throw null; } } + public override Azure.Core.GeoJson.GeoObjectType Type { get { throw null; } } + public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct GeoPosition : System.IEquatable + public readonly partial struct GeoPosition : System.IEquatable { private readonly int _dummyPrimitive; public GeoPosition(double longitude, double latitude) { throw null; } @@ -756,14 +659,111 @@ public GeoPolygonCollection(System.Collections.Generic.IEnumerable scopes) { } + public BearerTokenAuthenticationPolicy(Azure.Core.TokenCredential credential, string scope) { } + protected void AuthenticateAndAuthorizeRequest(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { } + protected System.Threading.Tasks.ValueTask AuthenticateAndAuthorizeRequestAsync(Azure.Core.HttpMessage message, Azure.Core.TokenRequestContext context) { throw null; } + protected virtual void AuthorizeRequest(Azure.Core.HttpMessage message) { } + protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestAsync(Azure.Core.HttpMessage message) { throw null; } + protected virtual bool AuthorizeRequestOnChallenge(Azure.Core.HttpMessage message) { throw null; } + protected virtual System.Threading.Tasks.ValueTask AuthorizeRequestOnChallengeAsync(Azure.Core.HttpMessage message) { throw null; } + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public partial class HttpClientTransport : Azure.Core.Pipeline.HttpPipelineTransport + { + public static readonly Azure.Core.Pipeline.HttpClientTransport Shared; + public HttpClientTransport() { } + public HttpClientTransport(System.Net.Http.HttpClient client) { } + public HttpClientTransport(System.Net.Http.HttpMessageHandler messageHandler) { } + public sealed override Azure.Core.Request CreateRequest() { throw null; } + public override void Process(Azure.Core.HttpMessage message) { } + public sealed override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message) { throw null; } + } + public partial class HttpPipeline + { + public HttpPipeline(Azure.Core.Pipeline.HttpPipelineTransport transport, Azure.Core.Pipeline.HttpPipelinePolicy[]? policies = null, Azure.Core.ResponseClassifier? responseClassifier = null) { } + public Azure.Core.ResponseClassifier ResponseClassifier { get { throw null; } } + public static System.IDisposable CreateClientRequestIdScope(string? clientRequestId) { throw null; } + public static System.IDisposable CreateHttpMessagePropertiesScope(System.Collections.Generic.IDictionary messageProperties) { throw null; } + public Azure.Core.HttpMessage CreateMessage() { throw null; } + public Azure.Core.Request CreateRequest() { throw null; } + public void Send(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { } + public System.Threading.Tasks.ValueTask SendAsync(Azure.Core.HttpMessage message, System.Threading.CancellationToken cancellationToken) { throw null; } + public Azure.Response SendRequest(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.ValueTask SendRequestAsync(Azure.Core.Request request, System.Threading.CancellationToken cancellationToken) { throw null; } + } + public static partial class HttpPipelineBuilder + { + public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, params Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies) { throw null; } + public static Azure.Core.Pipeline.HttpPipeline Build(Azure.Core.ClientOptions options, Azure.Core.Pipeline.HttpPipelinePolicy[] perCallPolicies, Azure.Core.Pipeline.HttpPipelinePolicy[] perRetryPolicies, Azure.Core.ResponseClassifier responseClassifier) { throw null; } + } + public abstract partial class HttpPipelinePolicy + { + protected HttpPipelinePolicy() { } + public abstract void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); + public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline); + protected static void ProcessNext(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + protected static System.Threading.Tasks.ValueTask ProcessNextAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public abstract partial class HttpPipelineSynchronousPolicy : Azure.Core.Pipeline.HttpPipelinePolicy + { + protected HttpPipelineSynchronousPolicy() { } + public virtual void OnReceivedResponse(Azure.Core.HttpMessage message) { } + public virtual void OnSendingRequest(Azure.Core.HttpMessage message) { } + public override void Process(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { } + public override System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message, System.ReadOnlyMemory pipeline) { throw null; } + } + public abstract partial class HttpPipelineTransport + { + protected HttpPipelineTransport() { } + public abstract Azure.Core.Request CreateRequest(); + public abstract void Process(Azure.Core.HttpMessage message); + public abstract System.Threading.Tasks.ValueTask ProcessAsync(Azure.Core.HttpMessage message); + } +} +namespace Azure.Core.Serialization +{ + public partial interface IMemberNameConverter + { + string? ConvertMemberName(System.Reflection.MemberInfo member); + } + public partial class JsonObjectSerializer : Azure.Core.Serialization.ObjectSerializer, Azure.Core.Serialization.IMemberNameConverter + { + public JsonObjectSerializer() { } + public JsonObjectSerializer(System.Text.Json.JsonSerializerOptions options) { } + public static Azure.Core.Serialization.JsonObjectSerializer Default { get { throw null; } } + string? Azure.Core.Serialization.IMemberNameConverter.ConvertMemberName(System.Reflection.MemberInfo member) { throw null; } + public override object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { } + public override System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public override System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken) { throw null; } + public override System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public abstract partial class ObjectSerializer + { + protected ObjectSerializer() { } + public abstract object? Deserialize(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); + public abstract System.Threading.Tasks.ValueTask DeserializeAsync(System.IO.Stream stream, System.Type returnType, System.Threading.CancellationToken cancellationToken); + public abstract void Serialize(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); + public virtual System.BinaryData Serialize(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public abstract System.Threading.Tasks.ValueTask SerializeAsync(System.IO.Stream stream, object? value, System.Type inputType, System.Threading.CancellationToken cancellationToken); + public virtual System.Threading.Tasks.ValueTask SerializeAsync(object? value, System.Type? inputType = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } +} namespace Azure.Messaging { public partial class CloudEvent diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoArray.cs b/sdk/core/Azure.Core/src/GeoJson/GeoArray.cs index e7083a8e39a1..5a2e44a55c9d 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoArray.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoArray.cs @@ -4,7 +4,7 @@ using System.Collections; using System.Collections.Generic; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Represents a geometry coordinates array diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoBoundingBox.cs b/sdk/core/Azure.Core/src/GeoJson/GeoBoundingBox.cs index addbc7ba5dfc..8dc029d78f1e 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoBoundingBox.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoBoundingBox.cs @@ -2,9 +2,8 @@ // Licensed under the MIT License. using System; -using Azure.Core; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Represents information about the coordinate range of the . diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoCollection.cs b/sdk/core/Azure.Core/src/GeoJson/GeoCollection.cs index b0f6c5026495..fa50e8ccefd8 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoCollection.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoCollection.cs @@ -4,9 +4,8 @@ using System.Collections; using System.Collections.Generic; using System.Linq; -using Azure.Core; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Represents a geometry that is composed of multiple geometries. diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoJsonConverter.cs b/sdk/core/Azure.Core/src/GeoJson/GeoJsonConverter.cs index 2ae9edefd3c8..2dcf2e7ced3d 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoJsonConverter.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoJsonConverter.cs @@ -6,7 +6,7 @@ using System.Text.Json; using System.Text.Json.Serialization; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { #pragma warning disable AZC0014 // Dont use System.Json apis. /// diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoLineString.cs b/sdk/core/Azure.Core/src/GeoJson/GeoLineString.cs index e47b93858494..224347f842b3 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoLineString.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoLineString.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Linq; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Represents a line geometry that consists of multiple coordinates. diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoLineStringCollection.cs b/sdk/core/Azure.Core/src/GeoJson/GeoLineStringCollection.cs index fc31b6e93014..78c257679e98 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoLineStringCollection.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoLineStringCollection.cs @@ -4,9 +4,8 @@ using System.Collections; using System.Collections.Generic; using System.Linq; -using Azure.Core; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Represents a geometry that is composed of multiple . diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoLinearRing.cs b/sdk/core/Azure.Core/src/GeoJson/GeoLinearRing.cs index 47153f823b84..ed6d0bd27311 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoLinearRing.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoLinearRing.cs @@ -4,9 +4,8 @@ using System; using System.Collections.Generic; using System.Linq; -using Azure.Core; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Represents a linear ring that's a part of a polygon diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoObject.cs b/sdk/core/Azure.Core/src/GeoJson/GeoObject.cs index df3b70078027..efa2aec96774 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoObject.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoObject.cs @@ -6,9 +6,8 @@ using System.IO; using System.Text; using System.Text.Json; -using Azure.Core; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// A base type for all spatial types. diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoObjectType.cs b/sdk/core/Azure.Core/src/GeoJson/GeoObjectType.cs index 462e703449df..47c2b6080c57 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoObjectType.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoObjectType.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Identifies the type of the diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoPoint.cs b/sdk/core/Azure.Core/src/GeoJson/GeoPoint.cs index bd8b48d147dd..cc73ca4f5d32 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoPoint.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoPoint.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Represents a point geometry. diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoPointCollection.cs b/sdk/core/Azure.Core/src/GeoJson/GeoPointCollection.cs index 04ff08ef06b4..474898f585e6 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoPointCollection.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoPointCollection.cs @@ -4,9 +4,8 @@ using System.Collections; using System.Collections.Generic; using System.Linq; -using Azure.Core; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Represents a geometry that is composed of multiple . diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoPolygon.cs b/sdk/core/Azure.Core/src/GeoJson/GeoPolygon.cs index 235dc6248181..45461dfe1df1 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoPolygon.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoPolygon.cs @@ -3,9 +3,8 @@ using System.Collections.Generic; using System.Linq; -using Azure.Core; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Represents a polygon consisting of outer ring and optional inner rings. diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoPolygonCollection.cs b/sdk/core/Azure.Core/src/GeoJson/GeoPolygonCollection.cs index 5e018713daca..95914fe1cdee 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoPolygonCollection.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoPolygonCollection.cs @@ -4,9 +4,8 @@ using System.Collections; using System.Collections.Generic; using System.Linq; -using Azure.Core; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Represents a geometry that is composed of multiple . diff --git a/sdk/core/Azure.Core/src/GeoJson/GeoPosition.cs b/sdk/core/Azure.Core/src/GeoJson/GeoPosition.cs index 188944eba32b..396ed137bf14 100644 --- a/sdk/core/Azure.Core/src/GeoJson/GeoPosition.cs +++ b/sdk/core/Azure.Core/src/GeoJson/GeoPosition.cs @@ -2,9 +2,8 @@ // Licensed under the MIT License. using System; -using Azure.Core; -namespace Azure.GeoJson +namespace Azure.Core.GeoJson { /// /// Represents a single spatial position with altitude, longitude, and optional latitude. diff --git a/sdk/core/Azure.Core/tests/GeoArrayTests.cs b/sdk/core/Azure.Core/tests/GeoArrayTests.cs index 527407c31e8f..742b0aacddca 100644 --- a/sdk/core/Azure.Core/tests/GeoArrayTests.cs +++ b/sdk/core/Azure.Core/tests/GeoArrayTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System.Linq; -using Azure.GeoJson; +using Azure.Core.GeoJson; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/GeoJsonSerializationTests.cs b/sdk/core/Azure.Core/tests/GeoJsonSerializationTests.cs index b8dec1a7c85d..3445a1f7267f 100644 --- a/sdk/core/Azure.Core/tests/GeoJsonSerializationTests.cs +++ b/sdk/core/Azure.Core/tests/GeoJsonSerializationTests.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.IO; using System.Text.Json; -using Azure.GeoJson; +using Azure.Core.GeoJson; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/GeoJsonTests.cs b/sdk/core/Azure.Core/tests/GeoJsonTests.cs index c170dbac685b..bddfb50f71da 100644 --- a/sdk/core/Azure.Core/tests/GeoJsonTests.cs +++ b/sdk/core/Azure.Core/tests/GeoJsonTests.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.GeoJson; +using Azure.Core.GeoJson; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/samples/GeoJsonSamples.cs b/sdk/core/Azure.Core/tests/samples/GeoJsonSamples.cs index c16e0b12e5e0..85294f397d34 100644 --- a/sdk/core/Azure.Core/tests/samples/GeoJsonSamples.cs +++ b/sdk/core/Azure.Core/tests/samples/GeoJsonSamples.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.GeoJson; +using Azure.Core.GeoJson; using NUnit.Framework; namespace Azure.Core.Samples diff --git a/sdk/search/Azure.Search.Documents/api/Azure.Search.Documents.netstandard2.0.cs b/sdk/search/Azure.Search.Documents/api/Azure.Search.Documents.netstandard2.0.cs index 0547543e1ad3..cfa413110f23 100644 --- a/sdk/search/Azure.Search.Documents/api/Azure.Search.Documents.netstandard2.0.cs +++ b/sdk/search/Azure.Search.Documents/api/Azure.Search.Documents.netstandard2.0.cs @@ -2549,8 +2549,8 @@ public void Clear() { } public System.Collections.Generic.IReadOnlyList GetInt64Collection(string key) { throw null; } public Azure.Search.Documents.Models.SearchDocument GetObject(string key) { throw null; } public System.Collections.Generic.IReadOnlyList GetObjectCollection(string key) { throw null; } - public Azure.GeoJson.GeoPoint GetPoint(string key) { throw null; } - public System.Collections.Generic.IReadOnlyList GetPointCollection(string key) { throw null; } + public Azure.Core.GeoJson.GeoPoint GetPoint(string key) { throw null; } + public System.Collections.Generic.IReadOnlyList GetPointCollection(string key) { throw null; } public string GetString(string key) { throw null; } public System.Collections.Generic.IReadOnlyList GetStringCollection(string key) { throw null; } public bool Remove(string key) { throw null; } diff --git a/sdk/search/Azure.Search.Documents/src/Indexes/FieldBuilder.cs b/sdk/search/Azure.Search.Documents/src/Indexes/FieldBuilder.cs index ca4ba844172c..173e4c5d4d86 100644 --- a/sdk/search/Azure.Search.Documents/src/Indexes/FieldBuilder.cs +++ b/sdk/search/Azure.Search.Documents/src/Indexes/FieldBuilder.cs @@ -11,7 +11,7 @@ using Azure.Core; using Azure.Core.Serialization; using Azure.Search.Documents.Indexes.Models; -using Azure.GeoJson; +using Azure.Core.GeoJson; namespace Azure.Search.Documents.Indexes { diff --git a/sdk/search/Azure.Search.Documents/src/SearchDocument/SearchDocument.cs b/sdk/search/Azure.Search.Documents/src/SearchDocument/SearchDocument.cs index 705a6df889b4..146a5192a158 100644 --- a/sdk/search/Azure.Search.Documents/src/SearchDocument/SearchDocument.cs +++ b/sdk/search/Azure.Search.Documents/src/SearchDocument/SearchDocument.cs @@ -8,7 +8,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using Azure.Core; -using Azure.GeoJson; +using Azure.Core.GeoJson; namespace Azure.Search.Documents.Models { diff --git a/sdk/search/Azure.Search.Documents/src/SearchFilter.cs b/sdk/search/Azure.Search.Documents/src/SearchFilter.cs index 7aae04de6101..7d715b587419 100644 --- a/sdk/search/Azure.Search.Documents/src/SearchFilter.cs +++ b/sdk/search/Azure.Search.Documents/src/SearchFilter.cs @@ -5,7 +5,7 @@ using System.Globalization; using System.Text; using Azure.Core; -using Azure.GeoJson; +using Azure.Core.GeoJson; namespace Azure.Search.Documents { diff --git a/sdk/search/Azure.Search.Documents/src/Serialization/JsonSerialization.cs b/sdk/search/Azure.Search.Documents/src/Serialization/JsonSerialization.cs index f4c578411919..00b9337e490f 100644 --- a/sdk/search/Azure.Search.Documents/src/Serialization/JsonSerialization.cs +++ b/sdk/search/Azure.Search.Documents/src/Serialization/JsonSerialization.cs @@ -12,7 +12,7 @@ using System.Threading.Tasks; using Azure.Core.Pipeline; using Azure.Core.Serialization; -using Azure.GeoJson; +using Azure.Core.GeoJson; using Azure.Search.Documents.Models; namespace Azure.Search.Documents diff --git a/sdk/search/Azure.Search.Documents/src/Spatial/SpatialFormatter.cs b/sdk/search/Azure.Search.Documents/src/Spatial/SpatialFormatter.cs index 7c8eb212b6f3..ff0ca554af5e 100644 --- a/sdk/search/Azure.Search.Documents/src/Spatial/SpatialFormatter.cs +++ b/sdk/search/Azure.Search.Documents/src/Spatial/SpatialFormatter.cs @@ -5,7 +5,7 @@ using System.Globalization; using System.Text; using Azure.Core; -using Azure.GeoJson; +using Azure.Core.GeoJson; namespace Azure.Search.Documents { diff --git a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/IndexingTests.cs b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/IndexingTests.cs index 450416cd9e3c..9570e13b5e50 100644 --- a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/IndexingTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/IndexingTests.cs @@ -8,7 +8,7 @@ using System.Text.Json.Serialization; using System.Threading.Tasks; using Azure.Core.Serialization; -using Azure.GeoJson; +using Azure.Core.GeoJson; using Azure.Core.TestFramework; using Azure.Search.Documents.Models; using NUnit.Framework; diff --git a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SearchTests.cs b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SearchTests.cs index 10f53e1790c0..ec56d71535d5 100644 --- a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SearchTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SearchTests.cs @@ -8,7 +8,7 @@ using System.Text.Json; using System.Threading.Tasks; using Azure.Core.Serialization; -using Azure.GeoJson; +using Azure.Core.GeoJson; using Azure.Core.TestFramework; using Azure.Search.Documents.Indexes; using Azure.Search.Documents.Models; diff --git a/sdk/search/Azure.Search.Documents/tests/Models/ReflectableModel.cs b/sdk/search/Azure.Search.Documents/tests/Models/ReflectableModel.cs index 0624824c096c..20a63d7f9378 100644 --- a/sdk/search/Azure.Search.Documents/tests/Models/ReflectableModel.cs +++ b/sdk/search/Azure.Search.Documents/tests/Models/ReflectableModel.cs @@ -6,7 +6,7 @@ using System.Text.Json.Serialization; using Azure.Search.Documents.Indexes; using Azure.Search.Documents.Indexes.Models; -using Azure.GeoJson; +using Azure.Core.GeoJson; using Microsoft.Spatial; using KeyFieldAttribute = System.ComponentModel.DataAnnotations.KeyAttribute; diff --git a/sdk/search/Azure.Search.Documents/tests/Models/ReflectableStructModel.cs b/sdk/search/Azure.Search.Documents/tests/Models/ReflectableStructModel.cs index 32d779852615..f4a8b12c61bf 100644 --- a/sdk/search/Azure.Search.Documents/tests/Models/ReflectableStructModel.cs +++ b/sdk/search/Azure.Search.Documents/tests/Models/ReflectableStructModel.cs @@ -6,7 +6,7 @@ using System.Text.Json.Serialization; using Azure.Search.Documents.Indexes; using Azure.Search.Documents.Indexes.Models; -using Azure.GeoJson; +using Azure.Core.GeoJson; using Microsoft.Spatial; using KeyFieldAttribute = System.ComponentModel.DataAnnotations.KeyAttribute; diff --git a/sdk/search/Azure.Search.Documents/tests/Serialization/SearchDocumentTests.cs b/sdk/search/Azure.Search.Documents/tests/Serialization/SearchDocumentTests.cs index 190d5179c331..3c41196c41e5 100644 --- a/sdk/search/Azure.Search.Documents/tests/Serialization/SearchDocumentTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/Serialization/SearchDocumentTests.cs @@ -7,7 +7,7 @@ using System.Dynamic; using System.Linq; using System.Text.Json; -using Azure.GeoJson; +using Azure.Core.GeoJson; using Azure.Search.Documents.Models; using NUnit.Framework; diff --git a/sdk/search/Azure.Search.Documents/tests/Serialization/SearchFilterTests.cs b/sdk/search/Azure.Search.Documents/tests/Serialization/SearchFilterTests.cs index 74a4b69731d7..cec1b480342e 100644 --- a/sdk/search/Azure.Search.Documents/tests/Serialization/SearchFilterTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/Serialization/SearchFilterTests.cs @@ -4,7 +4,7 @@ using System; using System.Collections; using System.Text; -using Azure.GeoJson; +using Azure.Core.GeoJson; using Microsoft.Spatial; using NUnit.Framework; diff --git a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchResources.Data.cs b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchResources.Data.cs index 4dbdb36551ff..5bbae9af3c59 100644 --- a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchResources.Data.cs +++ b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchResources.Data.cs @@ -4,7 +4,7 @@ using System; using System.Linq; using System.Text.Json.Serialization; -using Azure.GeoJson; +using Azure.Core.GeoJson; using Azure.Core.Serialization; using Azure.Search.Documents.Models; using Azure.Search.Documents.Indexes.Models; diff --git a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs index de659116ebc9..427133a7898a 100644 --- a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs +++ b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; -using Azure.GeoJson; +using Azure.Core.GeoJson; using Azure.Core.TestFramework; using Azure.Search.Documents.Indexes; using Azure.Search.Documents.Indexes.Models; diff --git a/sdk/search/Azure.Search.Documents/tests/Utilities/TestExtensions.cs b/sdk/search/Azure.Search.Documents/tests/Utilities/TestExtensions.cs index e501da01090d..d495908c8397 100644 --- a/sdk/search/Azure.Search.Documents/tests/Utilities/TestExtensions.cs +++ b/sdk/search/Azure.Search.Documents/tests/Utilities/TestExtensions.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.GeoJson; +using Azure.Core.GeoJson; using Azure.Search.Documents.Models; using Microsoft.Spatial; using NUnit.Framework;