-
Notifications
You must be signed in to change notification settings - Fork 0
API Host StringValue
Liu.Yandong.Hanks edited this page Aug 21, 2026
·
3 revisions
Immutable script string wrapper.
Namespace: AuroraScript.Runtime.Types. Kind: class.
Back to .NET Host API Reference
Immutable script string wrapper.
A minimal use of StringValue.
var text = StringValue.Of("Aurora");
Console.WriteLine(text.Value); // AuroraCreates a StringValue instance.
StringValue(string str)Parameters
| Name | Type | Required | Description |
|---|---|---|---|
str |
string |
Yes | Initial string or character. |
Returns
A new StringValue instance.
Creates a StringValue instance.
StringValue(char str)Parameters
| Name | Type | Required | Description |
|---|---|---|---|
str |
char |
Yes | Initial string or character. |
Returns
A new StringValue instance.
string ValueParameters
None.
Returns
Returns string.
static StringValue Of(string value)Parameters
| Name | Type | Required | Description |
|---|---|---|---|
value |
string |
Yes | CLR string to wrap or intern. |
Returns
Returns StringValue.
static StringValue Intern(string value)Parameters
| Name | Type | Required | Description |
|---|---|---|---|
value |
string |
Yes | CLR string to wrap or intern. |
Returns
Returns StringValue.
bool IsTrue()Parameters
None.
Returns
Returns bool.
AuroraScript.JIT 4.0.0 · Documentation Home · Repository · MIT License