FileSet FileSet Class

Syntax

Declaration

public class FileSetPublic Class FileSet

Inheritance Hierarchy

  • System.Object
    System.Object
  • FileSet
    FileSet

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()

Constructors summary

Fields summary

Properties summary

Methods summary

Constructors

  • FileSet(IFileService, String)
    FileSet(IFileService, String)
    public FileSet(IFileService fileService, string directory)Public Sub New(fileService As IFileService, directory As String)

    Parameters

  • FileSet(IFileService, String, Func<String, String>)
    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

    • fileService
    • directory
      System.String
      System.String
    • contentsReplacementFunc
      System.Func<T, TResult><System.String, System.String>
      System.Func<T, TResult>(Of System.String, System.String)

Fields

  • Files
    Files
    public List<string> FilesPublic Files As List(Of String)

Properties

  • Directory
    Directory
    public string Directory { get; }Public ReadOnly Property Directory As String

    Property 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
  • 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

Details

Assembly

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