Click or drag to resize

NextCloudClient Class

A Nextcloud library service
Inheritance Hierarchy
SystemObject
  Aml.Engine.Services.LibraryServiceAMLHttpClientLibraryService
    Aml.Engine.Services.LibraryServiceNextCloudClient

Namespace: Aml.Engine.Services.LibraryService
Assembly: Aml.Engine.Services.LibraryService (in Aml.Engine.Services.LibraryService.dll) Version: 1.0
Syntax
public class NextCloudClient : AMLHttpClientLibraryService

The NextCloudClient type exposes the following members.

Methods
 NameDescription
Public methodGetAMLFilestreamsAsync If an URL is defined in the amlFileModel the resource is loaded from the defined location. For each identified AutomationML file in the stream, a file resource stream is returned.
(Inherited from AMLHttpClientLibraryService)
Public methodGetAMLFilestreamsFromZipArchiveAsync Get all streams from a zip-Stream, which are recognized as AutomationML Files, which are either AutomationML XML documents or AutomationML containers
(Inherited from AMLHttpClientLibraryService)
Public methodGetAMLLibraryDocumentsAsync Gets a collection of all available AMLFiles, which contain AutomationML linraries from the registered server. If an authorization is needed, it can be provided by the accessToken. The listed files will contain a download URL which can be used to load the AML-File into a CAEXDocument by calling LoadAMLFileAsync(AMLFileModel).
(Overrides AMLHttpClientLibraryServiceGetAMLLibraryDocumentsAsync(String))
Public methodGetAMLModelDocumentsAsync Gets a collection of all available AMLFiles, which contain AutomationML models from the registered server. If an authorization is needed, it can be provided by the accessToken. The listed files will contain a download URL which can be used to load the AML-File into a CAEXDocument by calling LoadAMLFileAsync(AMLFileModel).
(Overrides AMLHttpClientLibraryServiceGetAMLModelDocumentsAsync(String))
Public methodLoadAMLFileAsync Loads an AML-File into a CAEXDocument or an AutomationMLContainer, when the fileModel has defined a download URL and a server is alive.
(Overrides AMLHttpClientLibraryServiceLoadAMLFileAsync(AMLFileModel))
Public methodLoadLibraryCatalogAsync Gets the library catalog from the registered server, listing all available AutomationML libraries.
(Overrides AMLHttpClientLibraryServiceLoadLibraryCatalogAsync(String, String))
Public methodStatic memberRegister Registers a new instance of a LibraryService with the ServiceLocator of the AMLEngine.
Public methodCode exampleRegisterServer Register a server which can provide the AML file resources
(Overrides AMLHttpClientLibraryServiceRegisterServer(String))
Public methodStatic memberUnRegister Unregisters this service
Top
See Also