SmartSettings
Smart settings to be applied for parsing and formatting. SmartSettings are used to initialize instances. Properties should be considered as 'init-only' like implemented in C# 9. Any changes after passing settings as argument to CTORs may not have effect, unless explicitly mentioned.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Class
- Namespace: Unity.SmartStrings.Core.Settings
- Assembly: UnityEngine.SmartStringsModule
public class SmartSettings
Properties
Property | Description |
|---|---|
| CaseSensitivity | Determines whether placeholders are case-sensitive or not. The default is CaseSensitivityType.CaseSensitive. |
| Formatter | Settings that configure formatting. Set only during initialization. |
| Parser | Settings that configure parsing. Set only during initialization. |
Methods
Method | Description |
|---|---|
| GetCaseSensitivityComparer | Gets the StringComparer that belongs to the SmartSettings.CaseSensitivity setting. |
| GetCaseSensitivityComparison | Gets the StringComparison that belongs to the SmartSettings.CaseSensitivity setting. |