ICodeReference
Ecng.Compilation
Represents a reference to code that supports persistence.
Implementa: IPersistable
Propiedades
FileSystem
public IFileSystem FileSystem { get; }
value = iCodeReference.FileSystem
File system abstraction available to derived classes.
IsValid
public bool IsValid { get; }
value = iCodeReference.IsValid
Gets a value indicating whether the code reference is valid.
Location
public string Location { get; }
value = iCodeReference.Location
Gets the location of the code reference.
Métodos
GetImages
public ValueTask<IEnumerable<ValueTuple<string, byte[]>>> GetImages(CancellationToken cancellationToken)
result = iCodeReference.GetImages(cancellationToken)
Asynchronously retrieves the images associated with the code reference.
- cancellationToken
- The token to monitor for cancellation requests.
Devuelve: A task that represents the asynchronous operation. The task result contains an enumerable of tuples with image name and image body.