Method | Description | |
---|---|---|
DisableFeatures ( IEnumerable |
Disables a list of features.
|
|
DisableFeatures ( IEnumerable |
Disables a list of features.
|
|
EnableFeatures ( IEnumerable |
Enables a list of features.
|
|
EnableFeatures ( IEnumerable |
Enables a list of features.
|
|
GetAvailableFeatures ( ) : IEnumerable |
Retrieves an enumeration of the available features together with its state (enabled / disabled).
|
|
IsRecentlyInstalled ( Orchard.Environment.Extensions.Models.ExtensionDescriptor extensionDescriptor ) : bool |
Determines if a module was recently installed by using the project's last written time.
|
|
ModuleService ( IFeatureManager featureManager, IOrchardServices orchardServices, IVirtualPathProvider virtualPathProvider, IExtensionManager extensionManager, IShellDescriptorManager shellDescriptorManager, ICacheManager cacheManager ) : System |
Method | Description | |
---|---|---|
AssembleModuleFromDescriptor ( Orchard.Environment.Extensions.Models.Feature feature, bool isEnabled ) : |
||
GenerateWarning ( string messageFormat, string featureName, IEnumerable |
||
GetManifestPath ( Orchard.Environment.Extensions.Models.ExtensionDescriptor extensionDescriptor ) : string |
Retrieves the full path of the manifest file for a module's extension descriptor.
|
public DisableFeatures ( IEnumerable |
||
featureIds | IEnumerable |
The IDs for the features to be disabled. |
return | void |
public DisableFeatures ( IEnumerable |
||
featureIds | IEnumerable |
The IDs for the features to be disabled. |
force | bool | Boolean parameter indicating if the feature should disable the features which depend on it if required or fail otherwise. |
return | void |
public EnableFeatures ( IEnumerable |
||
featureIds | IEnumerable |
The IDs for the features to be enabled. |
return | void |
public EnableFeatures ( IEnumerable |
||
featureIds | IEnumerable |
The IDs for the features to be enabled. |
force | bool | Boolean parameter indicating if the feature should enable it's dependencies if required or fail otherwise. |
return | void |
public GetAvailableFeatures ( ) : IEnumerable |
||
return | IEnumerable |
public IsRecentlyInstalled ( Orchard.Environment.Extensions.Models.ExtensionDescriptor extensionDescriptor ) : bool | ||
extensionDescriptor | Orchard.Environment.Extensions.Models.ExtensionDescriptor | The extension descriptor. |
return | bool |
public ModuleService ( IFeatureManager featureManager, IOrchardServices orchardServices, IVirtualPathProvider virtualPathProvider, IExtensionManager extensionManager, IShellDescriptorManager shellDescriptorManager, ICacheManager cacheManager ) : System | ||
featureManager | IFeatureManager | |
orchardServices | IOrchardServices | |
virtualPathProvider | IVirtualPathProvider | |
extensionManager | IExtensionManager | |
shellDescriptorManager | IShellDescriptorManager | |
cacheManager | ICacheManager | |
return | System |