Skip to content

Commit

Permalink
update api
Browse files Browse the repository at this point in the history
  • Loading branch information
m-nash committed Sep 5, 2023
1 parent 748872b commit ae54d7d
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 399 deletions.
66 changes: 0 additions & 66 deletions sdk/core/Azure.Core/api/Azure.Core.net461.cs
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,6 @@ public abstract partial class RequestContent : System.IDisposable
{
protected RequestContent() { }
public static Azure.Core.RequestContent Create(Azure.Core.Serialization.DynamicData content) { throw null; }
public static Azure.Core.RequestContent Create(Azure.Core.Serialization.IModelJsonSerializable<object> model, Azure.Core.Serialization.ModelSerializerOptions? options = null) { throw null; }
public static Azure.Core.RequestContent Create(Azure.Core.Serialization.IModelSerializable<object> model, Azure.Core.Serialization.ModelSerializerOptions? options = null) { throw null; }
public static Azure.Core.RequestContent Create(System.BinaryData content) { throw null; }
public static Azure.Core.RequestContent Create(System.Buffers.ReadOnlySequence<byte> bytes) { throw null; }
public static Azure.Core.RequestContent Create(byte[] bytes) { throw null; }
Expand Down Expand Up @@ -1077,12 +1075,6 @@ public ServerCertificateCustomValidationArgs(System.Security.Cryptography.X509Ce
}
namespace Azure.Core.Serialization
{
[System.AttributeUsageAttribute(System.AttributeTargets.Class)]
public sealed partial class DeserializationProxyAttribute : System.Attribute
{
public DeserializationProxyAttribute(System.Type proxyType) { }
public System.Type ProxyType { get { throw null; } }
}
[System.Diagnostics.DebuggerDisplayAttribute("{DebuggerDisplay,nq}")]
public sealed partial class DynamicData : System.Dynamic.IDynamicMetaObjectProvider, System.IDisposable
{
Expand Down Expand Up @@ -1117,16 +1109,6 @@ public partial interface IMemberNameConverter
{
string? ConvertMemberName(System.Reflection.MemberInfo member);
}
public partial interface IModelJsonSerializable<out T> : Azure.Core.Serialization.IModelSerializable<T>
{
T Deserialize(ref System.Text.Json.Utf8JsonReader reader, Azure.Core.Serialization.ModelSerializerOptions options);
void Serialize(System.Text.Json.Utf8JsonWriter writer, Azure.Core.Serialization.ModelSerializerOptions options);
}
public partial interface IModelSerializable<out T>
{
T Deserialize(System.BinaryData data, Azure.Core.Serialization.ModelSerializerOptions options);
System.BinaryData Serialize(Azure.Core.Serialization.ModelSerializerOptions options);
}
public partial class JsonObjectSerializer : Azure.Core.Serialization.ObjectSerializer, Azure.Core.Serialization.IMemberNameConverter
{
public JsonObjectSerializer() { }
Expand All @@ -1145,54 +1127,6 @@ public enum JsonPropertyNames
UseExact = 0,
CamelCase = 1,
}
public partial class ModelJsonConverter : System.Text.Json.Serialization.JsonConverter<Azure.Core.Serialization.IModelJsonSerializable<object>>
{
public ModelJsonConverter() { }
public ModelJsonConverter(Azure.Core.Serialization.ModelSerializerFormat format) { }
public ModelJsonConverter(Azure.Core.Serialization.ModelSerializerOptions options) { }
public Azure.Core.Serialization.ModelSerializerOptions ModelSerializerOptions { get { throw null; } }
public override bool CanConvert(System.Type typeToConvert) { throw null; }
public override Azure.Core.Serialization.IModelJsonSerializable<object> 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.Serialization.IModelJsonSerializable<object> value, System.Text.Json.JsonSerializerOptions options) { }
}
public static partial class ModelSerializer
{
public static object? Deserialize(System.BinaryData data, System.Type returnType, Azure.Core.Serialization.ModelSerializerFormat format) { throw null; }
public static object? Deserialize(System.BinaryData data, System.Type returnType, Azure.Core.Serialization.ModelSerializerOptions? options = null) { throw null; }
public static T? Deserialize<T>(System.BinaryData data, Azure.Core.Serialization.ModelSerializerFormat format) where T : Azure.Core.Serialization.IModelSerializable<T> { throw null; }
public static T? Deserialize<T>(System.BinaryData data, Azure.Core.Serialization.ModelSerializerOptions? options = null) where T : Azure.Core.Serialization.IModelSerializable<T> { throw null; }
public static System.BinaryData Serialize(object model, Azure.Core.Serialization.ModelSerializerFormat format) { throw null; }
public static System.BinaryData Serialize(object model, Azure.Core.Serialization.ModelSerializerOptions? options = null) { throw null; }
public static System.BinaryData SerializeCore(Azure.Core.Serialization.IModelJsonSerializable<object> model, Azure.Core.Serialization.ModelSerializerOptions options) { throw null; }
public static System.BinaryData Serialize<T>(T model, Azure.Core.Serialization.ModelSerializerFormat format) where T : Azure.Core.Serialization.IModelSerializable<T> { throw null; }
public static System.BinaryData Serialize<T>(T model, Azure.Core.Serialization.ModelSerializerOptions? options = null) where T : Azure.Core.Serialization.IModelSerializable<T> { throw null; }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct ModelSerializerFormat : System.IEquatable<Azure.Core.Serialization.ModelSerializerFormat>
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public static readonly Azure.Core.Serialization.ModelSerializerFormat Json;
public static readonly Azure.Core.Serialization.ModelSerializerFormat Wire;
public ModelSerializerFormat(string value) { throw null; }
public bool Equals(Azure.Core.Serialization.ModelSerializerFormat other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override int GetHashCode() { throw null; }
public static bool operator ==(Azure.Core.Serialization.ModelSerializerFormat left, Azure.Core.Serialization.ModelSerializerFormat right) { throw null; }
public static implicit operator Azure.Core.Serialization.ModelSerializerFormat (string value) { throw null; }
public static bool operator !=(Azure.Core.Serialization.ModelSerializerFormat left, Azure.Core.Serialization.ModelSerializerFormat right) { throw null; }
public override string ToString() { throw null; }
}
public partial class ModelSerializerOptions
{
public static readonly Azure.Core.Serialization.ModelSerializerOptions DefaultWireOptions;
public ModelSerializerOptions() { }
public ModelSerializerOptions(Azure.Core.Serialization.ModelSerializerFormat format) { }
public Azure.Core.Serialization.ModelSerializerFormat Format { get { throw null; } }
public System.Func<System.Type, Azure.Core.Serialization.ObjectSerializer>? ObjectSerializerResolver { get { throw null; } set { } }
}
public abstract partial class ObjectSerializer
{
protected ObjectSerializer() { }
Expand Down
66 changes: 0 additions & 66 deletions sdk/core/Azure.Core/api/Azure.Core.net472.cs
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,6 @@ public abstract partial class RequestContent : System.IDisposable
{
protected RequestContent() { }
public static Azure.Core.RequestContent Create(Azure.Core.Serialization.DynamicData content) { throw null; }
public static Azure.Core.RequestContent Create(Azure.Core.Serialization.IModelJsonSerializable<object> model, Azure.Core.Serialization.ModelSerializerOptions? options = null) { throw null; }
public static Azure.Core.RequestContent Create(Azure.Core.Serialization.IModelSerializable<object> model, Azure.Core.Serialization.ModelSerializerOptions? options = null) { throw null; }
public static Azure.Core.RequestContent Create(System.BinaryData content) { throw null; }
public static Azure.Core.RequestContent Create(System.Buffers.ReadOnlySequence<byte> bytes) { throw null; }
public static Azure.Core.RequestContent Create(byte[] bytes) { throw null; }
Expand Down Expand Up @@ -1077,12 +1075,6 @@ public ServerCertificateCustomValidationArgs(System.Security.Cryptography.X509Ce
}
namespace Azure.Core.Serialization
{
[System.AttributeUsageAttribute(System.AttributeTargets.Class)]
public sealed partial class DeserializationProxyAttribute : System.Attribute
{
public DeserializationProxyAttribute(System.Type proxyType) { }
public System.Type ProxyType { get { throw null; } }
}
[System.Diagnostics.DebuggerDisplayAttribute("{DebuggerDisplay,nq}")]
public sealed partial class DynamicData : System.Dynamic.IDynamicMetaObjectProvider, System.IDisposable
{
Expand Down Expand Up @@ -1117,16 +1109,6 @@ public partial interface IMemberNameConverter
{
string? ConvertMemberName(System.Reflection.MemberInfo member);
}
public partial interface IModelJsonSerializable<out T> : Azure.Core.Serialization.IModelSerializable<T>
{
T Deserialize(ref System.Text.Json.Utf8JsonReader reader, Azure.Core.Serialization.ModelSerializerOptions options);
void Serialize(System.Text.Json.Utf8JsonWriter writer, Azure.Core.Serialization.ModelSerializerOptions options);
}
public partial interface IModelSerializable<out T>
{
T Deserialize(System.BinaryData data, Azure.Core.Serialization.ModelSerializerOptions options);
System.BinaryData Serialize(Azure.Core.Serialization.ModelSerializerOptions options);
}
public partial class JsonObjectSerializer : Azure.Core.Serialization.ObjectSerializer, Azure.Core.Serialization.IMemberNameConverter
{
public JsonObjectSerializer() { }
Expand All @@ -1145,54 +1127,6 @@ public enum JsonPropertyNames
UseExact = 0,
CamelCase = 1,
}
public partial class ModelJsonConverter : System.Text.Json.Serialization.JsonConverter<Azure.Core.Serialization.IModelJsonSerializable<object>>
{
public ModelJsonConverter() { }
public ModelJsonConverter(Azure.Core.Serialization.ModelSerializerFormat format) { }
public ModelJsonConverter(Azure.Core.Serialization.ModelSerializerOptions options) { }
public Azure.Core.Serialization.ModelSerializerOptions ModelSerializerOptions { get { throw null; } }
public override bool CanConvert(System.Type typeToConvert) { throw null; }
public override Azure.Core.Serialization.IModelJsonSerializable<object> 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.Serialization.IModelJsonSerializable<object> value, System.Text.Json.JsonSerializerOptions options) { }
}
public static partial class ModelSerializer
{
public static object? Deserialize(System.BinaryData data, System.Type returnType, Azure.Core.Serialization.ModelSerializerFormat format) { throw null; }
public static object? Deserialize(System.BinaryData data, System.Type returnType, Azure.Core.Serialization.ModelSerializerOptions? options = null) { throw null; }
public static T? Deserialize<T>(System.BinaryData data, Azure.Core.Serialization.ModelSerializerFormat format) where T : Azure.Core.Serialization.IModelSerializable<T> { throw null; }
public static T? Deserialize<T>(System.BinaryData data, Azure.Core.Serialization.ModelSerializerOptions? options = null) where T : Azure.Core.Serialization.IModelSerializable<T> { throw null; }
public static System.BinaryData Serialize(object model, Azure.Core.Serialization.ModelSerializerFormat format) { throw null; }
public static System.BinaryData Serialize(object model, Azure.Core.Serialization.ModelSerializerOptions? options = null) { throw null; }
public static System.BinaryData SerializeCore(Azure.Core.Serialization.IModelJsonSerializable<object> model, Azure.Core.Serialization.ModelSerializerOptions options) { throw null; }
public static System.BinaryData Serialize<T>(T model, Azure.Core.Serialization.ModelSerializerFormat format) where T : Azure.Core.Serialization.IModelSerializable<T> { throw null; }
public static System.BinaryData Serialize<T>(T model, Azure.Core.Serialization.ModelSerializerOptions? options = null) where T : Azure.Core.Serialization.IModelSerializable<T> { throw null; }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct ModelSerializerFormat : System.IEquatable<Azure.Core.Serialization.ModelSerializerFormat>
{
private readonly object _dummy;
private readonly int _dummyPrimitive;
public static readonly Azure.Core.Serialization.ModelSerializerFormat Json;
public static readonly Azure.Core.Serialization.ModelSerializerFormat Wire;
public ModelSerializerFormat(string value) { throw null; }
public bool Equals(Azure.Core.Serialization.ModelSerializerFormat other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override int GetHashCode() { throw null; }
public static bool operator ==(Azure.Core.Serialization.ModelSerializerFormat left, Azure.Core.Serialization.ModelSerializerFormat right) { throw null; }
public static implicit operator Azure.Core.Serialization.ModelSerializerFormat (string value) { throw null; }
public static bool operator !=(Azure.Core.Serialization.ModelSerializerFormat left, Azure.Core.Serialization.ModelSerializerFormat right) { throw null; }
public override string ToString() { throw null; }
}
public partial class ModelSerializerOptions
{
public static readonly Azure.Core.Serialization.ModelSerializerOptions DefaultWireOptions;
public ModelSerializerOptions() { }
public ModelSerializerOptions(Azure.Core.Serialization.ModelSerializerFormat format) { }
public Azure.Core.Serialization.ModelSerializerFormat Format { get { throw null; } }
public System.Func<System.Type, Azure.Core.Serialization.ObjectSerializer>? ObjectSerializerResolver { get { throw null; } set { } }
}
public abstract partial class ObjectSerializer
{
protected ObjectSerializer() { }
Expand Down
Loading

0 comments on commit ae54d7d

Please sign in to comment.