Show / Hide Table of Contents

Class TokenPropertyInfo

The description of a property in a token definition, obtained through queries on a ITokenResolver

Inheritance
object
TokenPropertyInfo
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Token
Assembly: Aruba.Infrastructure.dll
Syntax
public class TokenPropertyInfo

Constructors

View Source

TokenPropertyInfo(PropertyInfo, string, string, IEnumerable<object>, bool)

Initializes a new instance of the TokenPropertyInfo class.

Declaration
public TokenPropertyInfo(PropertyInfo propInfo, string friendlyName, string desc, IEnumerable<object> allowedValueObjects, bool isPreset = false)
Parameters
Type Name Description
PropertyInfo propInfo

The prop information.

string friendlyName

The friendly name.

string desc

The description.

IEnumerable<object> allowedValueObjects

The allowed value objects.

bool isPreset

A value indicating whether the data is preset and cannot be modified.

Properties

View Source

AllowedValues

Gets the possible values the token definition property can have.

Declaration
public IEnumerable<AllowedValue> AllowedValues { get; }
Property Value
Type Description
IEnumerable<AllowedValue>
View Source

Description

Gets a more detailed description of the token definition's property.

Declaration
public string Description { get; }
Property Value
Type Description
string
View Source

FriendlyName

Gets a friendly name for the token definition's property.

Declaration
public string FriendlyName { get; }
Property Value
Type Description
string
View Source

IsPreset

Gets a value indicating whether the data is modifiable in the token UI.

Declaration
public bool IsPreset { get; }
Property Value
Type Description
bool
View Source

IsTextModifiable

Gets a value indicating whether the property is modifiable in text.

Declaration
public bool IsTextModifiable { get; }
Property Value
Type Description
bool
View Source

IsValueRestricted

Gets a value indicating whether the value is restricted or preset.

Declaration
public bool IsValueRestricted { get; }
Property Value
Type Description
bool
View Source

PropertyInfo

Gets the PropertyInfo used to set the corresponding value on the token definition.

Declaration
public PropertyInfo PropertyInfo { get; }
Property Value
Type Description
PropertyInfo
  • View Source
In this article
Back to top Generated by DocFX