Class EmbedProvidersCollection
Represents a collection of IEmbedProvider instances.
Namespace: Umbraco.Cms.Core.Media.EmbedProviders
Assembly: Umbraco.Core.dll
Syntax
public class EmbedProvidersCollection : BuilderCollectionBase<IEmbedProvider>, IBuilderCollection<IEmbedProvider>
Constructors
View SourceEmbedProvidersCollection(Func<IEnumerable<IEmbedProvider>>)
Initializes a new instance of the EmbedProvidersCollection class.
Declaration
public EmbedProvidersCollection(Func<IEnumerable<IEmbedProvider>> items)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<IEnumerable<IEmbedProvider>> | items | A factory function that returns the collection of embed providers. |