Share via


MigrationsScaffolder.GetDirectory(String, String, String) Method

Definition

Gets the directory of a sibling file. If none, the directory corresponding to the sub-namespace is used.

protected virtual string GetDirectory (string projectDir, string siblingFileName, string subnamespace);
protected virtual string GetDirectory (string projectDir, string? siblingFileName, string subnamespace);
abstract member GetDirectory : string * string * string -> string
override this.GetDirectory : string * string * string -> string
Protected Overridable Function GetDirectory (projectDir As String, siblingFileName As String, subnamespace As String) As String

Parameters

projectDir
String

The project's root directory.

siblingFileName
String

The sibling file's name.

subnamespace
String

The sub-namespace.

Returns

The directory path.

Applies to