Class ModuleDependencyAttribute
Attribute to define that an IInitializable
Inheritance
System.Object
ModuleDependencyAttribute
Namespace: EPiServer.Framework
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public sealed class ModuleDependencyAttribute : Attribute
Constructors
ModuleDependencyAttribute(Type)
Initializes a new instance of the Module
Declaration
public ModuleDependencyAttribute(Type dependency)
Parameters
Type | Name | Description |
---|---|---|
System. |
dependency | The type that you are depending on. |
ModuleDependencyAttribute(Type[])
Initializes a new instance of the Module
Declaration
public ModuleDependencyAttribute(params Type[] dependencies)
Parameters
Type | Name | Description |
---|---|---|
System. |
dependencies | The types that you are depending on. |
Properties
Dependencies
Gets the dependencies defined by this attribute.
Declaration
public ICollection<Type> Dependencies { get; }
Property Value
Type | Description |
---|---|
System. |
The dependencies. |