Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

StringSource

class in Unity.SmartStrings.Extensions

/

Inherits from:Unity.SmartStrings.Core.Extensions.Source

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Evaluates a Selector with a string as ISelectorInfo.CurrentValue. Include this source for handling string and its extension methods.

Properties

Property Description
SelectorMethods A Collections.Generic.Dictionary_2 of methods that can be used as selectors.
UseInvariantCulture When true, uses Globalization.CultureInfo.InvariantCulture when performing string operations, otherwise uses the Locale .

Inherited Members

Protected Methods

MethodDescription
TrySetResultForNullableOperator If any of the Placeholder's Unity.SmartStrings.Core.Parsing.Placeholder.Selectors has nullable ? as their first operator, and ISelectorInfo.CurrentValue is null, ISelectorInfo.Result will be set to null.