AssemblyReference

Ecng.Compilation

The reference to the .NET assembly.

Erbt von: BaseCodeReference

Konstruktoren

AssemblyReference
public AssemblyReference()
assemblyReference = AssemblyReference()

Initializes a new instance of the AssemblyReference.

AssemblyReference
public AssemblyReference(IFileSystem fileSystem)
assemblyReference = AssemblyReference(fileSystem)

Initializes a new instance of the AssemblyReference with a custom file system.

Eigenschaften

FileName
public string FileName { get; set; }
value = assemblyReference.FileName
assemblyReference.FileName = value

Gets or sets the file name of the assembly reference.

IsValid
public override bool IsValid { get; }
value = assemblyReference.IsValid

Determines whether the assembly reference is valid.

Location
public override string Location { get; }
value = assemblyReference.Location

Location.

Name
public override string Name { get; }
value = assemblyReference.Name

Gets the display name of the assembly reference.

Methoden

GetImages
public override ValueTask<IEnumerable<ValueTuple<string, byte[]>>> GetImages(CancellationToken cancellationToken)
result = assemblyReference.GetImages(cancellationToken)

Asynchronously retrieves the images associated with the code reference.

cancellationToken
The token to monitor for cancellation requests.

Rückgabe: A task that represents the asynchronous operation. The task result contains an enumerable of tuples with image name and image body.

Load
public override void Load(SettingsStorage storage)
assemblyReference.Load(storage)

Loads the settings from the specified storage.

storage
The storage containing the settings.
Save
public override void Save(SettingsStorage storage)
assemblyReference.Save(storage)

Saves the settings to the specified storage.

storage
The storage where the settings will be saved.