Search Results for

    Show / Hide Table of Contents

    Class SasaraCcs

    An utility library for CeVIO project file (ccs / ccst)

    Inheritance
    object
    SasaraCcs
    Namespace: LibSasara
    Assembly: LibSasara.dll
    Syntax
    public static class SasaraCcs

    Fields

    Name

    A name of this library.

    Declaration
    public static readonly string Name
    Field Value
    Type Description
    string

    Methods

    IsCevioFile(string)

    ファイルがCeVIO関連ファイルか

    Declaration
    public static bool IsCevioFile(string path)
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    bool

    LoadAsync(string)

    CeVIOプロジェクトファイル(.ccs) または トラックファイル(.ccst)を読み込みます. ※LINQtoXML版

    Declaration
    public static Task<CeVIOFileBase> LoadAsync(string path)
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    Task<CeVIOFileBase>

    管理クラス

    Exceptions
    Type Condition
    FileNotFoundException
    InvalidDataException
    See Also
    LoadAsync<T>(string)

    LoadAsync<T>(string)

    CeVIOプロジェクトファイル(.ccs) または トラックファイル(.ccst)を読み込みます. ※LINQtoXML版

    Declaration
    public static Task<T?> LoadAsync<T>(string path) where T : CeVIOFileBase, ICeVIOFile
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    Task<T>

    管理クラス

    Type Parameters
    Name Description
    T

    CcsProjectまたはCcstTrack

    Exceptions
    Type Condition
    FileNotFoundException
    InvalidDataException
    See Also
    LoadAsync<T>(string)
    LoadAsync(string)

    SaveAsync(ICeVIOFile, string, bool)

    内容に応じた拡張子を付けてファイルを保存

    Declaration
    public static ValueTask SaveAsync(this ICeVIOFile ccs, string path, bool isAutoExt = true)
    Parameters
    Type Name Description
    ICeVIOFile ccs
    string path
    bool isAutoExt

    内容に応じた拡張子(ccs/ccst)をつけるかどうか

    Returns
    Type Description
    ValueTask
    In this article
    Back to top LibSasara