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
Declaration
public IReadOnlyList<string> GetUnescapedTokens()
Returns
IReadOnlyList<System.String>
Returns array string of by |