diff --git a/content/en/docs/2024.3/Reference/data-types/collections/ireadonlylist-1.md b/content/en/docs/2024.3/Reference/data-types/collections/ireadonlylist-1.md index fc05b4734..bab3b34f0 100644 --- a/content/en/docs/2024.3/Reference/data-types/collections/ireadonlylist-1.md +++ b/content/en/docs/2024.3/Reference/data-types/collections/ireadonlylist-1.md @@ -1,7 +1,66 @@ --- title: "IReadOnlyList" linkTitle: "IReadOnlyList" -description: "" +description: "Any data type representing a list of items that can iterated or looped over, where the number and order of items is read-only. `TItem` indicates the data type of the items contained in the list. Each `TItem` can be individually accessed by an index." --- +# {{% param title %}} -{{}} \ No newline at end of file +

(System.Collections.Generic.IReadOnlyList<TItem>)

+ +## Summary + +Any data type representing a list of items that can iterated or looped over, where the number and order of items is read-only. + +`TItem` indicates the data type of the items contained in the list. Each `TItem` can be individually accessed by an index. + +| | | +|-|-| +| **Category:** | Collections | +| **Name:** | `IReadOnlyList` | +| **Full Name:** | `System.Collections.Generic.IReadOnlyList` | +| **Alias:** | N/A | +| **Description:** | Any data type representing a list of items that can iterated or looped over, where the number and order of items is read-only. `TItem` indicates the data type of the items contained in the list. Each `TItem` can be individually accessed by an index. | +| **Default Value:** | `null` | +| **Can be used as:** | `IReadOnlyList`, `IReadOnlyCollection`, `IEnumerable`, `IEnumerable`, `Object`, `dynamic` | +| | `IEnumerable` (e.g. where `IReadOnlyList` is `IReadOnlyList` and `IEnumerable` is `IEnumerable` as `Object` is a base type of `Int32`; this is called covariance) | +| **Can be cast to:** | N/A | + +### Property Editor Support + +* The Expression Editor is available for [Input][] properties where the data type is `IReadOnlyList`. +* The Literal Editor is not available for [Input][] properties where the data type is `IReadOnlyList`. +* The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `IReadOnlyList`. + +### Known Limitations + +None + +## See Also + +### Related Data Types + +* [IEnumerable][] +* [IEnumerable<TItem>][] +* [List<TItem>][] + +### Related Concepts + +* [Working with Collections][] + +### External Documentation + +* [System.Collections.Generic.IReadOnlyList<TItem>][] +* [System.Collections.Generic.IReadOnlyCollection<TItem>][] + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} + +[System.Collections.Generic.IReadOnlyList<TItem>]: {{< url path="MSDocs.DotNet.Api.System.Collections.Generic.IReadOnlyList" >}} +[System.Collections.Generic.IReadOnlyCollection<TItem>]: {{< url path="MSDocs.DotNet.Api.System.Collections.Generic.IReadOnlyCollection" >}} + +[IEnumerable]: {{< url path="Cortex.Reference.DataTypes.Collections.IEnumerable.MainDoc" >}} +[IEnumerable<TItem>]: {{< url path="Cortex.Reference.DataTypes.Collections.IEnumerable_TItem.MainDoc" >}} +[List<TItem>]: {{< url path="Cortex.Reference.DataTypes.Collections.List.MainDoc" >}} + +[Working with Collections]: {{< url path="Cortex.Reference.Concepts.WorkingWith.Collections.MainDoc" >}} diff --git a/content/en/docs/2024.3/Reference/data-types/credentials/usercredentials.md b/content/en/docs/2024.3/Reference/data-types/credentials/usercredentials.md index 4c00752b4..723bf4832 100644 --- a/content/en/docs/2024.3/Reference/data-types/credentials/usercredentials.md +++ b/content/en/docs/2024.3/Reference/data-types/credentials/usercredentials.md @@ -19,7 +19,7 @@ The `UserCredentials` data type is used to represent details required to authent | **Full Name:** | `Cortex.DataTypes.Credentials.UserCredentials` | | **Alias:** | N/A | | **Description:** | Details required to authenticate with a domain or server. | -| **Default Value:** | `null` | +| **Default Value:** | `null` | **Can be used as:** | `EmailUserCredentials`, `EmailCredentials`, `IEmailCredentials`, `HttpUserCredentials`, `HttpCredentials`, `IHttpCredentials`, `SshUserCredentials`, `SshCredentials`, `ISshCredentials`, `UserCredentials`, `IUserCredentials`, `NetworkCredential`, `Object`, `dynamic` | | **Can be cast to:** | N/A | diff --git a/content/en/docs/2024.3/Reference/data-types/date-and-time/datetimecomponenttype.md b/content/en/docs/2024.3/Reference/data-types/date-and-time/datetimecomponenttype.md index 04d020197..355ac96d6 100644 --- a/content/en/docs/2024.3/Reference/data-types/date-and-time/datetimecomponenttype.md +++ b/content/en/docs/2024.3/Reference/data-types/date-and-time/datetimecomponenttype.md @@ -8,54 +8,67 @@ description: "Used to represent a component of a `DateTimeOffset` (e.g. `Year`,

