Search Results for

    Show / Hide Table of Contents

    Class SimpleTokenDefinition

    Defines a provisioning engine Token. Make sure to only use the TokenContext property to execute queries in token methods.

    Inheritance
    System.Object
    SimpleTokenDefinition
    Namespace: PnP.Framework.Provisioning.ObjectHandlers.TokenDefinitions
    Assembly: PnP.Framework.dll
    Syntax
    public abstract class SimpleTokenDefinition : object

    Constructors

    SimpleTokenDefinition(String[])

    Constructor

    Declaration
    public SimpleTokenDefinition(params string[] token)
    Parameters
    System.String[] token

    token

    Fields

    CacheValue

    Declaration
    protected string CacheValue
    Field Value
    System.String

    Properties

    TokenCount

    Gets the amount of tokens hold by this token definition

    Declaration
    public int TokenCount { get; }
    Property Value
    System.Int32

    Methods

    ClearCache()

    Clears cache

    Declaration
    public void ClearCache()

    GetReplaceValue()

    abstract method

    Declaration
    public abstract string GetReplaceValue()
    Returns
    System.String

    Returns string

    GetTokenLength()

    Gets token length in integer

    Declaration
    public int GetTokenLength()
    Returns
    System.Int32

    token length in integer

    GetTokens()

    Gets tokens

    Declaration
    public string[] GetTokens()
    Returns
    System.String[]

    Returns array string of tokens

    GetUnescapedTokens()

    Gets the by processed tokens

    Declaration
    public IReadOnlyList<string> GetUnescapedTokens()
    Returns
    IReadOnlyList<System.String>

    Returns array string of by processed tokens

    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