Class DriverFolderScan
Collects the driver files present in the project, so the inspector can compare them against a manifest without touching the filesystem itself.
Inherited Members
Namespace: Serenity.StructuredPersistence.Infrastructure.Editor.Drivers
Assembly: Serenity.UnityStructuredPersistence.Infrastructure.Editor.dll
Syntax
public static class DriverFolderScan
Remarks
Both install routes the provider READMEs describe are scanned: the conventional
Assets/Plugins/SerenityDbDrivers/ folder, and Assets/Packages/, where
NuGetForUnity puts what it installs. Scanning only the first would report a perfectly good
NuGetForUnity install as missing everything.
Fields
ConventionalDriversFolder
The folder this repository's own READMEs tell readers to install into.
Declaration
public const string ConventionalDriversFolder = "Assets/Plugins/SerenityDbDrivers"
Field Value
| Type | Description |
|---|---|
| string |
NuGetForUnityFolder
Where NuGetForUnity lands its packages.
Declaration
public const string NuGetForUnityFolder = "Assets/Packages"
Field Value
| Type | Description |
|---|---|
| string |
Methods
CollectInstalledBinaryPaths()
Paths of every managed and native binary found in either install location.
Declaration
public static IReadOnlyList<string> CollectInstalledBinaryPaths()
Returns
| Type | Description |
|---|---|
| IReadOnlyList<string> | Paths relative to the project folder, using forward slashes. |
ConventionalDriversFolderAbsolutePath()
Absolute path of the conventional drivers folder, for opening it in a file browser.
Declaration
public static string ConventionalDriversFolderAbsolutePath()
Returns
| Type | Description |
|---|---|
| string |
ScannedFolders()
The folders that are searched, whether or not they exist.
Declaration
public static IReadOnlyList<string> ScannedFolders()
Returns
| Type | Description |
|---|---|
| IReadOnlyList<string> |