FileSet FileSet Class

Definition

public class FileSet
Public Class FileSet
Inheritance
System.ObjectSystem.Object
FileSetFileSet

Constructors

FileSet(IFileService, String) FileSet(IFileService, String)

public FileSet(IFileService fileService, string directory)
Public Sub New(fileService As IFileService, directory As String)
Parameters
directory
System.String System.String

FileSet(IFileService, String, Func) FileSet(IFileService, String, Func(Of String, String))

public FileSet(IFileService fileService, string directory, Func<string, string> contentsReplacementFunc)
Public Sub New(fileService As IFileService, directory As String, contentsReplacementFunc As Func(Of String, String))
Parameters
directory
System.String System.String
contentsReplacementFunc
System.Func<System.String, System.String> System.Func(Of System.String, System.String)

Fields

Files Files

public List<string> Files
Public Files As List(Of String)

Properties

Directory Directory

public string Directory { get; }
Public ReadOnly Property Directory As String
Value
System.String System.String

Methods

Contents(Int32) Contents(Int32)

public string Contents(int index)
Public Function Contents(index As Integer) As String
Parameters
index
System.Int32 System.Int32
Returns
System.String System.String

Contents(String) Contents(String)

public string Contents(string filepath)
Public Function Contents(filepath As String) As String
Parameters
filepath
System.String System.String
Returns
System.String System.String

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

Exists(Int32) Exists(Int32)

public bool Exists(int index)
Public Function Exists(index As Integer) As Boolean
Parameters
index
System.Int32 System.Int32
Returns
System.Boolean System.Boolean

Exists(String) Exists(String)

public bool Exists(string filepath)
Public Function Exists(filepath As String) As Boolean
Parameters
filepath
System.String System.String
Returns
System.Boolean System.Boolean

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object