Class AppContentParser
- Namespace
- Skyline.AppInstaller.ContentParser
- Assembly
- Skyline.DataMiner.Core.AppPackageInstaller.dll
Provides methods to access various type of content included in the package.
public class AppContentParser- Inheritance
- 
      
      AppContentParser
- Extension Methods
Constructors
- AppContentParser(string)
- Initializes a new instance of the AppContentParser class. 
Methods
- GetAppPackagesToInstall()
- Returns all DMA packages (.dmapp) to be installed, found at the default location in the AppContent folder. 
- GetAssembliesToInstall()
- Retrieves all DLLs that need to be installed in the DllImport folder of the ProtocolScripts, Scripts or Files folder. 
- GetAutomationScriptPackagesToInstall()
- Returns all Automation Script packages (.dmapp) to be installed, found at the default location in the AppContent folder. 
- GetAutomationScriptsToInstall()
- Returns all Automation Scripts to be installed, found at the default location in the AppContent folder. All XML files are considered to be Automation Scripts. 
- GetDashboardPackagesToInstall()
- Returns all Dashboard packages found at the default location in the AppContent folder. 
- GetDashboardsToInstall()
- Returns all Dashboards found at the default location in the AppContent folder. 
- GetProtocolPackagesToInstall()
- Returns all DMA protocol packages (.dmprotocol) to be installed, found at the default location in the AppContent folder. 
- GetProtocolsToInstall()
- Returns all Protocols to be installed found at the default location in the AppContent folder. The structure for a protocol to install is as follows: - Protocols └───[FolderWithProtocolName] └───[VisioFile].vsdx └───[FolderWithVersionName] protocol.xml Template_[alarmTemplate].xml Trending_[trendTemplate].xml |__Information[trendTemplate].xml - Note that this will not install production protocols. Production versions can be set with SetAsProduction(string, string, bool) after importing the protocols. 
- GetSkylineDataminerFilesToInstall()
- Returns all files found at the predefined location in the AppContent folder. - CompanionFiles └───Skyline DataMiner 
- GetVisioPackagesToInstall()
- Returns all Visios for views or services found at the default location in the AppContent folder. 
- GetVisiosToInstall()
- Returns all Visios for views or services found at the default location in the AppContent folder. 
- GetZipFilesToInstall()
- Returns all ZipFiles for importing into DataMiner.