Defines the order in which to install classes (IInstallableModel) within this package.
Class: YetaWF.Core.Packages.InstallOrderAttribute
Namespace: YetaWF.Core.Packages
Assembly: YetaWF.Core
public InstallOrderAttribute( Type type, int order = 0 );
type
The type that should be installed.
order
This parameter defaults to the line number where the InstallOrderAttribute is used. It should not be explicitly provided, as it insures that InstallOrderAttribute are processed in the order they appear in the source code.
All types listed are installed first, in the order of their InstallOrderAttributes. If a type is omitted it is installed last. If multiple types are omitted, their initialization order is undefined, but follows any types that are listed. This is used in a package's AssemblyInfo.cs file.
See Also YetaWF.Core.Packages.InstallOrderAttribute ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com