Search Results for

    Show / Hide Table of Contents

    Class SiteDesignGrant

    Domain Object used to define a Site Design Right Grant

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

    Properties

    Principal

    Gets or sets the Principal for the SiteDesignGrant

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

    Right

    Gets or sets the Right for the SiteDesignGrant

    Declaration
    public SiteDesignRight Right { get; set; }
    Property Value
    SiteDesignRight

    Methods

    Equals(SiteDesignGrant)

    Compares SiteDesignGrant object based on Principal, and Right properties.

    Declaration
    public bool Equals(SiteDesignGrant other)
    Parameters
    SiteDesignGrant other

    SiteDesignGrant object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with SiteDesignGrant

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

    Object

    Returns
    System.Boolean

    true if the current object is equal to the SiteDesignGrant

    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