Class AssetConfiguration
Represents asset configuration.
Inheritance
System.Object
AssetConfiguration
Namespace: Mediachase.Commerce.Assets
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class AssetConfiguration : ConfigurationSection
Properties
AutoInstall
Gets a value indicating whether [auto install].
Declaration
public bool AutoInstall { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
DownloadFilters
Download Filters used to perform additional actions before item is downloaded.
Declaration
public DownloadFilterCollection DownloadFilters { get; }
Property Value
Type | Description |
---|---|
DownloadFilterCollection | The filters. |
ElementTypes
Gets the element types.
Declaration
public FolderElementExtensionCollection ElementTypes { get; }
Property Value
Type | Description |
---|---|
FolderElementExtensionCollection | The element types. |
FolderProviders
Specifies different locations the binary data can be stored.
Declaration
public FileLibraryLocationCollection FolderProviders { get; }
Property Value
Type | Description |
---|---|
FileLibraryLocationCollection | The locations. |
Instance
Singleton instance
Declaration
public static AssetConfiguration Instance { get; }
Property Value
Type | Description |
---|---|
AssetConfiguration | The instance. |
Roles
Configuration element defines the mapping of mapped types to type names specified in configuration file
Declaration
public RoleCollection Roles { get; }
Property Value
Type | Description |
---|---|
RoleCollection | The mapped types. |
Methods
GetRole(String)
Returns class names mapped to the event key (name)
Declaration
public RoleDefinition GetRole(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
Returns
Type | Description |
---|---|
RoleDefinition |