Class EmbeddedModuleResolver
Resolver definitions to look for modules which gets compiled into some .net assembly. Custom resolvers can be writte to load scripts from databases or other sources
Inheritance
System.Object
EmbeddedModuleResolver
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sample.ImportResolver
Assembly: Sample.ImportResolver.dll
Syntax
public class EmbeddedModuleResolver : IDlrImportResolver
Methods
| Improve this Doc View SourceGetModuleInformation(String)
Resolve the type of the path, for example this may contains some package, module or nothing
Declaration
public ResolvedType GetModuleInformation(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | Path to the package, module |
Returns
Type | Description |
---|---|
ResolvedType | Type of the destination |
GetScriptSource(String)
Get the script source. If the script was not found, null has to be returned
Declaration
public string GetScriptSource(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | Path to the script |
Returns
Type | Description |
---|---|
System.String | Null if no code was found, else the script code |