Interface ICodeReference
- Namespace
- Ecng.Compilation
- Assembly
- Ecng.Compilation.dll
Represents a reference to code that supports persistence.
public interface ICodeReference : IPersistable
- Inherited Members
- Extension Methods
Properties
Id
Gets the identifier of the code reference.
string Id { get; }
Property Value
IsValid
Gets a value indicating whether the code reference is valid.
bool IsValid { get; }
Property Value
Location
Gets the location of the code reference.
string Location { get; }
Property Value
Name
Gets the name of the code reference.
string Name { get; }
Property Value
Methods
GetImages(CancellationToken)
Asynchronously retrieves the images associated with the code reference.
ValueTask<IEnumerable<(string name, byte[] body)>> GetImages(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenThe token to monitor for cancellation requests.