Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update API for Azure.Core.Experimental #44830

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,6 @@ public partial interface ISupportsProofOfPossession
Azure.Core.AccessToken GetToken(Azure.Core.PopTokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken);
System.Threading.Tasks.ValueTask<Azure.Core.AccessToken> GetTokenAsync(Azure.Core.PopTokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken);
}
public partial class LruCache<TKey, TValue> : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IEnumerable where TKey : notnull
{
public LruCache(int capacity) { }
public int Count { get { throw null; } }
public int TotalLength { get { throw null; } }
public void AddOrUpdate(TKey key, TValue? val, int length) { }
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, TValue>> GetEnumerator() { throw null; }
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
public bool TryGet(TKey key, out TValue? value) { throw null; }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct PopTokenRequestContext
{
Expand All @@ -167,13 +157,6 @@ public partial class ProvisionableTemplateAttribute : System.Attribute
public ProvisionableTemplateAttribute(string resourceName) { }
public string ResourceName { get { throw null; } }
}
public abstract partial class SchemaValidator
{
protected SchemaValidator() { }
public abstract string GenerateSchema(System.Type dataType);
public abstract bool TryValidate(object data, System.Type dataType, string schemaDefinition, out System.Collections.Generic.IEnumerable<System.Exception> validationErrors);
public virtual void Validate(object data, System.Type dataType, string schemaDefinition) { }
}
}
namespace Azure.Core.Pipeline
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,6 @@ public partial interface ISupportsProofOfPossession
Azure.Core.AccessToken GetToken(Azure.Core.PopTokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken);
System.Threading.Tasks.ValueTask<Azure.Core.AccessToken> GetTokenAsync(Azure.Core.PopTokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken);
}
public partial class LruCache<TKey, TValue> : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IEnumerable where TKey : notnull
{
public LruCache(int capacity) { }
public int Count { get { throw null; } }
public int TotalLength { get { throw null; } }
public void AddOrUpdate(TKey key, TValue? val, int length) { }
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, TValue>> GetEnumerator() { throw null; }
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
public bool TryGet(TKey key, out TValue? value) { throw null; }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct PopTokenRequestContext
{
Expand All @@ -167,13 +157,6 @@ public partial class ProvisionableTemplateAttribute : System.Attribute
public ProvisionableTemplateAttribute(string resourceName) { }
public string ResourceName { get { throw null; } }
}
public abstract partial class SchemaValidator
{
protected SchemaValidator() { }
public abstract string GenerateSchema(System.Type dataType);
public abstract bool TryValidate(object data, System.Type dataType, string schemaDefinition, out System.Collections.Generic.IEnumerable<System.Exception> validationErrors);
public virtual void Validate(object data, System.Type dataType, string schemaDefinition) { }
}
}
namespace Azure.Core.Pipeline
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,6 @@ public partial interface ISupportsProofOfPossession
Azure.Core.AccessToken GetToken(Azure.Core.PopTokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken);
System.Threading.Tasks.ValueTask<Azure.Core.AccessToken> GetTokenAsync(Azure.Core.PopTokenRequestContext requestContext, System.Threading.CancellationToken cancellationToken);
}
public partial class LruCache<TKey, TValue> : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey, TValue>>, System.Collections.IEnumerable where TKey : notnull
{
public LruCache(int capacity) { }
public int Count { get { throw null; } }
public int TotalLength { get { throw null; } }
public void AddOrUpdate(TKey key, TValue? val, int length) { }
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<TKey, TValue>> GetEnumerator() { throw null; }
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
public bool TryGet(TKey key, out TValue? value) { throw null; }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct PopTokenRequestContext
{
Expand All @@ -167,13 +157,6 @@ public partial class ProvisionableTemplateAttribute : System.Attribute
public ProvisionableTemplateAttribute(string resourceName) { }
public string ResourceName { get { throw null; } }
}
public abstract partial class SchemaValidator
{
protected SchemaValidator() { }
public abstract string GenerateSchema(System.Type dataType);
public abstract bool TryValidate(object data, System.Type dataType, string schemaDefinition, out System.Collections.Generic.IEnumerable<System.Exception> validationErrors);
public virtual void Validate(object data, System.Type dataType, string schemaDefinition) { }
}
}
namespace Azure.Core.Pipeline
{
Expand Down