InMemoryFileService InMemoryFileService Class

Definition

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

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

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

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

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

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

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