Search Results for

    Show / Hide Table of Contents

    Class Localization

    Domain Object used in the Provisioning template that defines a Localization item

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

    Constructors

    Localization()

    Constructor for Localization class

    Declaration
    public Localization()

    Localization(Int32, String, String)

    Constructor for Localization class

    Declaration
    public Localization(Int32 lcid, String name, String resourceFile)
    Parameters
    Int32 lcid

    Language id for localization

    String name

    Name for localization

    String resourceFile

    Resource file for localization

    Properties

    LCID

    The Locale ID of a Localization Language

    Declaration
    public Int32 LCID { get; set; }
    Property Value
    Int32

    Name

    The Name of a Localization Language

    Declaration
    public String Name { get; set; }
    Property Value
    String

    ResourceFile

    The path to the .RESX (XML) resource file for the current Localization

    Declaration
    public String ResourceFile { get; set; }
    Property Value
    String

    Methods

    Equals(Localization)

    Compares Localization object based on LCID, Name and ResourceFile

    Declaration
    public bool Equals(Localization other)
    Parameters
    Localization other

    Localization object

    Returns
    System.Boolean

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

    Equals(Object)

    Compares object with Localization

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

    Object that represents Localization

    Returns
    System.Boolean

    true if the current object is equal to the Localization

    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