View Source
Class ComponentCollection
Assembly: Umbraco.Core.dll
Syntax
public class ComponentCollection : BuilderCollectionBase<IAsyncComponent>, IBuilderCollection<IAsyncComponent>
Constructors
View Source
ComponentCollection(Func<IEnumerable<IAsyncComponent>>, IProfilingLogger, ILogger<ComponentCollection>)
Declaration
public ComponentCollection(Func<IEnumerable<IAsyncComponent>> items, IProfilingLogger profilingLogger, ILogger<ComponentCollection> logger)
Parameters
Methods
View Source
InitializeAsync(bool, CancellationToken)
Declaration
public Task InitializeAsync(bool isRestarting, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| bool |
isRestarting |
|
| CancellationToken |
cancellationToken |
|
Returns
View Source
TerminateAsync(bool, CancellationToken)
Declaration
public Task TerminateAsync(bool isRestarting, CancellationToken cancellationToken)
Parameters
| Type |
Name |
Description |
| bool |
isRestarting |
|
| CancellationToken |
cancellationToken |
|
Returns