a554835b 1b34 1995 11a9 f607a1ac23db - akesseler/Plexdata.Utilities.Templates GitHub Wiki
Represent a formattable token.
System.Object
Plexdata.Utilities.Formatting.Entities.BaseToken
Plexdata.Utilities.Formatting.Entities.HoleToken
Namespace: Plexdata.Utilities.Formatting.Entities
Assembly: Plexdata.Utilities.Templates (in Plexdata.Utilities.Templates.dll) Version: 1.0.0
C#
internal class HoleToken : BaseToken
The HoleToken type exposes the following members.
Name | Description | |
---|---|---|
![]() |
HoleToken | Public parameterized construction. |
Name | Description | |
---|---|---|
![]() |
Format | Gets the additional formatting instructions. (Inherited from BaseToken.) |
![]() |
IsLeftJustified | Indicates if the value alignment is left justified. In such a case the padding should be put behind the value. (Inherited from BaseToken.) |
![]() |
IsNumbering | Indicates if the symbol can be used as index. (Inherited from BaseToken.) |
![]() |
IsRightJustified | Indicates if the value alignment is right justified. In such a case the padding should be put in front of the value. (Inherited from BaseToken.) |
![]() |
IsSpreading | Indicates if the value corresponding to the symbol should be deserialized instead of simply stringifying it. (Inherited from BaseToken.) |
![]() |
IsStringify | Indicates if the value corresponding to the symbol should simply be converted into a string. (Inherited from BaseToken.) |
![]() |
Lining | Gets how to line up the formatted data. This is also known as value alignment. (Inherited from BaseToken.) |
![]() |
Marker | Gets the whole formatting instruction. (Inherited from BaseToken.) |
![]() |
Offset | Gets the offset within the whole source string. (Inherited from BaseToken.) |
![]() |
Rating | Gets the rating within the whole source string. (Inherited from BaseToken.) |
![]() |
Symbol | Gets the symbol (name or index). (Inherited from BaseToken.) |
Name | Description | |
---|---|---|
![]() |
ApplyLiningDependencies | Applies the properties that depend on property Lining. (Inherited from BaseToken.) |
![]() |
ApplySymbolDependencies | Applies the properties that depend on property Symbol. (Inherited from BaseToken.) |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
Parse | Parses the provided marker and applies all properties accordingly. (Overrides BaseToken.Parse(Int32, Int32, StringBuilder).) |
![]() |
ToIndex | Converts the symbol into an index, if possible, and returns it. (Overrides BaseToken.ToIndex().) |
![]() |
ToLabel | Converts the symbol into a label, if possible, and returns it. (Overrides BaseToken.ToLabel().) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from BaseToken.) |
Name | Description | |
---|---|---|
![]() |
format | This field holds the format value. (Inherited from BaseToken.) |
![]() |
lining | This field holds the lining value. (Inherited from BaseToken.) |
![]() |
marker | This field holds the marker value. (Inherited from BaseToken.) |
![]() |
offset | This field holds the offset value. (Inherited from BaseToken.) |
![]() |
rating | This field holds the rating value. (Inherited from BaseToken.) |
![]() |
symbol | This field holds the symbol value. (Inherited from BaseToken.) |
Name | Description | |
---|---|---|
![]() |
AddPadding | Adds value padding if necessary. (Defined by TemplateWeaver.) |
![]() |
CanExpand | Determines whether the argument can be expanded. (Defined by ArgumentExtension.) |
![]() |
GetFormattedValue | Converts the argument into its string representation. (Defined by TemplateWeaver.) |
![]() |
GetPadding | Gets the padding length. (Defined by TemplateWeaver.) |
![]() |
HandleException | Converts an exception into a string and returns it. (Defined by TemplateWeaver.) |
![]() |
IsSystemType | Determines whether an argument is of a build-in system type. (Defined by ArgumentExtension.) |
![]() |
ToFormattedValue | Turns the argument into its formatted representation. (Defined by TemplateWeaver.) |
![]() |
ToSpreadingValue | Converts the argument by serializing it. (Defined by TemplateWeaver.) |
![]() |
ToStringifyValue | Converts the argument into a string. (Defined by TemplateWeaver.) |
![]() |
WeaveHoleToken | Formats the related argument and appends it to the result. (Defined by TemplateWeaver.) |
![]() |
WeaveTextToken | Appends a text token to the output. (Defined by TemplateWeaver.) |
![]() |
WeaveVoidToken | Appends a void token to the output. (Defined by TemplateWeaver.) |
This class represent a formattable token. Such a formattable token is characterized by a property name or a property index, as well as an additional alignment and/or an additional formatting instruction.