Skip to content

Commit

Permalink
Overwrite Vision.Face with public preview client (Azure#22106)
Browse files Browse the repository at this point in the history
Replace the client content in Vision.Face with the public preview
client generated from Face/preview/v1.0-preview/Face.json that points
to face/v1.0-preview endpoints.

Co-authored-by: Yang Chen <yachen4@microsoft.com>
  • Loading branch information
msyache and Yang Chen committed Nov 22, 2021
1 parent 87084f3 commit 46fd7c4
Show file tree
Hide file tree
Showing 65 changed files with 9,518 additions and 4,572 deletions.
5 changes: 5 additions & 0 deletions sdk/cognitiveservices/Vision.Face/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release History

## 2.8.0-preview.1 (Unreleased)

- Add support for the Person Directory feature
- Note that this version points to the face/v1.0-preview (public preview) endpoints.

## 2.7.0-preview.2 (Unreleased)


Expand Down
4 changes: 2 additions & 2 deletions sdk/cognitiveservices/Vision.Face/Face.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.16
# Visual Studio Version 16
VisualStudioVersion = 16.0.30615.102
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.CognitiveServices.Vision.Face", "src\Microsoft.Azure.CognitiveServices.Vision.Face.csproj", "{6807B854-8528-4FEE-A25D-C43C3AA2D601}"
EndProject
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Microsoft.Azure.CognitiveServices.Vision.Face
{
public partial class FaceClient
{
partial void CustomInitialize()
{
PersonDirectoryExtensions.asyncOperationAction = this.Snapshot.GetOperationStatusAsync;
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 43 additions & 9 deletions sdk/cognitiveservices/Vision.Face/src/Generated/FaceOperations.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 28 additions & 10 deletions sdk/cognitiveservices/Vision.Face/src/Generated/IFaceOperations.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 46fd7c4

Please sign in to comment.