CSharpEditor
1.1.2
A C# source code editor with syntax highlighting, intelligent code completion and real-time compilation error checking
|
This class represents a cached MetadataReference. When an instance of this class is created using the CreateFromFile(string, string) method, we check whether a CachedMetadataReference to the same file has already been created and, in that case, return a reference to that object, rathern than creating a new one. More...
Public Member Functions | |
CachedMetadataReference (MetadataReference reference) | |
Creates a new CachedMetadataReference wrapping the specified reference . More... | |
Static Public Member Functions | |
static CachedMetadataReference | CreateFromFile (string path, string xmlDocumentationPath=null) |
Creates a new CachedMetadataReference from an assembly file (optionally including the XML documentation). More... | |
static implicit | operator MetadataReference (CachedMetadataReference reference) |
Converts a CachedMetadataReference into a MetadataReference. More... | |
This class represents a cached MetadataReference. When an instance of this class is created using the CreateFromFile(string, string) method, we check whether a CachedMetadataReference to the same file has already been created and, in that case, return a reference to that object, rathern than creating a new one.
Definition at line 28 of file CachedMetadataReference.cs.
CSharpEditor.CachedMetadataReference.CachedMetadataReference | ( | MetadataReference | reference | ) |
Creates a new CachedMetadataReference wrapping the specified reference .
reference | The MetadataReference wrap in a new CachedMetadataReference. |
Definition at line 38 of file CachedMetadataReference.cs.
|
static |
Creates a new CachedMetadataReference from an assembly file (optionally including the XML documentation).
path | The path to the assembly file. |
xmlDocumentationPath | The path to the XML documentation file for the assembly. |
Definition at line 52 of file CachedMetadataReference.cs.
|
static |
Converts a CachedMetadataReference into a MetadataReference.
reference | The CachedMetadataReference to convert. |
Definition at line 73 of file CachedMetadataReference.cs.