Search Results for

    Show / Hide Table of Contents

    Class Package

    Defines an available Package for the AppCatalog.

    Inheritance
    System.Object
    BaseModel
    Package
    Inherited Members
    BaseModel.ParentTemplate
    Namespace: PnP.Framework.Provisioning.Model
    Assembly: PnP.Framework.dll
    Syntax
    public class Package : BaseModel, IProvisioningTemplateDescendant

    Properties

    Action

    Defines the Action to execute with the Package in the AppCatalog, required attribute.

    Declaration
    public PackageAction Action { get; set; }
    Property Value
    PackageAction

    Overwrite

    Defines whether to overwrite an already existing package in the AppCatalog

    Declaration
    public bool Overwrite { get; set; }
    Property Value
    System.Boolean

    PackageId

    Defines the Package Id of the Package, optional attribute.

    Declaration
    public string PackageId { get; set; }
    Property Value
    System.String

    SkipFeatureDeployment

    Defines whether to skip the feature deployment for tenant-wide enabled packages

    Declaration
    public bool SkipFeatureDeployment { get; set; }
    Property Value
    System.Boolean

    Src

    Defines the Src of the Package, optional attribute.

    Declaration
    public string Src { get; set; }
    Property Value
    System.String

    Methods

    Equals(Package)

    Compares Package object based on PackageId, Src, Action

    Declaration
    public bool Equals(Package other)
    Parameters
    Package other

    Package Class object

    Returns
    System.Boolean

    true if the Package object is equal to the current object; otherwise, false.

    Equals(Object)

    Compares object with Package class

    Declaration
    public override bool Equals(object obj)
    Parameters
    System.Object obj

    Object that represents Package

    Returns
    System.Boolean

    Checks whether object is Package class

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    System.Int32

    Returns HashCode

    Extension Methods

    ValidationExtensions.ValidateNotNullOrEmpty<T>(T, String)
    ObjectExtensions.Set<TObject, T>(TObject, Expression<Func<TObject, T>>, T, Boolean, Boolean)
    ObjectExtensions.GetPublicInstancePropertyValue(Object, String)
    ObjectExtensions.GetPublicInstanceProperty(Object, String)
    ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object)
    Extensions.ToByteArray(Object)
    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer