Table of Contents

Class DefaultTextAccessor

Namespace
Stride.Core.Assets.TextAccessors
Assembly
Stride.Core.Assets.dll
public class DefaultTextAccessor : ITextAccessor
Inheritance
DefaultTextAccessor
Implements

Properties

FilePath

public string FilePath { get; }

Property Value

string

Methods

Get()

Gets the underlying text.

public string Get()

Returns

string

GetSerializableVersion()

public ISerializableTextAccessor GetSerializableVersion()

Returns

ISerializableTextAccessor

Save(Stream)

Writes the text to the given StreamWriter.

public Task Save(Stream stream)

Parameters

stream Stream

Returns

Task

Set(string)

Sets the underlying text.

public void Set(string value)

Parameters

value string