(Cortex.DataTypes.DateAndTime.DateTimeComponentType)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}} Improvements to this page are planned for the future. {{% /alert %}} ## Summary -## Values +The `DateTimeComponentType` data type is used to represent a component of a `DateTimeOffset` (e.g. `Year`, `Month`, `Day`). + +`DateTimeComponentType` is an [enum][Working with Enums] data type, which means it has a defined set of values, where each value has an associated [String][] name and [Int32][] value. + +| | | +|-|-| +| **Category:** | Date & Time | +| **Name:** | `DateTimeComponentType` | +| **Full Name:** | `Cortex.DataTypes.DateAndTime.DateTimeComponentType` | +| **Alias:** | N/A | +| **Description:** | Used to represent a component of a `DateTimeOffset` (e.g. `Year`, `Month`, `Day`). | +| **Default Value:** | `(DateTimeComponentType)0` | +| **Can be used as:** | `DateTimeComponentType`, `object`, `dynamic` | +| **Can be cast to:** | `Int16` (e.g. `(Int16)DateTimeComponentType.LocalDateTime` or `(System.Int16)DateTimeComponentType.LocalDateTime` or `(short)DateTimeComponentType.LocalDateTime`) | +| | `Int32` (e.g. `(Int32)DateTimeComponentType.LocalDateTime` or `(System.Int32)DateTimeComponentType.LocalDateTime` or `(int)DateTimeComponentType.LocalDateTime`) | +| | `Int64` (e.g. `(Int64)DateTimeComponentType.LocalDateTime` or `(System.Int64)DateTimeComponentType.LocalDateTime` or `(long)DateTimeComponentType.LocalDateTime`) | +| | `Single` (e.g. `(Single)DateTimeComponentType.LocalDateTime` or `(System.Single)DateTimeComponentType.LocalDateTime` or `(float)DateTimeComponentType.LocalDateTime`) | +| | `Double` (e.g. `(Double)DateTimeComponentType.LocalDateTime` or `(System.Double)DateTimeComponentType.LocalDateTime` or `(double)DateTimeComponentType.LocalDateTime`) | -### LocalDateTime - -### UtcDateTime - -### Date - -### Time - -### Year - -### Month - -### Day +## Remarks -### Hour +### Property Editor Support -### Minute +- The Expression Editor is available for [Input][] properties where the data type is `DateTimeComponentType`. +- The Literal Editor is available for [Input][] properties where the data type is `DateTimeComponentType`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `DateTimeComponentType`. -### Second +### Known Limitations -### Millisecond +None -### Offset +## See Also -### DayOfYear +### Related Data Types -### DayOfWeek +- [DateTimeOffset][] -## Remarks +### Related Concepts -### Create a DateTimeComponentType +- [Working with Date and Time][] -### Convert DateTimeComponentType to Text +### External Documentation -### Property Editor Support +- [System.DateTimeOffset][] +- [System.Enum][] -### Known Limitations +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} -## See Also +[DateTimeOffset]: {{< url path="Cortex.Reference.DataTypes.DateAndTime.DateTimeOffset.MainDoc" >}} -### Related Data Types +[Working with Date and Time]: {{< url path="Cortex.Reference.Concepts.WorkingWith.DateAndTime.MainDoc" >}} +[System.DateTimeOffset]: {{< url path="MSDocs.DotNet.Api.System.DateTimeOffset.MainDoc" >}} -### Related Concepts +[System.Enum]: {{< url path="MSDocs.DotNet.Api.System.Enum.MainDoc" >}} -### External Documentation +[Working with Enums]: {{< url path="Cortex.Reference.Concepts.WorkingWith.Enums.MainDoc" >}} +[String]: {{< url path="Cortex.Reference.DataTypes.Text.String.MainDoc" >}} +[Int32]: {{< url path="Cortex.Reference.DataTypes.Numbers.Int32.MainDoc" >}} diff --git a/content/en/docs/2024.3/Reference/data-types/date-and-time/timeperiod.md b/content/en/docs/2024.3/Reference/data-types/date-and-time/timeperiod.md index 525efaca2..a2de619fd 100644 --- a/content/en/docs/2024.3/Reference/data-types/date-and-time/timeperiod.md +++ b/content/en/docs/2024.3/Reference/data-types/date-and-time/timeperiod.md @@ -8,40 +8,53 @@ description: "Used to represent a time interval (duration of time or elapsed tim

(Cortex.DataTypes.DateAndTime.TimePeriod)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}} Improvements to this page are planned for the future. {{% /alert %}} ## Summary -## Properties +The `TimePeriod` datatype is used to represent a time interval (duration of time or elapsed time) that is measured as a positive or negative number of `years`, `months`, `days`, `hours`, `minutes`, `seconds`, and `milliseconds`. -### Years +| | | +|-|-| +| **Category:** | Date & Time | +| **Name:** | `TimePeriod` | +| **Full Name:** | `Cortex.DataTypes.DateAndTime.TimePeriod` | +| **Alias:** | N/A | +| **Description:** | Used to represent a time interval that is measured as a positive or negative number of `years`, `months`, `days`, `hours`, `minutes`, `seconds`, and `milliseconds`. | +| **Default Value:** | `null` | +| **Can be used as:** | `TimePeriod`, `object`, `dynamic` | +| **Can be cast to:** | N/A | -### Months +## Remarks -### Days +### Property Editor Support -### Hours +- The Expression Editor is available for [Input][] properties where the data type is `TimePeriod`. +- The Literal Editor is available for [Input][] properties where the data type is `TimePeriod`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `TimePeriod`. -### Minutes +### Known Limitations -### Seconds +None -### Milliseconds +## See Also -## Remarks +### Related Data Types -### Create a TimePeriod +- [TimeSpan] -### Convert TimePeriod to Text +### Related Concepts -### Property Editor Support +- [Working with Date and Time][] -### Known Limitations +### External Documentation -## See Also +None -### Related Data Types +[Working with Date and Time]: {{< url path="Cortex.Reference.Concepts.WorkingWith.DateAndTime.MainDoc" >}} -### Related Concepts +[TimeSpan]: {{< url path="Cortex.Reference.DataTypes.DateAndTime.TimeSpan.MainDoc" >}} -### External Documentation +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} diff --git a/content/en/docs/2024.3/Reference/data-types/date-and-time/timespan.md b/content/en/docs/2024.3/Reference/data-types/date-and-time/timespan.md index cd53b68b1..5c0d0abc6 100644 --- a/content/en/docs/2024.3/Reference/data-types/date-and-time/timespan.md +++ b/content/en/docs/2024.3/Reference/data-types/date-and-time/timespan.md @@ -8,24 +8,55 @@ description: "Used to represent a time interval (duration of time or elapsed tim

(System.TimeSpan)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}} Improvements to this page are planned for the future. {{% /alert %}} ## Summary -## Remarks +Used to represent a time interval (duration of time or elapsed time) that is measured as a positive or negative number of `days`, `hours`, `minutes`, `seconds`, and `milliseconds`. It can be used wherever a `TimePeriod` is expected, and wll be converted to a `TimePeriod` automatically. -### Create a TimeSpan +| | | +|-|-| +| **Category:** | Date & Time | +| **Name:** | `TimeSpan` | +| **Full Name:** | `System.TimeSpan` | +| **Alias:** | N/A | +| **Description:** | Used to represent a time interval (duration of time or elapsed time) that is measured as a positive or negative number of `days`, `hours`, `minutes`, `seconds`, and `milliseconds`. It can be used wherever a `TimePeriod` is expected, and wll be converted to a `TimePeriod` automatically. | +| **Default Value:** | `new TimeSpan(0, 0, 0, 0, 0)` | +| **Can be used as:** | `TimeSpan`, `TimePeriod`, `object`, `dynamic` | +| **Can be cast to:** | N/A | -### Convert TimeSpan to Text +## Remarks ### Property Editor Support +- The Expression Editor is available for [Input][] properties where the data type is `TimeSpan`. +- The Literal Editor is available for [Input][] properties where the data type is `TimeSpan`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `TimeSpan`. + ### Known Limitations +None + ## See Also ### Related Data Types +- [TimePeriod][] + ### Related Concepts +- [Working with Date and Time][] + ### External Documentation + +- [System.TimeSpan][] + +[Working with Date and Time]: {{< url path="Cortex.Reference.Concepts.WorkingWith.DateAndTime.MainDoc" >}} + +[TimePeriod]: {{< url path="Cortex.Reference.DataTypes.DateAndTime.TimePeriod.MainDoc" >}} + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} + +[System.TimeSpan]: {{< url path="MSDocs.DotNet.Api.System.TimeSpan.MainDoc" >}} diff --git a/content/en/docs/2024.3/Reference/data-types/exceptions/exception.md b/content/en/docs/2024.3/Reference/data-types/exceptions/exception.md index 2f349b576..d441b009e 100644 --- a/content/en/docs/2024.3/Reference/data-types/exceptions/exception.md +++ b/content/en/docs/2024.3/Reference/data-types/exceptions/exception.md @@ -1,31 +1,60 @@ --- title: "Exception" linkTitle: "Exception" -description: "The data type that all exceptions inherit from." +description: "Any data type used to represent an exception." --- # {{% param title %}}

(System.Exception)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}} Improvements to this page are planned for the future. {{% /alert %}} ## Summary -## Remarks +Any data type used to represent an exception. -### Create an Exception +| | | +|-|-| +| **Category:** | Exception | +| **Name:** | `Exception` | +| **Full Name:** | `System.Exception` | +| **Alias:** | N/A | +| **Description:** | Any data type used to represent an exception. | +| **Default Value:** | `null` | +| **Can be used as:** | `Exception`, `object`, `dynamic` | +| **Can be cast to:** | N/A | -### Convert Exception to Text +## Remarks ### Property Editor Support +- The Expression Editor is available for [Input][] properties where the data type is `Exception`. +- The Literal Editor is available for [Input][] properties where the data type is `Exception`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `Exception`. + ### Known Limitations +None + ## See Also ### Related Data Types +None + ### Related Concepts +- [Exceptions][] + ### External Documentation + +- [System.Exception] + +[Exceptions]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Exceptions.MainDoc" >}} + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} + +[System.Exception]: {{< url path="MSDocs.DotNet.Api.System.Exception" >}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/char.md b/content/en/docs/2024.3/Reference/data-types/text/char.md index 0e40f4470..ffa20506c 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/char.md +++ b/content/en/docs/2024.3/Reference/data-types/text/char.md @@ -2,6 +2,7 @@ title: "Char" linkTitle: "Char" description: "Used to represent unicode characters." +weight: 1 --- # {{% param title %}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/cultureinfo.md b/content/en/docs/2024.3/Reference/data-types/text/cultureinfo.md index fe078d51d..428c0e49f 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/cultureinfo.md +++ b/content/en/docs/2024.3/Reference/data-types/text/cultureinfo.md @@ -2,39 +2,115 @@ title: "CultureInfo" linkTitle: "CultureInfo" description: "Used to represent information about a specific culture, including the names for the culture, the writing system, the calendar used, the sort order of strings, and formatting for dates and numbers." +weight: 1 --- # {{% param title %}}

