InMemoryFileService InMemoryFileService Class

Definition

public class InMemoryFileService : IFileService
Public Class InMemoryFileService
    Implements IFileService
Inheritance
System.ObjectSystem.Object
InMemoryFileServiceInMemoryFileService
Implements

Methods

DirectoryExists(String) DirectoryExists(String)

public virtual bool DirectoryExists(string directoryName)
Public Overridable Function DirectoryExists(directoryName As String) As Boolean
Parameters
directoryName
System.String System.String
Returns
System.Boolean System.Boolean

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

FileExists(String, String) FileExists(String, String)

public virtual bool FileExists(string directoryName, string fileName)
Public Overridable Function FileExists(directoryName As String, fileName As String) As Boolean
Parameters
directoryName
System.String System.String
fileName
System.String System.String
Returns
System.Boolean System.Boolean

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

IsFileReadOnly(String, String) IsFileReadOnly(String, String)

public virtual bool IsFileReadOnly(string outputDirectoryName, string outputFileName)
Public Overridable Function IsFileReadOnly(outputDirectoryName As String, outputFileName As String) As Boolean
Parameters
outputDirectoryName
System.String System.String
outputFileName
System.String System.String
Returns
System.Boolean System.Boolean

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OutputFile(String, String, String) OutputFile(String, String, String)

public virtual string OutputFile(string directoryName, string fileName, string contents)
Public Overridable Function OutputFile(directoryName As String, fileName As String, contents As String) As String
Parameters
directoryName
System.String System.String
fileName
System.String System.String
contents
System.String System.String
Returns
System.String System.String

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

Inherited from System.Object

RetrieveFileContents(String, String) RetrieveFileContents(String, String)

public virtual string RetrieveFileContents(string directoryName, string fileName)
Public Overridable Function RetrieveFileContents(directoryName As String, fileName As String) As String
Parameters
directoryName
System.String System.String
fileName
System.String System.String
Returns
System.String System.String

ToString() ToString()

Inherited from System.Object