docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ValidatePackage

    ValidatePackage(string, ValidationType)

    Validate a package for the given validation context.

    Declaration
    public static bool ValidatePackage(string packageId, ValidationType validationType)
    Parameters
    Type Name Description
    string packageId

    Package Id in the format of [package name]@[package version].

    ValidationType validationType

    The type of validation to assess.

    Returns
    Type Description
    bool

    True if the validation successfully completed.

    ValidatePackage(string, string, ValidationType)

    Validate a package for the given validation context.

    Declaration
    public static bool ValidatePackage(string packageName, string packageVersion, ValidationType validationType)
    Parameters
    Type Name Description
    string packageName

    The name of the package to validate.

    string packageVersion

    The version of the package to validate.

    ValidationType validationType

    The type of validation to assess.

    Returns
    Type Description
    bool

    True if the validation successfully completed.

    ValidatePackage(string, string, string[])

    Declaration
    public static bool ValidatePackage(string packageName, string packageVersion, string[] packageIdsForPromotion)
    Parameters
    Type Name Description
    string packageName
    string packageVersion
    string[] packageIdsForPromotion
    Returns
    Type Description
    bool

    ValidatePackage(VettingContext, out ValidationSuiteReport)

    Declaration
    public static bool ValidatePackage(VettingContext context, out ValidationSuiteReport report)
    Parameters
    Type Name Description
    VettingContext context
    ValidationSuiteReport report
    Returns
    Type Description
    bool

    ValidatePackage(VettingContext, ValidationType, out ValidationSuiteReport)

    Declaration
    public static bool ValidatePackage(VettingContext context, ValidationType validationType, out ValidationSuiteReport report)
    Parameters
    Type Name Description
    VettingContext context
    ValidationType validationType
    ValidationSuiteReport report
    Returns
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)