Search Results for

    Show / Hide Table of Contents

    Class DesignPackage

    Defines a Design Package to import into the current Publishing site

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

    Properties

    DesignPackagePath

    Defines the path of the Design Package to import into the current Publishing site

    Declaration
    public String DesignPackagePath { get; set; }
    Property Value
    String

    MajorVersion

    The Major Version of the Design Package to import into the current Publishing site

    Declaration
    public Int32 MajorVersion { get; set; }
    Property Value
    Int32

    MinorVersion

    The Minor Version of the Design Package to import into the current Publishing site

    Declaration
    public Int32 MinorVersion { get; set; }
    Property Value
    Int32

    PackageGuid

    The ID of the Design Package to import into the current Publishing site

    Declaration
    public Guid PackageGuid { get; set; }
    Property Value
    Guid

    PackageName

    The Name of the Design Package to import into the current Publishing site

    Declaration
    public String PackageName { get; set; }
    Property Value
    String

    Methods

    Equals(DesignPackage)

    Compares DesignPackage object based on DesignPackagePath, MajorVersion, MinorVersion, PackageGuid and PackageName.

    Declaration
    public bool Equals(DesignPackage other)
    Parameters
    DesignPackage other

    DesignPackage object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with DesignPackage

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

    Object that represents DesignPackage

    Returns
    System.Boolean

    true if the current object is equal to the DesignPackage

    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