Class ResourceTypeInstance
- Namespace
 - FoundationaLLM.Common.Models.ResourceProviders
 
- Assembly
 - FoundationaLLM.Common.dll
 
Identifies a specific resource type instance.
public record ResourceTypeInstance : IEquatable<ResourceTypeInstance>
  - Inheritance
 - 
      
      ResourceTypeInstance
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Constructors
ResourceTypeInstance(string, Type, string)
Identifies a specific resource type instance.
public ResourceTypeInstance(string ResourceTypeName, Type ResourceType, string ResourceTypePath)
  Parameters
ResourceTypeNamestringThe name of the resource type.
ResourceTypeTypeThe object type of the resource type.
ResourceTypePathstringThe path of the resource type.
Fields
Action
An optional action to be executed on the resource instance.
public string? Action
  Field Value
ResourceId
An optional resource type instance unique identifier.
public string? ResourceId
  Field Value
Properties
ObjectId
The object identifier of the resource type instance.
public string ObjectId { get; }
  Property Value
ResourceType
The object type of the resource type.
public Type ResourceType { get; init; }
  Property Value
ResourceTypeName
The name of the resource type.
public string ResourceTypeName { get; init; }
  Property Value
ResourceTypePath
The path of the resource type.
public string ResourceTypePath { get; init; }
  Property Value
Methods
Includes(ResourceTypeInstance?)
Checks whether the current instance includes another ResourceTypeInstance instance.
public bool Includes(ResourceTypeInstance? other)
  Parameters
otherResourceTypeInstanceThe ResourceTypeInstance to check for inclusion.
Returns
- bool
 True if the current instance includes the other instance.