Search Results for

    Show / Hide Table of Contents

    Class App

    Defines an Add-in to provision

    Inheritance
    System.Object
    BaseModel
    App
    Inherited Members
    BaseModel.ParentTemplate
    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

    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