forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overwrite Vision.Face with public preview client (Azure#22106)
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
Showing
65 changed files
with
9,518 additions
and
4,572 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...ognitiveservices/Vision.Face/src/Customizations/FaceClientPersonDirectoryCustomization.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Oops, something went wrong.
52 changes: 43 additions & 9 deletions
52
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.
Oops, something went wrong.
32 changes: 23 additions & 9 deletions
32
sdk/cognitiveservices/Vision.Face/src/Generated/FaceOperationsExtensions.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
sdk/cognitiveservices/Vision.Face/src/Generated/IFaceClient.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
38 changes: 28 additions & 10 deletions
38
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.
Oops, something went wrong.
Oops, something went wrong.