Class ContentDeliveryNetwork
Defines the CDN settings to provision
Inherited Members
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 |