Class Theme
Defines a Theme to provision at tenant level
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class Theme : BaseModel, IProvisioningTemplateDescendant
Properties
IsInverted
Declares if the Theme Is Inverted
Declaration
public Boolean IsInverted { get; set; }
Property Value
Boolean
|
Name
Defines the Name of the Theme
Declaration
public String Name { get; set; }
Property Value
String
|
Overwrite
If true, will overwrite existing tenant theme
Declaration
public Boolean Overwrite { get; set; }
Property Value
Boolean
|
Palette
Defines the Palette of the Theme
Declaration
public String Palette { get; set; }
Property Value
String
|
Remarks
It has to be a JSON object representing a dictionary of colors
Methods
Equals(Theme)
Compares Theme object based on Name, IsInverted, and Palette
Declaration
public bool Equals(Theme other)
Parameters
Theme
other
Theme Class object |
Returns
System.Boolean
true if the Theme object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with Theme class
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents Theme |
Returns
System.Boolean
Checks whether object is Theme class |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |