Method AddReference
- Namespace
- Alternet.Syntax.Parsers.Roslyn.CodeCompletion
- Assembly
- Alternet.Syntax.Parsers.Roslyn.v9.dll
AddReference(MetadataReference, ProjectId)
Adds metadata reference to the project
public virtual void AddReference(MetadataReference reference, ProjectId projectId = null)
Parameters
reference
MetadataReferenceReference to add.
projectId
ProjectIdSpecifies project to add reference to.