API reference
API reference
Select your platform
No SDKs available
No versions available

IAssemblyWalker Interface

Properties

AssembliesToIgnore : HashSet< string >
[Get][Set]
Filter out assemblies with specified names from GetTargetAssemblies() output.
Signature
HashSet<string> Meta.Conduit.Editor.IAssemblyWalker.AssembliesToIgnore

Methods

GetAllAssemblies ()
Returns a list of all assemblies that are marked with the ConduitAssemblyAttribute attribute.
Signature
IEnumerable<IConduitAssembly> Meta.Conduit.Editor.IAssemblyWalker.GetAllAssemblies()
Returns
IEnumerable< IConduitAssembly >  The list of assemblies.
GetCompilationAssemblies ( assembliesType )
Returns a list of assemblies that Unity will build for Edit or Run time.
Signature
IEnumerable<Assembly> Meta.Conduit.Editor.IAssemblyWalker.GetCompilationAssemblies(AssembliesType assembliesType)
Parameters
assembliesType: AssembliesType
Returns
IEnumerable< Assembly >  The list of assemblies in the compilation pipeline.
GetSourceCode ( type , sourceCodeFile , singleUnit , scopeToTargetAssemblies , editorAssemblies , playerAssemblies )
Returns the file path containing the specified type.
Signature
bool Meta.Conduit.Editor.IAssemblyWalker.GetSourceCode(Type type, out string sourceCodeFile, out bool singleUnit, bool scopeToTargetAssemblies=true, bool editorAssemblies=false, bool playerAssemblies=true)
Parameters
type: Type  The type to look for.
sourceCodeFile: out string  The full filepath.
singleUnit: out bool  True if the type is the only type defined in the file. False if there are other types in the same file.
scopeToTargetAssemblies: bool  Look only at target assemblies. If false, scan everything.
editorAssemblies: bool  Look in editor assemblies.
playerAssemblies: bool  Look in player assemblies.
Returns
bool  True if the type was found. False otherwise.
GetTargetAssemblies ()
Returns a list of all assemblies that should be processed. This currently selects assemblies that are marked with the ConduitAssemblyAttribute attribute.
Signature
IEnumerable<IConduitAssembly> Meta.Conduit.Editor.IAssemblyWalker.GetTargetAssemblies()
Returns
IEnumerable< IConduitAssembly >  The list of assemblies.