Interface ICatalogProvider
Assembly: Experior.Interfaces.dll
Syntax
public interface ICatalogProvider
Methods
GetAllowedCatalogs(String, Boolean)
Declaration
IReadOnlyList<CatalogItemData> GetAllowedCatalogs(string path, bool isExternal)
Parameters
Type |
Name |
Description |
System.String |
path |
|
System.Boolean |
isExternal |
|
Returns
GetLoadableCatalogs(String, Boolean)
Declaration
IReadOnlyList<CatalogItemData> GetLoadableCatalogs(string path, bool isExternal)
Parameters
Type |
Name |
Description |
System.String |
path |
|
System.Boolean |
isExternal |
|
Returns
IsCatalogAllowed(String, Boolean)
Check if file is allowed iaw. license
Declaration
bool IsCatalogAllowed(string fileName, bool skipBasicValidation = false)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
System.Boolean |
skipBasicValidation |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
bool IsValidCatalogFileFormat(string fileName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
Returns
Type |
Description |
System.Boolean |
|
PrioritizeAndFilterCatalogs(IReadOnlyList<CatalogItemData>)
Declaration
IReadOnlyList<CatalogItemData> PrioritizeAndFilterCatalogs(IReadOnlyList<CatalogItemData> catalogs)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IReadOnlyList<CatalogItemData> |
catalogs |
|
Returns