ContainerExtensions Class
Provides extension methods for registering interface implementations of Attributes with the container.
public static class ContainerExtensionsInheritance System.Object 🡒 ContainerExtensions
Methods
Section titled “Methods”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;Type parameters
Section titled “Type parameters”TStorageProvider
The storage provider, which implements the IStorageProvider interface, for the attribute store.
TAttributeStore
The class of the attribute store which implements the IAttributeStoreinterface.
Parameters
Section titled “Parameters”container IContainer
The container to register the attribute store with.
Returns
Section titled “Returns”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;Type parameters
Section titled “Type parameters”TStorageProvider
The storage provider, which implements the IStorageProvider interface, for the AttributeType store.
TAttributeTypeStore
The class of the AttributeType store which implements the IAttributeTypeStoreinterface.
Parameters
Section titled “Parameters”container IContainer
The container to register the AttributeType store with.
Returns
Section titled “Returns”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);Parameters
Section titled “Parameters”container IContainer
The container to register the factories with.
Returns
Section titled “Returns”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);Parameters
Section titled “Parameters”container IContainer
The container to register the attribute stores with.
Returns
Section titled “Returns”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);Parameters
Section titled “Parameters”container IContainer
The container to register the factories with.
Returns
Section titled “Returns”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);Parameters
Section titled “Parameters”container IContainer
The container to register the AttributeType stores with.
Returns
Section titled “Returns”IContainer
The IContainer itself.