# AgentSkillResourceDefinition

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.agentskillresourcedefinition/
> Summary: AgentSkillResourceDefinition: A readable resource carried with an AgentSkillDefinition.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

A readable resource carried with an [AgentSkillDefinition](/api/tracon.agentskilldefinition/).

```csharp
public sealed record AgentSkillResourceDefinition : IEquatable<AgentSkillResourceDefinition>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.agentskillresourcedefinition/">AgentSkillResourceDefinition</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;AgentSkillResourceDefinition&gt;</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Constructors

### <a id="Tracon_AgentSkillResourceDefinition__ctor"></a> AgentSkillResourceDefinition\(\)

```csharp
public AgentSkillResourceDefinition()
```

## Properties

### <a id="Tracon_AgentSkillResourceDefinition_Content"></a> Content

The resource's text content.

```csharp
public required string Content { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_AgentSkillResourceDefinition_Description"></a> Description

The resource description.

```csharp
public string? Description { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

### <a id="Tracon_AgentSkillResourceDefinition_MediaType"></a> MediaType

The resource media type.

```csharp
public string MediaType { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_AgentSkillResourceDefinition_Name"></a> Name

The resource name, unique within the skill.

```csharp
public required string Name { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Methods

### <a id="Tracon_AgentSkillResourceDefinition_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_AgentSkillResourceDefinition_Equals_Tracon_AgentSkillResourceDefinition_"></a> Equals\(AgentSkillResourceDefinition?\)

```csharp
public bool Equals(AgentSkillResourceDefinition? other)
```

#### Parameters

`other` [AgentSkillResourceDefinition](/api/tracon.agentskillresourcedefinition/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_AgentSkillResourceDefinition_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_AgentSkillResourceDefinition_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Operators

### <a id="Tracon_AgentSkillResourceDefinition_op_Equality_Tracon_AgentSkillResourceDefinition_Tracon_AgentSkillResourceDefinition_"></a> operator ==\(AgentSkillResourceDefinition?, AgentSkillResourceDefinition?\)

```csharp
public static bool operator ==(AgentSkillResourceDefinition? left, AgentSkillResourceDefinition? right)
```

#### Parameters

`left` [AgentSkillResourceDefinition](/api/tracon.agentskillresourcedefinition/)?

`right` [AgentSkillResourceDefinition](/api/tracon.agentskillresourcedefinition/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_AgentSkillResourceDefinition_op_Inequality_Tracon_AgentSkillResourceDefinition_Tracon_AgentSkillResourceDefinition_"></a> operator \!=\(AgentSkillResourceDefinition?, AgentSkillResourceDefinition?\)

```csharp
public static bool operator !=(AgentSkillResourceDefinition? left, AgentSkillResourceDefinition? right)
```

#### Parameters

`left` [AgentSkillResourceDefinition](/api/tracon.agentskillresourcedefinition/)?

`right` [AgentSkillResourceDefinition](/api/tracon.agentskillresourcedefinition/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
