Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ITextAccessor Interface

    Namespace: Stride.Core.Assets.TextAccessors
    Assembly: 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.

    | Improve this Doc View Source

    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

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation