Class Composers
Handles the composers.
Inheritance
System.Object
Namespace: Umbraco.Core.Composing
Assembly: Umbraco.Core.dll
Syntax
public class Composers
Constructors
View SourceComposers(Composition, IEnumerable<Type>, IEnumerable<Attribute>, IProfilingLogger)
Initializes a new instance of the Composers class.
Declaration
public Composers(Composition composition, IEnumerable<Type> composerTypes, IEnumerable<Attribute> enableDisableAttributes, IProfilingLogger logger)
Parameters
Type | Name | Description |
---|---|---|
Composition | composition | The composition. |
System.Collections.Generic.IEnumerable<System.Type> | composerTypes | The IComposer types. |
System.Collections.Generic.IEnumerable<System.Attribute> | enableDisableAttributes | The EnableComposerAttribute and/or DisableComposerAttribute attributes. |
IProfilingLogger | logger | The profiling logger. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | composition or composerTypes or enableDisableAttributes or logger |
Composers(Composition, IEnumerable<Type>, IProfilingLogger)
Initializes a new instance of the Composers class.
Declaration
[Obsolete("This overload only gets the EnableComposer/DisableComposer attributes from the composerTypes assemblies.")]
public Composers(Composition composition, IEnumerable<Type> composerTypes, IProfilingLogger logger)
Parameters
Type | Name | Description |
---|---|---|
Composition | composition | The composition. |
System.Collections.Generic.IEnumerable<System.Type> | composerTypes | The IComposer types. |
IProfilingLogger | logger | The profiling logger. |
Methods
View SourceCompose()
Instantiates and composes the composers.
Declaration
public void Compose()