Skip to content
Documentation

ResourceFactoryExtensions Class

Extension methods for creating IResource objects. Used for authorization.

public static class ResourceFactoryExtensions

Inheritance System.Object 🡒 ResourceFactoryExtensions

ResourceFactoryExtensions.TIME_SERIES_RESOURCE_TYPE Field

Section titled “ResourceFactoryExtensions.TIME_SERIES_RESOURCE_TYPE Field”

A constant used for the creation of timeseries resources.

public const string TIME_SERIES_RESOURCE_TYPE = "TimeSeries";

System.String

ResourceFactoryExtensions.TimeSeriesResource(this IResourceFactory) Method

Section titled “ResourceFactoryExtensions.TimeSeriesResource(this IResourceFactory) Method”

Creates a new timeseries IResource.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource TimeSeriesResource(this HAKOM.Security.Core.Net.Api.Authorization.IResourceFactory resourceFactory);

resourceFactory IResourceFactory

The IResourceFactory used to create the IResource.

IResource
The newly created IResource with its Type equal to TIME_SERIES_RESOURCE_TYPE.

ResourceFactoryExtensions.TimeSeriesResource(this IResourceFactory, IStorageProvider) Method

Section titled “ResourceFactoryExtensions.TimeSeriesResource(this IResourceFactory, IStorageProvider) Method”

Creates a new timeseries IResource.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource TimeSeriesResource(this HAKOM.Security.Core.Net.Api.Authorization.IResourceFactory resourceFactory, HAKOM.Persistence.Core.Net.Api.Storage.IStorageProvider storageProvider);

resourceFactory IResourceFactory

The IResourceFactory used to create the IResource.

storageProvider IStorageProvider

The IStorageProvider used to access the resource.

IResource
The newly created IResource with its Type equal to TIME_SERIES_RESOURCE_TYPE.

ResourceFactoryExtensions.TimeSeriesResource(this IResourceFactory, IStorageProvider, string) Method

Section titled “ResourceFactoryExtensions.TimeSeriesResource(this IResourceFactory, IStorageProvider, string) Method”

Creates a new timeseries IResource with the given identifier.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource TimeSeriesResource(this HAKOM.Security.Core.Net.Api.Authorization.IResourceFactory resourceFactory, HAKOM.Persistence.Core.Net.Api.Storage.IStorageProvider storageProvider, string identifier);

resourceFactory IResourceFactory

The IResourceFactory used to create the IResource.

storageProvider IStorageProvider

The IStorageProvider used to access the resource.

identifier System.String

The System.String identifier used in the creation.

IResource
The newly created IResource with its Type equal to TIME_SERIES_RESOURCE_TYPE and its Identifier equal to the given identifier.

ResourceFactoryExtensions.TimeSeriesResource(this IResourceFactory, string) Method

Section titled “ResourceFactoryExtensions.TimeSeriesResource(this IResourceFactory, string) Method”

Creates a new timeseries IResource with the given identifier.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource TimeSeriesResource(this HAKOM.Security.Core.Net.Api.Authorization.IResourceFactory resourceFactory, string identifier);

resourceFactory IResourceFactory

The IResourceFactory used to create the IResource.

identifier System.String

The System.String identifier used in the creation.

IResource
The newly created IResource with its Type equal to TIME_SERIES_RESOURCE_TYPE and its Identifier equal to the given identifier.

© 2026 Volue.Version v0.6.38017 November 2026