# Class DispenserEventArgs
Namespace: [Aeon.Foraging](Aeon.Foraging.md)
Assembly: Aeon.Foraging.dll
```csharp
public class DispenserEventArgs
```
#### Inheritance
[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[DispenserEventArgs](Aeon.Foraging.DispenserEventArgs.md)
#### Inherited Members
[object.ToString\(\)](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals\(object\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\)),
[object.Equals\(object, object\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\-system\-object\)),
[object.ReferenceEquals\(object, object\)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode\(\)](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone\(\)](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)
## Constructors
### DispenserEventArgs\(int, DispenserEventType\)
```csharp
public DispenserEventArgs(int value, DispenserEventType eventType)
```
#### Parameters
`value` [int](https://learn.microsoft.com/dotnet/api/system.int32)
`eventType` [DispenserEventType](Aeon.Foraging.DispenserEventType.md)
## Properties
### EventType
```csharp
public DispenserEventType EventType { get; }
```
#### Property Value
[DispenserEventType](Aeon.Foraging.DispenserEventType.md)
### Value
```csharp
public int Value { get; }
```
#### Property Value
[int](https://learn.microsoft.com/dotnet/api/system.int32)
## Methods
### ToString\(\)
Returns a string that represents the current object.
```csharp
public override string ToString()
```
#### Returns
[string](https://learn.microsoft.com/dotnet/api/system.string)
A string that represents the current object.