(System.Globalization.CultureInfo)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}}Improvements to this page are planned for the future.{{% /alert %}} ## Summary +The `CultureInfo` data type is used to represent information about a specific culture, including the names for the culture, the writing system, the calendar used, the sort order of strings, and formatting for dates and numbers. + +| | | +|-|-| +| **Category:** | Text | +| **Name:** | `CultureInfo` | +| **Full Name:** | `System.Globalization.CultureInfo` | +| **Alias:** | N/A | +| **Description:** | Used to represent information about a specific culture. | +| **Default Value:** | `null` | +| **Can be used as:** | `CultureInfo`, `object`, `dynamic` | +| **Can be cast to:** | N/A | + ## Remarks -### Create a CultureInfo +### Types of CultureInfo + +There are four types of CultureInfo: + +- [Invariant Culture][] +- [Current Culture][] +- [Neutral Culture][] +- [Specific Culture][] + +#### Invariant Culture + +The invariant culture is culture-insensitive. It is associated with the English language but not with any country/region, as such the casing conventions, the sort order of strings, and formatting for dates and numbers will remain consistent across systems. This can be useful when persisting data in a culture-independent format. + +There are two ways to create an invariant culture: + +- `CultureInfo.InvariantCulture` +- `new CultureInfo("")` + +#### Current Culture + +The current culture is culture-sensitive. It is used to represent the current culture of the server running {{% ctx %}}, and as such the casing conventions, the sort order of strings, and formatting for dates and numbers may change across systems. This can be useful for providing date time in the correct format for a user. + +There is one way to get the current culture: + +- `CultureInfo.CurrentCulture` + +#### Neutral Culture + +The neutral culture is culture-sensitive. It is associated with a language, but not with any country/region. -### Convert CultureInfo to Text +Neutral Culture can be created by specifying the language but not the country (e.g. `new CultureInfo("en")` for english with no associated country). + +#### Specific Culture + +The culture can be explicitly specified to use a particular format (e.g. `CultureInfo("en-GB")` for the standard UK english culture). +If the resources for a specific culture are not available in the operating system, the resources for the associated neutral culture are used. + +For a comprehensive list of cultures please see [Supported Culture Codes][]. + +### Invalid CultureInfo + +If an invalid CultureInfo (e.g. `new CultureInfo(“enaa”)`), is provided to a block property that requires an [IFormatProvider][] data type, (i.e. [Format Text With Values][FormatTextWithValues] block) a [CultureInfoNotFoundException][] will be thrown. ### Property Editor Support +- The Expression Editor is available for [Input][] properties where the data type is `CultureInfo`. +- The Literal Editor is available for [Input][] properties where the data type is `CultureInfo`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `CultureInfo`. + ### Known Limitations +None + ## See Also ### Related Data Types +- [IFormatProvider][] + ### Related Concepts +- [Working with Text][] + ### External Documentation -TODO: +- [Supported Culture Codes][] +- [System.Globalization.CultureInfo][] +- [System.Globalization.CultureInfoNotFoundException][CultureInfoNotFoundException] + +[CultureInfoNotFoundException]: {{< url path = "MSDocs.DotNet.Api.System.Globalization.CultureInfoNotFoundException">}} +[Supported Culture Codes]: {{< url path = "MSDocs.CSharp.SupportedCultureCodes">}} + +[Invariant Culture]: {{< ref "#invariant-culture" >}} +[Current Culture]: {{< ref "#current-culture" >}} +[Specific Culture]: {{< ref "#specific-culture" >}} +[Neutral Culture]: {{< ref "#neutral-culture" >}} + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} + +[Working with Text]: {{< url path="Cortex.Reference.Concepts.WorkingWith.Text.MainDoc" >}} -* If the culture identifier is empty e.g (new CultureInfo("")), cultureInfo is set to InvariantCulture. -* If the culture does not exist, the operating system will create a custom culture using the culture identifier. -* As well as the default InvariantCulture you can also use the culture of the system (CultureInfo.CurrentCulture) or provide a new culture info (new CultureInfo("en-GB")). -* Note about formatProvider and CultureInfo: If an invalid CultureInfo is provided (e.g. new CultureInfo("enaa")), a CultureNotFoundException will be thrown. -* Talk about CultureInfo.InvariantCulture -* Talk about CultureInfo.CurrentCulture +[System.Globalization.CultureInfo]: {{< url path="MSDocs.DotNet.Api.System.Globalization.CultureInfo" >}} +[FormatTextWithValues]: {{< url path="Cortex.Reference.Blocks.Text.FormatText.FormatTextWithValues.MainDoc" >}} +[IFormatProvider]: {{< url path="Cortex.Reference.DataTypes.Text.IFormatProvider.MainDoc" >}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/encoding.md b/content/en/docs/2024.3/Reference/data-types/text/encoding.md index ac459c4c3..99f8b08e9 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/encoding.md +++ b/content/en/docs/2024.3/Reference/data-types/text/encoding.md @@ -1,31 +1,65 @@ --- title: "Encoding" linkTitle: "Encoding" -description: "The data type that all encodings inherit from. An encoding is used to represent a specific character encoding (e.g. ASCII, UTF8, Unicode)." +description: "Any data type used to represent a specific character encoding (e.g. ASCII, UTF8, Unicode)." +weight: 1 --- # {{% param title %}}

(System.Text.Encoding)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}}Improvements to this page are planned for the future.{{% /alert %}} ## Summary -## Remarks +Any data type used to represent a specific character encoding (e.g. ASCII, UTF8, Unicode). -### Create an Encoding +| | | +|-|-| +| **Category:** | Text | +| **Name:** | `Encoding` | +| **Full Name:** | `System.Text.Encoding` | +| **Alias:** | N/A | +| **Description:** | Any data type used to represent a specific character encoding (e.g. ASCII, UTF8, Unicode). | +| **Default Value:** | `null` | +| **Can be used as:** | `Encoding`, `object`, `dynamic` | +| **Can be cast to:** | N/A | -### Convert Encoding to Text +## Remarks ### Property Editor Support +- The Expression Editor is available for [Input][] properties where the data type is `Encoding`. +- The Literal Editor is available for [Input][] properties where the data type is `Encoding`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `Encoding`. + ### Known Limitations +None + ## See Also ### Related Data Types +- [UnicodeEncoding][] +- [UTF32Encoding][] +- [UTF8Encoding][] + ### Related Concepts +- [Working with Text][] + ### External Documentation + +- [System.Text.Encoding][Encoding] + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} + +[Working with Text]: {{< url path="Cortex.Reference.Concepts.WorkingWith.Text.MainDoc" >}} +[Encoding]: {{< url path = "MSDocs.DotNet.Api.System.Text.Encoding">}} +[UnicodeEncoding]: {{< url path = "Cortex.Reference.DataTypes.Text.UnicodeEncoding.MainDoc">}} +[UTF32Encoding]: {{< url path = "Cortex.Reference.DataTypes.Text.UTF32Encoding.MainDoc">}} +[UTF8Encoding]: {{< url path = "Cortex.Reference.DataTypes.Text.UTF8Encoding.MainDoc">}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/encryptabletext.md b/content/en/docs/2024.3/Reference/data-types/text/encryptabletext.md index 15831ee0a..571986655 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/encryptabletext.md +++ b/content/en/docs/2024.3/Reference/data-types/text/encryptabletext.md @@ -2,30 +2,62 @@ title: "EncryptableText" linkTitle: "EncryptableText" description: "Used to represent text that can be, but does not need to be encrypted." +weight: 1 --- # {{% param title %}}

