ITextAccessor Interface
Namespace: Stride.Core.Assets.TextAccessorsAssembly: Stride.Core.Assets.dll
public interface ITextAccessor
| Name | Description | |
|---|---|---|
| Methods | ||
| Get() | Gets the underlying text. |
|
| GetSerializableVersion() | ||
| Save(Stream) | Writes the text to the given System.IO.StreamWriter. |
|
| Set(String) | Sets the underlying text. |
|
Methods
Get()
Gets the underlying text.
string Get()
Returns
| Type | Description |
|---|---|
| System.String |
GetSerializableVersion()
ISerializableTextAccessor GetSerializableVersion()
Returns
| Type | Description |
|---|---|
| ISerializableTextAccessor |
Save(Stream)
Writes the text to the given System.IO.StreamWriter.
Task Save(Stream streamWriter)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | streamWriter |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Set(String)
Sets the underlying text.
void Set(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |