Search Results for

    Show / Hide Table of Contents

    Class SiteScript

    Domain object to define a SiteScript to provision

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

    Properties

    Description

    Gets or sets the Description flag for the SiteScript

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

    JsonFilePath

    Gets or sets the JsonFilePath flag for the SiteScript

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

    Overwrite

    Defines whether to overwrite the SiteDesign or not

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

    Title

    Gets or sets the Title for the SiteScript

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

    Methods

    Equals(SiteScript)

    Compares SiteScript object based on Title, Description, and JsonFilePath properties.

    Declaration
    public bool Equals(SiteScript other)
    Parameters
    SiteScript other

    SiteScript object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with SiteScript

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

    Object

    Returns
    System.Boolean

    true if the current object is equal to the SiteScript

    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