Search Results for

    Show / Hide Table of Contents

    Class SiteDesign

    Domain Object to define a tenant Site Design

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

    Constructors

    SiteDesign()

    Default constructor

    Declaration
    public SiteDesign()

    Properties

    Description

    Gets or sets the Description flag for the SiteDesign

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

    Grants

    Gets or sets the list of Site Design Permission Right Grants

    Declaration
    public SiteDesignGrantCollection Grants { get; }
    Property Value
    SiteDesignGrantCollection

    IsDefault

    Gets or sets the IsDefault for the SiteDesign

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

    Overwrite

    Defines whether to overwrite the SiteDesign or not

    Declaration
    public Boolean Overwrite { get; set; }
    Property Value
    Boolean

    PreviewImageAltText

    Gets or sets the PreviewImageAltText flag for the SiteDesign

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

    PreviewImageUrl

    Gets or sets the PreviewImageUrl flag for the SiteDesign

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

    SiteScripts

    Gets or sets the list of SiteScripts for the SiteDesign

    Declaration
    public List<string> SiteScripts { get; set; }
    Property Value
    List<System.String>

    Title

    Gets or sets the Title for the SiteDesign

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

    WebTemplate

    Gets or sets the WebTemplate flag for the SiteDesign

    Declaration
    public SiteDesignWebTemplate WebTemplate { get; set; }
    Property Value
    SiteDesignWebTemplate

    Methods

    Equals(SiteDesign)

    Compares SiteDesign object based on Title, Description, IsDefault, WebTemplate, PreviewImageUrl, PreviewImageAltText, Overwrite, and Grants properties.

    Declaration
    public bool Equals(SiteDesign other)
    Parameters
    SiteDesign other

    SiteDesign object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with SiteDesign

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

    Object

    Returns
    System.Boolean

    true if the current object is equal to the SiteDesign

    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