DefaultTextAccessor Class
Namespace: Stride.Core.Assets.TextAccessorsAssembly: Stride.Core.Assets.dll
System.Object →
DefaultTextAccessor
Derived from DefaultTextAccessor:
public class DefaultTextAccessor : ITextAccessor
| Name | Description | |
|---|---|---|
| Properties | ||
| FilePath | ||
| Methods | ||
| Get() | Gets the underlying text. |
|
| GetSerializableVersion() | ||
| Save(Stream) | ||
| Set(String) | Sets the underlying text. |
|
Properties
FilePath
public string FilePath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Get()
Gets the underlying text.
public string Get()
Returns
| Type | Description |
|---|---|
| System.String |
GetSerializableVersion()
public ISerializableTextAccessor GetSerializableVersion()
Returns
| Type | Description |
|---|---|
| ISerializableTextAccessor |
Save(Stream)
public async Task Save(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | stream |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Set(String)
Sets the underlying text.
public void Set(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |