Services related to adapters
Inheritance
AdapterServices
public class AdapterServices : object
Methods
Determines whether this instance can import the specified path.
Declaration
public static bool CanImport(string path, List<string> extensions)
Parameters
Returns
Determines whether this instance can import the specified path.
Declaration
public static bool CanImport(string path, string extension)
Parameters
Type |
Name |
Description |
String |
path |
The path.
|
String |
extension |
|
Returns
Type |
Description |
Boolean |
true if this instance can import the specified path; otherwise, false .
|
Create a new adapter asset
Declaration
public static FormaAdapter CreateAdapter(string targetFolder, string name)
Parameters
Returns
Create a new adapter asset
Declaration
public static FormaAdapter CreateAdapterAsset(string targetFolder, string name)
Parameters
Returns
Create a new adapter package
Declaration
public static void CreateAdapterPackage(string name = null, string displayName = "Custom")
Parameters
Declaration
public static void CreateCustomEngine(FormaAdapter adapter, string engineName, string typename, string targetFolder)
Parameters
Create a custom engine and check for validity
Declaration
public static void CreateCustomEngineWithCheck(FormaAdapter adapter, string engineName, string typename)
Parameters
Create a new custom adapter action from a template
Declaration
public static void CreateNewAction(FormaAdapter adapter, string dataAdapterName = null)
Parameters
Find all Forma adapters in project
Declaration
public static IEnumerable<FormaAdapter> FindFormaAdapters()
Returns
Find all active Forma adapters in project and return then in order
Declaration
public static IEnumerable<FormaAdapter> FindValidFormaAdapters()
Returns