ModelScopeDownload Class

Definition

Namespace: SuperBuilderWinService.ProvidersImpl
Assembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+2093811f3bac5da092b5ce9c8172233582eee4d5
C#
public class ModelScopeDownload : IDownload
Inheritance
Object    ModelScopeDownload
Implements
IDownload

Constructors

ModelScopeDownloadInitializes a new instance of the ModelScopeDownload class

Properties

Methods

DownloadFileAsync Main download method (interface implementation) Execution flow: 1. Create temporary working directory 2. Parse model URL to retrieve commitId 3. Start external process for download 4. Move files to final location 5. Handle exceptions and clean up resources
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetCommitId Parse model URL to retrieve CommitID
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetModelID Extract model path from URL
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RobustMove Safely move directories (supports cross-drive)
SaveCommitIdMarker Saves a commit ID marker file in the model directory for tracking purposes.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also