Search Results for

    Show / Hide Table of Contents

    Class Updater

    Applies file updates to a target directory, scanning source folders, detecting modified files by hash or timestamp, optionally backing up existing files and reporting progress as content is written.

    Inheritance
    object
    Updater
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Drawing
    Assembly: Reportman.Drawing.dll
    Syntax
    public class Updater

    Constructors

    View Source

    Updater(string)

    Declaration
    public Updater(string fpath)
    Parameters
    Type Name Description
    string fpath

    Fields

    View Source

    ExcludeExecutingAssembly

    Declaration
    public bool ExcludeExecutingAssembly
    Field Value
    Type Description
    bool
    View Source

    OnProgress

    Declaration
    public CopyProgress OnProgress
    Field Value
    Type Description
    CopyProgress
    View Source

    PerformBackup

    Declaration
    public bool PerformBackup
    Field Value
    Type Description
    bool

    Properties

    View Source

    FilePath

    Declaration
    public string FilePath { get; }
    Property Value
    Type Description
    string

    Methods

    View Source

    CreateFilesTable()

    Declaration
    public static DataTable CreateFilesTable()
    Returns
    Type Description
    DataTable
    View Source

    FillFiles(DataTable, string, string, bool)

    Declaration
    public void FillFiles(DataTable xtable, string sourcedir, string subdir, bool copycontent)
    Parameters
    Type Name Description
    DataTable xtable
    string sourcedir
    string subdir
    bool copycontent
    View Source

    GetFiles(string, bool)

    Declaration
    public DataTable GetFiles(string sourcedir, bool copycontent)
    Parameters
    Type Name Description
    string sourcedir
    bool copycontent
    Returns
    Type Description
    DataTable
    View Source

    GetModifiedFiles(DataTable, string, bool, SortedList<string, FileHash>, SortedList<string, FileHash>)

    Declaration
    public static DataTable GetModifiedFiles(DataTable files, string filesdir, bool copycontent, SortedList<string, FileHash> olderHashes, SortedList<string, FileHash> updatedHashes)
    Parameters
    Type Name Description
    DataTable files
    string filesdir
    bool copycontent
    SortedList<string, FileHash> olderHashes
    SortedList<string, FileHash> updatedHashes
    Returns
    Type Description
    DataTable
    View Source

    GetModifiedFilesAsync(DataTable, string, bool, SortedList<string, FileHash>, SortedList<string, FileHash>)

    Declaration
    public static Task<DataTable> GetModifiedFilesAsync(DataTable files, string filesdir, bool copycontent, SortedList<string, FileHash> olderHashes, SortedList<string, FileHash> updatedHashes)
    Parameters
    Type Name Description
    DataTable files
    string filesdir
    bool copycontent
    SortedList<string, FileHash> olderHashes
    SortedList<string, FileHash> updatedHashes
    Returns
    Type Description
    Task<DataTable>
    View Source

    Update(DataTable)

    Declaration
    public void Update(DataTable files)
    Parameters
    Type Name Description
    DataTable files
    • View Source
    In this article
    Back to top Generated by DocFX