Class CompositeFormatExtensions
Represents extensions for CompositeFormat type.
Inherited Members
Namespace: DotNext.Text
Assembly: DotNext.dll
Syntax
public static class CompositeFormatExtensions
Methods
View SourceIsInterned(string)
If format is a string literal, returns a composite format represents
parsed string; otherwise, false.
Declaration
public static CompositeFormat? IsInterned(string format)
Parameters
| Type | Name | Description |
|---|---|---|
| string | format | The string that describes the format. |
Returns
| Type | Description |
|---|---|
| CompositeFormat | Parsed format, if |
Of(string)
Returns cached version of the formatting template.
Declaration
public static CompositeFormat Of(string format)
Parameters
| Type | Name | Description |
|---|---|---|
| string | format | The formatting template. Must be a constant. |
Returns
| Type | Description |
|---|---|
| CompositeFormat | The cached version of the formatting template. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|