Click or drag to resize

PackageVersion Class

Information about a package.
Inheritance Hierarchy
SystemObject
  Demo3D.PackageManagerPackageVersion

Namespace:  Demo3D.PackageManager
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public class PackageVersion

The PackageVersion type exposes the following members.

Properties
  NameDescription
Public propertyAdoptableTypes
Types that may be adopted by this package.
Public propertyAuthor
The package author
Public propertyCreated
The date and time this package version was created
Public propertyDependencies
Default dependencies. May be overridden by platform
Public propertyDescription
The package description.
Public propertyDocumentation
The path to the documentation for the package. May be a URL.
Public propertyExtraData
Additional information about the package.
Public propertyIcon
Relative path to an image file.
Public propertyInstall
Install command for Custom.
Public propertyName
The unique package name.
Public propertyOwner
The package owner (eg, Rockwell Automation)
Public propertyPackageFeed
The feed the package came from.
Public propertyProperties
Additional properties for the package.
Public propertyReleaseNotes
The path to the release notes for the package. May be a URL.
Public propertyRequiredEdition

The minimum edition required to install the package.

Note that the presence of this requirement does not imply that it is enforced for a package once it has been installed.

Public propertyRequiredLicense

The license required to install the package.

Note that the presence of this requirement does not imply that it is enforced for a package once it has been installed.

Public propertyRequiredVersion
The minimum compatible version of Emulate3D.
Public propertyTags
The package tags (space separated list).
Public propertyType
The type of the package.
Public propertyUninstall
Uninstall command for Custom.
Public propertyVersion
The package version.
Top
Methods
  NameDescription
Public methodStatic memberLoad
Loads a PackageVersion from the given path, using the default deserialization options.
Public methodStatic memberLoadFromJson
Deserializes a PackageVersion from the given JSON string, using the default deserialization options.
Public methodSave
Saves the PackageVersion to the given directory, using the default filename and serialization options.
Public methodToOptions
Converts the PackageVersion to the corresponding PackageVersionOptions with the options required to construct the PackageVersion (see #ctor(PackageVersionOptions)).
Public methodToString
Returns the package name and version in string form.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldStatic memberPackageVersionExtension
File extension used for package manager specification files
Top
See Also