FulcrumFS FulcrumFS
FulcrumFS FulcrumFS
DocFX + Singulink = ♥

Search Results for

    Class FileRepoCleaningOptions

    Represents configuration options for a FileRepoCleaner.

    Inheritance
    object
    FileRepoCleaningOptions
    Namespace: FulcrumFS
    Assembly: FulcrumFS.Local.dll
    Syntax
    public sealed class FileRepoCleaningOptions
    Remarks

    The cleaner checks and freezes the options when it is constructed, after which they can't be changed, and their setters throw an InvalidOperationException.

    The members that are required have no default. The compiler requires them when the options are created in code, but not when they are bound from a configuration, so they read as not set until they are set, and the FileRepoCleaner constructor throws, with a message that names them, if one is still not set then.

    Constructors

    Name Description
    FileRepoCleaningOptions()

    Initializes a new instance of the FileRepoCleaningOptions class.

    FileRepoCleaningOptions(IAbsoluteDirectoryPath)

    Initializes a new instance of the FileRepoCleaningOptions class with the specified base directory for the file repository to be cleaned.

    Properties

    Name Description
    BaseDirectory

    Gets or sets the base directory of the file repository to be cleaned, or null while it is not set.

    IsFrozen

    Gets a value indicating whether the options are in use: a FileRepoCleaner checked them (see Validate()) when it was constructed with them, and they can no longer be changed.

    MarkerFileLogging

    Gets or sets the logging mode used when writing log entries to marker files during clean operations. Default is HumanReadable.

    Methods

    Name Description
    Validate()

    Checks the options as the FileRepoCleaner constructor does. The required BaseDirectory is set.

    © Singulink. All rights reserved.