(Cortex.DataTypes.Text.EncryptableText)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}}Improvements to this page are planned for the future.{{% /alert %}} ## Summary -## Remarks +The `EncryptableText` datatype is used to represent text that can be, but does not need to be encrypted. -### Create an EncryptableText +| | | +|-|-| +| **Category:** | Text | +| **Name:** | `EncryptableText` | +| **Full Name:** | `Cortex.DataTypes.Text.EncryptableText` | +| **Alias:** | N/A | +| **Description:** | Used to represent text that can be, but does not need to be encrypted . | +| **Default Value:** | `null` | +| **Can be used as:** | `EncryptableText`, `object`, `dynamic` | +| **Can be cast to:** | `string` | -### Convert EncryptableText to Text +## Remarks ### Property Editor Support +- The Expression Editor is available for [Input][] properties where the data type is `EncryptableText`. +- The Literal Editor is available for [Input][] properties where the data type is `EncryptableText`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `EncryptableText`. + ### Known Limitations +None + ## See Also ### Related Data Types +- [EncryptedText] +- [String] + ### Related Concepts +- [Working with Text] + ### External Documentation + +None + +[EncryptedText]: {{< url path="Cortex.Reference.DataTypes.Text.EncryptedText.MainDoc" >}} +[String]: {{< url path="Cortex.Reference.DataTypes.Text.String.MainDoc" >}} + +[Working with Text]: {{< url path="Cortex.Reference.Concepts.WorkingWith.Text.MainDoc" >}} + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/encryptedtext.md b/content/en/docs/2024.3/Reference/data-types/text/encryptedtext.md index 4858aa036..ae64300ec 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/encryptedtext.md +++ b/content/en/docs/2024.3/Reference/data-types/text/encryptedtext.md @@ -2,30 +2,62 @@ title: "EncryptedText" linkTitle: "EncryptedText" description: "Used to represent text that must be encrypted." +weight: 1 --- # {{% param title %}}

(Cortex.DataTypes.Text.EncryptedText)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}}Improvements to this page are planned for the future.{{% /alert %}} ## Summary -## Remarks +The `EncryptedText` datatype is used to represent text that must be encrypted. -### Create an EncryptedText +| | | +|-|-| +| **Category:** | Text | +| **Name:** | `EncryptedText` | +| **Full Name:** | `Cortex.DataTypes.Text.EncryptedText` | +| **Alias:** | N/A | +| **Description:** | Used to represent text that must be encrypted . | +| **Default Value:** | `null` | +| **Can be used as:** | `EncryptedText`, `object`, `dynamic` | +| **Can be cast to:** | `string` | -### Convert EncryptedText to Text +## Remarks ### Property Editor Support +- The Expression Editor is available for [Input][] properties where the data type is `EncryptedText`. +- The Literal Editor is available for [Input][] properties where the data type is `EncryptedText`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `EncryptedText`. + ### Known Limitations +None + ## See Also ### Related Data Types +- [EncryptableText][] +- [String][] + ### Related Concepts +- [Working with Text] + ### External Documentation + +None + +[EncryptableText]: {{< url path="Cortex.Reference.DataTypes.Text.EncryptableText.MainDoc" >}} +[String]: {{< url path="Cortex.Reference.DataTypes.Text.String.MainDoc" >}} + +[Working with Text]: {{< url path="Cortex.Reference.Concepts.WorkingWith.Text.MainDoc" >}} + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/iformatprovider.md b/content/en/docs/2024.3/Reference/data-types/text/iformatprovider.md index b4ec69239..60489d7d1 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/iformatprovider.md +++ b/content/en/docs/2024.3/Reference/data-types/text/iformatprovider.md @@ -1,31 +1,63 @@ --- title: "IFormatProvider" linkTitle: "IFormatProvider" -description: "The data type providing the contract that all data types that control formatting must implement." +description: "Any data type used to control formatting." +weight: 1 --- # {{% param title %}}

