Class FileInfoSerie
- Namespace
- SunamoData.Data
- Assembly
- SunamoData.dll
Represents file information with serie information (file name patterns like "file (1).txt", "file (2).txt").
public class FileInfoSerie : FileInfoLite
- Inheritance
-
FileInfoSerie
- Inherited Members
- Extension Methods
Properties
FileNameComplet
Gets or sets the complete file name with extension but without path, possibly modified.
public string FileNameComplet { get; set; }
Property Value
HasSerie
Gets or sets whether this file has a serie number in its name.
public bool HasSerie { get; set; }
Property Value
IsDeleted
Gets or sets whether this file has been deleted.
public bool IsDeleted { get; set; }
Property Value
NameWithoutSeries
Gets or sets the file name without the serie number.
public string NameWithoutSeries { get; set; }
Property Value
NeverRemove
Gets or sets whether this file should never be removed.
public bool NeverRemove { get; set; }
Property Value
PathWithoutSerie
Gets or sets the file path without the serie number.
public string PathWithoutSerie { get; set; }
Property Value
Methods
GetFIS(FileInfo, Func<string, bool, SerieStyleData, (string, bool)>)
Creates a FileInfoSerie instance from a FileInfo object.
public static FileInfoSerie GetFIS(FileInfo fileInfo, Func<string, bool, SerieStyleData, (string, bool)> GetNameWithoutSeriesNoOut)
Parameters
fileInfoFileInfoThe FileInfo object.
GetNameWithoutSeriesNoOutFunc<string, bool, SerieStyleData, (string, bool)>Function to extract name without serie number.
Returns
- FileInfoSerie
A new FileInfoSerie instance.
GetFIS(string, Func<string, bool, SerieStyleData, (string, bool)>)
Creates a FileInfoSerie instance from a file path.
public static FileInfoSerie GetFIS(string file, Func<string, bool, SerieStyleData, (string, bool)> GetNameWithoutSeriesNoOut)
Parameters
filestringThe file path.
GetNameWithoutSeriesNoOutFunc<string, bool, SerieStyleData, (string, bool)>Function to extract name without serie number.
Returns
- FileInfoSerie
A new FileInfoSerie instance.