Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IFileRepository

    Namespace: Umbraco.Cms.Core.Persistence.Repositories
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IFileRepository

    Methods

    View Source

    GetFileContentStream(String)

    Declaration
    Stream GetFileContentStream(string filepath)
    Parameters
    Type Name Description
    System.String filepath
    Returns
    Type Description
    Stream
    View Source

    GetFileSize(String)

    Declaration
    long GetFileSize(string filepath)
    Parameters
    Type Name Description
    System.String filepath
    Returns
    Type Description
    System.Int64
    View Source

    SetFileContent(String, Stream)

    Declaration
    void SetFileContent(string filepath, Stream content)
    Parameters
    Type Name Description
    System.String filepath
    Stream content
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetFileContentStream(String)
      • GetFileSize(String)
      • SetFileContent(String, Stream)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX