Skip to content
Documentation

ResourceFactoryExtensions Class

Extension methods for creating IResource objects. Used for authorization.

public static class ResourceFactoryExtensions

Inheritance System.Object 🡒 ResourceFactoryExtensions

ResourceFactoryExtensions.CONSTANT_UNIT_CONVERSION_RESOURCE_TYPE Field

Section titled “ResourceFactoryExtensions.CONSTANT_UNIT_CONVERSION_RESOURCE_TYPE Field”

A constant used for the creation of constant unit conversion resources.

public const string CONSTANT_UNIT_CONVERSION_RESOURCE_TYPE = "ConstantUnitConversion";

System.String

ResourceFactoryExtensions.TIMEDEPENDENT_UNIT_CONVERSION_RESOURCE_TYPE Field

Section titled “ResourceFactoryExtensions.TIMEDEPENDENT_UNIT_CONVERSION_RESOURCE_TYPE Field”

A constant used for the creation of time dependent unit conversion resources.

public const string TIMEDEPENDENT_UNIT_CONVERSION_RESOURCE_TYPE = "TimeDependentUnitConversion";

System.String

ResourceFactoryExtensions.UNIT_RESOURCE_TYPE Field

Section titled “ResourceFactoryExtensions.UNIT_RESOURCE_TYPE Field”

A constant used for the creation of unit resources.

public const string UNIT_RESOURCE_TYPE = "Unit";

System.String

ResourceFactoryExtensions.ConstantUnitConversionResource(this IResourceFactory) Method

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

Creates a new constant unit conversion IResource.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource ConstantUnitConversionResource(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 CONSTANT_UNIT_CONVERSION_RESOURCE_TYPE.

ResourceFactoryExtensions.ConstantUnitConversionResource(this IResourceFactory, IStorageProvider) Method

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

Creates a new constant unit conversion IResource and associates it with the given storage provider.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource ConstantUnitConversionResource(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 associated to the IResource.

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

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

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

Creates a new constant unit conversion IResource with the given identifier and associates it with the given storage provider.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource ConstantUnitConversionResource(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 CONSTANT_UNIT_CONVERSION_RESOURCE_TYPE and its Identifier equal to the given identifier.

ResourceFactoryExtensions.ConstantUnitConversionResource(this IResourceFactory, string) Method

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

Creates a new constant unit conversion IResource with the given identifier.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource ConstantUnitConversionResource(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 CONSTANT_UNIT_CONVERSION_RESOURCE_TYPE and its Identifier equal to the given identifier.

ResourceFactoryExtensions.TimeDependentUnitConversionResource(this IResourceFactory) Method

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

Creates a new time dependent unit conversion IResource.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource TimeDependentUnitConversionResource(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 TIMEDEPENDENT_UNIT_CONVERSION_RESOURCE_TYPE.

ResourceFactoryExtensions.TimeDependentUnitConversionResource(this IResourceFactory, IStorageProvider) Method

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

Creates a new time dependent unit conversion IResource.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource TimeDependentUnitConversionResource(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 TIMEDEPENDENT_UNIT_CONVERSION_RESOURCE_TYPE.

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

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

Creates a new time dependent unit conversion IResource with the given identifier.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource TimeDependentUnitConversionResource(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 TIMEDEPENDENT_UNIT_CONVERSION_RESOURCE_TYPE and its Identifier equal to the given identifier.

ResourceFactoryExtensions.TimeDependentUnitConversionResource(this IResourceFactory, string) Method

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

Creates a new time dependent unit conversion IResource with the given identifier.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource TimeDependentUnitConversionResource(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 TIMEDEPENDENT_UNIT_CONVERSION_RESOURCE_TYPE and its Identifier equal to the given identifier.

ResourceFactoryExtensions.UnitResource(this IResourceFactory) Method

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

Creates a new unit IResource.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource UnitResource(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 UNIT_RESOURCE_TYPE.

ResourceFactoryExtensions.UnitResource(this IResourceFactory, IStorageProvider) Method

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

Creates a new unit IResource associated with the given storage provider.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource UnitResource(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 IResource.

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

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

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

Creates a new unit IResource with the given identifier and associates the resource with a given storage provider.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource UnitResource(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 unit.

identifier System.String

The System.String identifier used in the creation.

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

ResourceFactoryExtensions.UnitResource(this IResourceFactory, string) Method

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

Creates a new unit IResource with the given identifier.

public static HAKOM.Security.Core.Net.Api.Authorization.IResource UnitResource(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 UNIT_RESOURCE_TYPE and its Identifier equal to the given identifier.

© 2026 Volue.Version v0.6.38017 November 2026