efc2bc7c cacc 6410 46d5 78e7d31f0cae - akesseler/Plexdata.Utilities.Templates GitHub Wiki
This class represents the options to configure the template formatter.
System.Object
Plexdata.Utilities.Formatting.Options
Namespace: Plexdata.Utilities.Formatting
Assembly: Plexdata.Utilities.Templates (in Plexdata.Utilities.Templates.dll) Version: 1.0.0
C#
public class Options
The Options type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() |
Options | Default static construction. |
![]() |
Options | Default construction. |
Name | Description | |
---|---|---|
![]() |
Fallback | Gets and sets the rendering fallback value. |
![]() |
IsFallback | Indicates if fallback value should be used instead of rendering the original token descriptor. |
![]() |
IsLimited | Indicates if string formatting should be treated as limited. |
![]() ![]() |
Maximum | Gets and sets the maximum length of the formatted result string. |
![]() |
Provider | Gets and sets the format provider to be used. |
![]() |
Serializer | Gets and sets the instance of a serializer used to process custom types. |
Name | Description | |
---|---|---|
![]() ![]() |
Create | Creates a new options instance and applies provided parameters. |
![]() |
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.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() |
Default | Gets the default options instance. |
Name | Description | |
---|---|---|
![]() |
CanExpand | Determines whether the argument can be expanded. (Defined by ArgumentExtension.) |
![]() |
IsSystemType | Determines whether an argument is of a build-in system type. (Defined by ArgumentExtension.) |
This options class allows users to configure the template formatter and its behaviour.
Plexdata.Utilities.Formatting Namespace
Template.Truncate(Options, StringBuilder)
Template.Format(Options, String, Object[])