Search Results for

    Show / Hide Table of Contents

    Class Feature

    Domain Object that represents an Feature.

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

    Properties

    Deactivate

    Gets or sets if the feature should be deactivated

    Declaration
    public bool Deactivate { get; set; }
    Property Value
    System.Boolean

    Id

    Gets or sets the feature Id

    Declaration
    public Guid Id { get; set; }
    Property Value
    Guid

    Methods

    Equals(Feature)

    Compares Feature object based on Deactivate and Id properties.

    Declaration
    public bool Equals(Feature other)
    Parameters
    Feature other

    Feature object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with Feature

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

    Object that represents Feature

    Returns
    System.Boolean

    true if the current object is equal to the ExtensibilityHandler

    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