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

IAssemblyWalker Interface

Overview

Properties

HashSet< string >
Filter out assemblies with specified names from GetTargetAssemblies() output.

Public Member Functions

IEnumerable< IConduitAssembly >
Returns a list of all assemblies that are marked with the ConduitAssemblyAttribute attribute.
IEnumerable< IConduitAssembly >
Returns a list of all assemblies that should be processed. This currently selects assemblies that are marked with the ConduitAssemblyAttribute attribute.
IEnumerable< Assembly >
GetCompilationAssemblies
( AssembliesType assembliesType )
Returns a list of assemblies that Unity will build for Edit or Run time.
bool
GetSourceCode
( Type type,
out string sourceCodeFile,
out bool singleUnit,
bool scopeToTargetAssemblies,
bool editorAssemblies,
bool playerAssemblies )
Returns the file path containing the specified type.

Details

Properties

HashSet<string> Meta.Conduit.Editor.IAssemblyWalker.AssembliesToIgnore
Filter out assemblies with specified names from GetTargetAssemblies() output.

Member Functions

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