Class App
Defines an Add-in to provision
Inherited Members
Namespace: PnP.Framework.Provisioning.Model
Assembly: PnP.Framework.dll
Syntax
public class App : BaseModel, IProvisioningTemplateDescendant
Properties
Action
Defines the Action for the App to manage
Declaration
public AppAction Action { get; set; }
Property Value
AppAction
|
Remarks
Possible values are: Install, Update, Uninstall.
AppId
Defines the AppId for the App to manage
Declaration
public string AppId { get; set; }
Property Value
System.String
|
SyncMode
Defines whether the package will be handled synchronously or asynchronously
Declaration
public SyncMode SyncMode { get; set; }
Property Value
SyncMode
|
Remarks
Possible values are: Synchronously, Asynchronously.
Methods
Equals(App)
Compares App object based on PackagePath and source
Declaration
public bool Equals(App other)
Parameters
App
other
App Class object |
Returns
System.Boolean
true if the App object is equal to the current object; otherwise, false. |
Equals(Object)
Compares object with App class
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Object that represents App |
Returns
System.Boolean
Checks whether object is App class |
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
System.Int32
Returns HashCode |