Search Results for

    Show / Hide Table of Contents

    Class ContentDeliveryNetwork

    Defines the CDN settings to provision

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

    Constructors

    ContentDeliveryNetwork()

    Default constructor

    Declaration
    public ContentDeliveryNetwork()

    ContentDeliveryNetwork(CdnSettings, CdnSettings)

    Custom constructor with both public and private CDN settings

    Declaration
    public ContentDeliveryNetwork(CdnSettings publicCdn, CdnSettings privateCdn)
    Parameters
    CdnSettings publicCdn

    CdnSettings privateCdn

    Properties

    PrivateCdn

    Defines the Private CDN settings to provision

    Declaration
    public CdnSettings PrivateCdn { get; }
    Property Value
    CdnSettings

    PublicCdn

    Defines the Public CDN settings to provision

    Declaration
    public CdnSettings PublicCdn { get; }
    Property Value
    CdnSettings

    Methods

    Equals(ContentDeliveryNetwork)

    Compares Cdn object based on PublicCdn and PrivateCdn properties.

    Declaration
    public bool Equals(ContentDeliveryNetwork other)
    Parameters
    ContentDeliveryNetwork other

    Cdn object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with CDN

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

    Object that represents CDN

    Returns
    System.Boolean

    true if the current object is equal to the CDN

    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