ICodeReference

Ecng.Compilation

Represents a reference to code that supports persistence.

実装: IPersistable

プロパティ

FileSystem
public IFileSystem FileSystem { get; }
value = iCodeReference.FileSystem

File system abstraction available to derived classes.

Id
public string Id { get; }
value = iCodeReference.Id

Gets the identifier of the code reference.

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.

Name
public string Name { get; }
value = iCodeReference.Name

Gets the name of the code reference.

メソッド

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.

戻り値: A task that represents the asynchronous operation. The task result contains an enumerable of tuples with image name and image body.