InMemoryFileService InMemoryFileService Class

Syntax

Declaration

public class InMemoryFileService : IFileServicePublic Class InMemoryFileService
    Implements IFileService

Inheritance Hierarchy

  • System.Object
    System.Object
  • InMemoryFileService
    InMemoryFileService

Inherited Members

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

Methods summary

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

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.Design.Specification.Tests.dll