Table of Contents

Class ArchivingPolicy

Namespace
Fluxzy
Assembly
Fluxzy.Core.dll

Archiving policy

public class ArchivingPolicy
Inheritance
ArchivingPolicy
Inherited Members

Constructors

ArchivingPolicy()

Create a default archiving policy which archive nothing.

[JsonConstructor]
public ArchivingPolicy()

Properties

Directory

If ArchivingPolicyType is Directory, this property will be set to the directory path.

public string? Directory { get; }

Property Value

string

None

Default archiving policy which archive nothing.

public static ArchivingPolicy None { get; }

Property Value

ArchivingPolicy

Type

Archiving policy type

public ArchivingPolicyType Type { get; }

Property Value

ArchivingPolicyType

Methods

CreateFromDirectory(DirectoryInfo)

Create archiving policy from a DirectoryInfo

public static ArchivingPolicy CreateFromDirectory(DirectoryInfo directoryInfo)

Parameters

directoryInfo DirectoryInfo

Returns

ArchivingPolicy

CreateFromDirectory(string)

Create archiving policy from a directory path

public static ArchivingPolicy CreateFromDirectory(string path)

Parameters

path string

Returns

ArchivingPolicy