forked from nanoframework/nanoFramework.IoT.Device
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRadioTransmitterBase.cs
33 lines (29 loc) · 1.01 KB
/
RadioTransmitterBase.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
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Iot.Device.RadioTransmitter
{
/// <summary>
/// Base class for radio transmitter.
/// </summary>
public abstract class RadioTransmitterBase : IDisposable
{
/// <summary>
/// Gets or sets radio transmitter FM frequency.
/// </summary>
public abstract double Frequency { get; set; }
/// <inheritdoc/>
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
/// <summary>
/// Releases the unmanaged resources used by the RadioTransmitterBase 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)
{
}
}
}