(System.IFormatProvider)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}}Improvements to this page are planned for the future.{{% /alert %}} ## Summary -## Remarks +Any data type used to control formatting. -### Create a data type that implements IFormatProvider +| | | +|-|-| +| **Category:** | Text | +| **Name:** | `IFormatProvider` | +| **Full Name:** | `System.IFormatProvider` | +| **Alias:** | N/A | +| **Description:** | Any data type used to control formatting. | +| **Default Value:** | `null` | +| **Can be used as:** | `IFormatProvider`, `object`, `dynamic` | +| **Can be cast to:** | N/A | -### Convert IFormatProvider to Text +## Remarks ### Property Editor Support +- The Expression Editor is available for [Input][] properties where the data type is `IFormatProvider`. +- The Literal Editor is available for [Input][] properties where the data type is `IFormatProvider`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `IFormatProvider`. + ### Known Limitations +None + ## See Also ### Related Data Types +- [CultureInfo][] + ### Related Concepts +- [Working with Text][] + ### External Documentation + +- [System.IFormatProvider][IFormatProvider] + +[Working with Text]: {{< url path="Cortex.Reference.Concepts.WorkingWith.Text.MainDoc" >}} + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} + +[IFormatProvider]: {{< url path="MSDocs.DotNet.Api.System.IFormatProvider" >}} + +[CultureInfo]: {{< url path="Cortex.Reference.DataTypes.Text.CultureInfo.MainDoc" >}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/regex/_index.md b/content/en/docs/2024.3/Reference/data-types/text/regex/_index.md index 8bde0833f..fd0bae889 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/regex/_index.md +++ b/content/en/docs/2024.3/Reference/data-types/text/regex/_index.md @@ -1,6 +1,6 @@ --- title: "Regex" linkTitle: "Regex" -description: "Used to represent Regex data types" +description: "Data types used when working with Regex." weight: 1 --- \ No newline at end of file diff --git a/content/en/docs/2024.3/Reference/data-types/text/regex/match.md b/content/en/docs/2024.3/Reference/data-types/text/regex/match.md index 2471f9adb..6e32fef61 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/regex/match.md +++ b/content/en/docs/2024.3/Reference/data-types/text/regex/match.md @@ -127,11 +127,8 @@ None [Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} [InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} [Expression]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.PropertyEditors.ExpressionEditor.MainDoc" >}} -[Literal]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.PropertyEditors.LiteralEditor.MainDoc" >}} [Advanced]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.AdvancedProperties.MainDoc" >}} -[System.Text.RegularExpressions.Match]: {{< url path="MSDocs.DotNet.Api.System.Text.RegularExpressions.Match" >}} - [Dictionary]: {{}} [Int32]: {{}} [String]: {{< url path="Cortex.Reference.DataTypes.Text.String.MainDoc" >}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/searchoptions.md b/content/en/docs/2024.3/Reference/data-types/text/searchoptions.md index 0bae9db32..dc12ef04d 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/searchoptions.md +++ b/content/en/docs/2024.3/Reference/data-types/text/searchoptions.md @@ -2,6 +2,7 @@ title: "SearchOptions" linkTitle: "SearchOptions" description: "Used to specify how text is matched when performing a search (i.e. text matches the specified literal text, regex or pattern)." +weight: 1 --- # {{% param title %}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/string.md b/content/en/docs/2024.3/Reference/data-types/text/string.md index 03bf629a1..2ea47eaee 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/string.md +++ b/content/en/docs/2024.3/Reference/data-types/text/string.md @@ -2,6 +2,7 @@ title: "String" linkTitle: "String" description: "Used to represent text." +weight: 1 --- # {{% param title %}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/stringcomparer.md b/content/en/docs/2024.3/Reference/data-types/text/stringcomparer.md index 2f9879829..470dffd7b 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/stringcomparer.md +++ b/content/en/docs/2024.3/Reference/data-types/text/stringcomparer.md @@ -2,6 +2,7 @@ title: "StringComparer" linkTitle: "StringComparer" description: "Used to compare two pieces of text against each other." +weight: 1 --- # {{% param title %}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/stringcomparison.md b/content/en/docs/2024.3/Reference/data-types/text/stringcomparison.md index 97acfa331..c162595ef 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/stringcomparison.md +++ b/content/en/docs/2024.3/Reference/data-types/text/stringcomparison.md @@ -1,31 +1,76 @@ --- title: "StringComparison" linkTitle: "StringComparison" -description: "Used to indicate how 2 pieces of text are compared against each other (i.e. which culture to use and whether to consider case or not)." +description: "Used to indicate how two pieces of text are compared against each other (i.e. which culture to use and whether to consider case or not)." +weight: 1 --- # {{% param title %}}

(System.StringComparison)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}}Improvements to this page are planned for the future.{{% /alert %}} ## Summary -## Remarks +The `StringComparison` data type is used to indicate how two pieces of text are compared against each other (i.e. which culture to use and whether to consider case or not). + +`StringComparison` is an [enum][Working with Enums] data type, which means it has a defined set of values, where each value has an associated [String][] name and [Int32][] value. -### Create a StringComparison +| | | +|-|-| +| **Category:** | Text | +| **Name:** | `StringComparison` | +| **Full Name:** | `System.StringComparison` | +| **Alias:** | N/A | +| **Description:** | Used to indicate how two pieces of text are compared against each other (i.e. which culture to use and whether to consider case or not). | +| **Default Value:** | `(StringComparison)0` | +| **Can be used as:** | `StringComparison`, `object`, `dynamic` | +| **Can be cast to:** | `Int16` (e.g. `(Int16)StringComparison.CurrentCulture` or `(System.Int16)StringComparison.CurrentCulture` or `(short)StringComparison.CurrentCulture`) | +| | `Int32` (e.g. `(Int32)StringComparison.CurrentCulture` or `(System.Int32)StringComparison.CurrentCulture` or `(int)StringComparison.CurrentCulture`) | +| | `Int64` (e.g. `(Int64)StringComparison.CurrentCulture` or `(System.Int64)StringComparison.CurrentCulture` or `(long)StringComparison.CurrentCulture`) | +| | `Single` (e.g. `(Single)StringComparison.CurrentCulture` or `(System.Single)StringComparison.CurrentCulture` or `(float)StringComparison.CurrentCulture`) | +| | `Double` (e.g. `(Double)StringComparison.CurrentCulture` or `(System.Double)StringComparison.CurrentCulture` or `(double)StringComparison.CurrentCulture`) | -### Convert StringComparison to Text +## Remarks ### Property Editor Support +- The Expression Editor is available for [Input][] properties where the data type is `StringComparison`. +- The Literal Editor is available for [Input][] properties where the data type is `StringComparison`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `StringComparison`. + ### Known Limitations +None + ## See Also ### Related Data Types +- [StringComparer][] + ### Related Concepts +- [Working With Text][] +- [Working With Enums][] + ### External Documentation + +- [System.StringComparison][StringComparison] +- [System.Enum][] + +[Working With Text]: {{< url path="Cortex.Reference.Concepts.WorkingWith.Text.MainDoc" >}} + +[StringComparer]: {{< url path="Cortex.Reference.DataTypes.Text.StringComparer.MainDoc" >}} +[StringComparison]: {{< url path="MSDocs.DotNet.Api.System.StringComparison" >}} + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} + +[String]: {{< url path="Cortex.Reference.DataTypes.Text.String.MainDoc" >}} +[Int32]: {{< url path="Cortex.Reference.DataTypes.Numbers.Int32.MainDoc" >}} + +[Working with Enums]: {{< url path="Cortex.Reference.Concepts.WorkingWith.Enums.MainDoc" >}} +[System.Enum]: {{< url path="MSDocs.DotNet.Api.System.Enum.MainDoc" >}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/stringsplitoptions.md b/content/en/docs/2024.3/Reference/data-types/text/stringsplitoptions.md index a9068439c..1325f13fa 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/stringsplitoptions.md +++ b/content/en/docs/2024.3/Reference/data-types/text/stringsplitoptions.md @@ -2,6 +2,7 @@ title: "StringSplitOptions" linkTitle: "StringSplitOptions" description: "Used to specify settings for splitting text (i.e. whether to include or remove empty entries from results)." +weight: 1 --- # {{% param title %}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/textdecodingerrorcode.md b/content/en/docs/2024.3/Reference/data-types/text/textdecodingerrorcode.md index a21af1381..7a40a1c8a 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/textdecodingerrorcode.md +++ b/content/en/docs/2024.3/Reference/data-types/text/textdecodingerrorcode.md @@ -2,6 +2,7 @@ title: "TextDecodingErrorCode" linkTitle: "TextDecodingErrorCode" description: "Used to represent an error code explaining the reason an `TextDecodingException` occurred." +weight: 1 --- # {{% param title %}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/textencodingformat.md b/content/en/docs/2024.3/Reference/data-types/text/textencodingformat.md index fa5e4dcaa..3734deab7 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/textencodingformat.md +++ b/content/en/docs/2024.3/Reference/data-types/text/textencodingformat.md @@ -2,6 +2,7 @@ title: "TextEncodingFormat" linkTitle: "TextEncodingFormat" description: "Used to represent formats available for encoding and decoding text." +weight: 1 --- # {{% param title %}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/texttofind.md b/content/en/docs/2024.3/Reference/data-types/text/texttofind.md index b492c07e6..8ec45ad76 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/texttofind.md +++ b/content/en/docs/2024.3/Reference/data-types/text/texttofind.md @@ -2,6 +2,7 @@ title: "TextToFind" linkTitle: "TextToFind" description: "Used to represent a search query for finding text." +weight: 1 --- # {{% param title %}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/unicodeencoding.md b/content/en/docs/2024.3/Reference/data-types/text/unicodeencoding.md index 4fd48943e..94849a15f 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/unicodeencoding.md +++ b/content/en/docs/2024.3/Reference/data-types/text/unicodeencoding.md @@ -2,30 +2,63 @@ title: "UnicodeEncoding" linkTitle: "UnicodeEncoding" description: "Used to represent Unicode character encoding." +weight: 1 --- # {{% param title %}}

