| ModulePackageBuilder Class |
Namespace: CMS.Modules
public class ModulePackageBuilder
The ModulePackageBuilder type exposes the following members.
| Name | Description | |
|---|---|---|
| ModulePackageBuilder |
Creates new ModulePackageBuilder for given ResourceInfo (module).
Builder can be created only for modules which are in development (ResourceIsInDevelopment is set to true).
Builder can not be created for CUSTOMSYSTEM.
|
| Name | Description | |
|---|---|---|
| BuildPackage(String) |
Builds the module installation package to the file specified by given path.
| |
| BuildPackage(Stream) |
Builds the module installation package to the given stream.
| |
| GetModuleFiles |
Gets List of relative paths to files that will be included in the instalation package.
| |
| GetModuleMetadata |
Gets module's package metadata.
| |
| GetModuleObjects |
Gets object query for module objects of given type which are included in the installation package.
objectType must be one of those enumerated in IncludedObjectTypes, otherwise returns null.
|
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| IncludedObjectTypes |
The installation package contains module objects of types enumerated by this property.
The module object type itself ("cms.resource") is not present in the enumeration.
|