View Source
Class ComponentCollection
Inheritance
System.Object
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(Boolean, CancellationToken)
Declaration
public async Task InitializeAsync(bool isRestarting, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Boolean |
isRestarting |
|
CancellationToken |
cancellationToken |
|
Returns
View Source
TerminateAsync(Boolean, CancellationToken)
Declaration
public async Task TerminateAsync(bool isRestarting, CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Boolean |
isRestarting |
|
CancellationToken |
cancellationToken |
|
Returns