(System.Text.UnicodeEncoding)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}}Improvements to this page are planned for the future.{{% /alert %}} ## Summary -## Remarks +The `UnicodeEncoding` data type is used to represent Unicode character encoding. -### Create a UnicodeEncoding +| | | +|-|-| +| **Category:** | Text | +| **Name:** | `UnicodeEncoding` | +| **Full Name:** | `System.Text.UnicodeEncoding` | +| **Alias:** | N/A | +| **Description:** | Used to represent Unicode character encoding. | +| **Default Value:** | `null` | +| **Can be used as:** | `UnicodeEncoding`, `Encoding`, `object`, `dynamic` | +| **Can be cast to:** | N/A | -### Convert UnicodeEncoding to Text +## Remarks ### Property Editor Support +- The Expression Editor is available for [Input][] properties where the data type is `UnicodeEncoding`. +- The Literal Editor is available for [Input][] properties where the data type is `UnicodeEncoding`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `UnicodeEncoding`. + ### Known Limitations +None + ## See Also ### Related Data Types +- [Encoding][] +- [UTF32Encoding][] +- [UTF8Encoding][] + ### Related Concepts +None + ### External Documentation + +- [System.Text.UnicodeEncoding][UnicodeEncoding] + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} + +[Encoding]: {{< url path = "Cortex.Reference.DataTypes.Text.Encoding.MainDoc">}} +[UTF32Encoding]: {{< url path = "Cortex.Reference.DataTypes.Text.UTF32Encoding.MainDoc">}} +[UTF8Encoding]: {{< url path = "Cortex.Reference.DataTypes.Text.UTF8Encoding.MainDoc">}} +[UnicodeEncoding]: {{< url path = "MSDocs.DotNet.Api.System.Text.UnicodeEncoding">}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/utf32encoding.md b/content/en/docs/2024.3/Reference/data-types/text/utf32encoding.md index b3d30361f..dfc87a552 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/utf32encoding.md +++ b/content/en/docs/2024.3/Reference/data-types/text/utf32encoding.md @@ -2,30 +2,63 @@ title: "UTF32Encoding" linkTitle: "UTF32Encoding" description: "Used to represent UTF32 character encoding." +weight: 1 --- # {{% param title %}}

(System.Text.UTF32Encoding)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}}Improvements to this page are planned for the future.{{% /alert %}} ## Summary -## Remarks +The `UTF32Encoding` data type is used to represent UTF32 character encoding. -### Create a UTF32Encoding +| | | +|-|-| +| **Category:** | Text | +| **Name:** | `UTF32Encoding` | +| **Full Name:** | `System.Text.UTF32Encoding` | +| **Alias:** | N/A | +| **Description:** | Used to represent UTF32 character encoding. | +| **Default Value:** | `null` | +| **Can be used as:** | `UTF32Encoding`, `Encoding`, `object`, `dynamic` | +| **Can be cast to:** | N/A | -### Convert UTF32Encoding to Text +## Remarks ### Property Editor Support +- The Expression Editor is available for [Input][] properties where the data type is `UTF32Encoding`. +- The Literal Editor is available for [Input][] properties where the data type is `UTF32Encoding`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `UTF32Encoding`. + ### Known Limitations +None + ## See Also ### Related Data Types +- [Encoding][] +- [UnicodeEncoding][] +- [UTF8Encoding][] + ### Related Concepts +None + ### External Documentation + +- [System.Text.UTF32Encoding][UTF32Encoding] + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} + +[Encoding]: {{< url path = "Cortex.Reference.DataTypes.Text.Encoding.MainDoc">}} +[UnicodeEncoding]: {{< url path = "Cortex.Reference.DataTypes.Text.UnicodeEncoding.MainDoc">}} +[UTF8Encoding]: {{< url path = "Cortex.Reference.DataTypes.Text.UTF8Encoding.MainDoc">}} +[UTF32Encoding]: {{< url path = "MSDocs.DotNet.Api.System.Text.Utf32Encoding">}} diff --git a/content/en/docs/2024.3/Reference/data-types/text/utf8encoding.md b/content/en/docs/2024.3/Reference/data-types/text/utf8encoding.md index 3a4a883a5..f26f239fe 100644 --- a/content/en/docs/2024.3/Reference/data-types/text/utf8encoding.md +++ b/content/en/docs/2024.3/Reference/data-types/text/utf8encoding.md @@ -2,30 +2,63 @@ title: "UTF8Encoding" linkTitle: "UTF8Encoding" description: "Used to represent UTF8 character encoding." +weight: 1 --- # {{% param title %}}

