Class VettingContext | Package Validation Suite | 0.13.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class VettingContext

    Class containing package data required for vetting.

    Inheritance
    Object
    VettingContext
    Namespace: UnityEditor.PackageManager.ValidationSuite
    Syntax
    public class VettingContext

    Fields

    PreviousVersionBinaryPath

    Declaration
    public const string PreviousVersionBinaryPath = "Temp/ApiValidationBinaries"
    Field Value
    Type Description
    String

    relatedPackages

    Declaration
    public List<RelatedPackage> relatedPackages
    Field Value
    Type Description
    List<RelatedPackage>

    Properties

    AllVersions

    Declaration
    public string[] AllVersions { get; set; }
    Property Value
    Type Description
    String[]

    IsCore

    Declaration
    public bool IsCore { get; set; }
    Property Value
    Type Description
    Boolean

    PackageExistsOnProduction

    Declaration
    public bool PackageExistsOnProduction { get; set; }
    Property Value
    Type Description
    Boolean

    PreviousPackageBinaryDirectory

    Declaration
    public string PreviousPackageBinaryDirectory { get; set; }
    Property Value
    Type Description
    String

    PreviousPackageInfo

    Declaration
    public ManifestData PreviousPackageInfo { get; set; }
    Property Value
    Type Description
    ManifestData

    ProjectPackageInfo

    Declaration
    public ManifestData ProjectPackageInfo { get; set; }
    Property Value
    Type Description
    ManifestData

    PublishPackageInfo

    Declaration
    public ManifestData PublishPackageInfo { get; set; }
    Property Value
    Type Description
    ManifestData

    ValidationExceptionManager

    Declaration
    public ValidationExceptionManager ValidationExceptionManager { get; set; }
    Property Value
    Type Description
    ValidationExceptionManager

    ValidationType

    Declaration
    public ValidationType ValidationType { get; set; }
    Property Value
    Type Description
    ValidationType

    VSuiteInfo

    Declaration
    public ManifestData VSuiteInfo { get; set; }
    Property Value
    Type Description
    ManifestData

    Methods

    CreateAssetStoreContext(String, String, String, String)

    Declaration
    public static VettingContext CreateAssetStoreContext(string packageName, string packageVersion, string packagePath, string previousPackagePath)
    Parameters
    Type Name Description
    String packageName
    String packageVersion
    String packagePath
    String previousPackagePath
    Returns
    Type Description
    VettingContext

    CreatePackmanContext(String, ValidationType)

    Declaration
    public static VettingContext CreatePackmanContext(string packageId, ValidationType validationType)
    Parameters
    Type Name Description
    String packageId
    ValidationType validationType
    Returns
    Type Description
    VettingContext

    GetManifest(String)

    Declaration
    public static ManifestData GetManifest(string packagePath)
    Parameters
    Type Name Description
    String packagePath
    Returns
    Type Description
    ManifestData
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023