-
-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathRadioReceiverBase.cs
34 lines (30 loc) · 1.01 KB
/
RadioReceiverBase.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using UnitsNet;
namespace Iot.Device.RadioReceiver
{
/// <summary>
/// Base class for radio receiver.
/// </summary>
public abstract class RadioReceiverBase : IDisposable
{
/// <summary>
/// Gets or sets radio receiver FM frequency.
/// </summary>
public abstract Frequency Frequency { get; set; }
/// <inheritdoc/>
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
/// <summary>
/// Releases the unmanaged resources used by the RadioReceiverBase and optionally releases the managed resources.
/// </summary>
/// <param name="disposing">True to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
protected virtual void Dispose(bool disposing)
{
}
}
}