(System.Text.UTF8Encoding)

-{{< workinprogress >}} +{{% alert type="information" title="Information" %}}Improvements to this page are planned for the future.{{% /alert %}} ## Summary -## Remarks +The `UTF8Encoding` data type is used to represent UTF8 character encoding. -### Create a UTF8Encoding +| | | +|-|-| +| **Category:** | Text | +| **Name:** | `UTF8Encoding` | +| **Full Name:** | `System.Text.UTF8Encoding` | +| **Alias:** | N/A | +| **Description:** | Used to represent UTF8 character encoding. | +| **Default Value:** | `null` | +| **Can be used as:** | `UTF8Encoding`, `Encoding`, `object`, `dynamic` | +| **Can be cast to:** | N/A | -### Convert UTF8Encoding to Text +## Remarks ### Property Editor Support +- The Expression Editor is available for [Input][] properties where the data type is `UTF8Encoding`. +- The Literal Editor is available for [Input][] properties where the data type is `UTF8Encoding`. +- The Variable Editor is available for [Input][], [InputOutput][] and [Output][] properties where the data type is `UTF8Encoding`. + ### Known Limitations +None + ## See Also ### Related Data Types +- [Encoding][] +- [UnicodeEncoding][] +- [UTF32Encoding][] + ### Related Concepts +None + ### External Documentation + +- [System.Text.UTF8Encoding][UTF8Encoding] + +[Input]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Input" >}} +[Output]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.Output" >}} +[InputOutput]: {{< url path="Cortex.Reference.Concepts.Fundamentals.Blocks.BlockProperties.WhatIsABlockProperty.InputOutput" >}} + +[Encoding]: {{< url path = "Cortex.Reference.DataTypes.Text.Encoding.MainDoc">}} +[UnicodeEncoding]: {{< url path = "Cortex.Reference.DataTypes.Text.UnicodeEncoding.MainDoc">}} +[UTF32Encoding]: {{< url path = "Cortex.Reference.DataTypes.Text.UTF32Encoding.MainDoc">}} +[UTF8Encoding]: {{< url path = "MSDocs.DotNet.Api.System.Text.Utf8Encoding">}} diff --git a/data/urls.toml b/data/urls.toml index c57023ba2..4ee31524b 100644 --- a/data/urls.toml +++ b/data/urls.toml @@ -2278,6 +2278,7 @@ Interpolation = "https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/#string-interpolation" Verbatim = "https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/#verbatim-string-literals" InterpolatedVerbatim = "https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/#verbatim-string-interpolation" + SupportedCultureCodes = "https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c" [MSDocs.SqlServer] ErrorCodes = "https://learn.microsoft.com/en-us/sql/relational-databases/errors-events/database-engine-events-and-errors?view=sql-server-ver15" SqlException = "https://learn.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlexception?view=dotnet-plat-ext-6.0&viewFallbackFrom=netcore-3.1" @@ -2298,7 +2299,9 @@ ArgumentNullException = "https://learn.microsoft.com/en-us/dotnet/api/system.argumentnullexception" ArgumentOutOfRangeException = "https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception" Array = "https://learn.microsoft.com/en-us/dotnet/api/system.array" + Exception = "https://learn.microsoft.com/en-us/dotnet/api/system.exception?view=net-6.0" FormatException = "https://learn.microsoft.com/en-us/dotnet/api/system.formatexception" + IFormatProvider = "https://learn.microsoft.com/en-us/dotnet/api/system.iformatprovider" OutOfMemoryException = "https://learn.microsoft.com/en-us/dotnet/api/system.outofmemoryexception" StringComparer = "https://learn.microsoft.com/en-us/dotnet/api/system.stringcomparer" StringComparison = "https://learn.microsoft.com/en-us/dotnet/api/system.stringcomparison" @@ -2314,6 +2317,8 @@ IEnumerable_TItem = "https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1" IList = "https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ilist-1" List = "https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1" + IReadOnlyList = "https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlylist-1" + IReadOnlyCollection = "https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ireadonlycollection-1" [MSDocs.DotNet.Api.System.Convert] MainDoc ="https://learn.microsoft.com/en-us/dotnet/api/system.convert" ToBoolean = "https://learn.microsoft.com/en-us/dotnet/api/system.convert.toboolean" @@ -2446,6 +2451,12 @@ MinValue = "https://learn.microsoft.com/en-us/dotnet/api/system.timespan.minvalue" [MSDocs.DotNet.Api.System.Globalization] CultureInfo = "https://learn.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo" + CultureInfoNotFoundException = "https://learn.microsoft.com/en-us/dotnet/api/system.globalization.culturenotfoundexception?view=net-6.0" + [MSDocs.DotNet.Api.System.Text] + Encoding = "https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding" + UnicodeEncoding = "https://learn.microsoft.com/en-us/dotnet/api/system.text.unicodeencoding" + Utf8Encoding = "https://learn.microsoft.com/en-us/dotnet/api/system.text.utf8encoding" + Utf32Encoding = "https://learn.microsoft.com/en-us/dotnet/api/system.text.utf32encoding" [MSDocs.DotNet.Api.System.Text.RegularExpressions] Capture = "https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.capture" Group = "https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.group"