IWinGetManifest.cs (1200B)
1 // ----------------------------------------------------------------------------- 2 // <copyright file="IWinGetManifest.cs" company="Microsoft Corporation"> 3 // Copyright (c) Microsoft Corporation. Licensed under the MIT License. 4 // </copyright> 5 // ----------------------------------------------------------------------------- 6 7 namespace Microsoft.WinGetUtil.Interfaces 8 { 9 using System; 10 using Microsoft.WinGetUtil.Common; 11 12 /// <summary> 13 /// Interface for Wrapper class around WinGetUtil index modifier native implementation. 14 /// </summary> 15 public interface IWinGetManifest : IDisposable 16 { 17 /// <summary> 18 /// Validate the manifest. 19 /// </summary> 20 /// <param name="indexHandle">The index handle.</param> 21 /// <param name="option">Manifest validation option.</param> 22 /// <param name="operationType">Manifest validation operation type.</param> 23 /// <returns>Result and message from manifest validation.</returns> 24 ManifestValidationResult ValidateManifestV3( 25 IntPtr indexHandle, 26 WinGetValidateManifestOptionV2 option, 27 WinGetValidateManifestOperationType operationType); 28 } 29 }