Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    DefaultTextAccessor Class

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

    | Improve this Doc View Source

    Properties


    FilePath

    public string FilePath { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    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

    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