Skip to content
Documentation

ResourceFactoryExtensions Class

Extension methods for creating IResource objects. Used for authorization.

public static class ResourceFactoryExtensions

Inheritance System.Object 🡒 ResourceFactoryExtensions

ResourceFactoryExtensions.ATTRIBUTE_RESOURCE_TYPE Field

Section titled “ResourceFactoryExtensions.ATTRIBUTE_RESOURCE_TYPE Field”

A constant used for the creation of attribute resources.

public const string ATTRIBUTE_RESOURCE_TYPE = "Attribute";

System.String

ResourceFactoryExtensions.ATTRIBUTE_TYPE_RESOURCE_TYPE Field

Section titled “ResourceFactoryExtensions.ATTRIBUTE_TYPE_RESOURCE_TYPE Field”

A constant used for the creation of attribute type resources.

public const string ATTRIBUTE_TYPE_RESOURCE_TYPE = "AttributeType";

System.String

ResourceFactoryExtensions.AttributeResource(this IResourceFactory) Method

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

Creates a new attribute IResource.

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

ResourceFactoryExtensions.AttributeResource(this IResourceFactory, IStorageProvider) Method

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

Creates a new attribute IResource.

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

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

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

Creates a new attribute IResource with the given identifier.

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

ResourceFactoryExtensions.AttributeResource(this IResourceFactory, string) Method

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

Creates a new attribute IResource with the given identifier.

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

ResourceFactoryExtensions.AttributeTypeResource(this IResourceFactory) Method

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

Creates a new attribute type IResource.

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

ResourceFactoryExtensions.AttributeTypeResource(this IResourceFactory, IStorageProvider) Method

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

Creates a new attribute type IResource.

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

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

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

Creates a new attribute type IResource with the given identifier.

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

ResourceFactoryExtensions.AttributeTypeResource(this IResourceFactory, string) Method

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

Creates a new attribute type IResource with the given identifier.

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

© 2026 Volue.Version v0.6.38017 November 2026