Skip to content
Documentation

ContainerExtensions Class

Provides extension methods for registering interface implementations of Attributes with the container.

public static class ContainerExtensions

Inheritance System.Object 🡒 ContainerExtensions

ContainerExtensions.UseAttributeStore<TStorageProvider,TAttributeStore>(this IContainer) Method

Section titled “ContainerExtensions.UseAttributeStore<TStorageProvider,TAttributeStore>(this IContainer) Method”

Registers an IAttributeStore implementation with the container.

public static HAKOM.DependencyInjection.Core.Net.Api.IContainer UseAttributeStore<TStorageProvider,TAttributeStore>(this HAKOM.DependencyInjection.Core.Net.Api.IContainer container)
where TStorageProvider : HAKOM.Persistence.Core.Net.Api.Storage.IStorageProvider
where TAttributeStore : class, HAKOM.TSM.Net.Api.Attributes.Persistence.IAttributeStore;

TStorageProvider

The storage provider, which implements the IStorageProvider interface, for the attribute store.

TAttributeStore

The class of the attribute store which implements the IAttributeStoreinterface.

container IContainer

The container to register the attribute store with.

IContainer
The IContainer itself.

ContainerExtensions.UseAttributeTypeStore<TStorageProvider,TAttributeTypeStore>(this IContainer) Method

Section titled “ContainerExtensions.UseAttributeTypeStore<TStorageProvider,TAttributeTypeStore>(this IContainer) Method”

Registers an IAttributeTypeStore implementation with the container.

public static HAKOM.DependencyInjection.Core.Net.Api.IContainer UseAttributeTypeStore<TStorageProvider,TAttributeTypeStore>(this HAKOM.DependencyInjection.Core.Net.Api.IContainer container)
where TStorageProvider : HAKOM.Persistence.Core.Net.Api.Storage.IStorageProvider
where TAttributeTypeStore : class, HAKOM.TSM.Net.Api.Attributes.Persistence.IAttributeTypeStore;

TStorageProvider

The storage provider, which implements the IStorageProvider interface, for the AttributeType store.

TAttributeTypeStore

The class of the AttributeType store which implements the IAttributeTypeStoreinterface.

container IContainer

The container to register the AttributeType store with.

IContainer
The IContainer itself.

ContainerExtensions.UseDefaultAttributeFactories(this IContainer) Method

Section titled “ContainerExtensions.UseDefaultAttributeFactories(this IContainer) Method”

Registers factories for types and stores related to attributes with the container.

public static HAKOM.DependencyInjection.Core.Net.Api.IContainer UseDefaultAttributeFactories(this HAKOM.DependencyInjection.Core.Net.Api.IContainer container);

container IContainer

The container to register the factories with.

IContainer
The IContainer itself.

ContainerExtensions.UseDefaultAttributeStores(this IContainer) Method

Section titled “ContainerExtensions.UseDefaultAttributeStores(this IContainer) Method”

Registers IAttributeStore implementation of HAKOM for Oracle, PostgreSQL and SQLServer with the container.

public static HAKOM.DependencyInjection.Core.Net.Api.IContainer UseDefaultAttributeStores(this HAKOM.DependencyInjection.Core.Net.Api.IContainer container);

container IContainer

The container to register the attribute stores with.

IContainer
The IContainer itself.

ContainerExtensions.UseDefaultAttributeTypeFactories(this IContainer) Method

Section titled “ContainerExtensions.UseDefaultAttributeTypeFactories(this IContainer) Method”

Registers factories for types and stores related to time series attribute types with the container.

public static HAKOM.DependencyInjection.Core.Net.Api.IContainer UseDefaultAttributeTypeFactories(this HAKOM.DependencyInjection.Core.Net.Api.IContainer container);

container IContainer

The container to register the factories with.

IContainer
The IContainer itself.

ContainerExtensions.UseDefaultAttributeTypeStores(this IContainer) Method

Section titled “ContainerExtensions.UseDefaultAttributeTypeStores(this IContainer) Method”

Registers IAttributeTypeStore implementations for Oracle, PostgreSQL and SQLServer with the container.

public static HAKOM.DependencyInjection.Core.Net.Api.IContainer UseDefaultAttributeTypeStores(this HAKOM.DependencyInjection.Core.Net.Api.IContainer container);

container IContainer

The container to register the AttributeType stores with.

IContainer
The IContainer itself.

© 2026 Volue.Version v0.6.38017 November 2026